@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&family=Oswald:wght@200..700&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-dark: #173556;
  --primary-light: #f4f4f4;
  --accent-color: #182c41;
  --top-bg: #182c41;
  --bottom-bg: #ffffff;
  --text-main: #333;
  --text-light: #eee;
  --transition-speed: 0.3s;
  --nav-height: 80px;
  --shape-width: 350px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Titillium Web", sans-serif !important;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

/* --- Header Wrapper (holds logo rectangle + navbar) --- */
.header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: stretch;
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
}

.header-wrap.animate-start {
  animation: slideIn 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.logo-container {
  flex: 0 0 var(--shape-width);
  min-width: var(--shape-width);
  height: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;

}

.logo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 70px;
  width: 100%;
  height: 265%;
  background-color: var(--primary-dark);
  border-bottom-left-radius: 30px;
  border-bottom-right-radius: 30px;
  transform: perspective(200px) rotateX(-25deg);
  transform-origin: top center;
  z-index: -1;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  pointer-events: none;
}

/* 3. İÇERİK DÜZENİ (Inline CSS'lerin yeni yeri) */
.logo-content {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 150px;
  margin-top: 50px;
}

.logo-link {
  display: block;
  text-decoration: none;
}

.logo-img {
  width: 65px;
  /* Biraz küçülttük, taşmayı önlemek için */
  height: 65px;
  object-fit: cover;
  display: block;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: white;
  line-height: 1.2;
  /* Satır aralarını sıkılaştırdık */
}

.logo-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin: 0;
  letter-spacing: 0.5px;
}

.logo-subtitle {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.logo-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  transition: transform 0.4s ease;
}

.logo-container:hover .logo-icon {
  transform: rotate(15deg) scale(1.1);
}

.main-header {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}

/* --- Content Section inside navbar --- */
.nav-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* --- Top Bar --- */
.top-bar {
  height: 50%;
  background-color: var(--top-bg);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: end;
  padding: 0 30px;
  font-size: 0.85rem;
  gap: 10px;
  pointer-events: auto;
}

.top-left-links {
  display: flex;
  gap: 20px;
}

.top-left-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.7rem;
}

.top-left-links a:hover {
  color: #fff;
}

.top-right-group {
  display: flex;
  align-items: center;
}

.social-icons {
  display: flex;
  gap: 15px;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
}

.social-icons a {
  color: #fff;
  transition: transform 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.social-icons a:last-child {
  background-color: red;
  padding-inline: 3px !important;
}


.brand-icons {
  display: flex;
  gap: 15px;
  padding: 10px !important;
  margin: 0 !important;
}

.brand-icons a {
  cursor: pointer;
  text-decoration: none;
}

.brand-icons i:hover {
  color: #fff;
}

/* --- Bottom Bar --- */
.bottom-bar {
  height: 39%;
  background-color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 30px;
  pointer-events: auto;
}


.bottom-bar>ul {
  margin-bottom: 0 !important;
}

.main-nav-links {
  display: flex;
  gap: 15px;
  /* We'll use space-between on parent, or just margins */
  width: 100%;
  justify-content: center;
  list-style: none;
}



.main-nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding: 20px 0px !important;
  transition: color 0.2s;
}

/* Underline animation */
/* Underline animation */
.main-nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}


.main-nav-links a.active:hover::after {
  width: 100%;
}

/* --- Mega Dropdown Menu --- */
.has-dropdown {
  position: relative;
}

.mega-dropdown {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 700px;
  background: var(--accent-color);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: -1;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: baseline;
  justify-content: center;
}

@media (min-width: 1550px) {
  .mega-dropdown {
    width: 100%;
    /* Restrict width on very large screens */
    margin: 0 auto;
  }
}

.has-dropdown:hover .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-dropdown-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
  padding-top: 170px;
  display: flex;
  gap: 30px;
}

.mega-dropdown-left {
  display: grid;
  grid-template-columns: repeat(2, 300px);
  flex: 1;
  gap: 15px;
  justify-content: flex-end;
}

.mega-dropdown-right {
  display: flex;
  justify-content: start;
  flex: 1;
  gap: 20px;
  align-items: center;

}

/* Simple Small Cards (Left Side) */
.mega-card-simple {
  background: var(--primary-dark);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  text-align: left;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease !important;
  display: flex;
  align-items: center;
  justify-content: start;
  max-height: 100px;
  min-height: 100px;
  min-width: 60px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0.6;
}

.mega-card-simple:hover {
  opacity: 1;
}

.mega-card-simple span {
  padding: 20px 15px;
  display: flex;
  align-items: center;
  justify-content: start;
  font-size: 1.1rem;
  opacity: 1;
}

.mega-card-simple span i {
  padding-right: 10px;
}

/* Featured Cards (Right Side) */
.mega-card {
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  max-width: 300px;
  min-width: 300px;
  max-height: 400px;
  min-height: 400px;
}

.mega-card-header {
  background: #a78950;
  color: white;
  padding: 20px 20px;
  font-weight: 700;
  font-size: 1rem;
}

.mega-card-header i {
  padding-right: 10px;
}

.mega-card-body {
  display: flex;
  flex-direction: column;
}


.mega-card-featured {
  overflow-x: hidden;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.mega-card-featured::-webkit-scrollbar {
  width: 5px;
}

.mega-card-featured::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.mega-card-featured::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.mega-card-featured::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.mega-card-body a {
  text-decoration: none;
  padding: 15px 0 !important;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgb(198, 198, 198);
}

.mega-card-body a:hover {
  background-color: rgb(226, 226, 226);
}

.mega-card-body a span {
  padding-left: 20px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  font-weight: 200;
}


.mega-card-body a span i {
  font-size: 5px;
  padding-right: 15px;
}

.featured-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* second dropdown */

.mega-dropdown-2 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  flex: 3;
  gap: 30px;
}


/* === Projects Dropdown (Custom 500x500) === */

.projects-dropdown-wrapper {
  position: relative;
}

.projects-dropdown {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: max-content;
  min-width: 200px;
  height: auto;
  background: white;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}


.projects-dropdown-wrapper:hover .projects-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.projects-dropdown-content {
  height: auto;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}

.projects-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
  /* Remove bullet points */
  padding: 0;
  margin: 0;

}

.projects-list li {
  width: 100%;
}

.projects-list li a {
  background: #f8f9fa;
  color: var(--primary-dark) !important;
  font-weight: 600;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  padding: 15px 20px !important;
  white-space: nowrap;
  width: 100%;
  text-decoration: none;
  /* Ensure no underline */
}

.projects-list li a:hover {
  background: #e9ecef;
  color: var(--accent-color);
}

/* Hide dropdown on mobile */
@media (max-width: 1024px) {
  .mega-dropdown {
    display: none;
  }
}

