/* ===================================
   Mehmetoğlu Geri Dönüşüm — Light Theme
   =================================== */

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

/* ---- CSS Variables ---- */
:root {
  /* Colors — Light / White / Green theme */
  --primary-green: #2e7d32;
  --primary-green-light: #4CAF50;
  --primary-green-pale: #e8f5e9;
  --primary-blue: #1565c0;
  --primary-blue-light: #1976d2;
  --primary-blue-pale: #e3f2fd;

  --white: #ffffff;
  --bg-light: #f8faf8;
  --bg-section: #f1f5f1;
  --surface: #ffffff;
  --border-light: #e0e8e0;
  --border-medium: #c8d8c8;

  --text-dark: #1a2e1a;
  --text-body: #3d4f3d;
  --text-muted: #6b7c6b;
  --text-light: #ffffff;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 16px 60px rgba(0, 0, 0, 0.12);

  --gradient-green: linear-gradient(135deg, #2e7d32 0%, #4CAF50 100%);
  --gradient-blue: linear-gradient(135deg, #1565c0 0%, #1976d2 100%);
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);

  /* Typography */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Roboto', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-width: 1200px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Utility Classes ---- */
.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: var(--primary-green-pale);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 50px;
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: var(--font-heading);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.btn-primary {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(21, 101, 192, 0.4);
}

.btn-green {
  background: var(--gradient-green);
  color: white;
  box-shadow: 0 4px 16px rgba(46, 125, 50, 0.3);
}

.btn-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(46, 125, 50, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

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

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

.btn-blue {
  background: var(--gradient-blue);
  color: white;
  box-shadow: 0 4px 16px rgba(21, 101, 192, 0.3);
}

.btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(21, 101, 192, 0.4);
}

/* ---- Header / Navbar ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-top-row {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
}

.header-top-row .social-links {
  display: flex;
  gap: 8px;
}

.header-top-row .social-links a {
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-green-pale);
  color: var(--primary-green);
  font-size: 0.65rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.header-top-row .social-links a:hover {
  background: var(--primary-green);
  color: white;
}

.header-top-row .phone-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-green);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.85rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

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

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
  color: white;
}

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

.logo-text .name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-dark);
  letter-spacing: 0.5px;
}

.logo-text .tagline {
  font-size: 0.65rem;
  color: var(--primary-green);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 4px;
}

.nav-links a {
  padding: 8px 16px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

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

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

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

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  animation: float-particle 18s infinite linear;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translateY(-100vh) rotate(720deg);
    opacity: 0;
  }
}

/* HERO LAYOUT — Full width, two columns */
.hero .container {
  width: 100%;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 0 60px;
}

.hero-content {
  text-align: left;
}

.hero-content .section-badge {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
  animation: fadeInUp 0.6s ease forwards;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 18px;
  animation: fadeInUp 0.6s ease 0.15s forwards;
  opacity: 0;
}

.hero-content h1 span {
  color: #81c784;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 440px;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.45s forwards;
  opacity: 0;
}

.hero-stats-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.hero-stat {
  text-align: center;
  padding: 16px;
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #81c784;
  margin-bottom: 4px;
}

.hero-stat p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  animation: none;
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Page Hero (Inner Pages) ---- */
.page-hero {
  padding: 130px 0 50px;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, #2e7d32, #4CAF50);
  overflow: hidden;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: white;
}

.page-hero .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

.page-hero .breadcrumb a {
  color: white;
}

.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}

/* ---- About / Value Section ---- */
.about-section {
  padding: var(--section-padding);
  background: var(--white);
}

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

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

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

.about-image:hover img {
  transform: scale(1.03);
}

.about-content .section-subtitle {
  margin-bottom: 20px;
}

/* ---- Services Section ---- */
.services-section {
  padding: var(--section-padding);
  background: var(--bg-section);
}

.services-header {
  text-align: center;
  margin-bottom: 48px;
}

.services-header .section-subtitle {
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

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

.service-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-image .service-icon {
  position: absolute;
  bottom: -18px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--gradient-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
  z-index: 2;
}

.service-card-body {
  padding: 28px 20px 20px;
}

.service-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.service-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---- Environment / CTA Banner ---- */
.environment-section {
  position: relative;
  padding: var(--section-padding);
  overflow: hidden;
}

.environment-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.environment-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.88) 0%, rgba(76, 175, 80, 0.7) 100%);
}

