:root {
  /* Colors */
  --color-primary: #1DC0AD; /* Teal Accent */
  --color-primary-hover: #179b8c;
  --color-bg-light: #FFFFFF;
  --color-bg-alt: #F2F2F2;
  --color-bg-header: rgba(234, 234, 234, 0.95);
  --color-text-dark: #222222;
  --color-text-body: #333333;
  --color-text-light: #FFFFFF;

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Poppins', sans-serif;
  
  /* Sizes & Specs */
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  line-height: 1.6;
  background-color: var(--color-bg-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: color var(--transition-speed);
}

a:hover {
  color: var(--color-primary-hover);
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style-position: inside;
}

/* Reusable Components */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 12px 28px;
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(29, 192, 173, 0.3);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--color-primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Header & Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2; /* Ensures the grey area is visible exactly like the original */
  z-index: 1000;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  padding: 40px 0; /* Huge padding to make the header massive */
}

header.scrolled {
  background-color: #ededed;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08); /* slight shadow only when scrolled */
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; /* Spans the entire screen */
  padding: 0 40px; /* Locks elements strongly to left and right edges */
}

.logo img {
  height: 95px; /* Extremely large to match original scale */
  width: auto;
  display: block;
}

.menu-button {
  width: 60px;
  height: 60px;
  background-color: #2b3748;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  z-index: 1001;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.menu-button:hover {
  transform: scale(1.05);
  background-color: #3e4d61;
}

.menu-button .bar {
  width: 26px;
  height: 3px;
  background-color: #fff;
  transition: all 0.3s ease;
}

.menu-button.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu-button.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-button.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4); /* Click catcher dim */
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1005;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.nav-popup {
  position: fixed;
  top: 30px;
  right: 30px;
  width: 480px;
  max-width: 90vw;
  background-color: var(--color-primary); /* Bright Teal Solid */
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  padding: 50px 40px 40px;
}

.nav-overlay.active .nav-popup {
  transform: translateY(0);
  opacity: 1;
}

.close-menu-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  width: 36px;
  height: 36px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.close-menu-btn:hover {
  background-color: #000;
}

.nav-popup-content {
  display: flex;
  flex-direction: column;
  margin-top: 15px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 15px; /* Tighter spacing */
  text-align: left;
}

.nav-links a {
  color: #333333; /* Dark gray text */
  font-family: var(--font-heading);
  font-size: 1.1rem; /* Much smaller font size */
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px; /* Slightly reduced letter spacing */
}

.nav-links a:hover {
  color: #000000;
}

.overlay-contact {
  margin-top: 40px; /* Reduced margin */
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem; /* Much smaller font size */
  font-weight: 700;
}

.overlay-contact a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