/* --- Mobile Toggle --- */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  margin-left: auto;
  padding-right: 20px;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
  .header-wrap {
    height: 70px;
    left: 0;
    top: 0;
    width: 100%;
    justify-content: center;
    position: fixed;
    z-index: 997;
    background-color: var(--primary-dark);
    transition: transform 0.3s ease-in-out;
  }

  .header-wrap.header-hidden {
    transform: translateY(-100%) !important;
    animation: none !important;
  }


  .logo-container {
    width: auto;
    order: 2;
    margin: 0;
    z-index: 0;
  }

  .logo-container::before {
    left: 50%;
    transform: translateX(-50%) perspective(200px) rotateX(-25deg);
    width: 280px;
    height: 90px;
  }

  .logo-content {
    margin-left: 0;
    margin-top: 0px;
  }

  .logo-img {
    width: 50px;
    height: 50px;
  }

  .logo-title {
    font-size: 1.2rem;
  }

  .logo-subtitle {
    font-size: 0.75rem;
  }

  .main-header {
    position: absolute;
    left: 0;
    top: 0;
    width: auto;
    order: 1;
  }

  .top-bar {
    display: none;
  }

  .bottom-bar {
    height: 70px;
    background: transparent;
    padding: 0;
    width: auto;
  }

  .main-nav-links {
    display: none;
  }

  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    color: var(--primary-dark);
    font-size: 1.8rem;
    cursor: pointer;
    border: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1111 !important;
  }

  .mobile-toggle.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  /* Backdrop Blur */
  .mobile-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
  }

  .mobile-backdrop.active {
    opacity: 1;
    visibility: visible;
  }

  /* Mobile Menu - Slide from Bottom */
  .mobile-menu-container {
    position: fixed;
    bottom: 0;
    left: 15px;
    right: 15px;
    top: 200px;
    background: transparent;
    box-shadow: none;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 999;
    display: flex;
    flex-direction: column;
  }

  .mobile-menu-container.active {
    top: 90px;
    transform: translateY(0);
    background: white;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
  }

  /* Menu Header with Close Button */
  .mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    position: relative;
    height: 80px;
    overflow: visible;
  }

  .mobile-close-btn {
    position: absolute;
    left: 20px;
    background: none;
    color: black;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.2s;
  }

  .mobile-close-btn:hover {
    transform: scale(1.1);
  }

  .mobile-logo-text {
    text-align: center;
    color: var(--primary-dark);
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
  }

  .mobile-logo-text.visible {
    opacity: 1;
    transform: scale(1);
  }

  .mobile-logo-text h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
  }

  .mobile-logo-text p {
    margin: 0;
    font-size: 0.8rem;
    opacity: 0.7;
  }

  /* Scrollable Content Area */
  .mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    padding-bottom: 80px;
  }




  .mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
    margin-bottom: 30px;
  }

  .mobile-menu-links a {
    text-decoration: none;
    color: var(--primary-dark);
    font-size: 1.2rem;
    font-weight: 600;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-menu-links a:hover {
    background: rgba(23, 53, 86, 0.1);
  }

  .mobile-menu-section-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    margin: 20px 0 10px 15px;
    letter-spacing: 1px;
  }

  .mobile-top-links {
    display: flex;
    flex-direction: column;
    gap: 5px;
    list-style: none;
  }

  .mobile-top-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.95rem;
    display: block;
    padding: 10px 15px;
    border-radius: 8px;
    transition: background 0.2s;
  }

  .mobile-top-links a:hover {
    background: rgba(0, 0, 0, 0.05);
  }

  /* Fixed Social Icons at Bottom */
  .mobile-socials {
    position: fixed;
    bottom: 0;
    left: 15px;
    right: 15px;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    padding: 20px;
    border-top: 1px solid #eee;
    z-index: 1000;
  }

  .mobile-socials a {
    color: var(--primary-dark);
    font-size: 1.5rem;
    transition: transform 0.2s, color 0.2s;
  }

  .mobile-socials a:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
  }
}

/* Extra large screens: ensure links don't stretch too weirdly */
@media (min-width: 1025px) {
  .mobile-menu-container {
    display: none !important;
  }
}

/* --- Header Content Section --- */
@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-content-wrapper {
  background-color: var(--primary-dark);
  width: 100%;
  overflow: hidden;
}

@media (min-width: 1025px) {
 
.header-content-section {
  width: 100%;
  height: 600px;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-dark);
  background-image: url("assets/header-bg.jpg");
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  border-bottom: black 2px solid;
}
}

@media (max-width: 800px) {
 
.header-content-section {
  width: 100%;
  height: 250px;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-dark);
  background-image: url("assets/header-bg.jpg");
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  border-bottom: black 2px solid;
}
}
.kurumsal-header-section {
  width: 100%;
  height: 390px;
  position: relative;
  overflow: hidden;
  border-bottom: black 2px solid;
}

.kurumsal-header-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content-wrapper {
  position: relative;
  background-color: rgba(219, 226, 231, 0.5);
  z-index: 10;
  width: 100%;
}

.page-content-wrapper::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to bottom, transparent, rgb(237 240 243));
  z-index: 10;
  pointer-events: none;
}

.main-content-container {
  position: relative;
  z-index: 20;
  padding-bottom: 50px;
  max-width: 1450px;
}



.left-column-wrapper {
  background-color: white;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.15);
  padding: 0px 0px 20px 0px;
  border-radius: 12px 2px 10px 10px;
  overflow: hidden;
  min-height: 100%;
display: flex;
flex-direction: column;
}

.left-column-header {
  background-color: #173556;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.left-column-header a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s;
}

.left-column-header a:hover {
  opacity: 0.8;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.left-column-content {
 /* padding: 40px; */
  padding: 15px 40px 0px 40px;
}

.bio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.bio-title {
  color: #f7ae11;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
  text-transform: uppercase;
}

.bio-title-faaliyet {
  color: #6a6a6a;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}

.bio-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  font-size: 0.9rem;
}

.bio-content {
  overflow: hidden;
  /* Clears floats */
}

.bio-image {
  width: 50%;
  float: right;
  margin-left: 25px;
  margin-bottom: 5px;
  border-radius: 8px;
  object-fit: cover;
}

.bio-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #666666e6;
line-height: 1.8;
 
}

 

.bio-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-top: 50px;
}

.bio-link-box {
  display: flex;
  position: relative;
  height: 90px;
  padding: 20px;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}

.bio-link-box:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.bio-link-box.blue-box {
  transition: background-color 0.3s;
  background-color: #223561;
  transition: transform 0.2s;
}

.bio-link-box.blue-box:hover {
  background-color: #3c4d5a;
  transform: translateY(-5px);
}

.box-text {
  color: white;
  line-height: 1.2;
  position: relative;
  z-index: 2;
}

.box-icon {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: white;
  color: rgb(123, 123, 123);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  transition: background 0.3s;
}


@media (max-width: 1650px) {
  .main-content-container {
    max-width: 1450px;
  }
}

@media (max-width: 992px) {
  .bio-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .bio-links-grid {
    grid-template-columns: 1fr;
  }
}

.albums-section {
  margin-top: 50px;
}

.albums-header {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7ae11;
  text-transform: uppercase;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.album-card {
  position: relative;
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: transform 0.2s;
}

.album-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
  transition: background 0.2s;
}

.album-card:hover {
  transform: translateY(-5px);
}

.album-card:hover::before {
  background: rgba(0, 0, 0, 0.2);
}

.album-content {
  position: relative;
  z-index: 2;
}


.album-title {
  border-left: 4px solid #f7ae11;
  padding-left: 10px;
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.2;
  margin-bottom: 5px;
}

.album-info {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.album-arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: white;
  font-size: 1.2rem;
  z-index: 2;
}

@media (max-width: 768px) {
  .albums-grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.other-images-section {
  margin-top: 50px;
  margin-bottom: 50px;
}

.other-images-header {
  font-size: 1rem;
  font-weight: 700;
  color: #014392;
  text-transform: uppercase;
  margin-bottom: 20px;
  border-bottom: 1px solid #eee;
  padding-bottom: 10px;
}

.other-images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.other-image-box {
  display: block;
  height: 160px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.other-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 0.2s;
}

.other-image-box img:hover {
  scale: 1.1;
}

@media (max-width: 992px) {
  .other-images-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .other-images-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Related News Card Styles */
.related-news-card {
  transition: all 0.3s ease;
}

.related-news-card .card-title {
  color: #014392;
  /* Default color */
  transition: color 0.3s ease;
}

.related-news-card:hover {
  background-color: #173556;
  /* Hover background color */
}

.related-news-card:hover .card-title {
  color: white !important;
  /* Hover title color */
}

.related-news-card:hover .card-text {
  color: rgba(255, 255, 255, 0.8) !important;
}

.related-news-card .fa-chevron-right {
  transition: all 0.3s ease;
}

.related-news-card:hover .fa-chevron-right {
  color: white !important;
  transform: translateX(5px) scale(1.2);
}

/* Quick Menu Styles */
.quick-menu-container {
  overflow: hidden;
  margin-bottom: 30px !important;
  box-shadow: 19px 4px 20px 0 rgba(0, 0, 0, 0.05);
  border-radius: 0px 15px 15px 0px;
}

.quick-menu-header {
  color: #f7ae11;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  background-color: white;
}

.quick-menu-list {
  display: flex;
  flex-direction: column;
  box-shadow: 19px 4px 20px 0 rgba(0, 0, 0, 0.05);
  background-color: white;
}

.none-box-shadow {
  box-shadow: none !important;
}

.quick-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px 15px 20px;
  text-decoration: none;
  color: #666666e6;
  border-bottom: 1px solid #ddddddd5;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.quick-menu-item:last-child {
  border-bottom: none;
}

.quick-menu-item:hover {
  background-color: #f4f4f4;
  /* Slight shift */
}

.quick-menu-arrow {
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  color: #f7ae11;
}

.quick-menu-item:hover .quick-menu-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* President Corner Styles */
.president-corner-container {
  margin-top: 30px;
 /* margin-left: 3px;*/
  background-color: white;
  border-radius: 0px 15px 15px 0px;
}

.president-corner-header {
  color: #f7ae11;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  
   
  padding: 10px 10px 10px 20px;

}

.president-card {
  background-color: white;
  overflow: hidden;
  box-shadow: 19px 4px 20px 0 rgba(0, 0, 0, 0.05);
}

.president-image {
  width: 100%;
  height: 185px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.president-info-box {
  background-color: #173556;
  color: white;
  padding: 10px;
  line-height: 1.2rem;
  text-align: center;
}

.president-name {
  font-weight: 900;
  font-size: 1.2rem;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.president-title {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}




.left-column-wrapper h1 {
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 20px;
}


.header-content-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;

}

.header-links-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
  overflow: hidden;
  border-top-left-radius: 20px;
  padding: 0 20px;
}

.header-links-container::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -160px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-dark);
  border-radius: 50%;
  z-index: 1;
}

