/* Root variables start */
:root {
  --primary-color: #004aad;
  --primary-light: #0066cc;
  --primary-dark: #003580;
  --secondary-color: #0072ff;
  --bg: #f9fafb;
  --text: #1e293b;
  --card-bg: #ffffff;
  --card-shadow: rgba(0,0,0,0.15);
  /* Card system variables - UNIFIED DIMENSIONS */
  --card-width: 300px; /* Reduced slightly for more uniformity */
  --card-max-width: 320px; /* Set a standard max width for content cards */
  --card-min-height: 280px; /* Increased min height for a substantial feel */
  --card-radius: 18px;
  --card-padding: 28px;
  --glow-color: 0,114,255; /* RGB for glow (used with alpha) */
}
/* Root variables end */

/* Basic reset start */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:"Poppins",sans-serif; color:var(--text); background:var(--bg); overflow-x: hidden !important; transition:all 0.3s ease; scroll-behavior: smooth;}
/* Basic reset end */

/* Header start (KEPT AS IS) */
header { position: fixed; top: 0; width: 100%; background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); z-index: 1000; transition: all 0.3s ease; }
/* Header end */

/* Nav container start (KEPT AS IS) */
.nav-container { max-width: 1200px; margin: 0 auto; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; }
/* Nav container end */

/* Logo start (KEPT AS IS) */
.logo { display: flex; align-items: center; gap: 10px; transition: transform 0.5s; }
.logo img { width: 250px; height: 50px; object-fit: contain;  }
/* Logo end */

/* Navigation start (KEPT AS IS) */
nav { display: flex; align-items: center; gap: 20px; }
nav a { text-decoration: none; color: var(--primary-color); font-weight: 500; position: relative; transition: all 0.3s; }
nav a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: -4px; left: 0; background-color: var(--primary-light); transition: width 0.3s; }
nav a:hover::after { width: 100%; }
nav a.phone { display: flex; align-items: center; gap: 5px; font-weight: 600; color: var(--primary-dark); }
/* Navigation end */