.environment-content {
  position: relative;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.environment-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: white;
  margin-bottom: 18px;
}

.environment-content p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  line-height: 1.8;
}

/* ---- CTA Section ---- */
.cta-section {
  padding: var(--section-padding);
  text-align: center;
  background: var(--white);
}

.cta-box {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 52px;
  box-shadow: var(--shadow-sm);
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.8;
}

/* ---- About Page ---- */
.about-page-section {
  padding: var(--section-padding);
  background: var(--white);
}

.about-intro {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.about-intro p {
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.9;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.about-card {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-normal);
}

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

.about-card .card-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.about-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.about-card p {
  color: var(--text-muted);
  line-height: 1.8;
}

.about-closing {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 36px;
  background: var(--primary-green-pale);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(46, 125, 50, 0.15);
}

.about-closing p {
  font-size: 1.05rem;
  color: var(--primary-green);
  line-height: 1.8;
  font-style: italic;
  font-weight: 500;
}

/* ---- Services Page ---- */
.services-page-section {
  padding: var(--section-padding);
  background: var(--white);
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
  padding: 32px;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  transition: var(--transition-normal);
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-green-light);
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even)>* {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.service-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.service-detail:hover .service-detail-image img {
  transform: scale(1.03);
}

.service-detail-content .service-icon-lg {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.service-detail-content h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.service-detail-content p {
  color: var(--text-muted);
  line-height: 1.8;
}

.satisfaction-banner {
  text-align: center;
  padding: 48px;
  background: var(--gradient-blue);
  border-radius: var(--radius-xl);
}

.satisfaction-banner h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
}

.satisfaction-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
  margin: 0 auto 24px;
}

/* ---- Blog Page ---- */
.blog-section {
  padding: var(--section-padding);
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-blue-light);
}

.blog-card-image {
  height: 190px;
  overflow: hidden;
}

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

.blog-card:hover .blog-card-image img {
  transform: scale(1.06);
}

.blog-card-body {
  padding: 20px;
}

.blog-card-body .blog-date {
  font-size: 0.78rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

.blog-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.blog-card-body .read-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-blue);
  transition: var(--transition-fast);
}

.blog-card-body .read-more:hover {
  color: var(--primary-green);
}

/* ---- Contact Page ---- */
.contact-section {
  padding: var(--section-padding);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  transition: var(--transition-normal);
}

.contact-info-card:hover {
  border-color: var(--primary-green-light);
  box-shadow: var(--shadow-sm);
}

.contact-info-card .icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--gradient-green);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.contact-info-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 180px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  background: var(--bg-section);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.contact-form .form-subtitle {
  color: var(--text-muted);
  margin-bottom: 24px;
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.08);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Footer ---- */
.footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 10px;
  position: relative;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 36px;
  height: 3px;
  background: var(--primary-green-light);
  border-radius: 2px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-col ul li a::before {
  content: '›';
  color: var(--primary-green-light);
  font-weight: 700;
}

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

