/* ================================
   GLOBAL STYLES
================================ */
* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Improve focus visibility for keyboard users while removing default outline on tap */
:focus {
    outline: none;
}
:focus-visible {
    outline: 2px solid #00505a; /* accessible focus indicator */
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    padding-top: 90px;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
}

/* ================================
   NAVBAR
================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 130px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 130px;
    width: 400px;
    transition: height 0.3s ease;
}

/* ================================
   MOBILE NAVBAR OPTIMIZATION
================================ */
@media (max-width: 900px) {
    .navbar {
        height: 110px;
    }
    
    .logo {
        height: 105px; 
        width: 300px;
    }
    
    .menu_logo {
        height: 110px; 
        width: 110px;
    }

    .nav-container {
        padding: 0 20px; 
    }
    
    body {
        padding-top: 80px;
    }
}

/* ================================
   VERY SMALL MOBILE SCREENS
================================ */
@media (max-width: 480px) {
    .navbar {
        height: 90px; 
    }
    
    .logo {
        height: 80px; 
        width: 200px;
    }
    
    .menu_logo {
        height: 90px; 
        width: 90px;
    }

    .nav-container {
        padding: 0 15px; 
    }
    
    body {
        padding-top: 70px; 
    }
}

/* ================================
   DESKTOP MENU
================================ */

.menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.menu li {
    position: relative;
    margin-left: 30px;
}

.menu a {
    font-size: 18px;
    font-weight: 500;
    color: #1e293b;
    padding: 8px 4px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

/* Split hover and open styles */
.menu .dropdown.open > a {
    color: #b11217; 
    font-weight: bold;
}

/* Active (tap) feedback for all menu links */
.menu a:active {
    color: #b11217;
    font-weight: bold;
}

@media (hover: hover) {
    .menu a:hover {
        color: #b11217; 
        font-weight: bold;
    }
}

/* Underline animation */
.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #b11217;
    transition: width 0.3s ease;
}

.menu .dropdown.open > a::after {
    width: 100%;
}

/* Active underline for menu links */
.menu a:active::after {
    width: 100%;
}

@media (hover: hover) {
    .menu a:hover::after {
        width: 100%;
    }
}

/* ================================
   DROPDOWN MENU – ANIMATED UNDERLINE
================================ */

.dropdown-menu a {
    position: relative;
}

.dropdown-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: #2563eb; 
    transition: width 0.4s ease;
}

/* Active (tap) feedback for dropdown links */
.dropdown-menu a:active {
    background: #f1f5f9;
    color: #2563eb;
}
.dropdown-menu a:active::after {
    width: 100%;
}

@media (hover: hover) {
    .dropdown-menu a:hover {
        background: #f1f5f9;
        color: #2563eb;
    }

    .dropdown-menu a:hover::after {
        width: 100%;
    }
}

/* ================================
   DESKTOP DROPDOWN
================================ */
.dropdown-menu {
    position: absolute;
    top: 50px;
    left: 0;
    min-width: 200px;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);

    /* animation */
    opacity: 0;
    transform: translateY(15px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;

    /* FIX spacing + bullets */
    list-style: none;
    margin: 0;
    padding: 6px 0;
}

.dropdown.open .dropdown-menu {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

/* Remove list bullets completely */
.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Dropdown links */
.dropdown-menu a {
    display: block;
    padding: 10px 14px;   /* reduced left gap */
    font-size: 16px;
    color: #020108;
    white-space: nowrap;
    font-weight:bold;
}

/* ================================
   HAMBURGER ICON
================================ */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #1e293b;
}

/* Active (tap) feedback for hamburger */
.menu-toggle:active {
    color: #2563eb;
}

@media (hover: hover) {
    .menu-toggle:hover {
        color: #2563eb;
    }
}

/* ================================
   MOBILE NAV FIX
================================ */
@media (max-width: 900px) {

    /* Show hamburger icon */
    .menu-toggle {
        display: block;
        z-index: 1100;
    }

    /* Hide desktop menu */
    .menu {
        display: none;
    }
}

/* ================================
   MOBILE FULLSCREEN MENU
================================ */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #e5e7eb;
}

.mobile-header img {
    height: 95px;
}

.close-btn {
    font-size: 30px;
    cursor: pointer;
}

