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

/* --- CUSTOM DESIGN SYSTEM VARIABLES --- */
:root {
  --primary: hsl(123, 46%, 34%);       
  --primary-light: hsl(123, 46%, 45%); 
  --primary-dark: hsl(123, 50%, 22%);  
  --secondary: #e0a96d;                
  --secondary-light: #f5d6b3;          
  --accent: #2e7d32;                   
  --bg-main: #f9fbf9;                  
  --bg-dark: #122315;                  
  --bg-card: #ffffff;
  --text-main: #2b3d2e;                
  --text-muted: #5a6e5e;               
  --text-light: #ffffff;
  
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  
  --shadow-sm: 0 4px 12px rgba(46, 125, 50, 0.04);
  --shadow-md: 0 12px 32px rgba(46, 125, 50, 0.08);
  --shadow-lg: 0 24px 64px rgba(46, 125, 50, 0.12);
  
  --glass-bg: rgba(255, 255, 255, 0.45);      
  --glass-border: rgba(255, 255, 255, 0.4);    
  --glass-blur: blur(20px);
  
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1200px;

}

.nav-logo {
  max-height: 55px; /* Keeps it contained within the navbar */
  width: auto;
  object-fit: contain;
}



/* --- RESET & BASIC STYLES --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px; /* offset for sticky header */
}

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-header);
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

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

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

ul {
  list-style: none;
}

/* --- REUSABLE UTILITIES & LAYOUTS --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-bg {
  background-color: #f1f6f2;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

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

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-header);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

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

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

/* --- HEADER & NAVIGATION --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header-scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition);
}

.header-scrolled .nav-container {
  height: 65px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition);
}

.header-scrolled .logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-dark);
  margin: 6px 0;
  transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 180px 0 100px 0;
  background: linear-gradient(135deg, #eaf2eb 0%, #f9fbf9 50%, #f7f1eb 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(224, 169, 109, 0.15) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 8px solid #ffffff;
  transform: rotate(2deg);
  transition: var(--transition-slow);
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 4s ease-in-out infinite;
}

.hero-badge span {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
}

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

/* --- INTRODUCTION & VIDEOS --- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.intro-subtitle {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.intro-text {
  color: var(--text-muted);
  margin-bottom: 24px;
}

.video-container {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--glass-border);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-title-widget {
  margin-top: 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: center;
}

/* --- SPECIALTIES GRID --- */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.specialty-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46, 125, 50, 0.05);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46, 125, 50, 0.15);
}

.specialty-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.specialty-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.specialty-card:hover .specialty-img-wrap img {
  transform: scale(1.08);
}

.specialty-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.specialty-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.specialty-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.specialty-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.specialty-link:hover {
  color: var(--primary-light);
}

.specialty-link span {
  transition: var(--transition);
}

.specialty-card:hover .specialty-link span {
  transform: translateX(4px);
}

/* --- AUXILIARY VIDEO SECTION --- */
.aux-videos {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0;
}

.aux-videos .section-title {
  color: var(--text-light);
}

.aux-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.aux-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.aux-card h3 {
  color: var(--secondary-light);
  font-size: 1.3rem;
  margin-bottom: 16px;
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(46, 125, 50, 0) 40%, rgba(18, 35, 21, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: var(--text-light);
  font-family: var(--font-header);
  font-size: 1rem;
  font-weight: 500;
}

/* --- BLOG --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(46, 125, 50, 0.05);
  transition: var(--transition-slow);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrap {
  height: 220px;
  overflow: hidden;
}

.blog-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-img-wrap img {
  transform: scale(1.08);
}

.blog-info {
  padding: 30px;
}

.blog-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.blog-card-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary-dark);
  line-height: 1.3;
}

.blog-card-title a:hover {
  color: var(--primary);
}

.blog-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.blog-readmore {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- TESTIMONIALS --- */
.testimonials {
  background: linear-gradient(135deg, #f1f6f2 0%, #faf9f6 100%);
  position: relative;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-container {
  display: flex;
  transition: transform 0.5s ease;
  width: 300%; /* For 3 slides */
}

.testimonial-slide {
  width: 33.333%;
  padding: 40px 60px;
  text-align: center;
  flex-shrink: 0;
}

.testimonial-quote {
  font-size: 1.35rem;
  line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  margin-bottom: 24px;
  position: relative;
}

.testimonial-quote::before {
  content: '“';
  font-size: 6rem;
  font-family: serif;
  color: rgba(46, 125, 50, 0.08);
  position: absolute;
  top: -45px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.testimonial-author {
  font-family: var(--font-header);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd8ce;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background-color: var(--primary);
  width: 24px;
  border-radius: 5px;
}

/* --- FOOTER & CONTACT US --- */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px 0;
  border-top: 4px solid var(--secondary);
}

.footer h3, .footer h4, .footer h5 {
  color: var(--text-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-about .footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 20px;
}

.footer-about p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.footer-title {
  font-size: 1.3rem;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

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

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

.footer-contact li i {
  color: var(--secondary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--secondary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

/* --- MEDIA QUERIES FOR RESPONSIVENESS --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-btns {
    justify-content: center;
  }
  
  .hero-image-wrap {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .aux-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  /* Mobile Navigation Menu */
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--bg-main);
    flex-direction: column;
    padding: 40px 24px;
    gap: 24px;
    transition: var(--transition);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.05);
  }
  
  .header-scrolled .nav-menu {
    top: 65px;
    height: calc(100vh - 65px);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .testimonial-slide {
    padding: 20px 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .hero-badge {
    left: 10px;
    bottom: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
  }
}