@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

html {
  scroll-behavior: smooth;
}


:root {
  --primary: #C5863C;
  /* Golden Yellow (formerly Deep Royal Blue) */
  --accent-gold: linear-gradient(135deg, #C5863C 0%, #C5863C 100%);
  --gold-static: #C5863C;
  --white: #FFFFFF;
  --buttermilk: #dbd1b6;
  --text-dark: #1A1A1A;
  --text-light: #555555;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow-premium: 0 10px 30px rgba(0, 0, 0, 0.1);
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --animation-curve: cubic-bezier(0.22, 1, 0.36, 1);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--buttermilk);
  background-image: url('bb.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.serif {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* --- Layout Utility --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 100px 0;
}

/* --- Section Divider --- */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  position: relative;
  z-index: 1;
  height: 32px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  max-width: 500px;
  background: linear-gradient(90deg, transparent, #0A2E5C 60%, transparent);
}

.section-divider::after {
  background: linear-gradient(90deg, transparent, #0A2E5C 60%, transparent);
  transform: scaleX(-1);
}

.section-divider span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #0A2E5C;
  font-size: 0.65rem;
  flex-shrink: 0;
  transform: rotate(45deg);
  border: 1px solid rgba(10, 46, 92, 0.5);
  background: transparent;
}

#contact-us {
  padding-top: 70px;
  padding-bottom: 30px;
}

/* --- Navigation --- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s ease;
  transition: var(--transition-smooth);
  background: rgba(43, 31, 24, 0.85);
  /* Warm Luxury Brown */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(184, 134, 11, 0.1);
}

nav.sticky {
  background: rgba(30, 20, 15, 0.98);
  /* Darker Brown on Scroll */
  height: 110px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4rem;
}

.logo-group {
  text-decoration: none;
}

.logo-with-image {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-logo-img {
  width: 90px !important;
  height: auto;
  filter: drop-shadow(0 0 5px rgba(197, 134, 60, 0.4));
  transition: all 0.3s ease;
}

.sticky .main-logo-img {
  width: 90px !important;
}

.logo-with-image:hover .main-logo-img {
  transform: scale(1.05);
}

.logo-text-stack {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 1.7rem;
  font-weight: 700;
  background: var(--accent-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  transition: font-size 0.3s ease;
}

.sticky .logo-text {
  font-size: 1.7rem;
}

.tagline {
  font-size: 0.7rem;
  color: #C5863C;
  /* Gold Tagline */
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #C5863C;
  /* Golden Yellow Menu Text */
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a:hover {
  color: #FFFFFF;
  /* White Hover Effect */
}

/* --- Hamburger Menu --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1100;
  padding: 10px;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.menu-toggle:hover {
  background: rgba(197, 134, 60, 0.1);
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background-color: #FFFFFF;
  transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
  background-color: var(--primary);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
  background-color: var(--primary);
}


/* --- Hero Section --- */
.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  flex-direction: column;
}

.hero-bg-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('hero.png') center/cover no-repeat;
  animation: heroKenBurns 15s ease-out forwards;
  z-index: 0;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(184, 134, 11, 0.4), rgba(0, 0, 0, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 20px;
  line-height: 1.1;
  opacity: 0;
  text-align: center;
  transform: translateY(40px);
  animation: fadeInUp 1.2s var(--animation-curve) forwards 0.3s;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0;
  text-align: center;
  transform: translateY(40px);
  animation: fadeInUp 1.2s var(--animation-curve) forwards 0.6s;
}

/* --- Buttons --- */
.btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  opacity: 0;
  animation: fadeInUp 1.2s var(--animation-curve) forwards 0.9s;
}

.btn {
  padding: 18px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--white);
  border: none;
}

.btn-secondary {
  background: var(--accent-gold);
  color: var(--white);
  border: none;
}


.btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* --- Glassmorphism --- */
.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 40px;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(197, 134, 60, 0.3);
}

/* --- Statistics Section --- */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  margin: 60px auto 0;
  max-width: 1000px;
  opacity: 0;
  animation: fadeInUp 1.2s var(--animation-curve) forwards 1.2s;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
}

.whatsapp-hero-stat {
  text-decoration: none;
  position: relative;
  transition: var(--transition-smooth);
}

