/* ========================================
   SWEV India - Global Styles
   ======================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

/* CSS Custom Properties */
:root {
  --primary: #1a7a3c;
  --primary-dark: #0f5a2b;
  --primary-light: #2da653;
  --accent: #f5a623;
  --accent-light: #ffc107;
  --secondary: #0a4d2b;
  --text-dark: #1a1a2e;
  --text-gray: #555f6e;
  --text-light: #8a9ab5;
  --white: #ffffff;
  --off-white: #f8fdf9;
  --light-green: #e8f5e9;
  --light-gray: #f4f6f8;
  --border: #e0e8e2;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.12);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 5%;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(26,122,60,0.12);
  transition: var(--transition);
}

.navbar.scrolled {
  height: 65px;
  box-shadow: 0 4px 30px rgba(26,122,60,0.18);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img{
  width: 150px;
  height: 250px;
  object-fit: contain;
}
.nav-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo .logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.nav-logo .logo-tagline {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-gray);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 60%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-light)) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(26,122,60,0.3);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,122,60,0.4) !important;
}

.nav-cta::after {
  display: none !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 3px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* DROPDOWN */
.dropdown {
  position: relative;
}

/* Dropdown menu */
.dropdown-menu {
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  min-width: 240px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  padding: 10px 0;
  
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 999;
}

/* Dropdown items */
.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  color: var(--text-dark);
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: rgba(26,122,60,0.08);
  color: var(--primary);
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Remove underline animation inside dropdown */
.dropdown-menu a::after {
  display: none;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 5%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  z-index: 999;
  transform: translateY(-10px);
  opacity: 0;
  transition: var(--transition);
  max-height: calc(100vh - 75px);
  overflow-y: auto;
}

.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-menu a:last-child {
  border-bottom: none;
  margin-top: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  text-align: center;
}

.mobile-menu a:hover {
  color: var(--primary);
  padding-left: 10px;
}

/* Mobile Dropdown */
.mobile-dropdown {
  border-bottom: 1px solid var(--border);
}

.mobile-dropdown .mobile-dropdown-toggle {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  border-bottom: none !important;
  cursor: pointer;
}

.mobile-dropdown-content {
  display: none;
  padding-left: 15px;
  background: rgba(26,122,60,0.04);
  margin-bottom: 5px;
  border-radius: 8px;
}

.mobile-dropdown-content a {
  padding: 10px 15px !important;
  font-size: 14px !important;
  border-bottom: none !important;
}

.mobile-dropdown.active .mobile-dropdown-content {
  display: block;
}

.mobile-dropdown .mobile-dropdown-toggle i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-toggle i {
  transform: rotate(180deg);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 6px 25px rgba(26,122,60,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(26,122,60,0.45);
  color: white;
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  box-shadow: 0 6px 25px rgba(245,166,35,0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 35px rgba(245,166,35,0.45);
  color: white;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.7);
}

.btn-outline-white:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-green);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

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

.section-desc {
  font-size: 16px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ========================================
   CARDS
   ======================================== */
.card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

/* ========================================
   PAGE HERO (Inner pages)
   ======================================== */
.page-hero {
  padding: 140px 5% 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: rgba(255,255,255,0.85);
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span {
  color: white;
  font-weight: 500;
}

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #0a1f0f;
  color: rgba(255,255,255,0.85);
  padding: 70px 5% 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  height: 100px;
  width: 100px;
}

.footer-brand .logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.footer-brand .logo-name {
  font-size: 22px;
  font-weight: 800;
  color: white;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
  margin-bottom: 24px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

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

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
  padding-left: 6px;
}

.footer-links a i {
  font-size: 11px;
  color: var(--primary-light);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.footer-contact li i {
  color: var(--primary-light);
  font-size: 15px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-bottom p span {
  color: var(--primary-light);
}

/* ========================================
   STATS BAR
   ======================================== */
.stats-bar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  padding: 30px 5%;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  padding: 10px;
}

.stat-number {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: white;
  line-height: 1;
  display: block;
  margin-bottom: 5px;
}

.stat-number span {
  color: var(--accent-light);
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials-section {
  padding: 90px 5%;
  background: var(--off-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 80px;
  font-family: 'Playfair Display', serif;
  color: var(--light-green);
  line-height: 1;
}

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}

.stars i {
  color: var(--accent);
  font-size: 14px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.author-info .name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark);
}

.author-info .role {
  font-size: 13px;
  color: var(--text-light);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes rotateSun {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-fade-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ========================================
   UTILITY CLASSES
   ======================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-padding {
  padding: 90px 5%;
}

.text-center { text-align: center; }
.text-green { color: var(--primary); }
.text-accent { color: var(--accent); }
.bg-light { background: var(--off-white); }

.green-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-green);
  color: var(--primary);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

/* ========================================
   SCROLL TO TOP
   ======================================== */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(26,122,60,0.4);
  transition: var(--transition);
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(26,122,60,0.5);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-padding {
    padding: 60px 5%;
  }
  
  .page-hero {
    padding: 120px 5% 60px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}
