/* --- PRESET & THEME --- */
:root {
  --blue: #74bdd6;
  --navy: #1a2a3a;
  --white: #ffffff;
  --soft-bg: #f4f7f8;
  --dark-section: #121820;
  --text: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.7;
}

h1,
h2,
h3,
em,
.italic {
  font-family: "EB Garamond", serif;
  font-weight: 500;
}

.italic {
  font-style: italic;
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 5%;
}
.blue-tag {
  color: var(--blue);
  letter-spacing: 3px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

/* --- NAVIGATION --- */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid #eee;
  padding: 30px 0;
  overflow: hidden;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 1;
}

.sticky-nav .logo-img {
  height: 104px;
  width: auto;
  display: block;
  margin-top: -35px;
  margin-bottom: -35px;
  margin-left: -35px;
  transform: scale(1.1);
  transform-origin: left center;
}
.sticky-nav .logo-img:hover {
  transform: scale(1.15);
  transition: transform 0.8s ease;
  filter: grayscale(50%);
}
.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-btn {
  background: var(--blue);
  color: #fff !important;
  padding: 12px 25px;
  font-weight: 600;
  transition: 0.3s;
}

.nav-btn:hover {
  background: var(--navy);
  transform: translateY(-2px);
}

/* --- HERO SECTION --- */
.hero-split {
  display: flex;
  height: 90vh;
  align-items: center;
}
.hero-image-box {
  flex: 1.2;
  height: 100%;
  overflow: hidden;
}
.hero-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-text-box {
  flex: 1;
  padding: 0 8%;
}
.tagline {
  color: var(--blue);
  letter-spacing: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-text-box h1 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 30px;
  color: var(--navy);
}
.hero-desc {
  font-size: 1.25rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: #666;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.btn-primary {
  background: var(--navy);
  color: white !important;
  padding: 16px 40px;

  display: inline-block;
  white-space: nowrap;
  vertical-align: middle;

  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1;

  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.btn-link {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--blue);
}

/* --- DARK MANIFESTO (High Contrast) --- */
.dark-manifesto {
  background: var(--dark-section);
  color: white;
  padding: 50px 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}
.manifesto-header h2 {
  font-size: 4rem;
  line-height: 1.1;
  color: white;
}
.manifesto-body p {
  font-size: 1.3rem;
  font-weight: 200;
  margin-bottom: 30px;
  opacity: 0.8;
}

/* --- OUTCOMES VISUAL --- */
.outcomes-visual {
  padding: 40px 0 100px 0;
  background: var(--white);
}
.section-intro {
  text-align: center;
  margin-bottom: 20px;
}
.section-intro h2 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.outcome-card {
  background: var(--soft-bg);
  transition: 0.4s;
}
.card-img {
  height: 250px;
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}
.card-info {
  padding: 30px;
}
.card-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}
.outcome-card:hover {
  transform: translateY(-10px);
  background: #fff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}
.outcome-card:hover .card-img img {
  transform: scale(1.1);
}

/* --- TALENT FEATURE --- */
.talent-feature {
  background: #fff;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.split-image-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.talent-content {
  padding: 5% 10%;
}
.talent-content h2 {
  font-size: 4rem;
  margin-bottom: 30px;
  line-height: 1;
}
.talent-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #555;
}
.talent-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border: 1px solid var(--navy);
  color: var(--navy);
  text-decoration: none;
  margin-top: 20px;
}
.btn-secondary:hover {
  background: var(--navy);
  color: white !important;
}

/* --- SERVICES SECTION REVAMP --- */
.services-curated {
  padding: 30px 0 0 0;
  background-color: var(--white);
}

.section-header-left {
  margin-bottom: 40px;
}

.institutional-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 20px;
}

/* Full-width container for the hover effect */
.curated-item-wrapper {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: transparent;
  transition: all 0.5s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative;
}

/* Restoring the Subtle Blue Background Hover */
.curated-item-wrapper:hover {
  /* Using a very soft tint of your brand blue */
  background-color: rgba(116, 189, 214, 0.08);
}

/* The actual content grid stays inside the site container */
.curated-row {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  padding: 60px 0; /* Tightened from 80px to feel less "empty" */
  transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
}

.curated-item-wrapper:hover .curated-row {
  transform: translateX(15px); /* Subtle nudge */
}

/* Title Styling */
.c-title h3 {
  font-size: 2.5rem;
  line-height: 1.1;
  color: var(--navy);
  transition: color 0.3s ease;
}

.curated-item-wrapper:hover h3 {
  color: var(--blue);
}

/* Content Styling */
.c-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.c-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Tagline Boldness */
.c-content p strong {
  color: var(--navy);
  font-weight: 600;
}