/* Hero Section */
.hero {
  height: calc(100vh - 175px);
  margin-top: 175px; /* Offset for the massively sized fixed grey header */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('assets/homepage.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  padding: 0 20px;
}

.hero h1 {
  color: var(--color-text-light);
  font-size: 3.5rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 20px;
  animation: fadeUp 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto 30px;
  opacity: 0.9;
  animation: fadeUp 1s ease-out 0.2s backwards;
}

.hero .btn-primary {
  animation: fadeUp 1s ease-out 0.4s backwards;
}

/* About Intro Section */
.about-intro {
  padding: 100px 20px;
  background-color: var(--color-bg-alt); /* Light gray #f2f2f2 background */
  text-align: center;
}

.about-intro .container {
  max-width: 1000px; /* Unified centralized layout width */
  margin: 0 auto;
}

.about-intro h2 {
  font-size: 4.8rem;
  font-weight: 600;
  color: #2b3748;
  margin-bottom: 5px;
}

.about-intro h2 span {
  color: var(--color-primary); /* Teal colored "Us" */
}

.title-underline {
  width: 50px;
  height: 4px;
  background-color: var(--color-primary); /* Teal underline */
  margin: 0 auto 30px;
}

.about-intro p {
  font-size: 1.15rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 50px;
  font-weight: 500;
}

.about-intro-img {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  display: block;
}

/* About Section Layout */
.about-split {
  display: flex;
  flex-direction: row;
  width: 100%;
  min-height: 80vh;
}

.about-left {
  flex: 1;
  flex-basis: 50%;
  max-width: 50%; /* Force exact 50% split */
  background-color: var(--color-primary); /* Vibrant Teal Solid Background */
  color: #2b3748; /* Dark navy text to contrast with teal */
  padding: 8% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-icon {
  height: 90px;
  width: auto;
  margin-bottom: 40px;
  align-self: flex-start; /* Ensures logo fits content boundary */
}

.about-left p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 500;
  max-width: 650px; /* Constrains text nicely */
}

.about-right {
  flex: 1;
  flex-basis: 50%;
  max-width: 50%; /* Force exact 50% split */
  position: relative;
  overflow: hidden;
  min-height: 400px; /* Prevents image collapsing entirely on mobile */
}

.about-image-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('assets/modern-office-workspace-featuring-wooden-furniture-cozy-atmosphere.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.15); /* Start slightly zoomed in */
  transition: transform 0.1s ease-out; /* Match scroll smoothly */
  will-change: transform;
}

@media (max-width: 900px) {
  .about-split {
    flex-direction: column;
  }
  .about-left, .about-right {
    flex-basis: auto;
    max-width: 100%;
  }
}

/* AI Platform Section */
.ai-platform {
  padding: 100px 0;
  background-color: var(--color-bg-alt);
  border-top: 1px solid #aeb5bd; /* Full width dark splitter line */
  text-align: center;
}

.platform-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: #2b3748;
  margin-bottom: 5px;
}

.platform-title span {
  color: var(--color-primary); /* Teal colored "AI" */
}

.platform-intro {
  text-align: center;
  max-width: 580px; /* Reduced to match narrow framing of original text */
  margin: 0 auto;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
  font-weight: 500;
}

.platform-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1000px; /* Unified centralized layout width */
  margin: 60px auto 40px;
}

@media (max-width: 900px) {
  .platform-cards-grid {
    grid-template-columns: 1fr;
  }
}

.split-card {
  display: flex;
  height: 380px; /* Drastically increased height/length to match original */
}

.split-card-content {
  flex: 1;
  padding: 40px 40px; /* Deeper padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left; /* Re-locks text alignment to the left, wiping parent center rule */
}

