/* Custom Properties & Reset */
:root {
  --bg-primary: #F8F9FA;
  --text-primary: #1B263B;
  --text-secondary: #4A5568;
  --accent-gold: #C5A059;
  --accent-gold-hover: #DBC08C;
  --bg-dark: #121A2F;
  --bg-light: #FFFFFF;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo-text {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
}

.accent-text {
  color: var(--accent-gold);
  font-style: italic;
}

.text-gold {
  color: var(--accent-gold);
}

.text-white {
  color: #fff;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 8rem 0;
}

.bg-light {
  background-color: var(--bg-light);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: #fff;
}

.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mt-5 {
  margin-top: 4rem;
}

.divider {
  width: 60px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 1.5rem 0;
}

.center-divider {
  margin: 1.5rem auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-gold);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: var(--text-primary);
  color: #fff;
}

/* Header & Nav */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  background: transparent;
}

#main-header.scrolled {
  background: rgba(248, 249, 250, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  flex: 1;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-right: 40px;
}

.lang-btn.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 65px;
  /* Adjust based on actual logo aspect ratio */
  width: auto;
  transition: var(--transition-smooth);
}

.brand-logo:hover {
  opacity: 0.8;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  padding: 5px;
  text-transform: uppercase;
}

.lang-btn:hover {
  color: var(--accent-gold);
}

.lang-btn.active {
  color: var(--text-primary);
  font-weight: 700;
}

.lang-divider {
  width: 1px;
  height: 12px;
  background-color: rgba(0, 0, 0, 0.2);
}

.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ==========================================================================
   Partners / About Us Section
   ========================================================================== */
.partners-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 992px) {
  .partners-container {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.partner-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 220px;
  margin: 0 auto 2.5rem;
  aspect-ratio: 3/4;
}

.partner-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.img-accent-border {
  position: absolute;
  top: 10px;
  right: -10px;
  bottom: -10px;
  left: 10px;
  border: 2px solid var(--accent-gold);
  border-radius: 4px;
  z-index: 1;
}

.partner-info {
  margin-top: 1.5rem;
}

.partner-credentials {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.partner-bio {
  color: var(--navy-500);
  line-height: 1.7;
}

.social-link:hover {
  color: var(--accent-gold) !important;
}

.menu-toggle .bar {
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--text-primary);
  transition: var(--transition-smooth);
}

.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
  background-color: var(--accent-gold);
}

.menu-toggle.active .bar:nth-child(2) {
  transform: translateY(-8px) rotate(-45deg);
  background-color: var(--accent-gold);
}

#nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background-color: var(--bg-dark);
  transition: right 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

#nav-menu.active {
  right: 0;
  box-shadow: -10px 0 50px rgba(0, 0, 0, 0.2);
}

.nav-links {
  list-style: none;
  text-align: center;
}

.nav-links li {
  margin: 2rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
}

#nav-menu.active .nav-links li {
  opacity: 1;
  transform: translateY(0);
}

#nav-menu.active .nav-links li:nth-child(1) {
  transition-delay: 0.1s;
}

#nav-menu.active .nav-links li:nth-child(2) {
  transition-delay: 0.2s;
}

#nav-menu.active .nav-links li:nth-child(3) {
  transition-delay: 0.3s;
}

#nav-menu.active .nav-links li:nth-child(4) {
  transition-delay: 0.4s;
}

#nav-menu.active .nav-links li:nth-child(5) {
  transition-delay: 0.5s;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 800px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-primary) 0%, rgba(248, 249, 250, 0.85) 50%, rgba(248, 249, 250, 0.2) 100%);
}

.hero-content {
  max-width: 900px;
  padding-top: 100px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 3rem;
  font-weight: 300;
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-lead {
  font-size: 1.4rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.about-text p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-image {
  position: relative;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-accent-border {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--accent-gold);
  z-index: -1;
  transform: translate(0, 0);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-primary);
  padding: 3rem 2rem;
  border-top: 3px solid transparent;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.service-card:hover {
  border-top-color: var(--accent-gold);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.impact-card {
  text-align: left;
}

.service-icon {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(197, 160, 89, 0.2);
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
  color: var(--accent-gold);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-link .arrow {
  transition: transform 0.3s ease;
}

.service-card:hover .service-link .arrow {
  transform: translateX(5px);
  color: var(--accent-gold);
}

/* Insights Section */
.insight-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.insights-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.insight-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 2rem;
}

.insight-item:last-child {
  border-bottom: none;
}

.insight-meta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.insight-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.insight-title a {
  background-image: linear-gradient(var(--text-primary), var(--text-primary));
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.4s ease;
}

.insight-title a:hover {
  background-size: 100% 1px;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}

.read-more:hover {
  color: var(--accent-gold);
}

/* Contact Section */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.contact-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 450px;
}

.detail-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
  display: block;
  margin-bottom: 0.5rem;
}

.detail-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  line-height: 1.4;
}

/* Minimal Form */
.minimal-form {
  position: relative;
}

.input-group {
  position: relative;
  margin-bottom: 2.5rem;
}

.input-group input,
.input-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: #fff;
  transition: var(--transition-smooth);
}

.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
}

.input-group label {
  position: absolute;
  top: 10px;
  left: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.input-group input:focus~label,
.input-group input:not(:placeholder-shown)~label,
.input-group textarea:focus~label,
.input-group textarea:not(:placeholder-shown)~label {
  top: -20px;
  font-size: 0.8rem;
  color: var(--accent-gold);
}

.btn-submit {
  width: 100%;
  margin-top: 1rem;
}

.form-disclaimer {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--bg-dark);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer-logo {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}

.footer-links a {
  margin: 0 1rem;
}

.footer-links a:hover {
  color: #fff;
}

/* Scroll Reveal Animations */
.reveal-text,
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1), transform 1s cubic-bezier(0.215, 0.610, 0.355, 1);
}

.reveal-text.active,
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

.delay-3 {
  transition-delay: 0.6s;
}

/* Credentials Bar */
.credentials-bar {
  background-color: var(--bg-light);
  padding: 3rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.credentials-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.cred-item {
  flex: 1;
  text-align: center;
  min-width: 150px;
}

.cred-logo {
  height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition-smooth);
}

.cred-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.cred-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.1);
}

/* Timeline / Engagement Process */
.process {
  background-color: #f0f2f5;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 3rem auto 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 30px;
  height: 100%;
  width: 2px;
  background-color: rgba(197, 160, 89, 0.2);
}

.timeline-step {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  position: relative;
  background: var(--bg-light);
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.timeline-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--accent-gold);
  line-height: 1;
  background: var(--bg-light);
  z-index: 2;
  position: relative;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.step-desc {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition-smooth);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}

.whatsapp-fab:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Responsive */
@media (max-width: 992px) {

  .about-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .insight-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }

  .footer-container {
    flex-direction: column;
    gap: 1.5rem;
  }
}