.header-link {
  padding: 10px 10px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  display: inline-block;
  text-align: center;
  background-color: var(--primary-dark);
  color: white;
  z-index: 1;
}

.sponsor-card-section {
  opacity: 0;
}

.sponsor-card-section.animate {
  animation: slideInUp 1s ease-out forwards;
}

.footer__wrapper {
  background-color: var(--primary-dark);
  color: white;
  font-family: 'Outfit', sans-serif;
  opacity: 0;
}

.footer__wrapper.animate {
  animation: slideInUp 1s ease-out forwards;

}

/* Slide Down Animation for Scroll Trigger */
@keyframes slideDownFade {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products-section {
  width: 100%;
  background-color: white;
  display: flex;
  justify-content: flex-start;
  /* Aligns content to start for marquee */
  align-items: center;
  overflow: hidden;
  position: relative;
  /* Context for absolute clone */
  opacity: 0;
  /* Hidden initially */
}

.products-section.animate {
  animation: slideDownFade 1s ease-out forwards;
}

.products-container {
  display: flex;
  gap: 10px;
  width: max-content;
  padding-block: 10px;
  will-change: transform;
  padding-left: 0;
  /* Removing any default padding affecting loop */
  padding-right: 10px;
  /* Consistently add gap at end if needed, or handle in JS */
}

.product-card {
  background: var(--primary-dark);
  border: 1px solid #e0e0e0;
  padding: 10px;
  width: 200px;
  min-width: 210px;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  line-height: normal;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease !important;
}

.product-card:hover {
  background-color: #24507e;
}

.product-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
}

.product-type {
  font-size: 0.75rem;
  color: white;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #edaf60;
}

.product-range {
  font-size: 0.9rem;
  color: white;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  overflow: hidden;
}

.product-range span {
  color: white;
}

.min-price {
  color: #4caf50 !important;
}

.max-price {
  color: #f44336 !important;
}

/* --- Events Section --- */
.events-section {
  width: 100%;
  background-color: var(--primary-dark);
  padding: 60px 0px;
}

.events-header {
  text-align: center;
  margin-bottom: 50px;
}

.events-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin: -15px !important;
  padding: 0px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.events-subtitle {
  font-size: 1.1rem;
  color: white;
  font-weight: 300;
  margin: 0px !important;
  padding: 0px !important;
}

.events-container {
  min-width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 2fr 2fr 3fr;
  gap: 20px;
}


@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Quick Actions Section */
.quick-actions {
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  opacity: 0;
}

.quick-actions.animate {
  animation: slideInLeft 1s ease-out forwards;
}

.quick-actions-title {
  background-color: #edaf60;
  padding: 15px;
  border-radius: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
}

.quick-actions-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 10px solid #edaf60;
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.quick-action-btn {
  background: transparent;
  border: 1px solid rgba(162, 169, 188, 0.5);
  border-radius: 10px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
  text-decoration: none;
}

.quick-action-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(23, 53, 86, 0.3);
   background: #edaf60;
}

.quick-action-btn i {
  font-size: 1rem;
  color: #fff;
}

.quick-action-name {
  font-weight: 600;
  text-align: center;
}

.quick-action-desc {
  font-size: 0.65rem;
  text-align: center;
  opacity: 0.9;
  font-weight: 100;
}

/* Event Cards Section */
.event-cards {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  align-self: flex-end;
  gap: 15px;
  width: 100%;
  flex-direction: row !important;
  flex-wrap: nowrap;
  cursor: pointer;
  opacity: 0;
}

.event-cards.animate {
  animation: slideInUp 1s ease-out forwards;
}

.event-card {
  background: var(--accent-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex: 1;
  /* Grow and shrink equally */
  min-width: 0;
  /* Allow shrinking below content size to prevent overflow */
  width: auto;
  /* Remove fixed width */
  text-decoration: none;
  color: inherit;
  display: block;
  /* Ensure it behaves as a block */
  position: relative;
  /* Create positioning context for overlay */
}

.event-card-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 16px;
  padding: 5px;
}

.event-card-content {
  padding: 10px;
}

.event-card-title {
  font-size: 0.9rem;
  font-weight: 900;
  color: #fff !important;
}

.event-card-description {
  font-size: 0.9rem;
  color: #c1b7b7;
  margin-bottom: 5px;
  line-height: 1.5;
}

.event-card-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.event-info-item {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  color: white;
}

.event-info-item i {
  color: #edaf60;
  width: 16px;
}

.event-directions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  /* Sit above overlay */
  text-decoration: none;
  color: inherit;
}

.event-directions i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  color: white;
  background-color: var(--primary-dark);
  width: 35px;
  height: 35px;
  border-radius: 10px;
  z-index: 10;
}

.event-directions-text {
  display: flex;
  justify-content: center;
  align-items: self-start;
  font-size: 0.6rem;
  color: white;
  font-weight: 600;
  background-color: #224469;
  width: 35px;
  height: 25px;
  padding: 5px 5px 35px 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  line-height: 0.8;
  margin-bottom: -20px;
}

/* Calendar Section */
.calendar-section {
  background: transparent;
  border-radius: 12px;
  opacity: 0;
}

