/* Fonts: Playfair Display (headings) & Poppins (body) */
:root {
  --nav-start: rgba(255, 255, 255, 0.15);
  --nav-scrolled: rgba(255, 255, 255, 0.85);
  --accent-1: #001a4d;
  --accent-2: #0046c9;
  --muted: #6b7280;
  --card-bg: #f6f9ff;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html,
body {
  height: 100%;
  font-family: "Inter", sans-serif;
  color: #07142a;
  scroll-behavior: smooth;
  background: #fff;
}
/* Loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #001427, #001f3f);
  z-index: 9999;
  transition: opacity 0.4s ease;
}
.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.15);
  border-top-color: rgba(255, 255, 255, 0.95);
  animation: spin 1s linear infinite;
  margin-bottom: 14px;
}
.loader-text {
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.6px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
} /* NAVBAR */
#navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 92%;
  max-width: 1200px;
  border-radius: 14px;
  padding: 14px 24px;      /* More breathing space */
  z-index: 500;
  backdrop-filter: blur(10px);
  background: var(--nav-start);
  transition: all 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#navbar.scrolled {
  background: var(--nav-scrolled);
  box-shadow: 0 6px 22px rgba(10, 20, 40, 0.08);
  padding: 10px 20px;      /* Slight shrink on scroll */
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  color: var(--accent-1);
  letter-spacing: 1.4px;
  font-size: 24px; /* bigger logo */
}
.nav-links a {
  margin-left: 24px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.8px;
  transition: all 0.28s ease;
  font-size: 16px; /* bigger font */
}
#navbar.scrolled .nav-links a {
  color: var(--accent-1);
}
.nav-links a:hover {
  opacity: 0.9;
  transform: translateY(-2px);
} /* add background-clip standard first for compatibility */
.nav-links a.active {
  background-clip: text;
  -webkit-background-clip: text;
  background-image: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-text-fill-color: transparent;
} 
/* Fix oversized logo */
.nav-logo img {
  height: 48px;        /* control height */
  width: auto;         /* maintain aspect ratio */
  object-fit: contain; /* prevent distortion */
  display: block;
}

/* On smaller screens */
@media (max-width: 768px) {
  .nav-logo img {
    height: 40px;
  }
}

/* HERO */
.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #fff;
  background: #000; /* ensures no white shows through */
}
/* Background video container */
.video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  filter: blur(8px) brightness(0.55);
  transform: scale(1.05); /* slight zoom to hide blur edges */
}
/* Video styling */
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-inner {
  position: relative;
  z-index: 5;
  max-width: 640px;
}
/* Hero content */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 20px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.hero-title .highlight {
  color: #00ccff;
}
/* ABOUT */
.about {
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  color: #fff;
  padding: 60px 6%;
}
.about-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}
.about-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
  margin: 12px 0;
  border-radius: 4px;
}
.lead {
  font-weight: 600;
  margin-bottom: 12px;
  color: #f6f9ff;
} /* SECTIONS */
.section {
  padding: 56px 6%;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
}
h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 8px;
}
p {
  color: #445a85;
}
.Social_media{
  color: rgb(255 255 255 / 85%);;

}
/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 18px;
}
.service {
  background: var(--card-bg);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(13, 24, 48, 0.04);
  transition: transform 0.28s ease;
}
.service h4 {
  margin-bottom: 8px;
}
.service:hover {
  transform: translateY(-6px);
} 
.service img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}
.card.sample img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* .service_color {
  color: #1a3c7d;
} */

/* CASE STUDIES GRID */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Center the third card */
.case-center {
  grid-column: 1 / -1;
  justify-self: center;
  max-width: 520px;
}

/* Case Card */
.case-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(10, 20, 40, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: block;
}

.case-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(10, 20, 40, 0.12);
}

/* Thumbnail */
.case-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

/* Text */
.case-card h4 {
  margin-bottom: 6px;
  font-size: 18px;
}

.case-card p {
  font-size: 14px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 768px) {
  .case-grid {
    grid-template-columns: 1fr;
  }

  .case-center {
    max-width: 100%;
  }
}

