/* ===========================
   CSS RESET & GLOBAL STYLES
   =========================== */

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

/* Font Face Declarations */
@font-face {
  font-family: "Nexa";
  src: url("Assets/Nexa Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nexa";
  src: url("Assets/Nexa Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Colors */
  --deep-blue: #1f4282;
  --mid-blue: #3466aa;
  --royal-blue: #0066cc;
  --light-blue: #82b6db;
  --grey-dark: #808080;
  --grey-light: #989898;
  --off-white: #f2f1f1;
  --white: #ffffff;

  /* Typography */
  --font-family:
    "Nexa", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing */
  --section-padding: 40px 20px;
  --container-max-width: 1200px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-weight: 300;
  line-height: 1.6;
  color: #333;
  background-color: var(--off-white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===========================
   NAVIGATION
   =========================== */

.navbar {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  max-width: 1200px;
  /* Frosted white glassmorphism — high opacity for logo contrast */
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(200, 215, 235, 0.4);
  border-radius: 8px;
  padding: 0 30px;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(31, 66, 130, 0.06);
  transition: var(--transition-smooth);
}

/* Animated glow that traces around the rectangle edges */
.navbar::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(130, 182, 219, 0),
    rgba(130, 182, 219, 0.25),
    rgba(52, 102, 170, 0.15),
    rgba(130, 182, 219, 0)
  );
  z-index: -1;
  opacity: 0;
  animation: borderGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(31, 66, 130, 0.1);
}

.navbar.scrolled::before {
  background: linear-gradient(
    135deg,
    rgba(130, 182, 219, 0),
    rgba(130, 182, 219, 0.3),
    rgba(52, 102, 170, 0.2),
    rgba(130, 182, 219, 0)
  );
}

.nav-container {
  width: 90%;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.nav-logo .logo {
  height: 60px;
  width: auto;
  transition: var(--transition-smooth);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 10;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--deep-blue);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .navbar {
    width: 90%;
    padding: 0 20px;
    height: 65px;
    top: 10px;
    border-radius: 12px;
  }

  .nav-logo .logo {
    height: 54px;
  }

  .nav-container {
    width: 100%;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: 85px;
    left: 5%;
    width: 90%;
    flex-direction: column;
    /* Frosted glass on mobile menu too */
    background: rgba(255, 255, 255, 1);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(31, 66, 130, 0.1);
    padding: 30px 0;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-menu li {
    margin: 0;
    width: 100%;
  }

  .nav-menu li a {
    display: block;
    padding: 15px 30px;
    font-size: 16px;
  }
}

.nav-link {
  color: var(--deep-blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: var(--transition-smooth);
  padding: 5px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--light-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--light-blue);
}

/* Nav Actions (Buttons) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cta-btn {
  background: var(--deep-blue);
  color: var(--white);
  text-decoration: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition-smooth);
}

.cta-btn:hover {
  background: var(--mid-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(52, 102, 170, 0.3);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--deep-blue);
  color: #fff;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--mid-blue);
  transform: translateY(-5px);
}

/* ===========================
   HERO SECTION
   =========================== */

.hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  animation: heroSlowZoom 30s ease-in-out infinite alternate;
}

@keyframes heroSlowZoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.08);
  }
}

/* Subtle overlay — preserves the dark sky while adding depth */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(10, 20, 45, 0.3) 0%,
    rgba(10, 20, 45, 0.1) 40%,
    rgba(10, 20, 45, 0.4) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 1100px;
}

/* Hero Headline — Sequential Word Reveal */
.hero-headline {
  font-size: 72px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordReveal 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
  animation-delay: var(--word-delay);
  margin-right: 0.25em;
}

@keyframes wordReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle glow pulse on 'Future.' after full sequence */
.hero-word--glow {
  animation:
    wordReveal 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards,
    futureGlow 3s ease-in-out 1.6s infinite;
}

@keyframes futureGlow {
  0%,
  100% {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow:
      0 0 30px rgba(130, 182, 219, 0.4),
      0 0 60px rgba(130, 182, 219, 0.15),
      0 2px 40px rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 768px) {
  .hero-headline {
    font-size: 40px;
    letter-spacing: -0.5px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 32px;
  }
}

/* ===========================
   SECTION TITLES
   =========================== */

.section-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--deep-blue);
  text-align: center;
  margin-bottom: 20px;
  position: relative;
}