.calendar-section.animate {
  animation: slideInRight 1s ease-out forwards;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.calendar-today-btn {
background: #edaf60;
    color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 0.6rem;
  font-weight: 600;
  cursor: pointer;
}

.calendar-month {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.calendar-nav {
  display: flex;
  gap: 10px;
}

.calendar-nav-btn {
  background: #f0f0f0;
  border: none;
  border-radius: 6px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #173556;
  font-size: 1rem;
}

.calendar-nav-btn:hover {
  background: #173556;
  color: white;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
  margin-bottom: 5px;
}

.calendar-weekday {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666;
  background: #f8f8f8;
  border-radius: 6px;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 3px;
}

.calendar-day {
  aspect-ratio: 1.6 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px 10px;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.calendar-day:hover {
  background: #f8f8f8;
  border-color: #173556;
}

.calendar-day.other-month {
  color: #ccc;
  background: #fafafa;
}

.calendar-day.current-day {
  background: #edaf60;
  color: white;
  font-weight: 700;
  border-color: #173556;
}

.calendar-day.current-day.has-event::after {
  background: white;
}

.calendar-day-number {
  font-size: 0.7rem;
  position: absolute;
  top: 0px;
  right: 4px;
  font-weight: 600;
}

.calendar-day-event {
  font-size: 0.7rem !important;
  position: absolute;
  top: 0px;
  left: 0px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
  margin-top: 22px;
  color: #173556;
  text-decoration: none;
}

.calendar-day-event::before {
  content: "• ";
  color: inherit;
}

/* Responsive Design for Events Section */
@media (max-width: 1200px) {
  .events-container {
    grid-template-columns: 2fr;
    gap: 30px;
    padding: 0 15px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .event-cards {
    /* Base styles handle layout, ensuring row */
    padding: 0;
  }


}

@media (max-width: 768px) {
  .events-section {
    padding: 40px 0;
  }

  .events-container {
    padding: 0 10px;
  }

  .events-title {
    font-size: 2rem;
    margin: 0 !important;
  }

  .events-subtitle {
    font-size: 0.9rem;
  }

  .quick-actions {
    padding: 0;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 2fr);
    gap: 8px;
  }

  .quick-action-btn {
    padding: 15px 8px;
  }

  .quick-action-btn i {
    font-size: 1.5rem;
  }

  .quick-action-name {
    font-size: 0.85rem;
  }

  .quick-action-desc {
    font-size: 0.7rem;
  }

  .event-cards {
    padding: 0 10px;
    /* Reduced padding for small screens */
    gap: 10px;
  }



  .event-card-image {
    max-width: 100%;
  }

  .calendar-weekdays {
    gap: 2px;
  }

  .calendar-days {
    gap: 2px;
  }

  .calendar-day {
    font-size: 0.75rem;
    padding: 3px 5px;
  }

  .calendar-day-number {
    font-size: 0.65rem;
    top: 3px;
    right: 5px;
  }

  .calendar-day-event {
    font-size: 0.5rem;
    margin-top: 16px;
  }
}

@media (max-width: 768px) {
  .quick-actions-grid {
    grid-template-columns: repeat(2, 2fr);
  }
}

@media (max-width: 480px) {
  .events-section {
    padding: 30px 0;
  }

  .events-header {
    margin-bottom: 30px;
  }

  .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }



  .quick-action-btn {
    padding: 12px 6px;
    gap: 3px;
  }

  .quick-action-btn i {
    font-size: 1.2rem;
  }

  .quick-action-name {
    font-size: 0.75rem;
  }

  .quick-action-desc {
    font-size: 0.6rem;
  }

  .event-cards {
    gap: 8px;
    /* Smaller gap on very small screens */
  }

  .events-title {
    font-size: 1.5rem;
  }

  .events-subtitle {
    font-size: 0.85rem;
  }

  .calendar-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .calendar-today-btn {
    font-size: 0.55rem;
    padding: 6px 12px;
  }

  .calendar-month {
    font-size: 1rem;
  }

  .calendar-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .calendar-weekday {
    font-size: 0.6rem;
    padding: 6px 0;
  }

  .calendar-weekdays {
    gap: 1px;
  }

  .calendar-days {
    gap: 1px;
  }

  .calendar-day {
    font-size: 0.65rem;
    padding: 2px 3px;
    aspect-ratio: 1.5 / 1;
  }

  .calendar-day-number {
    font-size: 0.55rem;
    top: 1px;
    right: 2px;
  }

  .calendar-day-event {
    font-size: 0.45rem;
    margin-top: 12px;
  }
}

.calendar-day-event {
  font-size: 0.45rem;
  margin-top: 14px;
}

/* --- News Slider Section --- */
.news-slider-section {
  width: 100%;
  background-color: var(--primary-dark);
  padding: 0;
}

.news-slider-container {
  min-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
}

/* Left Side - Headline News Slider */
.headline-news-wrapper {
  position: relative;
  padding-top: 10px;
}

.headline-slider {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  z-index: 1;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

/* Text content should be above the image */
.slide-content-bottom {
  position: relative;
  z-index: 3;
  color: white;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.slide-date {
  font-size: 0.9rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.slide-headline {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.slide-headline-border {
  width: 100%;
  height: 2px;
  background-color: white;
  margin-bottom: 15px;
}

.slide-description {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Navigation Arrows */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.slider-arrow:hover {
  background-color: var(--primary-dark);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2px;
  width: 100%;
  background-color: var(--primary-dark);
}

.pagination-dots {
  display: flex;
  align-items: center;
}

.pagination-dot {
  width: 45px;
  height: 45px;
  background-color: var(--primary-dark);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pagination-dot.active {
  background-color: var(--accent-color);
}

.pagination-dot:hover {
  background-color: var(--accent-color);
  color: white;
}

.all-news-btn {
  background: #db9d4e;
  height: 45px;
  padding: 15px;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.all-news-btn:hover {
  background: #c78531;
}

/* Right Side - Announcements Section */
.news-right-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 10px;
}

.announcements-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 5px 20px 10px 10px;
  background-color: #008f8d;
}

.announcements-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
}

.announcements-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.announcements-nav>i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgb(233, 237, 242);
  color: #fff;
}

.announcement-arrow {
  background-color: transparent;
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgb(233, 237, 242);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.announcement-arrow:hover {
  color: var(--accent-color);
}

.announcements-slider {
  position: relative;
  width: 100%;
  height: 419px;
  background-color: white;
}

.announcement-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow-y: auto;
  pointer-events: none;
}

.announcement-slide.active {
  opacity: 1;
  pointer-events: auto;
  overscroll-behavior: auto;
  touch-action: pan-y;
}

.announcement-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s;
}

.announcement-box:hover {
  background-color: #f9f9f9;
}

.announcement-box:hover .announcement-title:hover {
  color: var(--primary-dark);
}

.announcement-box:last-child {
  border-bottom: none;
}

.announcement-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #514c46;
  font-size: 1.2rem;
}

.announcement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.announcement-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #5e5e5e;
  line-height: 1.4;
  margin: 0;
}

.announcement-date {
  font-size: 0.8rem;
  color: #5e5e5e;
  margin: 0;
}

.announcements-bottom {
  padding: 10px;
  background-color: transparent;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.announcements-divider {
  width: 100%;
  height: 1px;
  background-color: #e0e0e0;
  margin-top: 10px;
}

.announcement-button {
  flex: 1;
  min-width: 100px;
  height: 100px;
  padding: 8px 15px;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  position: relative;
}



.announcement-button i {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.announcement-button>div:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.announcement-button>div:last-child>div:first-child {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.2;
}

.announcement-button>div:last-child>div:last-child {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  line-height: 1.2;
}

/* Dropdown Menu */
.button-dropdown {
  position: absolute;
  bottom: 110%;
  left: 0;
  width: 100%;
  background-color: inherit;
  border-radius: 5px 5px 0 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border-radius: 5px;
}

.announcement-button:hover .button-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-title {
  padding: 12px 15px;
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dropdown-links {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.dropdown-links a {
  padding: 10px 15px;
  color: white;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.2s;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 10px;
}

.dropdown-links a i {
  font-size: 0.9rem;
  width: 16px;
}

.dropdown-links a:last-child {
  border-bottom: none;
}

.dropdown-links a:hover {
  background-color: #db9d4e;
}

.btn1 {
  background-color: #db9d4e;
}
.btn1:hover {
  background-color: #173556;
}

.btn2 {
  background-color: #db9d4e;
}

.btn3 {
  background-color: #db9d4e;
}

.btn4 {
  background-color: #db9d4e;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .news-slider-container {
    grid-template-columns: 1fr;
    gap: 0px;
  }

  .slider-arrow {
    display: none;
  }

  .news-right-content {
    margin-top: 0px;
  }

  .headline-slider {
    height: 400px;
  }

  .slide-headline {
    font-size: 1.5rem;
  }

  .announcements-bottom {
    padding: 10px 8px;
    gap: 6px;
  }

  .announcement-button {
    min-width: 80px;
    padding: 8px 10px;
    gap: 8px;
  }

  .announcement-button i {
    font-size: 1.2rem;
  }

  .announcement-button>div:last-child>div:first-child {
    font-size: 0.8rem;
  }

  .announcement-button>div:last-child>div:last-child {
    font-size: 0.7rem;
  }
}

@media (max-width: 768px) {
  .headline-slider {
    height: 350px;
  }

  .slide {
    padding: 20px;
  }

  .slide-headline {
    font-size: 1.2rem;
  }

  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .pagination-dot {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
  }

  .announcements-bottom {
    flex-direction: column;
    padding: 10px;
    gap: 10px;
  }

  .announcement-button {
    min-width: 100%;
    padding: 12px 15px;
  }

  .announcement-button>div:last-child>div:first-child {
    font-size: 0.9rem;
  }

  .announcement-button>div:last-child>div:last-child {
    font-size: 0.75rem;
  }

  /* Adjust dropdown for mobile */
  .button-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .announcement-button {
    padding: 10px 12px;
    gap: 10px;
  }

  .announcement-button i {
    font-size: 1.3rem;
  }

  .announcement-button>div:last-child>div:first-child {
    font-size: 0.85rem;
  }

  .announcement-button>div:last-child>div:last-child {
    font-size: 0.7rem;
  }

  .dropdown-title {
    font-size: 0.9rem;
    padding: 10px 12px;
  }

  .dropdown-links a {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* --- Important Links Section --- */
.important-links-section {
  width: 100%;
  background-color: white;
  padding: 30px 10px;
}

.important-links-title {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px;
  font-size: 2rem;
  color: var(--primary-dark);
}

.important-links-container {
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

/* Genel Panel Stili */
.links-panel {
  background-color: var(--primary-dark);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-height: 320px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

/* --- Slider Panel --- */
.links-panel--slider {
  overflow: visible;
  position: relative;
  opacity: 0;
}

.links-panel--slider.animate {
  animation: slideInLeft 1s ease-out forwards;
}

.links-panel--slider .links-card-pairs {
  position: relative;
  transform: translateY(28px);
  margin-bottom: -28px;
  z-index: 2;
}

.links-slider-button-header {
  display: grid;
}

.links-slider-button {
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 10px 25px 0px 0px;
}

.links-slider-button>button {
  padding: 10px 45px;
  background-color: white;
  color: var(--primary-dark);
  border: none;
  border-radius: 10px;
}

.links-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px 16px 16px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.links-slider-header>button {
  padding: 10px 25px;
  background-color: #666;
  color: #c8c8c8;
  border: none;
}

.links-slider-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.links-slider-title h4 {
  margin: 0;
  padding: 0;
  font-size: 1.5rem;
  font-weight: 800;
  color: #edaf60;
}

.links-slider-title p {
  margin: 0;
  font-size: 0.9rem;
  color: white;
}

.links-slider-controls {
  display: flex;
  gap: 8px;
}

.links-slider-btn {
  background-color: white;
  color: orange;
  border: 1px solid rgb(233, 237, 242);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.links-slider-btn:hover {
  color: var(--accent-color);
}

/* --- Mini Cards --- */
.links-card-pairs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.mini-card {
  display: none;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}

.mini-card.visible {
  display: grid;
}

.mini-card img {
  width: 100%;
  height: 150px;
  border-radius: 8px;
  object-fit: cover;
  grid-column: 1 / -1;
}

.mini-card-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  grid-column: 1;
}

.mini-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #374151;
  margin: 0;
}

.mini-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  grid-column: 2;
  height: 28px;
  border-radius: 50%;
  background-color: transparent;
  color: #edaf60;
   
  margin-top: 0;
}

/* --- Middle Grid --- */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 1px;
  max-width: 800px;
  margin: 0 auto;
}

.links-panel-section-2 {
  background-color: white;
  opacity: 0;
}

.links-panel-section-2.animate {
  animation: slideInUp 1s ease-out forwards;
  margin-left: 50px;
}

.link-card {
  display: flex;
  flex-direction: column;
  background-color: #f8fafc;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  
  background-color: #e7e7e7;
}

.link-card-icon>img {
  padding: 5px 5px 5px 5px;
  max-height: 140px;
  object-fit: contain;
}

.link-card span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--primary-dark);
  font-weight: 600;
  background-color: #f3f5f8;
  width: 100%;
  height: 60px;
  padding: 10px;
  box-sizing: border-box;
}

/* --- Right Social Section --- */
.links-panel-section3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  opacity: 0;
}

.links-panel-section3.animate {
  animation: slideInRight 1s ease-out forwards;
}

.image-container {
  background-color: var(--primary-dark);
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  max-height: 400px;
  position: relative;
  margin: 0 auto;
  padding: 20px;
  z-index: 1;
}

.links-right-top .inner-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-top: -105px !important;
}

.links-right-top img {
  width: 100%;
  height: auto;
  display: block;
}

.links-right-bottom {
  width: 100%;
  max-width: 400px;
  margin-top: -25px;
  position: relative;
  z-index: 2;
}

.double-rect-outer {
  border-radius: 12px;
  padding: 30px 20px 20px;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.double-rect-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.inner-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  position: absolute;
  top: -25px;
  left: 0;
  right: 0;
}

.panel-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #edaf60;
  border-radius: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  cursor: pointer;
  text-decoration: none;
  /* Reset link underline */
  color: inherit;
  /* Reset link color */
}

.panel-icons:hover {
  transform: translateY(-5px);
  background-color: #c78531;
  box-shadow: 0 5px 12px rgba(254, 111, 41, 0.3);
}

.panel-icons>i {
  color: white;
  font-size: 1.2rem;
}

.inner-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  padding: 0;
}