/* Lang button start (KEPT AS IS) */
.lang-btn { border-radius: 20px; padding: 6px 14px; cursor: pointer; font-weight: 500; background: var(--primary-light); color: #fff; display: flex; align-items: center; gap: 5px; border: none; transition: all 0.3s; box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.lang-btn:hover { background: var(--primary-dark); transform: translateY(-3px); }
/* Lang button end */

/* Menu toggle start (KEPT AS IS) */
.menu-toggle { display: none; font-size: 28px; cursor: pointer; color: var(--primary-color); transition: transform 0.3s ease; }
.menu-toggle.active i { transform: rotate(180deg); }
/* Menu toggle end */

/* Responsive nav start (KEPT AS IS) */
@media (max-width: 900px) {
  nav { position: absolute; top: 80px; left: 0; width: 100%; background: rgba(255,255,255,0.98); flex-direction: column; align-items: center; gap: 18px; padding: 25px 0; display: none; box-shadow: 0 6px 20px rgba(0,0,0,0.1); border-radius: 0 0 20px 20px; animation: fadeDown 0.4s ease forwards; }
  nav.active { display: flex; }
  .menu-toggle { display: block; }
  .logo img { margin-left: -20px; }
}
/* Responsive nav end */

/* Fade animation start (KEPT AS IS) */
@keyframes fadeDown { from {opacity: 0; transform: translateY(-15px);} to {opacity: 1; transform: translateY(0);} }
/* Fade animation end */

/* Footer start (KEPT AS IS) */
.site-footer { background: var(--primary-color); color: #fff; padding: 60px 20px 30px; font-family: 'Exo 2', sans-serif; }
.footer-container { display: flex; flex-wrap: wrap; gap: 40px; max-width: 1200px; margin: auto; justify-content: space-between; }
.footer-section { flex: 1 1 220px; }
.footer-section h3 { color: #fff; margin-bottom: 20px; font-weight: 600; }
.footer-section p { line-height: 1.7; font-size: 0.95rem; opacity: 0.9; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section ul li { display: flex; align-items: center; margin-bottom: 14px; font-size: 0.95rem; color: #fff; }
.footer-section ul li i { font-size: 18px; color: #ffffff; margin-right: 10px; min-width: 20px; }
.footer-section ul li a { color: #fff; text-decoration: none; transition: color 0.3s ease; }
.footer-section ul li a:hover { color: var(--secondary-color); }
.footer-bottom { text-align: center; margin-top: 40px; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.2); padding-top: 20px; opacity: 0.8; }
/* Footer end */

/* Float buttons start */
/* Float buttons end */

/* Social icons start (KEPT AS IS) */
.footer-social { margin-top: 15px; display: flex; gap: 15px; }
.footer-social a { font-size: 22px; display: inline-flex; align-items: center; justify-content: center; background-color: #ffffff; width: 45px; height: 45px; border-radius: 50%; transition: all 0.3s ease; box-shadow: 0 3px 6px rgba(186,175,175,0.2); text-decoration: none; }
.footer-social a:hover { transform: scale(1.3) rotate(10deg); box-shadow: 0 5px 15px rgba(185,182,182,0.3); background-color: rgba(0,0,0,0.2); }
.footer-social a:hover i { color: #fff; }
/* Social icons end */

/* Hero about section start (KEPT AS IS) */
.hero-about {
  background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)), url('https://images.unsplash.com/photo-1556740749-887f6717d7e4') center/cover no-repeat;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.hero-about h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 1px;
  animation: fadeInDown 1s ease forwards;
}
/* Hero about section end */

/* Section styles start (KEPT AS IS) */
.section { padding: 80px 20px; }
.section h2 { text-align: center; color: var(--primary-color); margin-bottom: 25px; font-size: 2.5rem; font-weight: 700; position: relative; display: inline-block; }
.section h2::after { content: ''; display: block; margin: 10px auto 0; width: 60px; height: 3px; background: var(--secondary-color); border-radius: 2px; }
.section p.subtitle { text-align: center; max-width: 700px; margin: 0 auto 50px; color: var(--text); font-size: 1.15rem; line-height: 1.8; }
/* Section styles end */

/* About content start */
.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
  max-width: 1200px; /* Added max-width for better centering/flow */
  margin-left: auto;
  margin-right: auto;
}

.about-content img {
  width: 50%;
  max-width: 500px; /* Added max-width for image in larger screens */
  border-radius: var(--card-radius);
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15); /* Slightly darker shadow */
  transition: transform 0.6s cubic-bezier(.2,.9,.2,1), box-shadow 0.6s ease;
  transform-style: preserve-3d; /* Enable 3D transform */
}

.about-content img:hover {
  transform: scale(1.05) rotateX(2deg); /* Added subtle rotation */
  box-shadow: 0 30px 60px rgba(0,0,0,0.3); /* Premium hover shadow */
}

.about-text {
  width: 45%;
}

.about-text p {
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--text);
  opacity: 0.95;
}


.subtitle {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 25px;
}

[data-aos="fade-up"] {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

[data-aos="fade-up"].aos-animate {
  opacity: 1;
  transform: translateY(0);
}
/* About content end */

/* Responsive about start (KEPT AS IS) */
@media (max-width: 900px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-content img,
  .about-text {
    width: 100%;
    max-width: 100%; /* Ensure full width on mobile */
  }
  .about-text {
    margin-top: 20px;
  }
}
/* Responsive about end */

/* Team section start */
/* .team { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; }
/* Unified card base for team, counters, testimonials, gallery */
/* .team-member, */ */
.counter,
.testimonial {
  --local-radius: var(--card-radius);
  background: linear-gradient(180deg, var(--card-bg) 0%, #fbfdff 100%);
  padding: var(--card-padding);
  border-radius: var(--local-radius);
  text-align: center;
  flex: 1 1 var(--card-width);
  max-width: var(--card-max-width);
  min-height: var(--card-min-height); /* Enforcing unified min-height */
  box-shadow: 0 12px 30px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05) inset; /* Enhanced default shadow */
  transition: transform 0.55s cubic-bezier(.2,.9,.2,1), box-shadow 0.55s ease, filter 0.55s ease;
  transform-style: preserve-3d; /* Crucial for 3D effect */
  position: relative;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* Aligns content to top if height is fixed */
}

/* Glow layer (subtle, becomes more visible on hover) */
/* .team-member::before, */
.counter::before,
.testimonial::before{
  content: "";
  position: absolute;
  left: -8%; /* Increased glow size */
  top: -8%;
  width: 116%;
  height: 116%;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 20% 15%, rgba(var(--glow-color),0.15), transparent 22%), /* Increased glow opacity */
              radial-gradient(circle at 80% 85%, rgba(var(--glow-color),0.1), transparent 30%);
  filter: blur(18px); /* Increased blur */
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.5s ease;
  pointer-events: none;
}

/* Content sits above glow */
/* .team-member > *, */
 .counter > *, .testimonial > * { position: relative; z-index: 1; }

/* .team-member:hover, */
.counter:hover,
.testimonial:hover {
  transform: translateY(-18px) rotateX(4deg); /* More pronounced 3D/lift effect */
  box-shadow: 0 40px 90px rgba(0,0,0,0.3), 0 12px 30px rgba(0,0,0,0.1); /* Stronger premium shadow */
}
/* .team-member:hover::before, */
.counter:hover::before,
.testimonial:hover::before { opacity: 1; transform: scale(1.04); }

/* Team specific tweaks */
/* .team-member { min-height: var(--card-min-height); justify-content: space-between; } /* Ensure members stay inside card min-height */
/* .team-member img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; border: 4px solid var(--primary-light); transition: transform 0.45s ease; }
.team-member img:hover { transform: scale(1.08) rotateZ(4deg); Enhanced image rotation }
/* .team-member h3 { margin: 16px 0 8px; color: var(--primary-dark); font-weight: 700; } */
/* .team-member p { font-size: 0.95rem; color: var(--text); } */ */ */
/* Team section end */

/* Counters section start */
.counters { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 50px; }
.counter {
  /* Counters use same base but with colorful gradient and white text */
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-color));
  color: #fff;
  padding: calc(var(--card-padding) - 4px) 24px;
  border-radius: var(--card-radius);
  flex: 1 1 var(--card-width); /* Enforcing unified width */
  max-width: var(--card-max-width);
  min-height: var(--card-min-height); /* Enforcing unified min-height */
  text-align: center;
  box-shadow: 0 18px 44px rgba(0,0,0,0.2); /* Enhanced shadow */
  transition: transform 0.55s cubic-bezier(.2,.9,.2,1), box-shadow 0.55s ease, filter 0.55s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.counter:hover { transform: translateY(-16px) rotateX(3deg); box-shadow: 0 40px 90px rgba(0,0,0,0.36); } /* Matching hover effect */
.counter h3 { font-size: 2.5rem; font-weight: 800; margin-bottom: 8px; letter-spacing: 1px; } /* Larger, bolder text */
.counter p { font-size: 1.1rem; opacity: 1; font-weight: 500;} /* Better readability */
/* Counters section end */

/* Testimonials section start */
.testimonials { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; margin-top: 50px; }
.testimonial {
  /* Uses the unified card base above */
  padding: var(--card-padding);
  border-radius: calc(var(--card-radius) + 6px);
  flex: 1 1 var(--card-width); /* Enforcing unified width */
  max-width: var(--card-max-width);
  min-height: var(--card-min-height); /* Enforcing unified min-height */
  box-shadow: 0 18px 44px rgba(0,0,0,0.18);
  transition: transform 0.5s cubic-bezier(.2,.9,.2,1), box-shadow 0.5s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.testimonial:hover { transform: rotateY(5deg) translateY(-16px); box-shadow: 0 40px 90px rgba(0,0,0,0.32); } /* Enhanced hover */
.testimonial p { font-style: italic; margin-bottom: 15px; line-height: 1.6; color: var(--text); }
.testimonial h4 { font-weight: 700; color: var(--primary-dark); margin-top: 10px; }
/* Testimonials section end */

/* RTL support start (KEPT AS IS) */
[dir="rtl"] { text-align: right; }
/* RTL support end */

/* Responsive queries start */
@media (max-width: 992px) {
  .about-content { flex-direction: column; }
  .team, .counters, .testimonials { flex-direction: column; align-items: center; }
}

/* Make cards full-width and better stacked on smaller screens */
@media (max-width: 900px) {
  .team-member,
  .counter,
  .testimonial{
    flex: 1 1 100% !important;
    max-width: 100% !important;
    min-height: auto;
    padding: 20px !important;
    border-radius: 14px !important;
  }

  .team-member img { width: 110px; height:max-content; }
  .team { gap: 18px; }
  .counters { gap: 18px; }
  .testimonials { gap: 18px; }
 
}

/* Responsive queries end */

/* Animations start (KEPT AS IS) */
@keyframes fadeInUp { 0% {opacity:0; transform: translateY(25px);} 100% {opacity:1; transform: translateY(0);} }
@keyframes fadeInDown { 0% {opacity:0; transform: translateY(-25px);} 100% {opacity:1; transform: translateY(0);} }
@keyframes fadeInLeft { 0% {opacity:0; transform: translateX(-30px);} 100% {opacity:1; transform: translateX(0);} }
@keyframes fadeInRight { 0% {opacity:0; transform: translateX(30px);} 100% {opacity:1; transform: translateX(0);} }
@keyframes zoomIn { 0% {opacity:0; transform: scale(0.8);} 100% {opacity:1; transform: scale(1);} }
/* Animations end */

/* Gallery section start (KEPT AS IS) */
/* .gallery-section { padding: 80px 20px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}
.gallery-grid h1{
    text-align: center;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--card-radius);
  position: relative;
  box-shadow: 0 12px 34px rgba(0,0,0,0.14);
  transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--card-min-height);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.6s ease, filter 0.45s ease;
  object-fit: cover;
  height: 100%;
}
.gallery-item:hover img { transform: scale(1.08); filter: saturate(1.05) contrast(1.03); }
.gallery-item:hover { transform: translateY(-8px); box-shadow: 0 28px 70px rgba(0,0,0,0.24); }

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.5));
  color: #fff;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.35s;
}
.gallery-item:hover::after { opacity: 1; transform: translateY(0); } */

/* Gallery responsive start (KEPT AS IS) */
/* @media (max-width:768px) { .gallery-grid { gap: 15px; } } */
/* Gallery responsive end */

/* Gallery section end */
/* --- Values Section Styles --- */
.values-section .values-grid {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    text-align: center;
}

.values-section .value-item {
    flex: 1 1 300px; /* Allows up to 3 per row on wide screens */
    padding: 30px;
    border-radius: 10px;
    background-color: #f8f8f8; /* Light background for contrast */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.values-section .value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.values-section .value-item i {
    font-size: 3rem;
    color: #007bff; /* Example primary color */
    margin-bottom: 15px;
}

.values-section .value-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

/* --- Timeline Section Styles --- */
.timeline-section .timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* The vertical line */
.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: #ddd;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

/* Container around content */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    margin-bottom: 20px;
}

/* Make containers go left and right */
.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

/* The dot/circle on the timeline */
.timeline-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: #007bff; /* Example primary color */
    border: 2px solid white;
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

/* Place the dot to the right for left items */
.timeline-item:nth-child(odd) .timeline-dot {
    right: -7px;
}

/* Place the dot to the left for right items */
.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

/* The actual content box */
.timeline-content {
    padding: 20px 30px;
    background-color: #f8f8f8;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    margin-top: 0;
    color: #007bff;
}

/* Media queries for smaller screens (makes timeline single-column) */
@media screen and (max-width: 600px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0%;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot {
        left: 23px;
    }
    .timeline-item:nth-child(even) .timeline-dot {
        left: 23px;
    }
    
    /* Remove the arrow for small screens if you had one */
    .timeline-content::before {
        display: none;
    }
}
/* --- ENHANCED TEAM SECTION STYLES --- */

.team-section {
    background-color: #f7f7f7;
    padding: 60px 20px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive Grid */
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.team-member-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 20px;
}

.team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.member-image {
    width: 100%;
    height: fit-content;
    overflow: hidden;
    margin-bottom: 15px;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member-card:hover .member-image img {
    transform: scale(1.05);
}

.member-info h3 {
    font-family: 'Exo 2', sans-serif;
    color: #333;
    margin-bottom: 5px;
    font-weight: 700;
}

.member-info .role {
    color: #007bff; /* Primary color */
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.expertise-tag {
    margin-top: 15px;
    padding: 0 15px;
}

.expertise-tag span {
    display: inline-block;
    background-color: #e6f0ff; /* Light blue tag background */
    color: #007bff;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 5px;
    margin: 5px;
    font-weight: 500;
}

/* --- Mobile Responsiveness (Team) --- */
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr; /* Stack cards vertically on small screens */
    }
}
/* --- ENHANCED ACHIEVEMENTS SECTION STYLES --- */

.achievements-section {
    background-color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Responsive Grid */
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.achievement-card {
    background: #f7f7f7;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.achievement-card:hover {
    background-color: #e6f0ff; /* Light blue on hover */
    transform: translateY(-5px);
}

.achievement-card i {
    font-size: 3rem;
    color: #007bff; /* Primary color */
    margin-bottom: 15px;
}

.achievement-card .count {
    font-family: 'Exo 2', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    line-height: 1;
}

.achievement-card p {
    color: #666;
    font-weight: 500;
    font-size: 1rem;
    margin-top: 5px;
}

/* --- Mobile Responsiveness (Achievements) --- */
/* The grid setup already handles responsiveness well, but we can ensure padding is good */
@media (max-width: 600px) {
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}
/* --- END OF CUSTOM STYLES --- */
/* Filter Buttons */
  .filter-buttons {
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 18px;
    border: none;
    background: rgba(0,74,173,0.12);
    color: var(--primary-dark);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.28s ease;
    font-weight: 600;
    box-shadow: 0 6px 18px rgba(6,21,40,0.06);
    border: 1px solid rgba(0,74,173,0.06);
  }

  .filter-btn:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(90deg,var(--primary-light),var(--secondary-color));
    color: #fff;
  }

  .filter-btn.active {
    background: linear-gradient(90deg,var(--primary-color),var(--primary-light));
    color: #fff;
    box-shadow: 0 10px 30px rgba(0,74,173,0.16);
  }

  /* Gallery Grid - Improved visuals */
  /* Gallery container */
  .gallery-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 80px;
    position: relative;
    background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(250,252,255,0.95));
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(6,21,40,0.04);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    align-items: start;
    margin-top: 8px;
  }

  /* Each gallery item stays a positioned figure to allow overlay/caption */
  .gallery-item {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 66%; /* 3:2 aspect */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(7,24,48,0.12);
    transition: transform 0.38s cubic-bezier(.2,.9,.2,1), box-shadow 0.38s ease;
    cursor: pointer;
    background: linear-gradient(180deg, #f6f8fb, #ffffff);
  }

  .gallery-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.35s ease;
    transform-origin: center center;
  }

  .gallery-item::after {
    content: attr(alt);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    color: #fff;
    font-size: 0.95rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.55) 100%);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.28s ease, transform 0.28s ease;
    pointer-events: none;
  }

  .gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px rgba(6,21,40,0.16);
  }

  .gallery-item:hover img { transform: scale(1.06); filter: contrast(1.03) saturate(1.02); }
  .gallery-item:hover::after { opacity: 1; transform: translateY(0); }

  /* Hidden state used by filter controls */
  .gallery-item.hidden { display: none !important; }

  /* Lightbox (centered) */
  .lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(10, 15, 30, 0.9);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 28px;
    transition: opacity 250ms ease, transform 250ms ease;
    opacity: 0;
    transform: scale(0.97);
}