.whatsapp-pop {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 2.5rem;
  color: #25D366;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(37, 211, 102, 0.4));
}

.whatsapp-hero-stat:hover .whatsapp-pop {
  transform: translateX(-50%) scale(1);
}

.whatsapp-hero-stat:hover h3 {
  color: #25D366;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 0;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border: 1px solid #f0f0f0;
  border-bottom: 4px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  border-bottom: 4px solid #0A2E5C;
  box-shadow: var(--shadow-premium);
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  display: block;
  transition: color 0.2s ease-in-out;
}

.service-card:hover i {
  color: #0A2E5C;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: var(--accent-gold);
}

/* --- Forms --- */
.contact-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.portal-form-content {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
  max-width: 900px;
}

/* --- Vision & Mission Grid --- */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.vm-card {
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  border-top: 4px solid #C5863C;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.vm-icon {
  font-size: 2.5rem;
  color: #C5863C;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.vm-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.vm-card p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

.vm-card:hover {
  background-color: #0A2E5C !important;
  color: #C5863C !important;
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vm-card:hover .vm-icon,
.vm-card:hover h3,
.vm-card:hover p {
  color: #C5863C !important;
}

.contact-form {
  background: #fdfdfd;
  padding: 50px;
  border: 1px solid #eee;
  border-radius: 12px;
  height: 100%;
}

/* --- Portal & Connections Section Enhancements --- */
#portal {
  position: relative;
  overflow: hidden;
  background: transparent;
}

.portal-bg-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: transparent;
  transform-origin: center;
}

.portal-bg-zoom::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(#C5863C 0.8px, transparent 0.8px);
  background-size: 40px 40px;
  opacity: 0.04;
}