.baskan-btn {
  display: inline-block;
  min-width: 120px;
  padding: 8px 10px;
  background-color: #f0f2f5;
  color: var(--primary-dark);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.baskan-btn:hover {
  background-color: #e4e6e9;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.baskan {
  font-size: 1rem;
  font-weight: 600;
  color: #1a365d;
}

/* --- Responsive Düzenlemeler --- */
@media (max-width: 1024px) {
  .important-links-container {
    max-width: 600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 10px;
    gap: 12rem;
  }

  .links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .important-links-container {
    grid-template-columns: 1fr;
    gap: 8rem;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
  }


  .links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .links-card-pairs {
    grid-template-columns: 1fr 1fr;
  }

  .links-slider-title h4 {
    font-size: 1.2rem;
  }

  .mini-card img {
    height: 120px;
  }

  .image-container {
    max-width: 300px;
  }


  .inner-icons {
    gap: 10px;
  }

  .panel-icons {
    width: 45px;
    height: 45px;
  }

  .important-links-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .double-rect-inner {
    display: flex;
    align-items: center;
  }
}

@media (max-width: 500px) {
  .important-links-container {
    grid-template-columns: 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .links-grid {
    grid-template-columns: 1fr 1fr;
  }

  .links-card-pairs {
    grid-template-columns: 1fr 1fr;
  }

  .links-slider-title h4 {
    font-size: 1.2rem;
  }

  .mini-card img {
    height: 120px;
  }

  .image-container {
    max-width: 100% !important;
    width: 100%;
  }

  /* Prevent overflow in section 3 */
  .links-right-bottom,
  .double-rect-outer {
    width: 100% !important;
    max-width: 100% !important;
  }

  .inner-icons {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    position: relative;
    top: -25px;
  }

  .inner-buttons {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .baskan-btn {
    width: 100%;
    text-align: center;
  }

  .panel-icons {
    width: 45px;
    height: 45px;
  }

  .important-links-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .double-rect-inner {
    display: flex;
    align-items: center;
  }
}


/* Slider Ana Kapsayıcı */

.us-section {
  width: 100%;
  background-color: white;
  padding: 80px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
}

.us-section.animate {
  animation: slideInUp 1s ease-out forwards;
}

.us-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

/* Resimlerin olduğu kayan şerit */
.us-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s ease;
  /* Yumuşak geçiş */
}

/* Her bir slayt elemanı */
.us-slide {
  min-width: 1000px;
  /* 600px yerine 1000px */
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  opacity: 0.5;
  /* Odaklanılmayanlar biraz daha sönük kalsın */
  filter: blur(4px);
  transform: scale(0.9);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

/* Sadece resimlerin sığması için */
.us-slide img {
  width: 1000%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* Aktif (Ortadaki) Slayt Özellikleri */
.us-slide.active {
  opacity: 1;
  filter: blur(0px);
  /* Net */
  transform: scale(1);
  /* Tam boyut */
  z-index: 2;
}

/* Buton Genel Stili */
.us-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: white;
  color: #666;
  box-shadow: 0 0px 12px rgba(0, 0, 0, 0.15);
  border: none;
  font-size: 20px;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.us-prev {
  left: 50%;
  /* Ekranın tam ortasını baz al */
  transform: translate(-50%, -50%);
  /* Dikey ortalama + Yatay merkezleme */
  margin-left: -660px;
  /* (1000px / 2) - 40px boşluk */
}

.us-next {
  right: 50%;
  /* Ekranın tam ortasını baz al */
  transform: translate(50%, -50%);
  /* Dikey ortalama + Yatay merkezleme */
  margin-right: -660px;
  /* (1000px / 2) - 40px boşluk */
}

/* card gallery */

.card-gallery-section {
  width: 100%;
  background-color: white;
  padding: 15px 0;
  opacity: 0;
}

.card-gallery-section.animate {
  animation: slideInUp 1s ease-out forwards;
}

/* Gallery Container */
.gallery {
  width: 100%;
  max-width: 1450px;
  margin: 0 auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* --- Tabs Header --- */
.gallery__header {
  display: flex;
  justify-content: start;
  margin-bottom: 40px;
  /* Alt çizgi yerine butonların kendisi kutu gibi duracak */
  gap: 20px;
  /* Butonlar arası boşluk */
}

.gallery__tab {
  padding: 12px 35px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;

  /* Varsayılan (Pasif) Durum */
  background-color: white;
  /* Açık gri arka plan */
  color: var(--primary-dark);
  /* Koyu gri yazı */
  border-radius: 10px;
  /* Yuvarlak köşeler (Hap görünümü) */
  box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);
  position: relative;
  /* Üçgeni konumlandırmak için gerekli */
  transition: all 0.3s ease;
}

/* --- Aktif Tab Stilleri --- */
.gallery__tab--active {
  background-color: #edaf60;
  /* Kırmızı arka plan */
  box-shadow: none;
  color: #fff;
  /* Beyaz yazı */
}

/* --- Üçgen Pointer (Butonun Altında) --- */
.gallery__tab--active::after {
  content: "";
  position: absolute;

  /* Butonun tam altına yapıştır */
  top: 100%;
  left: 50%;
  transform: translateX(-50%);

  /* Üçgen Oluşturma */
  width: 0;
  height: 0;

  /* Aşağı bakan üçgen için: Üst kenar renkli, diğerleri şeffaf */
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #edaf60;
  /* Buton rengiyle aynı olmalı */
  border-bottom: none;
}

/* --- Grid Yapısı --- */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Cards --- */
.gallery__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.gallery__image-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  padding: 10px 10px 0 10px;
}

.gallery__image-container img {
  border-radius: 8px;
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery__card-body {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.gallery__card-title {
  margin: 0 0 10px 0;
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 38px;
}

.gallery__card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #888;
  margin-top: auto;
}

.gallery__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--primary-dark);
  border-radius: 50%;
  border: 1px solid var(--primary-dark);
  text-decoration: none;
  /* Ensure no underline for link */
  transition: all 0.2s ease;
}

.gallery__icon:hover {
  background-color: var(--primary-dark);
  color: white;
}

/* Responsive */
@media (max-width: 900px) {
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* sponsor card */

.sponsor-section-wrapper {
  overflow: hidden;
  width: 100%;
}

.sponsor-card-section {
  width: 100%;
  background-color: white;
  padding: 80px 0;
  opacity: 0;
}

.sponsor-card-section.animate {
  animation: slideInUp 1s ease-out forwards;
}

/* Slider Konteyner */
.sponsor-slider {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1450px;
  margin: 50px auto;
  border-radius: 8px;
}

/* Görünür Alan */
.sponsor-slider__viewport {
  overflow: hidden;
  width: 100%;
  margin: 0 50px;
  /* Butonlara yer kalsın */
}

/* Hareket Eden Hat (Track) */
.sponsor-slider__track {
  display: flex;
  gap: 20px;
  /* Kartlar arası SABİT boşluk */
  width: max-content;
  /* Başlangıçta transition olmalı, JS ile dinamik yönetilecek */
  transition: transform 0.4s ease-in-out;
}

/* KARTLAR - Sabit Genişlik ve Yükseklik */
.sponsor-card {
  width: 160px;
  /* İstenen SABİT genişlik */
  height: 200px;
  /* İstenen SABİT yükseklik */
  flex-shrink: 0;
  /* Tarayıcı küçülse bile kartlar ezilmez */
}

/* Kart İç Yapısı */
.sponsor-card__inner {
  background: white;
  border-radius: 12px;
  width: 100%;
  height: 100%;
  padding: 10px;
  box-sizing: border-box;
  /* Padding dahil boyutlandırma */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  border: 1px solid #a5a5a5;
}

/* Logo */
.sponsor-card__logo-wrapper {
  flex: 1;
  /* Alanı doldur */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.sponsor-card__logo {
  max-width: 90px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.sponsor-card__inner:hover .sponsor-card__logo {
  filter: grayscale(0%);
  opacity: 1;
}

/* Çizgi */
.sponsor-card__divider {
  width: 110%;
  height: 1px;
  background-color: #eee;
  border: none;
  margin: 8px 0;
}

/* İsim */
.sponsor-card__name {
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 5px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

/* Navigasyon Butonları */
.sponsor-slider__nav {
  position: absolute;
  top: 30%;
  border: none;
  background-color: transparent;
  color: var(--accent-color);
  cursor: pointer;
  z-index: 2;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-slider__nav--prev {
  left: 0;
}

.sponsor-slider__nav--next {
  right: 5px;
}

/* footer  */

.footer__wrapper {
  font-family: "Open Sans", sans-serif;
  color: #bfc6cc;
  background-color: #0b2a45;
  /* footer ana rengi */
}

/* === Başlık Satırı === */
.footer__header {
  background-color: var(--accent-color);
  /* farklı açık ton */
  width: 100%;
}

.footer__header-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1450px;
  margin: 0 auto;
  padding: 18px 20px;
}

.footer__header-title {
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  margin-left: 10px;
}

.footer__header-title-2 {
  padding-bottom: 10px;
  display: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  margin-left: 10px;
}

.footer__header-title--empty {
  visibility: hidden;
  /* hizalama için boş sütun */
}

/* === Link Satırı === */
.footer__links-section {
  background-color: var(--primary-dark);
  padding: 40px 20px;
  position: relative;
  /* allow logo to overlap header without clipping */
}

.footer__links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  max-width: 1400px;
  margin: 0 auto;
  gap: 30px;
}

/* Link listesi */
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__link {
  display: flex;
  justify-content: start;
  align-items: center;
  color: #bfc6cc;
  text-decoration: none;
  margin-bottom: 12px;
  transition: color 0.3s ease;
  opacity: 0.9;
  font-size: 0.8rem;
  font-weight: 300;
}

.footer__link i {
  margin-right: 8px;
  font-size: 3px;
}

.footer__link:hover {
  color: #ffffff;
}

/* Logo ve iletişim */
.footer__contact {
  text-align: right;
}

.footer__logo {
  width: 120px;
  height: 120px;
  margin-bottom: -65px;
  object-fit: cover;
  position: relative;
  transform: translateY(-80px);
  z-index: 2;
  padding: 0px !important;
}

.footer__contact-info {
  font-size: 13.5px;
}

.footer__contact-info>p {
  margin-bottom: 0 !important;
}

.footer__contact-title {
  color: #b9b9b9;
  margin-top: 10px;
  opacity: 0.5;
}

.footer__contact-detail {
  font-weight: 900;
  font-size: 2rem;
  flex-wrap: nowrap;
  font-family: "Oswald";
  font-weight: 200;
}

.footer__contact-detail2 {
  margin-top: 10px;
  color: #b9b9b9;
  opacity: 0.5;
}

.footer__contact-detail2 span {
  color: rgb(255, 255, 255);
  opacity: 1 !important;
  margin-right: 2px;
}

/* === Alt Bar === */
.footer__bottom-bar {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  font-size: 13px;
  flex-wrap: wrap;
}

.footer__bottom-bar-s {
  background-color: #082236;
}

.footer__bottom-right {
  font-size: 0.7rem;
  color: #bfc6cc;
}

/* === Responsive === */
@media (max-width: 992px) {

  .footer__header-title {
    display: none;
  }

  .footer__header-title-2 {
    display: flex;
  }



  .footer__links-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .footer__header-title--empty {
    display: none;
  }

  .footer__bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 600px) {

  .footer__header-inner,
  .footer__links-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* --- Event Modal Styles --- */
.event-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.event-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.event-modal-content {
  background: white;
  border-radius: 12px;
  width: 800px;
  /* Fixed width */
  height: 500px;
  /* Fixed height */
  position: relative;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.event-modal-overlay.active .event-modal-content {
  transform: scale(1);
}

.event-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
  z-index: 10;
  transition: background 0.2s, transform 0.2s;
}

.event-modal-close:hover {
  background: var(--primary-dark);
  transform: rotate(90deg);
}

.event-modal-body {
  display: flex;
  height: 500px;
  width: 100%;
}

/* Left Section */
.event-modal-left {
  width: 400px;
  height: 500px;
  flex: none;
  background: #f8f9fa;
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border-right: 1px solid #eee;
}

/* ... existing wrapper styles ... */

.event-modal-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: 0;
  box-shadow: none;
  background: #ddd;
}

.event-modal-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Button overlay */
.event-modal-image-wrapper .event-modal-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: none;
}

.event-modal-right {
  width: 400px;
  height: 500px;
  flex: none;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}



.event-modal-info h3 {
  font-size: 1.5rem;
  color: #edaf60;
  margin-bottom: 10px;
}

.event-modal-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.event-modal-date i {
  color: var(--secondary-blue);
}



/* Buttons */
.event-modal-btn {
  display: block;
  text-align: center;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  width: 100%;
  max-width: 250px;
  margin: 0 auto;
}

.primary-btn {
  color: white;
  border: 2px solid white;

}

.primary-btn:hover {
  background-color: white;
  border-color: white;
  color: black;
}

.secondary-btn {
  color: var(--primary-dark);
  font-weight: 600;
  border: 2px solid #edaf60;
}

.secondary-btn:hover {
  background-color: #edaf60;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .event-modal-body {
    flex-direction: column;
  }

  .event-modal-content {
    width: 95%;
    height: auto;
    max-height: 90vh;
    /* Allow scrolling if too tall */
    overflow-y: auto;
  }

  .event-modal-left,
  .event-modal-right {
    padding: 25px;
    flex: auto;
    /* Allow autoizing height */
  }

  .event-modal-left {
    min-height: 250px;
    /* Ensure image has height on mobile */
  }

  .event-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* Event Modal Meta */
.event-modal-meta {
  display: flex;
  gap: 15px;
  opacity: 0.8;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 10px;
}

.event-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 0.75rem;
}

.event-meta-item i {
  color: var(--secondary-blue);
  width: 16px;
  /* Fixed width for alignment */
  text-align: center;
}

#modalEventType {
  font-weight: 500;
  color: var(--primary-dark);
}

.event-modal-description {
  margin-top: 5px;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

/* Link styles for slide headline */
a.slide-headline {
  text-decoration: none;
  color: #fff;
  /* White text for contrast on slides */
  display: block;
  /* Preserve block layout */
  transition: color 0.3s ease;
}

a.slide-headline:hover {
  color: var(--secondary-yellow);
}

/* --- Mobile Dropdown Accordion Styles --- */
.mobile-dropdown-content {
  display: none;
  background-color: #f9f9f9;
  list-style: none;
  padding: 10px 0 0 20px;
  margin: 0;
  border-left: 2px solid #ddd;
}

.mobile-dropdown.active>.mobile-dropdown-content {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-dropdown-trigger {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.arrow-icon {
  transition: transform 0.3s ease;
  font-size: 0.8em;
}

.mobile-dropdown.active>.mobile-dropdown-trigger .arrow-icon {
  transform: rotate(180deg);
}

.mobile-dropdown-content li a {
  font-size: 0.9rem;
  color: #555;
  padding: 8px 15px;
  display: block;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.mobile-dropdown-content li a:hover {
  background-color: #eee;
  color: var(--primary-dark);
}

/* --- US Slider Responsive Styles (Mobile) --- */
@media (max-width: 1200px) {
  .us-section {
    padding-top: 120px;
  }

  .us-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow: hidden;
    /* Ensure side slides are cut off */
    position: relative;
    border-radius: 0;
  }

  .us-track {
    /* Ensure track behaves correctly with new width */
    display: flex;
    align-items: flex-start;
  }

  .us-slide {
    width: 100% !important;
    min-width: 100% !important;
    height: auto;
    margin: 0 !important;
    opacity: 1 !important;
    filter: none !important;
    transform: scale(1) !important;
  }

  /* Hide non-active slides if they peek through margin/overflow */
  .us-slide:not(.active) {
    opacity: 0 !important;
    visibility: hidden;
  }

  /* Ensure images fit within the slide width */
  .us-slide img {
    width: 100%;
    height: 100%;
    /* Or auto/fixed height as needed */
    object-fit: cover;
    display: block;
    border-radius: 0;
  }

  /* Reposition Buttons to Top Right */
  .us-btn {
    position: absolute;
    top: 10px;
    bottom: auto;
    transform: none;
    /* Remove vertical centering */
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 1);
    color: #333;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    font-size: 1rem;
    padding: 0;
  }

  .us-next {
    right: 15px;
    left: 93%;
  }

  .us-prev {
    left: auto;
    right: 60px;
    /* 15px + 35px + 10px gap */
  }

  .us-btn:hover {
    background: #fff;
  }
}

@media (max-width: 475px) {
  .us-btn {
    width: 25px;
    height: 25px;
    font-size: 0.7rem;
  }

  .us-next {
    right: 5px;
    left: 90%;
  }

  .us-prev {
    left: auto;
    right: 60px;
    /* 15px + 35px + 10px gap */
  }
}

/* --- Sponsor Slider Responsive (<500px) --- */
@media (max-width: 500px) {
  .sponsor-card {
    width: 150px !important;

  }

  .sponsor-slider__track {
    gap: 10px;
  }

  .sponsor-slider__viewport {
    margin: 0 40px;
    /* Space for buttons */
    width: calc(100% - 80px);
    /* Adjust based on margin */
  }
}



/* --- Preloader --- */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-dark);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* --- Scroll Animations --- */
.header-content-section {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.news-slider-container {
  opacity: 0;
  transform: translateY(10px);
  /* Slide from bottom */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.header-content-section.animate {
  opacity: 1;
  transform: translateX(0);
}

.news-slider-container.animate {
  opacity: 1;
  transform: translateY(0);
}

.loader-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  animation: logoPulse 1.5s infinite ease-in-out;
}

@keyframes logoPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
}

/* Disable animations when loading */
body.loading {
  overflow: hidden;
  /* Prevent scrolling */
}

body.loading * {
  animation: none !important;
  transition: none !important;
}

/* Exception: The loader itself must animate */
body.loading #loader,
body.loading #loader * {
  animation: logoPulse 1.5s infinite ease-in-out !important;
  transition: all 0.5s ease-in-out !important;
}

/* --- News Corner Section --- */
.news-corner-container {
 /* background-color: #e1e0e4;  
  padding: 15px;*/
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-box {
  display: flex;
  text-decoration: none;
  overflow: hidden;
  position: relative;
  transition: transform 0.2s;
  height: 120px;
  /* Fixed height for boxes */
  background-color: white;
  /* Default background */
  border-radius: 0px 12px 12px 0px;
}

.news-box:hover {
  transform: translateY(-2px);
}

/* Header Box Specifics */
.news-header-box {
  background-color: #173556;
  align-items: center;
  justify-content: space-between;
  height: 60px !important;
  padding: 0 10px;
}

.news-header-text {
  flex: 1;
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.news-header-icon {
  color: #fff;
  font-size: 0.8rem;
  margin-right: 10px;
}

/* Content Box Specifics */
.news-content-box {
  display: block;
  /* Changed from flex to block to allow absolute positioning of children */
  width: 100%;
  background-color: white;
  position: relative;
  /* Context for absolute positioning */
}

.news-left-half {
  width: 100%;
  height: 100%;
  background-color: transparent;
  /* Transparent so image behind is visible on right */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 15px;
  position: relative;
  z-index: 2;
  /* Ensure text is above image */
}

.news-card-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #333 !important;
  line-height: 1.2;
  margin-bottom: 5px;
}

.news-card-date {
  font-size: 0.65rem;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}


.news-right-half {
  width: 60%;
  /* Increased image width slightly or kept same, overlays right side */
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  overflow: hidden;
  z-index: 1;
}

.news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  display: block;
  transition: all 0.3s ease;
}

.news-box:hover .news-img {
  filter: grayscale(0%);
}



/* Fade Effect: Gradient from White (Left) to Transparent (Right) OVER the image. */
.news-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, white 0%, rgba(255, 255, 255, 0) 130%);
  pointer-events: none;
}