/* Active (tap) feedback for close button */
.close-btn:active {
    color: #e21313;
}

@media (hover: hover) {
    .close-btn:hover {
        color: #e21313;
    }
}

/* ================================
   MOBILE LINKS
================================ */
.mobile-links {
    list-style: none;
    padding: 1px 22px;
}

.mobile-links > li {
    border-bottom: 1px solid #e5e7eb;
}

/* Main mobile items */
.mobile-link,
.mobile-links > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
}

/* Dropdown Arrow (CHANGED from .arrow to .dropdown-arrow) */
.dropdown-arrow {
    font-size: 28px;
    transition: transform 0.3s ease;
}

/* Submenu */
.mobile-submenu {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-dropdown.open .mobile-submenu {
    max-height: 300px;
}

.mobile-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Submenu links */
.mobile-submenu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0 14px 15px;
    font-size: 17px;
    font-weight: 500;
    text-transform: none;
}

.mobile-submenu li a::after {
    content: "›";
    font-size: 25px;
    color: #11d161;
}

/* Active (tap) feedback for mobile links */
.mobile-links a:active,
.mobile-link:active {
    color: #2563eb;
}

@media (hover: hover) {
    .mobile-links a:hover,
    .mobile-link:hover {
        color: #2563eb;
    }
}

/* ================================
   UPDATED HERO SLIDER
================================ */
:root {
  --primary: #00505a;
  --accent: #ef4444;
  --transition: 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Base Slider */
.hero-slider {
  position: relative;
  display: grid;
  min-height: 73svh;
  overflow: hidden;
  background: var(--primary);
}

.slides-container {
  display: grid;
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  grid-area: 1 / 1;
  display: grid;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), transform var(--transition);
  position: relative;
  height: 73vh;
  transform: scale(0.98);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
  transform: scale(1);
}

/* Image Handling */
.slide-media {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 8s ease;
}

.slide.active img {
  transform: scale(1.05);
}

/* ===== DESKTOP LAYOUT ===== */
@media (min-width: 992px) {
  .slide-text {
    position: absolute;
    z-index: 2;
    color: white;
    width: 70%;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 70px;
    background: linear-gradient(90deg, rgba(144, 225, 228, 0.63) 0%, rgba(142, 219, 224, 0.514) 70%, rgba(162, 223, 238, 0.39) 100%);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.3);
  }
  
  .text-inner {
    max-width: 600px;
    animation: fadeInLeft 0.8s ease-out 0.3s both;
  }
  
  .text-inner h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    font-weight: 700;
    line-height: 1.2;
  }
  
  .text-inner p {
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #e2e8f0;
  }
  
  .btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(90deg, #ef4444 0%, #d32f2f 100%);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
  }
  
  /* Navigation Arrows - Desktop positioning */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .arrow.prev {
    left: 10px;
  }

  .arrow.next {
    right: 10px;
  }
  
  /* Dots Navigation */
  .dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 8px;
  }

  .dot {
    width: 8px; 
    height: 8px; 
    min-width: 8px;
    min-height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
  }

  .dot.active {
    background: white;
    transform: scale(1.2);
  }

  /* Active (tap) feedback for desktop elements (applies also on mobile) */
  .btn:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(90deg, #8b1313 0%, #7c0909 100%);
  }
  .arrow:active {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.2);
  }
  .dot:active {
    background: rgba(255, 255, 255, 0.8);
  }

  /* Hover effects for desktop - only on hover-capable devices */
  @media (hover: hover) {
    .btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(239, 68, 68, 0.4);
      background: linear-gradient(90deg, #8b1313 0%, #7c0909 100%);
    }

    .arrow:hover {
      color: rgba(255, 255, 255, 0.9);
      transform: translateY(-50%) scale(1.2);
    }

    .dot:hover {
      background: rgba(255, 255, 255, 0.8);
    }
  }
}