.split-card-content h3 {
  font-size: 1.6rem; /* Much larger card header */
  font-weight: 800;
  margin-bottom: 20px; /* Greater distance between title and text */
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.split-card-content p {
  font-size: 1.05rem; /* Mildly larger description text */
  line-height: 1.5;
  font-weight: 500;
}

.split-card-img {
  flex: 1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hardcoded Card Colors mirroring screenshot */
.card-teal { background-color: var(--color-primary); color: #fff; }
.card-teal h3 { color: #fff; }

.card-navy { background-color: #3b495e; color: #fff; }
.card-navy h3 { color: var(--color-primary); }

.card-lime { background-color: #b2d82d; color: #2b3748; }
.card-lime h3 { color: #2b3748; }

.card-purple { background-color: #6b5b95; color: #fff; }
.card-purple h3 { color: #e6b8c8; }

.text-bottom-intro {
  text-align: center;
  max-width: 950px;
  margin: 60px auto 0;
  font-size: 1.55rem;
  color: #555;
  line-height: 1.6;
  font-weight: 400;
}

/* SaaS Showcase Section */
.saas-showcase {
  padding: 100px 0;
  background-color: #1a1f2b; /* Dark sleek background */
  color: #fff;
  border-top: 1px solid #334055;
  overflow: hidden;
}

.saas-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  max-width: 1000px; /* Aligned strictly with uniform width */
  margin: 0 auto;
  padding: 0 20px;
}

.saas-content {
  flex: 1;
  max-width: 500px;
  text-align: left;
}

.saas-content h2 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.saas-content h2 span {
  color: var(--color-primary);
  font-weight: 400;
  font-size: 1.8rem;
  display: block;
  margin-top: 5px;
}

.saas-intro {
  font-size: 1.2rem;
  color: #aeb5bd;
  margin-bottom: 40px;
}

.saas-features {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.saas-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.saas-features .feature-icon {
  font-size: 1.8rem;
  margin-right: 15px;
  line-height: 1;
  background: rgba(43, 196, 175, 0.1);
  padding: 12px;
  border-radius: 8px;
}

.saas-features strong {
  display: block;
  font-size: 1.1rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.saas-features p {
  font-size: 0.95rem;
  color: #d0d5dc;
  line-height: 1.5;
  margin: 0;
}

.saas-btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(43, 196, 175, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.saas-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(43, 196, 175, 0.5);
  background-color: #e74c3c;
  color: #ffffff;
}

.saas-graphics {
  flex: 1.2;
  position: relative;
}

.glass-dashboard {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px;
  backdrop-filter: blur(10px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 40px rgba(43,196,175,0.2);
  transform: perspective(1000px) rotateY(-10deg) translateY(0);
  transition: transform 0.5s ease;
  animation: floatDashboard 6s ease-in-out infinite;
}

.glass-dashboard:hover {
  transform: perspective(1000px) rotateY(0deg) translateY(-10px) scale(1.02);
  animation: none;
}

.dashboard-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

@keyframes floatDashboard {
  0% { transform: perspective(1000px) rotateY(-5deg) translateY(0px); }
  50% { transform: perspective(1000px) rotateY(-5deg) translateY(-20px); }
  100% { transform: perspective(1000px) rotateY(-5deg) translateY(0px); }
}

@media (max-width: 900px) {
  .saas-container {
    flex-direction: column;
  }
  .saas-graphics {
    width: 100%;
    margin-top: 40px;
  }
  .saas-content {
    max-width: 100%;
    text-align: center;
  }
  .title-underline { margin: 0 auto 30px auto !important; }
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: #3b495e; /* Navy Slate matching screenshot styling */
  color: #fff;
}

.services-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: #ffffff; /* White title scale matched across platform */
  margin-bottom: 5px;
  text-align: center;
}

.services-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #e0e0e0;
  line-height: 1.8;
  font-weight: 500;
}

.services-list {
  max-width: 1000px; /* Unified centralized layout width */
  margin: 60px auto 0;
  border-top: 2px solid var(--color-primary); /* Thick teal border separating top */
}

.service-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--color-primary); /* Teal splitters down the list */
  padding: 50px 0;
  gap: 50px;
}

.service-row img {
  width: 320px;
  height: 320px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-text {
  flex: 1;
}

.service-text h3 {
  color: var(--color-primary); /* Teal headers for specific services inline */
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 25px;
}

.service-text ul {
  list-style-type: disc;
  padding-left: 20px;
}

.service-text ul li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f0f0f0;
}

@media (max-width: 900px) {
  .service-row {
    flex-direction: column;
    text-align: left;
  }
  .service-row img {
    margin: 0 auto;
  }
}

/* Services Footer Expansion */
.services-footer {
  margin-top: 80px;
}

.services-footer-banner {
  background-color: var(--color-primary); /* Solid teal strip */
  color: #2b3748; /* Dark interior text */
  text-align: center;
  padding: 15px 20px;
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 1000px; /* Unified centralized layout width */
  margin: 0 auto;
}

.services-footer-list {
  max-width: 900px;
  margin: 40px auto 0;
  padding: 0 20px;
  text-align: center;
}

.services-footer-list li {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #f0f0f0;
  list-style-type: none; /* Removed native dots */
}

.bullet-dot {
  font-weight: bold;
  margin-right: 5px;
}

/* Why Choose CMAI Section */
.why-choose {
  padding: 100px 0;
  background-color: var(--color-bg-alt); /* Matches the light gray */
}

.why-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: #2b3748;
  margin-bottom: 5px;
  text-align: center;
}

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

.why-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 10px; /* Slim gap matching screenshot */
  max-width: 1000px; /* Unified centralized layout width */
  margin: 60px auto 0;
}

.why-card {
  display: flex;
  height: 250px;
}

.why-card-content {
  flex: 0 0 40%; /* Approx 40/60 split with image */
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.why-card-content h3 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff; /* White title universally */
  margin-bottom: 12px;
}

.why-card-content p {
  font-size: 1.05rem;
  line-height: 1.4;
  font-weight: 500;
}

.why-card-content p.text-dark {
  color: #2b3748;
}

.why-card-content p.text-light {
  color: #e0e0e0;
}

.why-img {
  flex: 1; /* Remainder is image */
  background-size: cover;
  background-position: center;
}

@media (max-width: 900px) {
  .why-card {
    flex-direction: column;
    height: auto;
  }
  .why-img {
    height: 250px;
  }
}

/* Contact Us Section */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-primary); /* Massive teal wrapping background */
}

.contact-title {
  font-size: 4.8rem;
  font-weight: 600;
  color: #2b3748;
  margin-bottom: 5px;
  text-align: center;
}

.contact-underline {
  background-color: #fff;
  width: 50px;
  height: 4px;
  margin: 0 auto 50px;
}

.contact-form-wrapper {
  background-color: #fff;
  max-width: 650px; /* Shrinks the overall size of the form box */
  margin: 0 auto;
  padding: 40px 50px; /* Shrinks internal margins proportionately */
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: left;
}

.form-title {
  font-size: 2.6rem; /* Slightly scaled down text to match new box footprint */
  font-weight: 300;
  color: var(--color-primary);
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.form-group.full-width {
  flex: none;
  width: 100%;
}

.form-group label {
  font-size: 1rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.form-group input {
  padding: 14px 15px;
  font-size: 1rem;
  border: 1px solid var(--color-primary);
  background-color: #eaf8f8; /* Soft mint/cyan input tint matches image identically */
  color: #333;
  outline: none;
}

.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-primary);
  background-color: #eaf8f8;
}

.phone-input-wrapper .phone-icon {
  padding: 14px 15px;
  color: var(--color-primary);
  font-size: 1.1rem;
  border-right: 1px solid var(--color-primary); /* Teal dividing line inside input */
}

.phone-input-wrapper input {
  border: none;
  flex: 1;
  background-color: transparent;
}

.submit-btn {
  background-color: var(--color-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 16px;
  border: none;
  cursor: pointer;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #e74c3c; /* Reverts to red on hovering */
}

.submit-message {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-top: 15px;
  font-weight: 300;
  display: none; /* Concealed mechanically per default */
}

.submit-message.show {
  display: block;
}

/* Footer Grid Layout */
.site-footer {
  background-color: #ededed;
  width: 100%;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
}

.footer-top {
  display: flex;
  width: 100%;
}

.footer-col-left {
  flex: 0 0 55%;
  border-right: 1px solid #777;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
}

.footer-logo {
  max-width: 300px;
  height: auto;
}

.footer-col-mid {
  flex: 0 0 20%;
  border-right: 1px solid #777;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-contact-info p {
  color: #2b3748;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.footer-contact-info a {
  color: #2b3748;
  text-decoration: underline;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: #000;
  cursor: pointer;
  transition: opacity 0.2s;
}

.social-icon:hover {
  opacity: 0.7;
}

.footer-col-right {
  flex: 0 0 25%;
}

.footer-bottom-strip {
  display: flex;
  width: 100%;
  border-top: 1px solid #777;
}

.footer-bottom-left {
  flex: 0 0 55%;
  border-right: 1px solid #777;
  padding: 30px;
}

.footer-bottom-right {
  flex: 0 0 45%;
  padding: 30px 60px;
  display: flex;
  align-items: center;
}

.footer-bottom-right p {
  color: #2b3748;
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .footer-top {
    flex-direction: column;
  }
  .footer-col-left, .footer-col-mid, .footer-col-right, .footer-bottom-left, .footer-bottom-right {
    flex: 1;
    border-right: none;
  }
  .footer-bottom-strip {
    flex-direction: column;
  }
  .footer-col-left, .footer-col-mid {
    border-bottom: 1px solid #777;
  }
}

/* Animations */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: opacity, visibility;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}

/* Responsive Design */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--color-bg-light);
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0,0,0,0.05);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}
