/* ===================================
   HERICK ELECTRIC POWER — STYLES
   Vibrant Modern | Teal + Slate Grey
===================================== */

/* --- CSS Variables --- */
:root {
  --teal-50: #f0fdfa;
  --teal-100: #ccfbf1;
  --teal-200: #99f6e4;
  --teal-300: #5eead4;
  --teal-400: #2dd4bf;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --teal-800: #115e59;
  --teal-900: #134e4a;
  
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--slate-800);
  background-color: #fafcfd;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Background Pattern --- */
.bg-pattern {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(20, 184, 166, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(15, 118, 110, 0.04) 0%, transparent 50%);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-primary {
  background: var(--teal-600);
  color: #fff;
  border-color: var(--teal-600);
  box-shadow: 0 4px 15px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  background: var(--teal-700);
  border-color: var(--teal-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--slate-800);
  border-color: var(--slate-300);
}

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

.btn-light {
  background: #fff;
  color: var(--teal-700);
  border-color: #fff;
  box-shadow: var(--shadow-md);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
  justify-content: center;
  padding: 16px 28px;
}

/* --- Typography --- */
.text-teal { color: var(--teal-600); }
.text-gradient {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Section Headers --- */
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--slate-500);
  max-width: 560px;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

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

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 252, 253, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(250, 252, 253, 0.95);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--slate-900);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--slate-600);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--teal-600);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-700);
  padding: 8px;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: linear-gradient(160deg, #f0fdfa 0%, #fafcfd 40%, #f8fafc 100%);
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background: var(--teal-200);
  top: -200px;
  right: -100px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background: var(--teal-100);
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 200px;
  height: 200px;
  background: var(--teal-300);
  top: 40%;
  left: 30%;
  opacity: 0.3;
}

.shape-4 {
  width: 150px;
  height: 150px;
  background: var(--slate-200);
  top: 20%;
  right: 30%;
  opacity: 0.4;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--teal-200);
  padding: 8px 18px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--teal-700);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--teal-500);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--slate-900);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--slate-600);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  align-items: center;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--slate-200);
}

/* Hero Image */
.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.hero-image-wrapper img {
  width: 100%;
  height: 700px;
  object-fit: cover;
}

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--teal-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.floating-card {
  position: absolute;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

.floating-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}

.floating-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--slate-800);
}

.floating-card span {
  font-size: 0.75rem;
  color: var(--slate-500);
}

.card-1 {
  top: 60px;
  left: -40px;
  animation-delay: 0s;
}

.card-2 {
  bottom: 80px;
  right: -30px;
  animation-delay: 2s;
}

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

/* --- Services --- */
.services {
  padding: 100px 0;
  background: #fff;
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600), var(--teal-400));
}

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

.service-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-400), var(--teal-600));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-200);
  background: #fff;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--teal-50), var(--teal-100));
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-700);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  border-color: var(--teal-600);
}

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

.service-card p {
  font-size: 0.95rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teal-600);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s ease;
}

.service-card:hover .service-link {
  gap: 8px;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: var(--slate-900);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
  pointer-events: none;
}

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

.about-image-grid {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-img-main img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about-img-secondary {
  position: absolute;
  bottom: -40px;
  right: -40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--slate-900);
}

.about-img-secondary img {
  width: 400px;
  height: 300px;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  top: -20px;
  left: -20px;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff;
  padding: 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-xl);
  z-index: 2;
}

.about-experience-badge .exp-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-badge .exp-text {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 4px;
}

.about-content .section-tag {
  background: rgba(20, 184, 166, 0.15);
}

.about-content .section-title {
  color: #fff;
}

.about-text {
  font-size: 1.05rem;
  color: var(--slate-400);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0 40px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-check {
  width: 28px;
  height: 28px;
  background: rgba(20, 184, 166, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-400);
  flex-shrink: 0;
}

.about-feature span {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--slate-200);
}

/* --- Projects --- */
.projects {
  padding: 100px 0;
  background: #fff;
}

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

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  transition: all 0.3s ease;
}

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

.project-image {
  position: relative;
  overflow: hidden;
  height: 240px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.6), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-tag {
  background: var(--teal-500);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 50px;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.project-info p {
  font-size: 0.9rem;
  color: var(--slate-600);
  line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(180deg, var(--slate-50) 0%, #fff 100%);
}

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

.testimonial-card {
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--teal-200);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--slate-700);
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal-400), var(--teal-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.testimonial-author strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--slate-900);
}

.testimonial-author span {
  font-size: 0.8rem;
  color: var(--slate-500);
}

/* --- CTA --- */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800));
  position: relative;
  overflow: hidden;
}

.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
}

.cta-shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(20, 184, 166, 0.2);
  top: -150px;
  left: -100px;
}

.cta-shape-2 {
  width: 300px;
  height: 300px;
  background: rgba(13, 148, 136, 0.15);
  bottom: -100px;
  right: -50px;
}

.cta-shape-3 {
  width: 150px;
  height: 150px;
  background: rgba(45, 212, 191, 0.2);
  top: 50%;
  right: 30%;
}

.cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text {
  flex: 1;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--slate-400);
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-shrink: 0;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: #fff;
}

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

.contact-info .section-title {
  text-align: left;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-50);
  border: 1px solid var(--teal-200);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-600);
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--slate-500);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.contact-item a,
.contact-item span {
  font-size: 1.05rem;
  color: var(--slate-800);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--teal-600);
}

.contact-map {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.contact-form h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.form-note {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 28px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate-800);
  background: #fff;
  transition: all 0.2s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal-500);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--slate-400);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: var(--teal-50);
  border: 2px solid var(--teal-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--teal-600);
}

.form-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--slate-600);
  line-height: 1.7;
}

/* --- Footer --- */
.footer {
  background: var(--slate-950);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.footer-brand p {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-200);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--slate-400);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--teal-400);
}

.footer-contact p {
  color: var(--slate-400);
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-contact a {
  color: var(--teal-400);
  font-weight: 600;
}

.footer-contact a:hover {
  color: var(--teal-300);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  color: var(--slate-500);
  font-size: 0.85rem;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(250, 252, 253, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--slate-200);
  padding: 24px;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--slate-700);
  border-bottom: 1px solid var(--slate-100);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a:hover {
  color: var(--teal-600);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 500px;
    margin: 0 auto;
  }
  
  .card-1 { left: 0; }
  .card-2 { right: 0; }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  
  .about-content .section-title,
  .contact-info .section-title {
    text-align: center;
  }
  
  .about-content .section-tag,
  .contact-info .section-tag {
    display: block;
    text-align: center;
  }
  
  .about-text {
    text-align: center;
  }
  
  .about-features {
    max-width: 500px;
    margin: 32px auto;
  }
  
  .about-content .btn {
    margin: 0 auto;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-content {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info .section-title,
  .contact-desc {
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-divider {
    display: none;
  }
  
  .floating-card {
    display: none;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-img-secondary {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 16px;
  }
  
  .about-img-main img,
  .about-img-secondary img {
    height: 300px;
  }
  
  .about-experience-badge {
    top: 16px;
    left: 16px;
    padding: 16px;
  }
  
  .about-experience-badge .exp-number {
    font-size: 1.75rem;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .contact-form-wrapper {
    padding: 24px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 90px 0 50px;
  }
  
  .hero-title {
    font-size: 1.85rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .services,
  .about,
  .projects,
  .testimonials,
  .cta,
  .contact {
    padding: 60px 0;
  }
}