/* ===== MOBILE LAYOUT ===== */
@media (max-width: 991px) {
  .slide-text {
    position: absolute;
    z-index: 2;
    color: white;
    width: 100%;
    height: auto;
    left: 0;
    bottom: 170px;
    padding: 0 25px;
    text-align: left;
  }
  
  .text-inner {
    max-width: 100%;
    padding: 25px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
  }
  
  .text-inner h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    text-align: left;
  }
  
  .text-inner p {
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
    color: #e2e8f0;
  }
  
  .btn {
    display: inline-block;
    padding: 10px 22px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }
  
  /* Navigation Arrows - Mobile positioning */
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: white;
    border: none;
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .arrow.prev {
    left: 10px;
  }

  .arrow.next {
    right: 10px;
  }

  /* Dots Navigation */
  .dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    gap: 8px;
  }

  .dot {
    width: 8px;
    height: 8px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
  }

  .dot.active {
    background: white;
    transform: scale(1.2);
  }

  /* Active (tap) feedback for mobile layout elements */
  .btn:active {
    background: #c23737;
    transform: translateY(-2px);
  }
  .arrow:active {
    color: rgba(255, 255, 255, 0.9);
    transform: translateY(-50%) scale(1.2);
  }
  .dot:active {
    background: rgba(255, 255, 255, 0.8);
  }

  /* Hover effects for mobile layout - only on hover-capable devices */
  @media (hover: hover) {
    .btn:hover {
      background: #c23737;
      transform: translateY(-2px);
    }

    .arrow:hover {
      color: rgba(255, 255, 255, 0.9);
      transform: translateY(-50%) scale(1.2);
    }

    .dot:hover {
      background: rgba(255, 255, 255, 0.8);
    }
  }
}