/* CAROUSELS */
.carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 18px;
}
.carousel {
  display: flex;
  gap: 16px;
  overflow: hidden;
  scroll-behavior: smooth;
  padding: 10px 6px;
}
.card.sample {
  min-width: 300px;
  background: #fff;
  border-radius: 10px;
  padding: 18px;
  box-shadow: 0 8px 28px rgba(10, 20, 40, 0.06);
  flex: 0 0 auto;
}
.card.sample .thumb {
  height: 140px;
  background: linear-gradient(135deg, #e6eefc, #f6f9ff);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0046c9;
  margin-bottom: 10px;
}
/* Showcase Carousel – continuous infinite scroll */
.showcase-section {
  padding: 65px 8%;
  background: linear-gradient(135deg, #f9fbff, #edf2ff);
  overflow: hidden;
  position: relative;
}

.showcase-container {
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.showcase-carousel {
  display: flex;
  align-items: center;
  gap: 70px; /* space between circles */
  will-change: transform;
}

.logo-card {
  flex: 0 0 auto;
}

.logo-circle {
  height: 140px;
  width: 140px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s ease;
}

.logo-circle img {
  height: 85%;
  width: 85%;
  object-fit: contain;
  border-radius: 50%;
  opacity: 0.9;
  transition: all 0.4s ease;
}

.logo-circle:hover {
  transform: scale(1.08);
}

.logo-circle:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .showcase-carousel {
    gap: 40px;
  }
  .logo-circle {
    height: 100px;
    width: 100px;
  }
}

.showcase-carousel {
  overflow: hidden;
}

.showcase-row {
  display: flex;
  gap: 70px;
  width: max-content;
  animation: marquee 35s linear infinite;
  will-change: transform;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Pause on hover (GPU-safe) */
.showcase-section:hover .showcase-row {
  animation-play-state: paused;
}

/* Mobile speed adjustment */
@media (max-width: 768px) {
  .showcase-row {
    animation-duration: 50s;
  }
}

/* carousel buttons */
.carousel-btn {
  position: relative;
  z-index: 8;
  background: #fff;
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(10, 20, 40, 0.08);
  cursor: pointer;
  font-size: 22px;
}
.carousel-btn.left {
  margin-right: 8px;
}
.carousel-btn.right {
  margin-left: 8px;
} /* TEAM */
/* 🧑 Directors - stay larger */
.team-directors {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.team-directors .member {
  text-align: center;
}

.team-directors .member img {
  width: 150px;   /* Bigger portraits for directors */
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
}

.team-directors .member img:hover {
  transform: scale(1.06);
}

/* 👥 Team Members - smaller grid */
.team-members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 26px;
  justify-items: center;
  padding: 0 20px; /* Adds spacing inside grid area */
}


.team-members .member {
  text-align: center;
}

.team-members .member img {
  width: 90px;             /* Adjust size as per your design */
  height: 90px;
  border-radius: 50%;       /* Circular shape */
  object-fit: cover;        /* Ensures the image fills the circle cleanly */
  object-position: center;  /* Keeps face centered */
  image-rendering: -webkit-optimize-contrast; /* Improves quality on WebKit browsers */
  image-rendering: crisp-edges;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.team-members .member img:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.team-members .member h4 {
  font-size: 0.9rem;
  margin-top: 0.6rem;
  color: var(--accent-1);
}

.team-members .member p {
  font-size: 0.78rem;
  color: var(--muted);
}
/* --- ✨ TEAM FADE-IN ANIMATION --- */
@keyframes teamFadeIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-members .member {
  opacity: 0;
  transform: translateY(30px);
}

.team-members.visible .member {
  animation: teamFadeIn 0.8s ease-out forwards;
}

.team-members.visible .member:nth-child(1) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(2) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(3) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(4) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(5) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(6) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(7) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(8) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(9) { animation-delay: 0.2s; }
.team-members.visible .member:nth-child(10) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(11) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(12) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(13) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(14) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(15) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(16) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(17) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(18) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(19) { animation-delay: 0.4s; }
.team-members.visible .member:nth-child(20) { animation-delay: 0.4s; }

 /* CAREER */
 .career-section {
  background: radial-gradient(circle at top left, #001a4d 0%, #0046c9 100%);
  color: #fff;
  padding: 100px 6%;
  position: relative;
  overflow: hidden;
}

.career-title {
  font-family: "Playfair Display", serif;
  font-size: 46px;
  text-align: center;
  margin-bottom: 12px;
}

.career-subtitle {
  text-align: center;
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  max-width: 700px;
  margin: 0 auto 50px;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.career-card {
  background: rgba(255,255,255,0.08);
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: all 0.4s ease;
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
}

.career-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}

.career-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.career-card p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 18px;
}

.apply-btn {
  background: #fff;
  color: #0046c9;
  border: none;
  padding: 10px 20px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-btn:hover {
  background: #0046c9;
  color: #fff;
  transform: translateY(-2px);
}

/* WHY WORK WITH US */
.why-work {
  text-align: center;
  margin-top: 60px;
}

.why-work h3 {
  font-family: "Playfair Display", serif;
  font-size: 30px;
  margin-bottom: 30px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.why-item {
  background: rgba(255,255,255,0.06);
  padding: 25px;
  border-radius: 12px;
  max-width: 300px;
  transition: all 0.3s ease;
}

.why-item:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-5px);
}

.why-item i {
  font-size: 36px;
  color: #00b4ff;
  margin-bottom: 10px;
}

.why-item h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

/* Responsive */
@media (max-width: 900px) {
  .career-title { font-size: 36px; }
  .career-subtitle { font-size: 16px; }
}
 /* FOOTER */
.footer {
  padding: 28px 6%;
  background: #001626;
  color: #fff;
  text-align: center;
  margin-top: 18px;
} /* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
} /* responsive tweaks */
@media (max-width: 900px) {
  #navbar {
    left: 50%;
    transform: translateX(-50%);
    width: 94%;
    padding: 8px;
  }
  .hero-title {
    font-size: 36px;
  }
  .hero-inner {
    padding-right: 18px;
  }
  .carousel {
    gap: 12px;
  }
  .card.sample {
    min-width: 260px;
  }
  .logo-box {
    width: 120px;
    height: 70px;
    font-size: 13px;
  }
  .team-grid {
    gap: 14px;
  }
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.contact-form, .contact-info {
  background: #0f2a62;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.contact-form h2,
.contact-info h2 {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  color: #f4f4f4;
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-top: 15px;
  font-size: 16px;
  color: #ccc;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    background: #49618e;
    border: none;
    padding: 10px 12px;
    border-radius: 6px;
    color: #fff;
    margin-top: 5px;
    font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #007bff;
}

.contact-form .btn {
  margin-top: 20px;
  padding: 12px 25px;
  background: #007bff;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form .btn:hover {
  background: #0056b3;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: #ccc;
  margin-right: 12px;
  font-size: 22px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #007bff;
}

.map-container {
  margin-top: 25px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .map-container iframe {
    height: 250px;
  }
}