/* --- Project Cards Section --- */
.project-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.project-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0px 0px 10px 0px rgba(69, 95, 118, 0.2);
  height: 320px;
  /* Fixed height for consistency */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.project-card-img-wrapper {
  width: 100%;
  height: 450px;
  overflow: hidden;
}

.project-card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Slightly zoom image on hover */
.project-card:hover .project-card-img-wrapper img {
  transform: scale(1.05);
}

.project-card-content {
  min-height: 130px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  flex-grow: 1;
}

.pro-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.pro-text {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: 0;
  /* Limit text to 3 lines just in case */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- Hover Overlay --- */
.project-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(80, 104, 118, 0.85);
  color: white;
  padding: 15px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.project-card:hover .project-card-overlay {
  opacity: 1;
  visibility: visible;
}

.overlay-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.overlay-content h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.overlay-content p {
  font-size: 0.85rem;
  margin-bottom: 5px;
  opacity: 1;
  line-height: 1.2;
}

.badge-type {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.overlay-content i {
  font-size: 2rem;
  margin-bottom: 2px;
}

.detail-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: underline;
}

/* --- Staggered Animation for Overlay Items --- */
.anim-item {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card:hover .anim-item {
  opacity: 1;
  transform: translateY(0);
}

/* Delays for each item (assumed order: h5, p, badge, icon, detail-text) */
.project-card:hover .anim-item:nth-child(1) {
  transition-delay: 0.1s;
}

.project-card:hover .anim-item:nth-child(2) {
  transition-delay: 0.2s;
}

.project-card:hover .anim-item:nth-child(3) {
  transition-delay: 0.3s;
}

.project-card:hover .anim-item:nth-child(4) {
  transition-delay: 0.4s;
}

.project-card:hover .anim-item:nth-child(5) {
  transition-delay: 0.5s;
}

/* --- Project Card Footer (Custom for First Card) --- */
.project-card-footer {
  display: flex;
  border-top: 1px solid #eee;
  font-size: 0.75rem;
  color: #888;
  background-color: #f9f9f9;
}

.footer-left,
.footer-right {
  flex: 1;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.footer-right {
  border-left: 1px solid #eee;
  color: var(--primary-dark);
  font-weight: 600;
}

.footer-right i {
  font-size: 0.8rem;
}

/* Load More Button */
.load-more-btn {
  display: block;
  width: 100%;
  background-color: #f7f7f6;
  text-align: center;
  padding: 10px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: 20px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.load-more-btn:hover {
  background-color: #e0e0df;
  color: var(--primary-dark);
}

.load-more-btn i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.load-more-btn:hover i {
  transform: rotate(180deg);
}

.news-bg {
  background-color: transparent !important;
}

/* --- Activity Report Cards --- */
.activity-report-card {
  background-color: #fff;
  border: 1px solid rgba(94, 120, 143, 0.08);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.activity-report-card:hover {
  box-shadow: 0 20px 25px rgba(94, 120, 143, 0.15);
}

.activity-card-img-container {
  padding: 8px;
  text-align: center;
  height: 280px;
}

.activity-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 11px;
}

.activity-card-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  color: #515558;
  margin-top: 5px;
  margin-bottom: 20px;
  padding: 0 10px;
  text-transform: uppercase;
  font-family: inherit;
}

.activity-card-actions {
  position: absolute;
  display: flex;
  right: 6px;
  bottom: 6px;
  left: 6px;
  border-radius: 6px !important;
  background-color: var(--primary-dark);
  border: none;
}

.activity-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 10px 5px;
  color: white;
  font-size: 0.65rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
}


.activity-btn:hover {
  background-color: #515558;
  color: white;
}

.activity-btn:first-child {
  border-top-left-radius: 11px !important;
  border-bottom-left-radius: 11px !important;
}

.activity-btn:last-child {
  border-top-right-radius: 11px !important;
  border-bottom-right-radius: 11px !important;
}


/* --- Contact Cards --- */
.contact-card {
  background-color: #fff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 30px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.1);
  min-height: 310px;
}


.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00508a;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-card-icon {
  margin-bottom: 50px;
  color: #00508a;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* For pseudo-element positioning */
}

.contact-card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  position: relative;
  z-index: 1;
}

.contact-card-icon::after {
  content: '';
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 12px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.177) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: 0;
  opacity: 1;
}

