/* Hero Section Container */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Static Slide - Simplified to always show */
.slide {
  width: 100%;
  height: 100%;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Overlay Card */
.overlay {
  position: absolute;
  bottom: 60px;
  left: 60px;
  max-width: 420px;
  padding: 20px 25px;

  /* Dark glass effect */
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

  /* Floating animation */
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translate(0px, 0px);
  }
  25% {
    transform: translate(8px, -10px);
  }
  50% {
    transform: translate(-6px, -20px);
  }
  75% {
    transform: translate(10px, -8px);
  }
}

.overlay h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.9;
}

.tag {
  display: inline-block;
  font-size: 12px;
  margin-bottom: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
}

.hero-btn {
  margin-top: 15px;
  padding: 8px 12px;
  border: none;
  border-radius: 20px;
  background: #0a4a8a;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.hero-btn:hover {
  background: #083a6b;
}

/* Who We Are Section */
.who-we-are {
  padding: 100px 20px;
  background: #f7f7f7;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

/* Left */
.left {
  flex: 1;
}

.left h1 {
  font-size: 44px;
  font-weight: 300;
  margin-bottom: 10px;
  color: #333;
}

.subtitle {
  font-size: 18px;
  color: #888;
  font-weight: 300;
}

/* Divider */
.divider {
  width: 1px;
  height: 180px;
  background: #dcdcdc;
  transform: rotate(25deg);
}

/* Right */
.right {
  flex: 2;
  max-width: 600px; /* 🔥 Important for proper text alignment */
}

.right p {
  color: #666;
  line-height: 1.8; /* 🔥 better readability */
  margin-bottom: 20px;
  text-align: left; /* 🔥 ensures proper alignment */
}

/* Button */
.btn {
  margin-top: 10px;
  padding: 12px 26px;
  border: 2px solid #1e4fa3;
  background: transparent;
  color: #1e4fa3;
  cursor: pointer;
  font-size: 15px;
  letter-spacing: 0.5px;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: #1e4fa3;
  color: #fff;
  transform: translateY(-2px);
}
/* Base animation */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

/* When visible */
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Delays */
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.3s;
}
.delay-3 {
  transition-delay: 0.5s;
}
.delay-4 {
  transition-delay: 0.7s;
}
.delay-5 {
  transition-delay: 0.9s;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .container {
    flex-direction: column;
    text-align: center;
  }

  .right {
    max-width: 100%;
  }

  .right p {
    text-align: center; /* center on mobile */
  }

  .divider {
    display: none;
  }

  .left h1 {
    font-size: 32px;
  }
}

