
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Arial, sans-serif;
}

body {
  background: black;
  color: #222;
  line-height: 1.6;
}

header {
  background: black;
  margin-bottom: 120px;
 
}
/* Navigation Container */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px); /* Modern frosted look */
  position: fixed; /* Changed from sticky to fixed for consistent positioning */
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  
}

.logo {
  height: 100px;
  transition: transform 0.4s ease;
}

.logo:hover {
  transform: scale(1.15);
}

/* Nav Links Styling */
.navlinks {
  display: flex;
  list-style: none;
  gap: 10px;
  align-items: center;
}

.navlinks li a {
  position: relative;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 50px;
}

/* The Catchy Hover Effect */
.navlinks li a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 50px;
  transform: scale(0.8);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: -1;
}

.navlinks li a:hover {
  color: #2563eb;
}

.navlinks li a:hover::before {
  transform: scale(1);
  opacity: 1;
}

/* Special Styling for the 'Get a Quote' Button */
.nav-cta {
  background: #2563eb;
  color: white !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nav-cta:hover {
  background: #1d4ed8 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.nav-cta::before {
  display: none;
}

/* Mobile Burger (Basic setup) */
#menu-toggle { display: none; }
.burger { display: none; cursor: pointer; font-size: 24px; }

@media (max-width: 768px) {
  .burger { display: block; }
  .navlinks {
    /* Add logic here to show mobile menu */
    display: none; 
  }
}

/* --- ADDED CSS FOR THE DROPDOWN MENU --- */

.nav-item-has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);

    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);

    min-width: 240px;

    /* 🔥 IMPORTANT FIX */
    max-height: 70vh;
    overflow-y: auto;

    z-index: 1000;
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 235, 0.4);
  border-radius: 10px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}


.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: #0f172a;
    text-align: left;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 400;
    border-radius: 0;
}

.dropdown-menu a:hover {
    background-color: #f1f5f9;
    color: #2563eb;
}

/* Add this new CSS rule */
.nav-item-has-dropdown:hover .dropdown-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.burger {
  display: none;
  cursor: pointer;
  font-size: 26px;
  color: #0f172a;
}
.burger:hover {
  color: #E31B23;
}


/* Mobile adjustments for the dropdown */
@media (max-width: 768px) {

  .burger {
    display: block;
  }

  .navlinks {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;

    flex-direction: column;
    align-items: center;
    gap: 15px;

    padding: 20px 0;
    display: none;
  }

  /* 🔥 THIS IS THE MISSING LINE */
  #menu-toggle:checked ~ .navlinks {
    display: flex;
  }
}

.teamwork {
  font-size: 2rem;
}

/* =========================
   HOMEPAGE SLIDER
   ========================= */
.homepage {
  position: relative;
  width: 60%;
  height: 80vh; /* Full viewport height */
  min-height: 500px; /* Prevent slider from being too small on short screens */
  overflow: hidden;
  margin: 0 auto; /* center the whole slider horizontally */
}

/* Slide backgrounds */
.slide {
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  
  background-size: contain;      /* Show full image without cropping */
  background-position: center;   /* Center image */
  background-repeat: no-repeat;  /* Prevent tiling */
  
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;

  /* Optional cinematic movement */
  animation: cinematicMove 40s ease-in-out infinite alternate;

  max-height: 100vh; /* Prevent extreme zooming */
  min-height: 60vh;  /* Avoid too small slides */
}

/* Active slide */
.slide.active {
  opacity: 1;
  z-index: 2; /* Make active slide visible on top */
}

/* Gradient overlay on top of slides */
.homepage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(13, 27, 42, 0.25),
    rgba(13, 27, 42, 0.25)
  );
  pointer-events: none; /* Overlay won't block clicks */
  z-index: 3;
}

/* =========================
   Optional: cinematic movement
   ========================= */
@keyframes cinematicMove {
  0%   { transform: scale(1) translate(0, 0); }
  50%  { transform: scale(1.03) translate(-1%, -1%); }
  100% { transform: scale(1) translate(0, 0); }
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 1024px) {
  .slide {
    animation: none; /* turn off movement on smaller screens */
  }
}