.contact-card-info {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 5px;
  word-break: break-all;
}

.contact-card-kep {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 30px;
  word-break: break-all;
}

.contact-card-footer {
  margin-top: auto;
  width: 100%;
  padding-top: 15px;
  display: flex;
  justify-content: center;
}

.contact-btn {
  color: #f8b41e;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.contact-btn:hover {
  color: var(--accent-color);
}

.contact-btn i {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.contact-btn:hover i {
  transform: translateX(4px);
}

/* map section */

.contact-item {
  margin-block: 6rem;
}

.section-header.txt-center {
  text-align: center;
}

.section-header .title {
  color: #00508a;
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.3;
}

.mt-10px {
  margin-top: 10px;
}

.section-header .text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.6;
  color: #00508a;
  max-width: 550px;
  width: 100%;
  margin: 0 auto;
}

.contact-map {
  background: #fff;
  padding: 20px;
  border-radius: 11px;
  -webkit-box-shadow: 0 5px 35px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.1);
  margin-top: 30px;
}

.contact-map iframe {
  width: 100%;
  height: 550px;
}

/* social section  */


.contact-social {
  margin-block: 6rem;
}

.socail-section-header.center {
  text-align: center;
}

.socail-section-header {
  position: relative;
}

.mt-30px {
  margin-top: 30px;
}

