@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;600&display=swap');

html {
  font-size: 92.5%; /* Base: 14.8px */
  overflow-x: hidden; /* Must be on BOTH html AND body to prevent horizontal scroll gap */
}

@media (min-width: 1920px) {
  html {
    font-size: 110%; /* Scale up for large screens */
  }
}

@media (min-width: 2560px) {
  html {
    font-size: 130%; /* Optimal for 2.5K and 4K displays */
  }
}

:root {
  --primary: #2EC4B6;
  --secondary: #90DBF4;
  --accent: #7B61FF;
  --bg: #F7FAFC;
  --text: #1F2933;
  --white: #FFFFFF;
  --radius: 18px;
  --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-mobile-only {
  display: none !important;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.8rem;
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 2560px) {
  .container {
    max-width: 2000px;
  }
}

section {
  padding: 90px 0;
  /* Balanced padding */
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 45px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  white-space: nowrap; /* Never break button text to two lines */
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #24b0a3);
  color: var(--white);
  box-shadow: 0 9px 18px rgba(46, 196, 182, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 26px rgba(46, 196, 182, 0.4);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 9px 18px rgba(123, 97, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 26px rgba(123, 97, 255, 0.4);
}

/* Glassmorphism Navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0rem 0;
  transition: var(--transition);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 1.5rem; /* Ensure minimum spacing between all header items */
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  display: flex;
  gap: 0.75rem;
  align-items: center;
  transition: var(--transition);
  white-space: nowrap;
}

.logo img,
.footer-logo img {
  height: 89px;
  width: auto;
  border-radius: 6px;
  object-fit: contain;
}

.logo span {
  color: var(--primary);
}

/* On desktop: nav-links takes available space and centers the ul */
.nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-actions {
  flex-shrink: 0; /* Prevent the button from being squished */
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  flex-wrap: nowrap;
  align-items: center;
}

@media (max-width: 1024px) {
  nav ul {
    flex-direction: column;
    gap: 1.8rem;
  }
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text);
  z-index: 2100;
}

nav ul li a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  font-size: 0.9rem;
  white-space: nowrap; /* Prevent link text from breaking to a second line */
}

nav ul li a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  background: var(--accent);
  bottom: -3px;
  left: 0;
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--accent);
}

nav ul li a:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.social-icons a {
  color: var(--text);
  font-size: 1.15rem;
  transition: var(--transition);
  text-decoration: none;
}

.social-icons a:hover {
  color: var(--accent);
  transform: translateY(-2px);
}

/* Dropdown Menu */
.has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--white);
  min-width: 250px;
  border-radius: 15px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  padding: 1.2rem 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  z-index: 1100;
  border: 1px solid rgba(0,0,0,0.04);
  list-style: none;
  display: block !important; /* Override mobile display: none if inherited */
}

.dropdown::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid var(--white);
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(5px);
}