.lightbox.open {
    display: flex;
    opacity: 1;
    transform: scale(1);
}

.lightbox-content {
    max-width: 1100px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,0.03), rgba(0,0,0,0.2));
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.7), 0 12px 24px rgba(0,0,0,0.5);
}

.lightbox img,
.lightbox video {
    max-width: 100%;
    max-height: 92vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6), 0 8px 20px rgba(0,0,0,0.4);
}

.lightbox .close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 34px;
    color: #fff;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 50%;
    border: none;
    background: transparent; /* background removed */
}

.lightbox .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #fff;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 50%;
    background: transparent; /* background removed */
}

.left-arrow { left: 18px; }
.right-arrow { right: 18px; }

/* Remove caption */
.lightbox .caption {
    display: none;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .gallery-grid { gap: 12px; }
    .gallery-item { padding-bottom: 66%; }
}

@media (max-width: 600px) {
    .gallery-grid { display: flex; flex-direction: column; gap: 14px; }
    .gallery-item { padding-bottom: 0; height: auto; }
    .gallery-item img { position: static; width: 100%; height: auto; display:block; border-radius: 10px; }
    .lightbox .close-btn { font-size: 28px; right: 12px; top: 12px; }
    .lightbox .arrow { font-size: 28px; border-radius: 50%; background-color: #e6f0ff;color: black;}
}

@media (min-width: 601px) and (max-width: 900px) {
    .gallery-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
}


  /* Header / Nav tweaks (override defaults for better spacing) */
  header { padding: 6px 0; }
  .nav-container { padding: 14px 22px; align-items: center; }
  .logo img { width: 200px; height: auto; transition: transform 0.3s ease; }

  /* Hero improvements */
  .hero-about { height: 320px; display:flex; align-items:center; justify-content:center; text-align:center; border-radius: 12px 12px 0 0; margin-top:72px; overflow:hidden; }
  .hero-about::before { content: ''; position:absolute; inset:0; background: linear-gradient(120deg, rgba(0,74,173,0.28), rgba(0,102,204,0.16)); mix-blend-mode: multiply; }
  .hero-about h1 { position:relative; z-index:2; font-size:2.6rem; color:#fff; text-shadow: 0 6px 26px rgba(0,0,0,0.35); }

  /* Floating action buttons styled */
  .float-buttons { position: fixed; right: 18px; bottom: 18px; display:flex; flex-direction:column; gap:12px; z-index: 1200; }
  .float-btn {  border-radius: 150px; display:inline-flex; align-items:center; justify-content:center; background:transparent; box-shadow: 0 12px 30px rgba(6,21,40,0.16); border: none; overflow:hidden; }
  .float-btn img { width:50px; height:50px; object-fit:contain; }
  .float-btn.phone { background: linear-gradient(90deg,var(--primary-color),var(--primary-light)); }

  /* Footer polish */
  .site-footer { border-radius: 12px 12px 0 0; padding: 48px 20px 28px; }
  .footer-logo { width: 180px; height: auto; }
  .footer-section.links ul li a { color: #fff; opacity: 0.95; }
  .footer-section.info ul li { font-size: 0.95rem; }

  @media (max-width: 900px) {
    .hero-about { margin-top: 60px; height: 260px; }
    .logo img { width: 180px; }
    .gallery-section { padding: 40px 16px; }
  }