@keyframes portalBgScale {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.portal-toggle-group {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-bottom: 80px;
  flex-wrap: wrap;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.portal-card {
  background: #ffffff;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  flex: 1;
  min-width: 320px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  border: 1px solid rgba(197, 134, 60, 0.1);
  cursor: pointer;
  position: relative;
  z-index: 1;
  /* Ensure content is above the zoom layer */
}

.portal-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  border-color: #C5863C;
}

.portal-icon-circle {
  width: 100px;
  height: 100px;
  background: rgba(197, 134, 60, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: var(--transition-smooth);
}

.portal-card:hover .portal-icon-circle {
  background: #C5863C;
  transform: rotate(10deg);
}

.portal-card i {
  font-size: 3rem;
  color: #0A2E5C;
  transition: var(--transition-smooth);
}

.portal-card:hover i {
  color: #ffffff;
}

.portal-card h3 {
  font-size: 2rem;
  color: #0A2E5C;
  margin-bottom: 5px;
}

.portal-card .card-desc {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.5;
  max-width: 280px;
  margin-bottom: 5px;
}

.portal-card .btn-gold {
  background: #C5863C;
  color: #ffffff;
  padding: 14px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  border: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(197, 134, 60, 0.2);
  margin-top: 10px;
}

.portal-card:hover .btn-gold {
  background: #0A2E5C;
  box-shadow: 0 10px 25px rgba(10, 46, 92, 0.2);
}

.portal-card.active {
  border-color: #C5863C;
  background: #fdfdfd;
}

.portal-card.active .portal-icon-circle {
  background: #C5863C;
}

.portal-card.active i {
  color: #fff;
}



.portal-form-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

/* Custom File Upload Styling */
input[type="file"]::file-selector-button {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  margin-right: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  font-weight: 600;
}

input[type="file"]::file-selector-button:hover {
  background: #002366;
  transform: translateY(-2px);
}

.form-section-title {
  margin-bottom: 30px;
  font-size: 1.8rem;
  color: var(--primary);
  border-bottom: 2px solid var(--gold-static);
  padding-bottom: 10px;
  display: inline-block;
}

.success-message {
  display: none;
  padding: 30px;
  background: #e6f4ea;
  color: #1e4620;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #c3e6cb;
  margin-top: 20px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    filter: blur(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

/* --- Services Specific --- */
.service-category-title {
  margin: 40px 0 20px;
  font-size: 2rem;
  color: #000000;
  position: relative;
  padding-left: 20px;
}

.service-category-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 4px;
  background: var(--accent-gold);
}

.why-choose-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.why-choose-item {
  padding: 30px;
  border: 1px solid #f0f0f0;
  background: #fff;
  transition: var(--transition-smooth);
  text-align: center;
}

.why-choose-item:hover {
  box-shadow: var(--shadow-premium);
  border-color: var(--gold-static);
}

.why-choose-item i {
  display: block;
  margin-bottom: 15px;
  font-size: 2.5rem;
  color: var(--gold-static);
}

/* --- Mobile & Responsive Design --- */
@media (max-width: 1100px) {
  nav {
    height: 80px;
    background: linear-gradient(to bottom, rgba(15, 10, 8, 0.95), rgba(15, 10, 8, 0.8));
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
  }

  .nav-container {
    padding: 0 2rem;
    justify-content: space-between;
  }

  .logo-group {
    max-width: 80%;
  }

  .logo-text {
    font-size: 1.3rem !important;
  }

  .menu-toggle {
    display: flex !important;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(15, 12, 10, 0.96);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: all 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    z-index: 1000;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.6);
    border-left: 1px solid rgba(197, 134, 60, 0.2);
    opacity: 0;
    visibility: hidden;
    padding: 3rem;
  }

  .nav-links.active {
    right: 0;
    opacity: 1;
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 2px;
  }
}

@media (max-width: 968px) {
  .section-padding {
    padding: 60px 0;
  }

  /* Prevent horizontal overflow */
  html,
  body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
  }

  /* Container Side Padding */
  .container {
    padding: 0 20px !important;
    width: 100%;
    max-width: 100%;
  }

  /* Section Spacing */
  .section-padding {
    padding: 80px 0 100px;
  }

  .nav-container {
    padding: 0 1.5rem;
    justify-content: space-between;
    position: relative;
    width: 100%;
  }

  .logo-group {
    align-items: flex-start;
    text-align: left;
    max-width: 80%;
  }

  .logo-text {
    font-size: 1.1rem !important;
    letter-spacing: 1.5px;
    white-space: normal;
    line-height: 1.2;
    margin: 0 !important;
  }

  .tagline {
    font-size: 0.5rem !important;
    letter-spacing: 0.5px;
    margin: 4px 0 0 0 !important;
  }

  /* Hamburger Menu Position Fix */
  .menu-toggle {
    position: relative;
    right: 0;
    top: 0;
    transform: none;
    display: flex !important;
  }

  /* Hero Section Mobile Fixes */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 140px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-attachment: scroll;
  }

  .hero-overlay {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(43, 31, 24, 0.85) 50%,
        rgba(10, 5, 0, 0.9) 100%);
    backdrop-filter: blur(2px);
  }

  .hero-content {
    width: 100%;
    padding: 0;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 2.3rem !important;
    line-height: 1.2;
    margin-bottom: 30px;
    width: 100%;
    font-weight: 800;
    letter-spacing: -0.01em;
  }

  .hero p {
    font-size: 1.1rem !important;
    line-height: 1.4;
    margin-bottom: 50px;
    padding: 0 10px;
    color: rgba(255, 255, 255, 0.9);
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    padding: 0 10px;
    margin: 0 auto;
    gap: 20px;
  }

  .btn {
    width: 95% !important;
    padding: 20px 25px !important;
    border-radius: 999px !important;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .btn:hover,
  .btn:active {
    transform: scale(1.02);
  }

  /* Stats Section 2x2 Grid */
  .stats {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 30px !important;
    margin: 50px auto 0 !important;
    max-width: 100% !important;
    padding: 0;
  }

  .stat-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(197, 134, 60, 0.15);
    padding: 20px 10px;
    border-radius: 12px;
    width: 100%;
    min-height: 110px;
    /* Ensure uniform height for all boxes */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .stat-item h3 {
    font-size: 1.5rem !important;
    color: #C5863C;
    margin-bottom: 5px;
    text-align: center;
  }

  .stat-item p {
    font-size: 0.65rem !important;
    letter-spacing: 1.5px;
    text-align: center;
    font-family: 'Inter', sans-serif;
  }

  /* Typography Refinement */
  h1,
  h2,
  h3,
  .serif {
    text-align: center !important;
  }

  h1 {
    font-size: 2.2rem !important;
  }

  h2 {
    font-size: 2rem !important;
    margin-bottom: 15px !important;
  }

  h3 {
    font-size: 1.7rem !important;
  }

  .section-header {
    margin-bottom: 50px;
    text-align: center;
  }

  .section-header h2 {
    font-size: 1.95rem !important;
    margin-bottom: 15px;
  }

  .section-header p {
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 auto;
  }

  .service-category-title {
    padding-left: 0 !important;
    text-align: center !important;
  }

  .service-category-title::before {
    display: none !important;
  }

  /* Portal & Cards */
  .portal-toggle-group {
    gap: 20px;
  }

  .portal-card {
    min-width: 100%;
    padding: 30px 20px;
  }

  .contact-form {
    padding: 25px 15px;
  }

  /* Grid Fixes for Services/About */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px !important;
  }

  .why-choose-list {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .service-card {
    padding: 25px 15px !important;
    /* Slightly varied padding */
    border-radius: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    transition: transform 0.3s ease;
  }

  /* Mismatched/Staggered Effect */
  .services-grid .service-card:nth-child(even) {
    margin-top: 35px;
    background: #fdfdfd;
    border-bottom: 3px solid var(--accent-gold);
  }

  .services-grid .service-card:nth-child(odd) {
    margin-bottom: 25px;
    transform: translateY(-5px);
    background: #fafafa;
    border-top: 3px solid var(--accent-gold);
  }

  /* Extreme asymmetry for third columns */
  .services-grid .service-card:nth-child(3n) {
    margin-top: 20px;
    transform: scale(0.95);
  }

  .service-card p {
    display: none !important;
  }

  .service-card i {
    font-size: 1.8rem !important;
    margin-bottom: 10px !important;
  }

  .service-card h3 {
    font-size: 1.1rem !important;
    margin-bottom: 0 !important;
    letter-spacing: 0.5px;
  }

  /* Vision & Mission Cards - Vertically Stacked & Premium */
  .vision-mission-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    /* Premium spacing between cards */
    margin-top: 40px;
  }

  .vm-card {
    padding: 35px 25px !important;
    /* Premium card padding */
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: #0A2E5C !important;
    border-top: 5px solid #C5863C;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #C5863C !important;
  }

  .vm-card h3,
  .vm-card p,
  .vm-card .vm-icon {
    color: #C5863C !important;
  }

  .vm-card h3 {
    font-size: 1.8rem !important;
    margin-bottom: 15px;
  }

  .vm-card p {
    font-size: 1.05rem !important;
    line-height: 1.7;
    font-style: italic;
  }

  /* Specific responsiveness for About Page Intro and similar sections */
  [style*="grid-template-columns: 1fr 1fr"]:not(.vision-mission-grid):not(.container) {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  .container[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  [style*="height: 450px"] {
    height: 320px !important;
    margin-top: 20px;
  }

  /* Tap Refinement for Luxury Feel */
  .btn,
  .stat-item,
  .service-card,
  .vm-card,
  .nav-links a {
    -webkit-tap-highlight-color: transparent;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.1rem !important;
  }

  .section-padding {
    padding: 80px 0;
  }
}

/* --- Contact Page / Section Styles --- */
.contact-page-container {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 50px auto 0;
  gap: 40px;
  padding: 0 2rem 80px;
  width: 100%;
}

.contact-info-box {
  background: linear-gradient(180deg, #0A2E5C 0%, #08264a 100%);
  color: #ffffff;
  padding: 60px 55px;
  border-radius: 24px;
  border: 1px solid rgba(197, 134, 60, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #C5863C, transparent);
}

.contact-info-box::after {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(197, 134, 60, 0.18), transparent 70%);
  pointer-events: none;
}

.info-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.35s ease;
}

.info-item i {
  width: 58px;
  height: 58px;
  min-width: 58px;
  background: rgba(197, 134, 60, 0.14);
  color: #C5863C;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  transition: all 0.35s ease;
}

.info-item:hover i {
  transform: translateY(-3px) scale(1.04);
  background: #C5863C;
  color: #0A2E5C;
  box-shadow: 0 15px 35px rgba(197, 134, 60, 0.35);
}

.info-item a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.info-item a:hover {
  color: #0A2E5C;
}

.social-connect {
  margin-top: 35px;
  padding-top: 28px;
  border-top: 1px solid rgba(197, 134, 60, 0.25);
}

.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: linear-gradient(135deg, #C5863C, #8B5E2A);
  color: #fff;
  padding: 18px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.6px;
  transition: all 0.35s ease;
  box-shadow: 0 14px 30px rgba(197, 134, 60, 0.26);
}

.instagram-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(197, 134, 60, 0.38);
}