.dropdown li {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.dropdown li a {
  display: block !important;
  padding: 0.85rem 1.8rem !important;
  color: var(--text) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: var(--transition) !important;
  white-space: nowrap;
}

.dropdown li a::after {
  display: none !important; /* Remove the underline animation for dropdown links */
}

.dropdown li a:hover {
  background: rgba(46, 196, 182, 0.05) !important;
  color: var(--primary) !important;
  padding-left: 2.2rem !important;
}

/* Tablet/Mobile Dropdown Adjustments */
@media (max-width: 1024px) {
  .has-dropdown {
    width: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .dropdown {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(46, 196, 182, 0.08) !important;
    width: 100% !important;
    min-width: 100% !important;
    padding: 0.5rem 0 !important;
    margin: 0.8rem 0 0 0 !important;
    border-radius: 12px !important;
    border: none !important;
    display: none !important; 
    left: auto !important;
  }
  
  .has-dropdown.active .dropdown {
    display: block !important;
  }
  
  .dropdown li {
    width: 100% !important;
    text-align: center !important;
  }

  .dropdown li a {
    text-align: center !important;
    padding: 0.8rem 1rem !important;
    width: 100% !important;
  }

  .has-dropdown.active > a i {
    transform: rotate(180deg);
  }
}


/* Banner Slider Section */
.banner-slider {
  position: relative;
  width: 100%;
  height: 100vh;     /* True full-screen — navbar transparently overlays */
  margin: 0;
  padding: 0;        /* No padding — image goes edge-to-edge from top */
  overflow: hidden;
  background: var(--white);
}

/* Large screens — let the banner be taller */
@media (min-width: 1920px) {
  .banner-slider {
    height: 100vh;
    max-height: 1000px;
  }
}

/* Tablet (768px – 1024px) */
@media (max-width: 1024px) {
  .banner-slider {
    height: 75vh;
  }
}

/* Mobile (≤ 767px) */
@media (max-width: 767px) {
  .banner-slider {
    height: 60vh;
    min-height: 280px;
  }
}

/* Very small screens */
@media (max-width: 480px) {
  .banner-slider {
    height: 55vh;
    min-height: 240px;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  margin-top: 80px;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0,0,0,0.05);
  pointer-events: none;
}

/* Slider navigation dots */
.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dot.active {
  background: var(--white);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
}

/* Larger touch-friendly dots on mobile */
@media (max-width: 768px) {
  .slider-dots {
    bottom: 16px;
    gap: 14px;
  }
  .dot {
    width: 12px;
    height: 12px;
  }
}


/* Hero Section */
.hero {
  min-height: auto;
  /* Changed from 90vh since we have a banner now */
  display: flex;
  align-items: center;
  padding: 60px 0;
  /* Reduced padding */
  position: relative;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  z-index: -1;
  opacity: 0.15; /* Subtler bloob */
  animation: float 10s ease-in-out infinite;
}

.blob-1 {
  width: min(540px, 80vw);
  height: min(540px, 80vw);
  background: var(--secondary);
  top: -90px;
  right: -90px;
  border-radius: 50%;
}

.blob-2 {
  width: min(450px, 70vw);
  height: min(450px, 70vw);
  background: var(--primary);
  opacity: 0.2;
  bottom: -45px;
  left: -90px;
  border-radius: 50%;
  animation-delay: -5s;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.35rem;
  letter-spacing: -1.35px;
  color: var(--text);
}

.hero-content p {
  font-size: 1.1rem;
  color: #4A5568;
  margin-bottom: 1.8rem;
}

.hero-content .highlight {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 2.25rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.35rem;
  background: linear-gradient(90deg, rgba(123, 97, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
  padding-top: 9px;
  padding-bottom: 9px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 27px 54px rgba(0, 0, 0, 0.1);
  transform: perspective(900px) rotateY(-8deg);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-image:hover img {
  transform: perspective(900px) rotateY(0deg) translateY(-9px);
}

/* Hero image sizing on tablet — single column makes it too tall */
@media (max-width: 1024px) {
  .hero-image img {
    aspect-ratio: 16/9; /* Wider ratio reduces height */
    transform: none; /* Remove 3D perspective on mobile */
    max-height: 380px;
  }
  .hero-image { max-width: 600px; margin: 0 auto; } /* Center and cap width */
  .hero-image:hover img { transform: none; }
}

@media (max-width: 600px) {
  .hero-image img {
    aspect-ratio: 16/9;
    max-height: 260px;
  }
}

/* About Section Wrapper */
.about-wrapper {
  background: linear-gradient(rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.65)), url('images/bg-img2.avif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  overflow: hidden; /* Prevent any child from bleeding beyond section width */
}

/* About Section */
.about {
  background: var(--white);
  border-radius: 45px;
  margin: 0 1.8rem;
  padding: 40px 45px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden; /* Clip the image if it ever bleeds */
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-img {
  width: 100%;
  aspect-ratio: 8/7;
  object-fit: cover;
  border-radius: calc(var(--radius) * 1.5);
  box-shadow: 0 18px 36px rgba(46, 196, 182, 0.15);
}

.about-content {
  padding: 0.5rem 0;
}

.about-content h2 {
  font-size: 2.7rem;
  margin-bottom: 1.5rem;
  color: var(--text);
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Services / Offerings */
.offerings {
  position: relative;
  background-color: var(--bg);
}

.section-header {
  text-align: center;
  max-width: 630px;
  margin: 0 auto 3.6rem auto;
}

.section-header h2 {
  font-size: 2.7rem;
  margin-bottom: 0.9rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #4A5568;
}

.offerings-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem;
}

.offering-card {
  width: calc(33.333% - 1.5rem);
  min-width: 288px;
  max-width: 360px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 13px 31px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
}

.offering-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 45px rgba(46, 196, 182, 0.15);
  border-color: var(--primary);
}

.offering-img {
  width: 100%;
  height: 216px;
  object-fit: cover;
  transition: var(--transition);
}

.offering-card:hover .offering-img {
  transform: scale(1.05);
}

.img-wrapper {
  overflow: hidden;
}

.img-wrapper.img-contain {
  height: 216px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.img-wrapper.img-contain .offering-img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.img-wrapper.img-zoom .offering-img {
  transform: scale(1.4);
}

.offering-card:hover .img-zoom .offering-img {
  transform: scale(1.5);
}

.img-wrapper.img-bench {
  height: 180px;
}

.img-wrapper.img-bench .offering-img {
  transform: scale(1.0);
}

.offering-card:hover .img-bench .offering-img {
  transform: scale(1.1);
}

.offering-content {
  padding: 2.25rem;
  flex-grow: 1;
}

.offering-content h3 {
  font-size: 1.45rem;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.offering-content p {
  color: #4A5568;
  font-size: 1rem;
}

/* Why Choose Us & Approach Layout */
.why-approach {
  background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)), url('images/bg-img.avif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 120px 0;
  position: relative;
  overflow: hidden; /* Clip any decorative elements bleeding beyond section */
}

.why-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.6rem;
  margin-bottom: 5.4rem;
}

.why-text {
  text-align: center;
  max-width: 850px;
  background: var(--white);
  padding: 3.5rem;
  border-radius: calc(var(--radius) * 1.5);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.why-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.35rem;
}

.why-text p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.8rem;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 2.25rem;
}

.feature-box {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius);
  box-shadow: 0 9px 27px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 13px 36px rgba(123, 97, 255, 0.1);
}

.feature-box h4 {
  font-size: 1.25rem;
  margin-bottom: 0.9rem;
  color: var(--text);
}

.feature-box p {
  color: #4A5568;
  font-size: 1rem;
}

.approach-box {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 4.5rem;
  border-radius: calc(var(--radius) * 1.5);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(123, 97, 255, 0.2);
}

.approach-box h2 {
  font-size: 2.7rem;
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 2;
}

.approach-box p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 1.35rem auto;
  position: relative;
  z-index: 2;
  opacity: 0.95;
}

.approach-box::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 270px;
  height: 270px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.approach-box::after {
  content: '';
  position: absolute;
  bottom: -45px;
  left: -45px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}



/* Footer & Bottom Strip */
/* Redesigned CTA Section */
.cta-section {
  padding: 100px 0;
  background: var(--white);
}

.cta-container {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  padding: 80px 40px;
  border-radius: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(123, 97, 255, 0.2);
}

.cta-container::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -90px;
  width: 270px;
  height: 270px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.cta-container::after {
  content: '';
  position: absolute;
  bottom: -45px;
  left: -45px;
  width: 180px;
  height: 180px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  z-index: 1;
}

.cta-container h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.cta-container p {
  font-size: 1.25rem;
  max-width: 800px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* Redesigned Multi-Column Footer */
footer {
  background: #0B1114;
  color: #A0AEC0;
  padding: 100px 0 0;
  font-family: 'Inter', sans-serif;
}

footer .container {
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem; /* Reduced gap for better fit */
  margin-bottom: 80px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 2.25rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (min-width: 1025px) {
  .footer-about {
    margin-left: -6rem;
  }
}

.footer-about .logo {
  margin-left: -22px; /* Offsets transparent space in the image to align perfectly with the paragraph */
}

.footer-about p {
  line-height: 1.8;
  margin-bottom: 2rem;
}

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

.footer-col ul li {
  margin-bottom: 1.15rem;
}

.footer-col ul li a {
  color: #A0AEC0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--primary);
  transform: translateX(8px);
}

.footer-contact li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 1.5rem !important;
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 4px;
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  margin-top: 2rem;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-5px);
}

.bottom-strip {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
}

.bottom-content a {
  color: inherit; /* Removes the default blue color */
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.bottom-content a:hover {
  color: var(--accent);
}

.bottom-links {
  display: flex;
  gap: 2rem;
}

.bottom-links a {
  color: #718096;
  text-decoration: none;
  transition: color 0.3s ease;
}

.bottom-links a:hover {
  color: var(--white);
}


/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-27px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* --- CONSOLIDATED RESPONSIVE RULES --- */

/* Ultrawide Scaling (2560px+) */
@media (min-width: 2560px) {
  html { font-size: 130%; }
  .container { max-width: 2200px; }
}

/* Large Desktop (1920px) */
@media (min-width: 1920px) {
  html { font-size: 110%; }
  .container { max-width: 1700px; }
}

/* Large Mobile / Tablet (1024px and below) */
@media (max-width: 1024px) {
  .header-actions { display: none !important; } /* Hide sticky button earlier to prevent header crowding */
  .btn-mobile-only { display: inline-flex !important; }
  .mobile-toggle { display: block !important; }
  
  .nav-links {
    display: block !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 100px 2rem;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    z-index: 2000;
    visibility: visible;
  }

  .nav-links.active {
    right: 0 !important;
  }

  nav ul {
    flex-direction: column;
    gap: 1.8rem;
  }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .hero-grid, .about-grid, .why-grid { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 3.1rem; }
  .about, .approach-box { padding: 40px 30px; }
  .cta-container { padding: 4rem 2rem; }
}

/* Responsive Grid / Scaling (768px and below) */
@media (max-width: 768px) {
  .logo span { display: none !important; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-col { text-align: center; }
  .footer-social { justify-content: center; }
  .footer-contact li { 
    display: block; 
  }
  .footer-contact i {
    margin-right: 8px;
    margin-top: 0;
  }
  .hero-content h1 { font-size: 2.5rem; }
  .section-header h2 { font-size: 2.25rem; }
  .feature-box, .offering-card { padding: 1.5rem; }
  .cta-container h2 { font-size: 2.25rem; }
  .cta-container { padding: 3rem 1.5rem; }
  .footer-top { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-links { flex-direction: column; gap: 0.8rem; }

  /* About section mobile fixes */
  .about {
    margin: 0 1rem;
    padding: 30px 24px;
    border-radius: 28px;
  }
  .about-grid { gap: 2rem; }
  .about-content h2 { font-size: 2rem; }
  .about-content p { font-size: 1rem; }
  .about-wrapper { padding: 60px 0; }

  /* Why / Features section mobile fixes */
  .why-approach { padding: 60px 0; }
  .why-grid { gap: 2rem; margin-bottom: 3rem; }
  .why-text { padding: 2rem 1.5rem; }
  .why-text h2 { font-size: 2rem; }
  .why-text p { font-size: 1rem; }
  .approach-box { padding: 3rem 2rem; border-radius: 24px; }
  .approach-box h2 { font-size: 2rem; }
  .approach-box p { font-size: 1rem; }
}

/* Mobile Layout Scaling (600px and below) */
@media (max-width: 600px) {
  .logo span { display: none !important; }
  /* Switch features to single column — two columns are too narrow at this width */
  .features { grid-template-columns: 1fr; gap: 1.25rem; }
  .feature-box { padding: 1.5rem 1.25rem; }
  .feature-box h4 { font-size: 1.1rem; }
  .why-text { padding: 1.75rem 1.25rem; border-radius: 20px; }
  .why-text h2 { font-size: 1.75rem; }
  .approach-box { padding: 2.5rem 1.5rem; border-radius: 20px; }
  .approach-box h2 { font-size: 1.75rem; }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .logo { font-size: 1.15rem; gap: 8px; }
  .logo img { height: 38px; }
  .banner-slider { padding-top: 70px; }
  .slider-container { margin-top: 0px; }

  /* About section extra tightening */
  .about {
    margin: 0 0.75rem;
    padding: 24px 18px;
    border-radius: 20px;
  }
  .about-grid { gap: 1.5rem; }
  .about-content h2 { font-size: 1.75rem; }
  .about-img { aspect-ratio: 16/9; } /* Landscape ratio takes less vertical space */
  .about-wrapper { padding: 40px 0; }
}

/* Small Mobile (360px and below) */
@media (max-width: 360px) {
  .logo { font-size: 1.05rem; }
  .logo img { height: 32px; }
  .banner-slider { padding-top: 60px; }
  .slider-container { margin-top: 0px; }
}

/* Extremely Small Mobile (320px) */
@media (max-width: 320px) {
  .logo { font-size: 0.95rem; }
  .logo img { height: 28px; }
  .banner-slider { padding-top: 55px; }
  .slider-container { margin-top: 0px; }
}

/* Global Aesthetics Cleanup */
.hero-blob { filter: none !important; } 
.about, .why-text, .feature-box, header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Premium Floating Social Actions */
.floating-actions {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.social-action-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-action-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  color: var(--white);
}

.whatsapp-btn {
  background-color: #25D366;
}

.phone-btn {
  background-color: var(--primary);
}

.email-btn {
  background-color: var(--accent);
}

@media (max-width: 768px) {
  .floating-actions {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  .social-action-btn {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }
}

/* Policy Pages (Privacy, Terms) */
.policy-page {
  background: #F8FAFC;
}

.policy-hero {
  padding: 200px 0 120px;
  background: #FFFFFF;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.policy-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.policy-hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
}

.policy-hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  letter-spacing: -2px;
  position: relative;
  z-index: 1;
}

.policy-hero p {
  color: #64748B;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
}

.policy-content {
  padding: 0 0 140px;
  margin-top: -60px;
}

.policy-card {
  background: var(--white);
  padding: clamp(2.5rem, 6vw, 5.5rem);
  border-radius: 45px;
  box-shadow: 0 50px 120px rgba(31, 41, 51, 0.08);
  border: 1px solid rgba(0,0,0,0.02);
  position: relative;
  z-index: 10;
}

.policy-wrap {
  max-width: 860px;
  margin: 0 auto;
}

.policy-wrap h2 {
  font-size: 2.2rem;
  color: var(--text);
  margin-top: 4.5rem;
  margin-bottom: 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 20px;
  letter-spacing: -0.5px;
}

.policy-wrap h2::before {
  content: "";
  height: 4px;
  width: 45px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  display: inline-block;
  border-radius: 10px;
}

.policy-wrap h3 {
  font-size: 1.45rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
}

.policy-wrap p {
  color: #4A5568;
  line-height: 1.9;
  font-size: 1.1rem;
  margin-bottom: 1.8rem;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  gap: 1rem;
}

.policy-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 1.25rem;
  background: #F8FAFC;
  border-radius: 20px;
  color: #4A5568;
  line-height: 1.6;
  transition: transform 0.3s ease;
}

.policy-list li:hover {
  transform: translateX(10px);
  background: #FFFFFF;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.policy-list li i {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
}

@media (max-width: 992px) {
  .policy-hero h1 { font-size: 3.5rem; }
  .policy-card { padding: 3rem 2rem; border-radius: 35px; }
}

@media (max-width: 768px) {
  .policy-hero { padding: 160px 0 100px; }
  .policy-wrap h2 { font-size: 1.8rem; margin-top: 3.5rem; }
  .policy-wrap h2::before { width: 30px; }
  .policy-list li:hover { transform: none; }
}