/* Explore Link with Growing Blue Underline */
.btn-explore {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--navy);
  position: relative;
  padding-bottom: 8px;
  transition: color 0.3s ease;
}

.btn-explore::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px; /* Initially short */
  height: 2px;
  background-color: var(--blue);
  transition: width 0.4s ease;
}

.curated-item-wrapper:hover .btn-explore::after {
  width: 100%; /* Spills across the whole link on hover */
}

.btn-explore:hover {
  color: var(--blue);
}

/* Last item border */
.curated-item-wrapper:last-child {
  border-bottom: 1px solid var(--border);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .curated-row {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 0;
  }

  .curated-item-wrapper:hover .curated-row {
    transform: none;
  }

  .institutional-title {
    font-size: 2.8rem;
  }

  .c-title h3 {
    font-size: 2rem;
  }
}

/* --- PILOT PROMO --- */
.pilot-promo {
  padding: 60px 0;
  background: var(--soft-bg);
}
.pilot-box {
  background: var(--blue);
  color: white;
  padding: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pilot-text h2 {
  color: white;
  font-size: 3rem;
  margin-bottom: 10px;
}
.pilot-text p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* --- FINAL CTA --- */
.final-cta {
  padding: 50px 0;
  text-align: center;
  background: var(--soft-bg);
}
.final-cta h2 {
  font-size: 5rem;
  line-height: 1;
  margin-bottom: 30px;
}
.btn-secondary-large {
  font-size: 1.2rem;
  padding: 25px 60px;
  border: 1px solid var(--navy);
  text-decoration: none;
  color: var(--navy);
  display: inline-block;
  margin-top: 20px;
}
.btn-secondary-large:hover {
  background: var(--navy);
  color: white !important;
}

/* --- FOOTER --- */

.minimal-footer {
  padding: 60px 0; /* Reduced padding for a tighter look */
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Centers items vertically for a better "float" */
  max-width: 1500px; /* Increased width to push logo further left */
  margin: 0 auto;
  padding: 0 4%;
}

.footer-logo {
  flex: 1;
}

.footer-logo .logo-img {
  height: 110px;
  width: auto;
  display: block;
  margin-top: -35px;
  margin-bottom: -35px;
  margin-left: -20px;

  transform: scale(1.1);
  transform-origin: left center;
}

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 25px; /* Space between icons */
  margin-bottom: 12px;
}

.social-icon-link {
  color: var(--navy);
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  display: inline-block;
}

.social-icon-link svg {
  width: 100%;
  height: 100%;
  display: block;
}

.social-icon-link:hover {
  color: var(--blue);
  transform: translateY(-4px);
}

.footer-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: lowercase;
}

/* 3. Meta Section (Right) */
.footer-meta {
  flex: 1;
  text-align: right;
}

.footer-meta p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.8;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* RESPONSIVE FOOTER */
@media (max-width: 1024px) {
  .footer-wrap {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }
  .footer-meta,
  .footer-logo,
  .footer-center {
    text-align: center;
    flex: none;
  }
  .footer-logo .logo-img {
    margin: 0 auto;
    transform-origin: center;
  }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .logo-img {
    height: 35px; /* Smaller height for mobile headers */
  }
}
@media (max-width: 1024px) {
  .hero-split,
  .manifesto-grid,
  .outcome-grid,
  .split-image-text,
  .service-row {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .hero-text-box {
    padding: 60px 5%;
    order: 2;
  }
  .hero-image-box {
    order: 1;
    min-height: 400px;
  }
  .hero-text-box h1,
  .manifesto-header h2,
  .final-cta h2 {
    font-size: 3rem;
  }
}

/* --- 7. CONTACT SECTION STYLING --- */

.contact-section {
  padding: 20px 0;
  background-color: var(--white);
  border-top: 1px solid var(--border);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px; /* Large gap for that "expensive" feel */
  align-items: start;
}

/* Info Side (Left) */
.contact-info h2 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 30px;
  color: var(--navy);
}

.contact-info p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 450px;
  margin-bottom: 50px;
}

.contact-details {
  display: grid;
  gap: 40px;
}

.detail-item span {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--blue);
  margin-bottom: 10px;
}

.detail-item p {
  font-family: "EB Garamond", serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0;
}

/* Form Side (Right) */
.contact-form-box {
  background-color: var(--slate); /* Subtle grey background */
  padding: 60px;
  border-radius: 0; /* Keeping it architectural/sharp */
}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

/* --- CONTACT FORM --- */

.contact-form-box {
  background-color: var(--slate);
  padding: 60px;
}

