:root {
  --primary-yellow: #ff9105;
  --primary-blue: #373c48;
  --light-yellow: #ffd689;
  --light-blue: #adb5bd;
  --white: #ffffff;
  --dark-gray: #373c48;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  transition: background 0.3s;
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo img {
  height: 45px;          /* same visual height as text */
  width: auto;           /* keeps logo proportion */
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
li {
  display: inline-block;
  position: relative;
  padding-bottom: 3px;
  margin-right: 10px;
}
li:last-child {
  margin-right: 0;
}

li:after {
  content: '';
  display: block;
  margin: auto;
  height: 3px;
  width: 0px;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}
li:hover:after {
  width: 100%;
  background-color: #388e3c;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}


.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2a3140 100%);
  color: white;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
  margin-top: -50px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #ffd689 0, rgba(255, 214, 137, 0) 60%);
  opacity: 0.4;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.hero-image {
  width: 380px;                /* medium width */
  max-width: 100%;             /* responsive */
  height: 500px;                /* no forced height */
  aspect-ratio: 4 / 3;         /* nice standard ratio */
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-yellow);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  overflow: hidden;
}

.hero-image:hover {
  transform: scale(1.05);
  transition: transform 0.5s ease;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.hero-hello {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 0.3rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(45deg, #ffd689, var(--primary-yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-intro {
  font-size: 0.98rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.experience-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 145, 5, 0.16);
  color: var(--light-yellow);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(45deg, var(--primary-yellow), #ffd689);
  color: var(--dark-gray);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 650;
  font-size: 1.05rem;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(255, 145, 5, 0.4);
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 145, 5, 0.6);
}

.secondary-cta {
  background: transparent;
  border: 2px solid var(--primary-yellow);
  box-shadow: none;
}

.secondary-cta:hover {
  background: var(--primary-yellow);
  color: var(--dark-gray);
}

/* Section Styles */
section {
  padding: 100px 0;
}

.section-title {
  text-align: left;
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--light-blue);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about {
  background: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start; 
}

.about-text{
  margin-top: 0;
}
.about-text p {
  margin-bottom: 1.2rem;
  color: var(--dark-gray);
  line-height: 1.7;
}
.journey-timeline {
    max-width: 800px;
    margin: 0 auto;
    margin-top: -30px;
 
}
.section-title-1 {
    text-align: left;
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    margin-top: 0;
}

.section-title-2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
    margin-top: -100px;
}
.timeline-item {
    display: flex;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: -4rem;
    width: 2px;
    background: var(--light-blue);
}

.timeline-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    color: var(--dark-gray);
    font-weight: 600;
    flex-shrink: 0;
}

.timeline-content {
    margin-left: 3rem;
    flex: 1;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12rem;
  margin-top: -7em;
}

.stat-item {
  text-align: center;
  border: #388e3c 1.5px solid;
  margin-left: 2rem;
  margin-right: 2rem;
  
}

.stat-number {
  font-size: 2.3rem;
  font-weight: 700;
  color: var(--primary-yellow);
  display: block;
  
}

.stat-label {
  font-size: 0.9rem;
  color: var(--light-blue);
}

/* Why section */
#why {
  background: #ffffff;
  padding: 5px 0 80px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 1.8rem;
  margin-top: 2rem;
}

.why-work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.why-work-card {
  background: #ffcf76;
  border: 1.5px solid #388e3c;
  border-radius: 14px; /* reduce softness */
  padding: 2rem;
  transition: all 0.3s ease;
}


.why-work-card h4 {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.centered-cta {
  margin-top: 2.5rem;
  text-align: center;
}

/* Services Section */
.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, white 100%);
    margin-top: -5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
    border-top: 4px solid transparent;
    text-align: center;
    cursor: pointer;
    border-bottom: 4px solid #388e3c;
}

/* Hover zoom */
.service-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-top-color: var(--primary-yellow);
}

/* Click (press) effect */
.service-card:active {
    transform: translateY(-5px) scale(1.02);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--primary-yellow), #FFD689);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--dark-gray);
    margin: 0 auto 1.5rem;
}

/* Testimonials */
.testimonials {
  background: #f8f9fa;
  margin-top: -1rem;
}

.testimonials-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1.5px solid #388e3c;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: "“";
  font-size: 4rem;
  color: var(--primary-yellow);
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.2;
}
.testimonial-card::after {
  content: "”";
  font-size: 4rem;
  color: var(--primary-yellow);
  position: absolute;
  bottom: -20px;
  right: 20px;
  opacity: 0.2;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--dark-gray);
  font-size: 1.02rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-yellow);
}

/* Contact Section */
#contact {
  background: #ffffff;
}

.contact-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
  
}

.contact-info h3 {
  color: var(--primary-yellow);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.3rem;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-gray);
  margin-right: 1rem;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-label {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--dark-gray);
}

.contact-form {
  background: white;
  padding: 2.3rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: solid 1.5px #388e3c;

}

.form-group {
  margin-bottom: 1.3rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-yellow);
  box-shadow: 0 0 0 3px rgba(255, 145, 5, 0.2);
}

.full-width {
  width: 100%;
}

/* WhatsApp Floating Button CSS */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25d366; /* WhatsApp Green */
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Ensures it stays on top of all other elements */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1); /* Slight grow effect on hover */
    background-color: #128c7e; /* Darker green on hover */
}

.whatsapp-icon {
    width: 35px; /* Adjust size of the logo inside the circle */
    height: 35px;
    object-fit: contain;
}

/* Mobile Responsiveness: Move it slightly higher on small screens */
@media screen and (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 30px;
        height: 30px;
    }
}

/* Footer */
footer {
  background: var(--primary-blue);
  color: white;
  text-align: center;
  padding: 3rem 0 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s;
  font-weight: 600;
}

.social-links a:hover {
  background: var(--primary-yellow);
  color: var(--dark-gray);
  transform: translateY(-3px);
}

/* Scroll Animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll,
.animate-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.visible,
.animate-card.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-image {
    order: -1;
  }
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  nav .container {
    padding-inline: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  }

  .nav-links li + li {
    margin-top: 0.5rem;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    padding: 120px 0 70px;
  }

  section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 130px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    width: 100%;
    height: auto;            /* Fixed height hata kar auto kiya taaki image natural rahe */
    max-height: 450px;       /* Aap height control karne ke liye max-height use kar sakte hain */
    object-fit: contain;     /* Image cut nahi hogi, puri frame mein fit hogi */
    object-position: top;    /* Focus hamesha top (face) par rahega */
    margin-bottom: 1rem;
    display: block;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    margin-top: 0;   /* remove -400px on mobile */
  }

  .section-title {
    margin-top: 0;
    text-align: center;
  }

  .journey-timeline {
    margin-top: 2rem;
  }

  .timeline-item {
    flex-direction: column;
    padding-left: 2.5rem;
  }

  .timeline-content {
    margin-left: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-work-card {
    padding: 1.5rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

}
@media (min-width: 577px) and (max-width: 991px) {

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-text {
    margin-top: -80px;  /* reduce -400px */
  }

  .section-title {
    margin-top: -10px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 2rem;
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-content {
    grid-template-columns: 1fr;
  }
}

.contact-item{
  padding-top: 10px;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.footer-content a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease;
}
.footer-content a img:hover {
  transform: scale(1.1);
}

section {
    scroll-margin-top: 30px;
}