@media (max-width: 768px) {
  .homepage {
    width: 90%; /* take more space on tablets */
    height: 80vh;
  }
}

@media (max-width: 480px) {
  .homepage {
    width: 100%;
    height: 70vh;
  }
}

/* The main background of the page/section */
.mgs-hero-section {
  background-color: #f7fafc; /* Very light gray page background */
  padding: 80px 0;
  display: flex;
  justify-content: center;
}

/* The actual white card from your image */
.mgs-content-card {
  background-color: #ffffff;
  padding: 50px 70px;
  max-width: 900px;
  width: 90%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Main Heading: Matte Black */
.mgs-content-card h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a202c; /* Deep Matte Black */
  margin-bottom: 20px;
}

/* Paragraph Text: Soft Black */
.mgs-content-card p {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

/* The Catchy "Explore Coverage" Button: RACING RED */
.explore-btn {
  display: inline-block;
  text-decoration: none;
  background-color: #e53e3e; /* Racing Red */
  color: white;
  padding: 15px 45px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 5px 20px rgba(229, 62, 62, 0.5); /* Red Glow */
  cursor: pointer;
}

/* The Hover Effect: Lift and Brighten */
.explore-btn:hover {
  background-color: #c53030; /* Slightly darker red on hover */
  transform: translateY(-3px); /* Lifts the button */
  box-shadow: 0 8px 25px rgba(229, 62, 62, 0.6);
}

/* --- 3. About Us Section (Apex-Style Two Columns) --- */
.about {
  padding: 0; /* Remove default section padding */
  margin-bottom: 4px ;
}

.aurora-container {
  position: relative;
  overflow: hidden; /* Hides the glow overflow */
  padding: 120px 20px; /* Add vertical padding */
  background-color: #0f172a; /* Dark base color */
}

/* The actual moving effect */
.aurora-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, #FF0000 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, #000000 0%, transparent 50%);
  filter: blur(80px); /* Creates the soft 'aurora' glow */
  animation: rotate 10s linear infinite; /* Smooth, slow rotation */
  opacity: 0.7;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* The Frosted Glass Card for readability */
.glass-card {
  position: relative;
  z-index: 10; /* Ensures the card is above the animation */
  background: rgba(255, 255, 255, 0.08); /* Slightly transparent white */
  backdrop-filter: blur(25px); /* The frosted glass look */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  max-width: 1100px;
  margin: auto; /* Centers the card */
}

/* Text Formatting within the box */
.aboutusbox {
  padding: 40px;
  color: #ffffff; /* White text for contrast on dark background */
}

.aboutusbox h5 {
    color: #cbd5e1; /* Light grey for "About us" title */
    font-size: 1rem;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.aboutusbox h1 {
    font-size: 2.5rem;
    color: #00afaa; /* The bright teal/cyan accent color */
    margin-bottom: 25px;
    border-bottom: 2px solid #00afaa; 
    padding-bottom: 10px;
    display: inline-block; 
}

.aboutusbox p {
    color: #e2e8f0;
    line-height: 1.6;
    margin-bottom: 30px;
}

.biobutton {
    color: #00afaa; /* Accent color for the link */
    text-decoration: none;
    font-weight: bold;
}

.biobutton {
    /* Style your button/link here */
    color: #00afaa;
    text-decoration: none;
    font-weight: bold;
    /* Add a professional hover effect */
}

:root {
  --primary-blue: #0056b3;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.services-section {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  background: linear-gradient(135deg, #000000 #e53e3e) ; /* Subtle background to make glass visible */
}

/* The Large Glass Container */
.glass-panel {
  width: 100%;
  max-width: 1200px;
  background: radial-gradient(circle at 20% 30%, #FF0000 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, #000000 0%, transparent 50%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 50px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #f7fafc;
}

/* Responsive Flex Grid */
.card-wrapper {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap; /* Allows stacking on mobile */
}

/* Individual Cards */
.insurance-card {
  background: #ffffff;
  border-radius: 20px;
  flex: 1; /* Makes all 3 take equal width */
  min-width: 300px; /* Prevents them from getting too skinny */
  max-width: 360px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: var(--card-shadow);
}

.insurance-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.img-frame {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.insurance-card:hover img {
  transform: scale(1.1);
}

.card-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-info h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  color: #0d1b2a;
}

.card-info p {
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1; /* Pushes button to the bottom */
}

/* Professional 2026 Button */
.btn-action {
  text-align: center;
  padding: 12px;
  background: var(--primary-blue);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-action:hover {
  background: #003d80;
  box-shadow: 0 8px 20px rgba(0, 86, 179, 0.3);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
  .insurance-card {
    flex: 1 1 45%; /* 2 cards per row on tablets */
  }
}

@media (max-width: 768px) {
  .insurance-card {
    flex: 1 1 100%; /* 1 card per row on phones */
  }
  .glass-panel {
    padding: 30px 15px;
  }
}


.glass-container {
  background: linear-gradient(135deg, #000000 0%, #FF0000 100%);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.glass-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 50px;
  color: white;
}
.aurora-container {
  height: auto;
  overflow: hidden;
  background: #000000;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.aurora {
  position: absolute;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle at 20% 30%, #FF0000 0%, transparent 50%),
              radial-gradient(circle at 80% 70%, #000000 0%, transparent 50%);
  filter: blur(80px);
  animation: rotate 10s linear infinite;
  z-index: 0;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.glass-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px); /* Safari support */
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 3rem;
  color: white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.biobutton {
 display: inline-block;
    background-color: red;
    color: white;
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    align-items: center;
    text-align: center;
    
}
.biobutton:hover {
   background-color: #0d1b2a;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  position: relative;
}

.stats-cards::before {
  content: '';
  position: absolute;
  inset: -1rem;
  background: linear-gradient(135deg, rgba(30, 45, 77, 0.1) 0%, rgba(232, 93, 58, 0.1) 100%);
  border-radius: 24px;
  filter: blur(40px);
  z-index: -1;
}

.stats-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-column.offset {
  margin-top: 2rem;
}

.stat-card {
  padding: 1.5rem;
  border-radius: 16px;
}

.stat-card.primary {
  background: linear-gradient(135deg, #000000, #FF0000);
  color: white;
}

.stat-card.accent {
  background: linear-gradient(135deg, #000000, #FF0000);
  color: white;
}

.stat-card.outline {
  background: #F7F9EC;
  border: 1px solid #000000;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

.stat-card .value {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.stat-card .value.gradient {
  background: linear-gradient(135deg, #000000 0%, #7B011E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-card .label {
  font-size: 0.875rem;
  opacity: 0.8;
}

.stat-card.outline .label {
  color: #7B011E;
}
.modern-footer {
    background: linear-gradient(135deg, #000000, #000000 , #d51117);
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-contact,
.footer-map {
    flex: 1;
    min-width: 280px;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #00c6ff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item .icon {
    font-size: 20px;
}

.contact-item.email {
    font-weight: bold;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid #00c6ff;
    border-radius: 30px;
    color: #00c6ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.map-link:hover {
    background: #00c6ff;
    color: #0f2027;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}
.modern-footer {
    background: linear-gradient(135deg, #000000, #000000 , #d51117);
    color: #ffffff;
    padding: 60px 20px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-contact,
.footer-map {
    flex: 1;
    min-width: 280px;
}

.footer-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-desc {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 25px;
    line-height: 1.6;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #00c6ff;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s ease;
}

.contact-item:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.contact-item .icon {
    font-size: 20px;
}

.contact-item.email {
    font-weight: bold;
}

.footer-map iframe {
    width: 100%;
    height: 250px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.map-link {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    border: 1px solid #00c6ff;
    border-radius: 30px;
    color: #00c6ff;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.map-link:hover {
    background: #00c6ff;
    color: #0f2027;
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}



@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}

@media (max-width: 900px) {
  .aboutusbox {
    padding-left: 0;
    text-align: center;
  }

  .logo {
    height: 60px;
  }
  
  nav ul li a {
    color: white;
    font-size: 18px;
  }

  nav input[type="text"] {
    display: none;
  }

  .burger {
    display: block;
  }

  nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    background: #0d1b2a;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
  }

  #menu-toggle:checked + .burger + ul {
    display: flex;
    background-color: #e2e8f0;
  }
}

@media (max-width: 600px) {
  header {
    padding: 15px 20px;
  }

  .top h1 {
    font-size: 28px;
  }
}
.team-scroll-section {
    padding: 60px 8%;
}

.team-container {
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
}

/* Owner */
.team-owner {
    min-width: 260px;
    padding-left: 20px;
    border-left: 4px solid #e10600;
}

.team-owner .label {
    color: #e10600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-owner h3 {
    margin: 5px 0 0;
    font-size: 1.6rem;
    color: white;
}

/* Scroll area */
.team-scroll {
    flex: 1;
    overflow: hidden;
}

.team-track {
    display: flex;
    gap: 80px;
    animation: scrollRight 20s linear infinite;
    color: white;
}

/* Individual member */
.team-member {
    min-width: 200px;
}

.team-member .role {
    display: block;
    color: #e10600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.team-member strong {
    font-size: 1.3rem;
    opacity: 0.9;
}
/* Animation */
@keyframes scrollRight {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0%);
    }
}

/* Mobile */
@media (max-width: 900px) {
    .team-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-owner {
        border-left: none;
        border-bottom: 3px solid #e10600;
        padding-bottom: 15px;
        margin-bottom: 20px;
        padding-left: 0;
    }
}
.office-showcase-section {
  padding: 120px 20px;
  position: relative;
  overflow: visible;
}

.office-glass {
  max-width: 1200px;
  margin: auto;
  padding: 60px 40px;
  height: auto;
  overflow: visible;
}

.office-title {
  font-size: 2.4rem;
  color: #fff;
  margin-bottom: 12px;
}

.office-subtitle {
  color: #ccc;
  max-width: 720px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

.office-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.office-item {
  width: 100%;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6);
}

.office-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.office-item:hover img {
  transform: scale(1.08);
  transition: transform 0.6s ease;
}

/* RESPONSIVE FIX */
@media (max-width: 900px) {
  .office-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .office-gallery {
    grid-template-columns: 1fr;
  }

  .office-item {
    height: 260px;
  }
}

.team-profile-section {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}
.team-profile-glass {
  max-width: 600px;
  width: 100%;
  padding: 40px 30px;
  text-align: center;
}

.chairman-block h2 {
  font-size: 32px;
  color: white;
}

.chairman-block p {
  color: #aaa;
  margin-bottom: 40px;
}

.team-title {
  font-size: 28px;
  margin-bottom: 40px;
  color: #e50914;
}
.team-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-card {
  max-width: 340px;
  width: 100%;
}



.team-card:hover {
  transform: translateY(-10px);
}

.team-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 15px;
}

.team-card h4 {
  color: white;
  font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .team-profile-glass {
    padding: 40px;
  }
  
  .chairman-block h2 {
    font-size: 28px;
  }
  
  .team-title {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .team-card img {
    height: 220px;
  }
}

@media (max-width: 768px) {
  .team-profile-section {
    padding: 80px 15px;
  }

  .chairman-block h2 {
    font-size: 24px;
  }

  .chairman-block p {
    margin-bottom: 30px;
  }

  .team-title {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .team-card img {
    height: 200px;
  }

  .team-card h4 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .team-profile-section {
    padding: 60px 10px;
  }

  .team-profile-glass {
    padding: 30px 15px;
  }

  .chairman-block h2 {
    font-size: 20px;
  }

  .chairman-block p {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .team-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .team-card img {
    height: 180px;
  }

  .team-card h4 {
    font-size: 16px;
  }
}
.navlinks a {
    text-decoration: none;
    color: white; /* default color */
    transition: color 0.3s;
}

.navlinks a.activepage {
    color: red; /* highlight the active page */
    font-weight: bold; /* optional: make it stand out more */
}
.navlinks a:hover {
    color: #ff6666; /* lighter red on hover */
}
.navlinks a {
    text-decoration: none;
    color: white; /* default color */
    transition: color 0.3s;
}

.navlinks a.activepage {
    color: red; /* highlight the active page */
    font-weight: bold; /* optional: make it stand out more */
}
.navlinks a:hover {
    color: #ff6666; /* lighter red on hover */
}