@media (max-width: 968px) {
  .contact-page-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 0 60px;
    /* Removed side padding to avoid double-padding with .container */
    width: 100%;
  }

  .contact-info-box {
    padding: 30px 20px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .info-item {
    flex-direction: row-reverse;
    justify-content: space-between;
    align-items: center;
    text-align: right;
    padding: 20px 15px;
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .info-item div {
    text-align: right;
    width: auto;
    flex: 1;
  }

  .contact-title {
    text-align: center;
    font-size: 1.8rem;
    word-wrap: break-word;
  }

  .contact-title::after {
    margin: 12px auto 0;
  }
}

/* --- Copyright Section --- */
.footer-copyright {
  background-color: #0A2E5C;
  padding: 80px 0 40px;
  width: 100%;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1400px;
  margin: 0 auto 60px;
  padding: 0 4rem;
}

.footer-logo {
  max-width: 320px;
  height: auto;
  opacity: 1;
}

.footer-links {
  flex: 1;
  text-align: center;
}

.footer-social {
  text-align: right;
  min-width: 250px;
}

.footer-social h2,
.footer-links h2 {
  color: #C5863C;
  font-size: 1.15rem;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.social-icons {
  display: flex;
  gap: 25px;
  justify-content: flex-end;
  margin-top: 15px;
}

.social-icons a {
  text-decoration: none;
}

.social-icons i {
  font-size: 1.6rem;
  color: #C5863C;
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-icons a:hover i {
  color: #ffffff;
  transform: translateY(-5px) scale(1.1);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  color: #C5863C;
  transform: translateX(5px);
  display: inline-block;
}

.copyright-divider {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto 30px;
  height: 1px;
  background: rgba(197, 134, 60, 0.2);
  border: none;
}

.copyright-text {
  color: #C5863C;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  margin: 0;
  text-transform: uppercase;
  text-align: center;
  opacity: 0.8;
}

.meet-developers {
  display: block;
  margin-top: 20px;
  color: #C5863C;
  font-size: 0.7rem;
  text-decoration: none;
  opacity: 0.5;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
  text-align: center;
}

.meet-developers:hover {
  opacity: 0.9;
  letter-spacing: 2px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-copyright {
    padding: 60px 15px 30px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
  }

  .footer-links {
    text-align: center;
    flex: none;
  }

  .footer-social {
    display: none !important;
  }
}

.contact-title {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 40px;
  position: relative;
  text-align: left;
}


.contact-title::after {
  content: "";
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, #C5863C, transparent);
  display: block;
  margin-top: 12px;
}

.info-item {
  padding: 15px 20px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(197, 134, 60, 0.05);
}

.contact-bg {
  background: transparent;
}

.info-item h4 {
  font-size: 0.9rem;
  color: #C5863C;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item p,
.info-item a {
  color: #ffffff;
  font-size: 1.08rem;
  text-decoration: none;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

.info-item div {
  text-align: left;
}

.social-heading {
  margin-bottom: 20px;
  color: #C5863C;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- About Page Special Animations --- */
.about-image-wrapper {
  position: relative;
  height: 450px;
  border-radius: 12px;
  overflow: hidden;
  background: #031e41;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-logo-overlay {
  position: absolute;
  width: 180px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.85);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  filter: drop-shadow(0 12px 35px rgba(0, 0, 0, 0.35));
}

.about-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  opacity: 0;
  transform: scale(1.05);
}

/* Trigger animations only when AOS triggers the parent */
.about-image-wrapper.aos-animate .about-logo-overlay {
  animation: logoFirstReveal 3.0s ease forwards;
}

.about-image-wrapper.aos-animate .about-main-img {
  animation: imageAfterLogo 1.2s ease forwards;
  animation-delay: 1.2s;
}

@keyframes logoFirstReveal {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.6);
  }

  25% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes imageAfterLogo {
  0% {
    opacity: 0;
    transform: scale(1.05);
    filter: blur(8px);
  }

  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: transform 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 25px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
}