/* ===== VERY SMALL MOBILE ===== */
@media (max-width: 576px) {
  .hero-slider {
    min-height: 55svh;
  }
  
  .slide {
    height: 55vh;
  }
  
  .slide-text {
    bottom: 90px;
    padding: 0 25px;
  }
  
  .text-inner h1 {
    font-size: 1.3rem; 
    margin-bottom: 10px;
    line-height: 1.2;
  }
  
  .text-inner p {
    font-size: 0.8rem; 
    margin-bottom: 15px;
    line-height: 1.4;
  }
  
  .btn {
    padding: 8px 18px; 
    font-size: 0.8rem;
  }
  
  .arrow {
    font-size: 1.8rem; 
    padding: 8px;
  }
  
  .dots {
    bottom: 15px; 
    gap: 5px;
  }
  
  .dot {
    width: 6px; 
    height: 6px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  60% {
    opacity: 0.8;
    transform: translateX(20px);
  }
  80% {
    transform: translateX(-10px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(10deg);
  }
  60% {
    opacity: 0.8;
    transform: translateY(-15px) rotateX(0);
  }
  80% {
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================
   CONTENT SECTIONS
================================ */

/* ================================
   Highlights
================================ */

.news-section {
    background: #ffffff;
    padding: 60px 0;
    border-top: 1px solid #e5e7eb;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header with title left and button right */
.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: nowrap;
    gap: 20px;
}

.section-title {
    font-size: 2.5rem;
    color:  #00505a;
    font-weight: 700;
    margin: 0;
    flex-shrink: 0;
}

.news-footer {
    margin: 0;
    padding: 0;
    border-top: none;
    flex-shrink: 0;
}

/* Updated See All News Button */
.see-all-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #ef4444;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.news-card {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-title-link {
    text-decoration: none;
    color: inherit;
    margin-bottom: 15px;
    display: inline-block;
    width: auto;
    max-width: 100%;
}

.news-title {
    font-size: 1.3rem;
    color: #00505a;
    line-height: 1.4;
    font-weight: 600;
    margin: 0 0 15px 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline;
}

.news-link {
    display: inline-block;
    color: #a53e3e;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: auto;
}

/* Active (tap) feedback for highlight links/buttons */
.see-all-btn:active {
    background: #c23737;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.news-title-link:active .news-title {
    color: #ef4444;
    text-decoration: underline;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}
.news-link:active {
    color: #ff0404;
}

/* Hover effects for highlights - only on hover-capable devices */
@media (hover: hover) {
    .see-all-btn:hover {
        background: #c23737;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

    .news-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    }

    .news-card:hover .news-image img {
        transform: scale(1.05);
    }

    .news-title-link:hover .news-title {
        color: #ef4444;
        text-decoration: underline;
        text-decoration-color: #ef4444;
        text-decoration-thickness: 2px;
    }

    .news-link:hover {
        color: #ff0404;
    }
}

/* ================================
   RESPONSIVE NEWS SECTION
================================ */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .section-title {
        font-size: 2.5rem;
        flex-shrink: 0;
    }
    
    .news-title {
        font-size: 1.2rem;
        display: inline;
    }
    
    .news-content {
        padding: 20px;
    }

    .see-all-btn {
        padding: 11px 28px;
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .news-title-link {
        display: inline-block;
        width: auto;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .news-section {
        padding: 60px 0;
    }
    
    .news-header {
        flex-direction: row;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
        flex-wrap: nowrap;
    }
    
    .news-footer {
        align-self: center;
        flex-shrink: 0;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
        flex: 1;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .news-image {
        height: 180px;
    }
    
    .see-all-btn {
        padding: 10px 24px;
        font-size: 0.85rem;
        width: auto;
    }
}

@media (max-width: 576px) {
    .news-section {
        padding: 50px 0;
    }
    
    .news-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
        margin-bottom: 40px;
    }
    
    .news-footer {
        align-self: center;
        text-align: right;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .news-title {
        font-size: 1.1rem;
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
    
    .see-all-btn {
        padding: 9px 20px;
        font-size: 0.8rem;
        font-size: clamp(0.75rem, 2.5vw, 0.9rem);
        width: auto;
        text-align: center;
    }
    
    .news-image {
        height: 160px;
        height: clamp(140px, 30vw, 180px);
    }
}

/* For very small screens (iPhone SE, small Android) */
@media (max-width: 400px) {
    .news-header {
        gap: 8px;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .see-all-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }
    
    .news-title {
        font-size: 1rem;
    }
}

/* Extreme small screens fallback */
@media (max-width: 360px) {
    .news-header {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    
    .section-title {
        font-size: 1.3rem;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .see-all-btn {
        padding: 7px 14px;
        font-size: 0.7rem;
    }
    
    @media (max-height: 600px) and (max-width: 360px) {
        .news-header {
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .news-footer {
            width: 100%;
            text-align: left;
        }
        
        .see-all-btn {
            width: 100%;
            max-width: 200px;
        }
    }
}

/* ================================
   OUR CHALLENGES SECTION
================================ */
.challenge-section {
    background: #ffffff;
    padding: 50px 0;
}

/* ===== DESKTOP LAYOUT ===== */
.challenge-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 60px;
    align-items: center;
}

/* ===== TEXT CONTENT ===== */
.challenge-content {
    max-width: 420px;
}

.challenge-content h2 {
    font-size: 1.5rem;        
    color: #00505a;
    margin-bottom: 16px;
    font-weight: 800;      
}

.challenge-content p {
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
    margin-bottom: 30px;
}

.challenge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 24px;
    background: #ef4444;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Arrow */
.challenge-btn::after {
    content: "→";
    font-size: 1rem;
    transition: transform 0.3s ease;
}

/* Active (tap) feedback */
.challenge-btn:active {
    background: #c23737;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}
.challenge-btn:active::after {
    transform: translateX(5px);
}

/* Hover effect - only on hover-capable devices */
@media (hover: hover) {
    .challenge-btn:hover {
        background: #c23737;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    }

    .challenge-btn:hover::after {
        transform: translateX(5px);
    }
}

/* ===== VIDEO ===== */
.challenge-video {
    position: relative;
    width: 100%;
    padding-top: 60%;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.18);
}

.challenge-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ================================
   TABLET & MOBILE
================================ */
@media (max-width: 900px) {
    .challenge-container {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .challenge-content {
        max-width: 100%;
    }

    .challenge-content h2 {
        font-size: 1.5rem;
    }

    .challenge-content p {
        font-size: 0.95rem;
    }

    .challenge-video {
        padding-top: 56.25%; 
    }

    .challenge-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 6px 14px;
        background: #ef4444;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.75rem;
        border-radius: 3px;
        line-height: 1;
        transition: all 0.25s ease;
    }

    .challenge-btn::after {
        content: "→";
        font-size: 0.9rem;
        transition: transform 0.25s ease;
    }

    /* Active (tap) feedback for tablet/mobile */
    .challenge-btn:active {
        background: #c23737;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
    }
    .challenge-btn:active::after {
        transform: translateX(4px);
    }

    /* Hover effect - only on hover-capable devices */
    @media (hover: hover) {
        .challenge-btn:hover {
            background: #c23737;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
        }

        .challenge-btn:hover::after {
            transform: translateX(4px);
        }
    }
}

/* ===== VERY SMALL MOBILE ===== */
@media (max-width: 480px) {
    .challenge-section {
        padding: 70px 0;
    }

    .challenge-content h2 {
        font-size: 1.4rem;
    }

    .challenge-content p {
        font-size: 0.9rem;
    }

    .challenge-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        padding: 6px 14px;
        background: #ef4444;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.75rem;
        border-radius: 3px;
        line-height: 1;
        transition: all 0.25s ease;
    }

    .challenge-btn::after {
        content: "→";
        font-size: 0.9rem;
        transition: transform 0.25s ease;
    }

    /* Active (tap) feedback for very small mobile */
    .challenge-btn:active {
        background: #c23737;
        transform: translateY(-1px);
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
    }
    .challenge-btn:active::after {
        transform: translateX(4px);
    }

    /* Hover effect - only on hover-capable devices */
    @media (hover: hover) {
        .challenge-btn:hover {
            background: #c23737;
            transform: translateY(-1px);
            box-shadow: 0 2px 6px rgba(239, 68, 68, 0.25);
        }

        .challenge-btn:hover::after {
            transform: translateX(4px);
        }
    }
}

/* ================================
   OUR TEAM SECTION
================================ */
.team-section {
    background: #ffffff;
    padding: 90px 0;
}

.team-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    text-align: center;
}

/* Section Title */
.team-title {
    font-size: 2.3rem;
    color: #00505a;
    font-weight: 700;
    margin-bottom: 60px;
}

/* Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
}

/* Card */
.team-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 22px;
}

.team-card h3 {
    font-size: 1.2rem;
    color: #00505a;
    font-weight: 700;
    margin-bottom: 12px;
}

.team-card p {
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.6;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
    }
}

@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-title {
        font-size: 2rem;
    }

    .team-card img {
        width: 180px;
        height: 180px;
    }
}

/* ================================
   FOOTER 
================================ */
.site-footer {
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

/* Main footer layout */
.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 30px 20px 18px;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
    gap: 30px;
}

/* LEFT: Logo (responsive size) */
.footer-left img {
    width: clamp(90px, 12vw, 110px);
}

/* CENTER: Policy links */
.footer-center {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-center a {
    color: #b11217;
    font-size: 0.85rem;
    font-weight: 500;
}

/* RIGHT: Social + Back to top */
.footer-right {
    text-align: right;
}

/* Social icons */
.footer-social {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 6px;
}

.footer-social a {
    width: 30px;
    height: 30px;
    border: 1px solid #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
    color: #1e293b;
}

/* Back to top */
.back-to-top {
    color: #b11217;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Bottom legal text */
.footer-bottom {
    max-width: 1200px;
    margin: auto;
    padding: 10px 20px 18px;
}

.footer-bottom p {
    font-size: 0.7rem;
    color: #0f172a;
    line-height: 1.5;
}

/* Active (tap) feedback for footer links */
.footer-center a:active {
    text-decoration: underline;
}
.footer-social a:active {
    background: #eef3f3;
    color: #fa0808;
}
.back-to-top:active {
    text-decoration: underline;
}

/* Hover effects for footer - only on hover-capable devices */
@media (hover: hover) {
    .footer-center a:hover {
        text-decoration: underline;
    }

    .footer-social a:hover {
        background: #eef3f3;
        color: #fa0808;
    }

    .back-to-top:hover {
        text-decoration: underline;
    }
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
        padding: 25px 15px 15px;
    }

    .footer-right {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

 /* ================= CONTACT POPUP ================= */
.contact-popup {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.contact-popup.active {
    display: flex;
}

.contact-popup-content {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    animation: popupFade 0.25s ease;
}

@keyframes popupFade {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.close-popup {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 22px;
    cursor: pointer;
}

.close-popup:hover {
    color: red;
}

.contact-popup h2 {
    margin-bottom: 1rem;
    color: #0a2e4a;
}

.contact-details p {
    margin: 0.6rem 0;
    font-size: 1rem;
}