.contact-social__content {
  background-image: url(assets/socail-bg.jpg);
  background-blend-mode: multiply;
  background-color: #173556cf;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  height: 181px;
  border-radius: 10px;


  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-social__content a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
  height: 100px;
  width: 100px;
  border-radius: 11px;
}

.contact-social__content a:hover {
  border: 1px solid #fff;
}

.contact-social__content a i {
  font-size: 48px;
}

.socail-section-header .title {
  font-weight: 800;
  color: #173556;
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -1px;
}

.socail-section-header .text {
  font-size: 18px;
  color: #999;
  font-weight: 300;
}


/* --- Contact Form --- */
.contact-form-container {
  margin-top: 30px;
  background-color: #fff;
  padding: 30px;
  border-radius: 11px;
  box-shadow: 0 5px 35px rgba(0, 0, 0, 0.1);
}

.form-group {
  position: relative;
  margin-bottom: 20px;
}

.form-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #173556;
  font-size: 1rem;
  pointer-events: none;
  /* Allows clicking through to input */
  z-index: 2;
}

.form-control-custom {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #eff3f6;
}

.form-control-custom:focus {
  border-color: none;
  outline: none;
}

textarea.form-control-custom {
  padding: 15px;
  /* Reset padding for textarea */
  height: 150px;
  resize: vertical;
}

.form-submit-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.btn-submit {
  background-color: #173556;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-submit:hover {
  background-color: #003d6a;
  transform: translateY(-2px);
}

/* --- Custom Select Menu --- */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 15px 15px 45px;
  /* Padding matches text input */
  font-size: 0.95rem;
  color: #555;
  background-color: #eff3f6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.custom-select-trigger:hover {
  background-color: #e2e8ed;
}

.custom-select-trigger i {
  font-size: 0.9rem;
  color: #0794aa;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-select-wrapper.open .custom-select-trigger i {
  transform: rotate(-180deg);
}

.custom-options {
  position: absolute;
  top: 110%;
  /* Slight gap */
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #e0e0e0;
}

.custom-select-wrapper.open .custom-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 15px;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background-color: #f5f9fc;
  color: #0794aa;
  padding-left: 20px;
  /* Slight movement effect */
}

.custom-option.selected {
  background-color: #eff3f6;
  color: #0794aa;
  font-weight: 600;
}

/* popup galeri */

.fslightbox-container {
	background: linear-gradient(rgb(23 53 86 / 98%), rgb(23 53 86) 1810%) !important;
	}
	
	.fslightboxb {
		background: rgb(50 79 111) !important;
	}
	.fslightboxsn span {
		display: none !important;
	}
	.fslightboxsl span {
		display: none !important;
	}

/* popup galeri */


/* --- Member Cards Custom Layout --- */
.members-section-custom {
  width: 100%;
  margin-top: 1rem;
}

.member-grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.member-top-centered {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: -10px !important;
}

.member-top-centered .member-card-wrapper {
  min-width: 280px;
  max-width: 280px;
}

.member-card-wrapper {
  box-sizing: border-box;
  margin-top: 14px;
}

.member-card-unique {
  width: 100%;
  background-color: transparent;
  box-shadow: none;
  border: none;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  background-color: #a78851;
  border-radius: 11px;
  transition: all 0.2s;
  box-sizing: border-box;
  min-width: 280px;
  max-width: 280px;
  margin: 0 auto;
}


.member-card-unique:hover {
  background-color: #515558;
}

.member-img-container {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.member-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-top-left-radius: 11px;
  border-top-right-radius: 11px;
  object-position: center 0;
}

.member-card-footer {
  width: 100%;
  padding: 10px;
  text-align: center;
  line-height: 1.2;
}

.member-name {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}

.member-title {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.588);
  text-transform: uppercase;
}




@media (max-width: 1200px) {
  .member-grid-container {
    grid-template-columns: repeat(2, 1fr);
  }
}


@media (max-width: 576px) {
  .member-grid-container .member-card-unique {
    min-width: 140px;
    max-width: 170px;
  }

  .member-img-container {
    height: 260px;
    overflow: hidden;

  }

  .member-padding {
    padding: 10px !important;
  }
}

@media (min-width: 1600px) {
  .member-grid-container {
    gap: 5px;
  }

  .member-card-unique {
    min-width: 320px;
    max-width: 320px;
  }

  .member-top-centered .member-card-wrapper {
    min-width: 320px;
    max-width: 320px;
  }

  .member-top-centered {
    margin-bottom: -20px !important;
  }

  .member-card-wrapper {
    margin-top: 34px !important;
  }
}
/* Form Icon Fix */
.form-icon {
    top: 3.3rem !important;
}