/* .section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--mid-blue), var(--light-blue));
  margin: 20px auto 0;
  border-radius: 2px;
} */

/* ===========================
   REVEAL ANIMATION
   =========================== */

.reveal-section {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-section.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about-section {
  padding: 120px 20px;
  background-color: var(--deep-blue) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.about-bg-graphic {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background-image: url("Assets/Arch_White.svg");
  background-position: top right;
  background-size: 150% auto; /* 150% width, auto height */
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.6; /* Adjust opacity as needed */
  z-index: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.about-content {
  max-width: 700px;
}

.section-label-small {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--light-blue);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-title-large {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #fff;
}

.about-text {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
}

.licenses {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.license-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition-smooth);
  box-shadow: none;
}

.license-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
  font-size: 16px;
  color: var(--light-blue);
}

.btn-white {
  display: inline-block;
  background: #fff;
  color: var(--deep-blue);
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-white:hover {
  background: var(--light-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .about-title-large {
    font-size: 42px;
  }

  .about-bg-graphic {
    width: 80%;
    opacity: 0.3;
  }
}
/* ===========================
   REASON FOR BEING SECTION
   =========================== */

.reason-section {
  padding: var(--section-padding);
  background-color: var(--white);
  text-align: center;
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.values-horizontal-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.reason-card {
  padding: 40px;
  border-radius: 8px;
  text-align: left;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.reason-card > * {
  position: relative;
  z-index: 2;
}

.mission-card::before,
.vision-card::before,
.values-title-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("Assets/Pattern.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.mission-card {
  background: var(--deep-blue);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(31, 66, 130, 0.2);
}

.vision-card {
  background: var(--off-white);
  color: var(--deep-blue);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.values-title-card {
  grid-column: span 2;
  background: var(--white);
  color: var(--deep-blue);
  box-shadow: 0 10px 30px rgba(130, 182, 219, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.value-card {
  background: var(--white);
  color: var(--deep-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.value-card-title {
  font-size: 16px; /* Slightly smaller for horizontal layout */
  font-weight: 700;
  margin: 0;
  color: var(--deep-blue);
  text-transform: capitalize;
}

.value-icon-img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  object-fit: contain;
}

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

.card-icon-small {
  font-size: 32px;
  margin-bottom: 20px;
}

.reason-card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.reason-card-text {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
}

@media (max-width: 992px) {
  .values-horizontal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-title-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .values-horizontal-grid {
    grid-template-columns: 1fr;
  }
  .reason-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   WHY CHOOSE US SECTION
   =========================== */

.why-us-section {
  padding: 120px 20px;
  background-color: var(--off-white);
  color: #333;
  position: relative;
  overflow: hidden;
}

.why-us-bg-graphic {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url("Assets/Arch.svg");
  background-position: center left;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.15; /* Subtle background */
  z-index: 1;
}

.why-us-container {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.why-text-col {
  flex: 1;
  position: sticky;
  top: 120px; /* Sticky effect for the text */
}

.why-grid-col {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.why-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 15px;
  line-height: 1.3;
}

.why-card-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-dark);
}

@media (max-width: 992px) {
  .why-us-container {
    flex-direction: column;
  }

  .why-text-col {
    position: static;
    margin-bottom: 40px;
  }
}

@media (max-width: 600px) {
  .why-grid-col {
    grid-template-columns: 1fr;
  }

  .why-card {
    grid-column: auto !important; /* Reset span 2 for mobile */
  }
}

.badge-icon {
  font-size: 20px;
}

/* ===========================
   SERVICES SECTION
   =========================== */

.services-section {
  padding: var(--section-padding);
  background: radial-gradient(circle at center, #2b4162 0%, #12100e 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-bottom: 120px; /* Space for watermark */
}

.section-label {
  display: inline-block;
  padding: 8px 16px;
  background: #d1dbe5;
  border-radius: 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--deep-blue); /*#a4b0be*/
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.services-section .section-title {
  color: var(--white);
}

.services-section .section-title::after {
  display: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

/* Responsiveness for smaller screens */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: var(--white);
  padding: 40px 20px;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  box-shadow: 0 10px 20px rgba(142, 197, 252, 0.3);
}

.card-icon {
  width: 80px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-description {
  font-size: 14px;
  line-height: 1.6;
  color: #7f8c8d;
  margin-bottom: 0;
  flex-grow: 1;
}

.services-watermark {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 7vw;
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03);
  z-index: 1;
  pointer-events: none;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}

/* ===========================
   TEAM SECTION
   =========================== */

.team-section {
  padding: var(--section-padding);
  background: linear-gradient(
    to bottom,
    var(--off-white) 0%,
    var(--white) 100%
  );
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  margin-top: 60px;
}

.team-member {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  background-color: var(--deep-blue);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.member-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
}

.member-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .member-image {
  transform: scale(1.05); /* Subtle zoom */
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px 20px 20px;
  background: linear-gradient(
    to top,
    rgba(14, 27, 54, 0.95) 10%,
    rgba(14, 27, 54, 0.8) 40%,
    transparent 100%
  );
  z-index: 2;
  text-align: left;
}

.member-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.member-title {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin: 0;
}

/* Action Buttons (Top Right) */
.team-card-actions {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  z-index: 5;
}

.card-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: var(--transition-smooth);
  border: none;
  cursor: pointer;
}

.btn-linkedin {
  background-color: var(--white);
  color: var(--deep-blue);
}

.btn-linkedin:hover {
  background-color: var(--off-white);
  transform: scale(1.1);
}

.btn-plus {
  background-color: var(--deep-blue);
  color: var(--off-white);
  font-size: 20px;
}

.btn-plus:hover {
  background-color: var(--light-blue);
  transform: scale(1.1);
}

/* ===========================
   MODAL
   =========================== */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 2001;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-50px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 36px;
  color: var(--grey-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-smooth);
  z-index: 10;
}

.modal-close:hover {
  background: var(--off-white);
  color: var(--deep-blue);
  transform: rotate(90deg);
}

.modal-body {
  display: flex;
  gap: 40px;
  padding: 50px;
  flex-wrap: wrap;
}

.modal-image-wrapper {
  flex: 0 0 200px;
}

.modal-image {
  width: 250px;
  height: 250px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(31, 66, 130, 0.2);
}

.modal-info {
  flex: 1;
  min-width: 300px;
}

.modal-name {
  font-size: 32px;
  font-weight: 700;
  color: var(--deep-blue);
  margin-bottom: 8px;
}

.modal-position {
  font-size: 18px;
  color: var(--mid-blue);
  font-weight: 700;
  margin-bottom: 25px;
}

.modal-bio {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 30px;
}

.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #0077b5, #005582);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 119, 181, 0.3);
}

.linkedin-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 119, 181, 0.4);
  background: linear-gradient(135deg, #005582, #0077b5);
}

/* ===========================
   CALL TO ACTION SECTION
   =========================== */

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.cta-section {
  position: relative;
  padding: 100px 20px 80px;
  background: linear-gradient(
    -45deg,
    #1f4282,
    #3466aa,
    #82b6db,
    #0066cc,
    #1f4282
  );
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
  text-align: center;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("Assets/Arch_White.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.2;
  pointer-events: none;
  z-index: 0;
}

.cta-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.cta-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.cta-heading {
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  max-width: 700px;
}

.cta-subtext {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  max-width: 550px;
  margin: 0;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--white);
  color: var(--deep-blue);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.cta-button:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: var(--off-white);
}

.cta-button-arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.cta-button:hover .cta-button-arrow {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .cta-heading {
    font-size: 32px;
  }
  .cta-subtext {
    font-size: 16px;
  }
  .cta-button {
    padding: 14px 30px;
    font-size: 14px;
  }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: var(--deep-blue);
  padding: 20px 40px;
  margin-top: 20px;
}

.footer-content {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  height: 60px;
  width: auto;
}

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

.footer-copyright {
  font-size: 14px;
  color: var(--white);
  opacity: 0.8;
  margin: 0;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
  .nav-menu {
    gap: 20px;
  }

  .nav-link {
    font-size: 14px;
  }

  .section-title {
    font-size: 32px;
  }

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

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

  .modal-body {
    flex-direction: column;
    padding: 30px;
    align-items: center;
  }

  .modal-image-wrapper {
    flex: 0 0 auto;
  }

  .modal-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-menu {
    gap: 15px;
  }

  .about-text {
    font-size: 18px;
  }

  .licenses {
    flex-direction: column;
  }
}