.footer-recent-post {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-recent-post:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.footer-recent-post img {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.footer-recent-post a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

.footer-recent-post a:hover {
  color: var(--primary-green-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  text-align: center;
}

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

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #25D366;
  color: white;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition-normal);
}

.whatsapp-float a:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float .wa-icon {
  font-size: 1.2rem;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 44px;
  height: 44px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
  transform: translateY(-2px);
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Certificates ---- */
.certificates-section {
  padding: var(--section-padding);
  background: var(--white);
}

.certificates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.certificate-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.certificate-card img {
  width: 100%;
  height: auto;
}

.no-certificates {
  text-align: center;
  padding: 60px 0;
  grid-column: 1 / -1;
}

.no-certificates p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ---- Mobile / Responsive ---- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 48px 0;
  }

  .header-top-row .social-links {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: white;
    flex-direction: column;
    padding: 90px 24px 24px;
    transition: var(--transition-slow);
    border-left: 1px solid var(--border-light);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border-light);
  }

  .hamburger {
    display: flex;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    padding: 100px 0 40px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-box {
    padding: 32px 20px;
  }

  .satisfaction-banner {
    padding: 32px 20px;
  }
}

/* ============================================================
   ADMIN PANEL STYLES — Dark theme (separate from site)
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: #0f172a;
  color: #e2e8f0;
}

.admin-sidebar {
  background: #1e293b;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar .logo {
  padding: 0 16px;
  margin-bottom: 28px;
}

.admin-sidebar .logo .logo-icon {
  background: var(--gradient-green);
}

.admin-sidebar .logo .logo-text .name {
  color: white;
}

.admin-sidebar .logo .logo-text .tagline {
  color: #4CAF50;
}

.admin-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  color: #94a3b8;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition-fast);
  border-left: 3px solid transparent;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
  background: rgba(76, 175, 80, 0.1);
  color: white;
  border-left-color: #4CAF50;
}

.admin-sidebar-nav a .nav-icon {
  font-size: 1rem;
  width: 22px;
  text-align: center;
}

.admin-content {
  padding: 28px;
  overflow-y: auto;
  max-height: 100vh;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-header h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}

.admin-actions {
  display: flex;
  gap: 10px;
}

.admin-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.admin-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-field {
  margin-bottom: 16px;
}

.admin-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.admin-field input,
.admin-field textarea,
.admin-field select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  color: #e2e8f0;
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: var(--transition-fast);
  outline: none;
}

.admin-field input:focus,
.admin-field textarea:focus {
  border-color: #4CAF50;
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.admin-field textarea {
  min-height: 90px;
  resize: vertical;
}

.admin-item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.admin-list-item:hover {
  border-color: rgba(76, 175, 80, 0.3);
}

.admin-list-item .item-info h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
}

.admin-list-item .item-info p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 3px;
}

.admin-list-item .item-actions {
  display: flex;
  gap: 6px;
}

.admin-btn-sm {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-heading);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.admin-btn-edit {
  background: rgba(21, 101, 192, 0.2);
  color: #42a5f5;
}

.admin-btn-edit:hover {
  background: rgba(21, 101, 192, 0.3);
}

.admin-btn-delete {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.admin-btn-delete:hover {
  background: rgba(239, 68, 68, 0.3);
}

.admin-btn-add {
  background: rgba(76, 175, 80, 0.2);
  color: #4CAF50;
}

.admin-btn-add:hover {
  background: rgba(76, 175, 80, 0.3);
}

/* Admin Toast */
.admin-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 22px;
  background: #4CAF50;
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--transition-normal);
  z-index: 9999;
  box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
}

.admin-toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Admin Modal */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

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

.admin-modal {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 32px;
  width: 90%;
  max-width: 560px;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(0.9);
  transition: var(--transition-normal);
}

.admin-modal-overlay.active .admin-modal {
  transform: scale(1);
}

.admin-modal h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
}

.admin-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: fixed;
    left: -250px;
    width: 250px;
    z-index: 9999;
    transition: var(--transition-normal);
  }

  .admin-sidebar.open {
    left: 0;
  }

  .admin-content {
    padding: 16px;
  }
}

/* ===================================
   Admin Login Overlay
   =================================== */

.admin-login-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.admin-login-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.admin-login-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  width: 100%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.admin-login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.admin-login-error {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  padding: 10px;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-top: 15px;
  display: none;
}

/* ---- Lightbox ---- */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 40px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.lightbox-overlay[style*="opacity: 1"] img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

.certificate-card {
  cursor: pointer;
}