/* services */
.services-section {
  position: relative;
  background: #051747; /* Dark Navy Background */
  padding: 100px 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.services-container {
  max-width: 1200px;
  width: 100%;
  margin: auto;
  z-index: 2;
  text-align: center;
}

/* --- 1. Heading Top --- */
.services-heading-small,
.services-heading-main {
  color: #ffffff; /* White text for contrast */
}
.services-heading {
  margin-bottom: 60px;
}

.services-heading-small {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.services-heading-main {
  font-size: 48px;
  font-weight: 800;
}

/* --- 2. Cards in Rows --- */
.services-cards-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three cards in a row */
  gap: 25px;
  margin-bottom: 60px;
}

.services-card {
  /* Semi-transparent white background */
  background: linear-gradient(135deg, #051747 0%, #1a3a8a 100%) !important;
  padding: 40px 30px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;

  /* Glassmorphism Effect */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Fix: Target specific properties and slightly increase time for smoothness */
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  cursor: pointer;

  /* Hint to the browser for better performance */
  will-change: transform;
}

.services-card:hover {
  background: #535f80; /* Requested hover color */
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.services-card-link {
  text-decoration: none; /* Remove underline */
  color: inherit; /* Keep your existing text colors */
  display: block; /* Ensures the link fills the card */
  height: 100%;
  width: 100%;
}

.services-icon-circle {
  background: #000;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.services-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.services-card-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 14px;
  text-align: center;
}

/* --- 3. Buttons Below --- */
.services-buttons-row {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.services-btn {
  padding: 15px 35px;
  border: 2px solid #e7e9f0; /* Original Blue Color */
  background: transparent;
  color: #e7e9f0;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 50px;
  text-transform: uppercase;
}

.services-btn:hover {
  background: #535f80;
  color: #fff;
}

/* --- 4. Diamonds (Unchanged) --- */
.services-diamond {
  position: absolute;
  width: 180px;
  height: 180px;
  transform: rotate(45deg);
  z-index: 1;
}
.services-diamond-dark {
  background: #000;
  bottom: -60px;
  right: 180px;
}
.services-diamond-blue {
  background: #e7e9f0; /* Mustard Diamond */
  bottom: -40px;
  right: 60px;
}

/* Optional: Staggered delay for cards so they pop up one by one */
.services-card:nth-child(1) {
  transition-delay: 0.1s;
}
.services-card:nth-child(2) {
  transition-delay: 0.1s;
}
.services-card:nth-child(3) {
  transition-delay: 0.1s;
}

/* Delay for buttons to appear last */
.services-buttons-row.active {
  transition-delay: 0.7s;
}
/* Responsive */
@media (max-width: 992px) {
  .services-cards-wrapper {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto 40px;
  }
  .services-buttons-row {
    flex-direction: column;
    align-items: center;
  }
  .services-heading-main {
    font-size: 32px;
  }
  .services-diamond {
    display: none;
  }
}

/* Intro Section */
.intro-section {
  width: 100%;
  min-height: 100vh;
  /* Replace with your actual background image URL */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  position: relative;
}

/* Optional overlay to make text pop if background is too bright */
.intro-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  z-index: 1;
}

.intro-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: flex-end; /* Aligns person to bottom */
  gap: 40px;
}

.intro-image-box {
  flex: 1;
  display: flex;
  justify-content: center;
}

.intro-profile-img {
  max-width: 100%;
  height: auto;
  display: block;
}

.intro-content {
  flex: 1.2;
  padding-bottom: 40px;
}

.intro-quote-wrapper {
  position: relative;
  padding: 0 40px;
  text-align: center;
}

.quote-mark {
  font-family: "Crimson Text", serif;
  font-size: 80px;
  color: #666;
  position: absolute;
  line-height: 1;
  opacity: 0.5;
}

.quote-mark.open {
  top: -20px;
  left: 0;
}

.quote-mark.close {
  bottom: -40px;
  right: 0;
}

.intro-text {
  font-family: "Crimson Text", serif;
  font-size: 20px;
  line-height: 1.6;
  color: #1a1a1a;
  margin-bottom: 30px;
  font-style: italic;
}

.intro-footer {
  text-align: center;
  font-family: "Inter", sans-serif;
}

.intro-name {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 2px;
}

.intro-name-sub {
  font-size: 16px;
  color: #333;
  margin-bottom: 8px;
}

.intro-role {
  font-size: 14px;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive for Mobile */
@media (max-width: 850px) {
  .intro-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .intro-content {
    padding-bottom: 0;
  }
}

.partner-integration {
  background: #051747;
  padding: 100px 20px;
  color: #fff;
  overflow: hidden;
  height: 600px; /* Constrain height to see the effect */
}

.partner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 100%;
  gap: 40px;
}

.partner-content {
  flex: 1;
  z-index: 2;
}

.partner-title {
  font-size: 42px;
  margin-bottom: 20px;
}

.partner-title span {
  color: #4a90e2;
}

/* Visual Area with 3 Columns */
.partner-visual {
  flex: 1.5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  height: 100%;
  mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent,
    black 15%,
    black 85%,
    transparent
  );
}

.partner-col {
  display: flex;
  flex-direction: column;
}

.partner-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Card Styling */
.partner-card {
  background: rgba(255, 255, 255, 0.95);
  height: 120px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.partner-card span {
  color: #051747;
  font-weight: 700;
  font-size: 13px;
}

/* Animations */
.col-up .partner-list {
  animation: moveUp 15s linear infinite;
}

.col-down .partner-list {
  animation: moveDown 15s linear infinite;
}

.partner-explore-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #437ef7; /* The specific blue from your image */
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px; /* Slightly rounded corners */
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.partner-explore-btn:hover {
  background-color: #3569d6;
  transform: translateY(-2px);
}

.btn-arrow {
  margin-left: 10px;
  font-size: 20px;
  line-height: 1;
}

/* Ensure description has some space above the button */
.partner-description {
  margin-bottom: 30px;
}

@keyframes moveUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

@keyframes moveDown {
  0% {
    transform: translateY(-50%);
  }
  100% {
    transform: translateY(0);
  }
}

/* Pause on hover */
.partner-visual:hover .partner-list {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 992px) {
  .partner-container {
    flex-direction: column;
    height: auto;
  }
  .partner-visual {
    width: 100%;
    height: 400px;
    margin-top: 40px;
  }
}