.contact-form-box form {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

/* Base Input & Textarea Styling */
.contact-form-box input,
.contact-form-box textarea {
  width: 100%;
  border: none;
  background: transparent;
  border-bottom: 1px solid rgba(26, 42, 58, 0.2);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: var(--navy);
  padding: 12px 0;
  transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
  outline: none;
  border-radius: 0;
}

/* Placeholder Styling */
.contact-form-box input::placeholder,
.contact-form-box textarea::placeholder {
  color: #a0aec0;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
}

/* HOVER STATE */
.contact-form-box input:hover,
.contact-form-box textarea:hover {
  border-bottom: 1px solid var(--navy);
}

/* FOCUS STATE: The Blue Line Reveal */
.contact-form-box input:focus,
.contact-form-box textarea:focus {
  border-bottom: 1px solid var(--blue);
  background: rgba(116, 189, 214, 0.05);
}

/* Handle Textarea */
.contact-form-box textarea {
  resize: none;
  min-height: 120px;
}

/* Form Button  */
.contact-form-box .btn-solid {
  margin-top: 20px;
  align-self: flex-start;
  background: var(--navy);
  color: white !important;
  padding: 18px 45px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

.contact-form-box .btn-solid:hover {
  background: var(--blue);
  transform: translateY(-3px);
}

/* NEWSLETTER */
.newsletter-banner {
  background: var(--navy);
  color: white;
  padding: 60px 0;
}
.newsletter-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.newsletter-content h3 {
  color: white;
  font-size: 2rem;
}
.news-form {
  display: flex;
  gap: 10px;
}
.news-form input {
  padding: 15px 25px;
  border: none;
  width: 300px;
}
.news-form button {
  background: var(--blue);
  color: white;
  border: none;
  padding: 0 30px;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .diff-grid,
  .mission-grid,
  .values-grid,
  .team-grid,
  .contact-grid,
  .newsletter-content {
    grid-template-columns: 1fr;
  }
  .about-hero h1 {
    font-size: 3rem;
  }
  .news-form {
    flex-direction: column;
    width: 100%;
  }
  .news-form input {
    width: 100%;
  }
  .diff-image img {
    height: 400px;
    box-shadow: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .contact-info h2 {
    font-size: 3rem;
  }

  .contact-form-box {
    padding: 40px 30px;
  }
}
/* Smooth transition for form submission feedback */
.contact-form-box .btn-solid {
  transition:
    background-color 0.4s ease,
    transform 0.3s ease,
    opacity 0.3s ease;
}

/* Ensure the success color has white text for contrast */
.contact-form-box .btn-solid[disabled] {
  cursor: default;
  color: white !important;
}

/* Success state for the button */
.btn-sent-success {
  background-color: #48bb78 !important; /* A solid success green */
  color: white !important;
  pointer-events: none;
}

/* Optional: Fade out effect for the form on success */
.form-success-fade {
  opacity: 0.3;
  pointer-events: none;
  transition: 0.5s ease;
}

/* --- IKAN PREMIUM LOADER --- */
.ikan-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; /* Clean white canvas */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 0.6s ease-in-out,
    visibility 0.6s ease-in-out;
}

.loader-logo-pulse {
  height: 120px;
  width: auto;
  animation: ikanPulse 2s infinite ease-in-out;
}

@keyframes ikanPulse {
  0% {
    opacity: 0.4;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0.4;
    transform: scale(0.98);
  }
}

.loader-finished {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none;
}

/* --- ACTIVE NAVIGATION LINK --- */
.nav-links a.active-link {
  color: var(--blue) !important; /* #74bdd6 */
  font-weight: 700;
}

/* Subtle architectural line under the active link */
.nav-links a.active-link::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--blue);
  margin-top: 5px;
}

/* Prevent content flashing before loader finishes */
body.content-hidden {
  opacity: 0;
}

/* --- 1. NORMAL LINKS (Home, About, etc.) --- */
.nav-links a.active-link:not(.nav-btn) {
  color: var(--blue) !important;
  position: relative;
}

.nav-links a.active-link:not(.nav-btn)::after {
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  background-color: var(--blue);
  margin: 0 auto;
  margin-top: 5px;
}

/* --- 2. THE PILOT BUTTON EXCEPTION --- */
.nav-links a.nav-btn.active-link {
  background-color: var(--navy) !important; /* Darker navy for active state */
  color: #ffffff !important;
  position: relative; /* Required to anchor the line */
  transition: all 0.3s ease;
}

/* Add the White Underline INSIDE the button */
.nav-links a.nav-btn.active-link::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 2px;
  width: 50%;
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 2px;
  display: block;
}

/* Hover effect for the active button */
.nav-links a.nav-btn.active-link:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
