/* ============================================
   DIKVEER ENGINEERS — Minimal Clean Design
   Light Theme Default + Dark Mode Toggle
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ============================================
   THEME VARIABLES
   ============================================ */

/* Light Theme (Default) */
:root {
  --primary: #1A3D7C;          /* Deep solar blue */
  --primary-dark: #0F2952;
  --primary-light: #2B5EA7;
  --accent: #F7941D;           /* Solar orange from logo */
  --accent-light: #FDEBD0;
  --accent-hover: #E5850F;

  --bg: #FFFFFF;
  --bg-alt: #F5F7FA;
  --bg-card: #FFFFFF;
  --bg-navbar: rgba(255,255,255,0.92);

  --text-heading: #0F1A2E;
  --text-body: #4A5568;
  --text-muted: #8896AB;

  --border: #E8ECF1;
  --border-hover: #D0D7E2;

  --shadow-sm: 0 1px 3px rgba(15,25,46,0.04);
  --shadow-md: 0 4px 16px rgba(15,25,46,0.06);
  --shadow-lg: 0 8px 30px rgba(15,25,46,0.08);
  --shadow-xl: 0 16px 50px rgba(15,25,46,0.1);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  --transition: 0.3s ease;
  --container: 1140px;
}

/* Dark Theme */
[data-theme="dark"] {
  --primary: #5B9CF6;
  --primary-dark: #3D7DE8;
  --primary-light: #7BB5FF;
  --accent: #F7941D;
  --accent-light: #3A2A10;
  --accent-hover: #FFB04D;

  --bg: #0C1222;
  --bg-alt: #131B2E;
  --bg-card: #182035;
  --bg-navbar: rgba(12,18,34,0.92);

  --text-heading: #E8ECF4;
  --text-body: #94A3BB;
  --text-muted: #5C6B82;

  --border: #1F2B42;
  --border-hover: #2A3A58;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.25);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.3);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.35);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,h2,h3,h4,h5,h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-heading);
  transition: color 0.4s ease;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { color: var(--text-body); transition: color 0.4s ease; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ============================================
   LAYOUT
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.section {
  padding: 90px 0;
}

.section-alt {
  background: var(--bg-alt);
  transition: background 0.4s ease;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-title {
  margin-bottom: 14px;
}

.section-desc {
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.highlight {
  color: var(--primary);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(26,61,124,0.15);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,61,124,0.2);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(247,148,29,0.2);
}

.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247,148,29,0.3);
}

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

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(26,61,124,0.04);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  padding: 14px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: var(--bg-navbar);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 44px; width: auto;
}

.nav-logo .logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-heading);
}

.nav-logo .logo-text span {
  color: var(--accent);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.nav-links a {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-heading);
  background: var(--bg-alt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  font-size: 1.15rem;
  transition: var(--transition);
  padding: 0;
  color: var(--text-body);
}

.theme-toggle:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  padding: 5px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: var(--transition);
}

.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;
  padding: 140px 0 80px;
  overflow: hidden;
}

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

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

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-light);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
  font-weight: 800;
}

.hero h1 .accent {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 460px;
}

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

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

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

.hero-stat .stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.hero-stat .stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image {
  position: relative;
}

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

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

.hero-float-card {
  position: absolute;
  bottom: -20px;
  left: -24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  transition: background 0.4s ease, border 0.4s ease;
}

.hero-float-card .float-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.hero-float-card .float-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-heading);
}

.hero-float-card .float-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-badge strong {
  font-family: 'Outfit',sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
}

.about-badge span {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.about-content h2 { margin-bottom: 18px; }
.about-content > p { margin-bottom: 18px; font-size: 1.02rem; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.about-feature:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.about-feature .feat-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature .feat-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-heading);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

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

.service-icon {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 18px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.service-card:hover .service-icon-emoji {
  filter: brightness(0) invert(1);
}

.service-card h3 { margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; margin-bottom: 16px; }

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

.service-link:hover { gap: 10px; color: var(--accent); }

/* ============================================
   SECTORS SECTION
   ============================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.sector-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
}

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

.sector-icon { font-size: 2.2rem; margin-bottom: 12px; display: block; }
.sector-card h4 { margin-bottom: 4px; font-size: 1rem; }
.sector-card p { font-size: 0.82rem; }

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  background: var(--bg-card);
}

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

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

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

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

.project-tag {
  position: absolute;
  top: 14px; left: 14px;
  padding: 4px 12px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-info {
  padding: 20px;
}

.project-info h3 { margin-bottom: 6px; font-size: 1.05rem; }
.project-info > p { font-size: 0.85rem; margin-bottom: 14px; }

.project-stats {
  display: flex;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.project-stat .stat-val {
  font-family: 'Outfit',sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
}

.project-stat .stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.why-icon {
  width: 60px; height: 60px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.6rem;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--primary);
  border-color: var(--primary);
}

.why-card h4 { margin-bottom: 8px; font-size: 1rem; }
.why-card p { font-size: 0.85rem; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info > p { margin-bottom: 28px; }

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

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

.contact-icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item-text h4 { font-size: 0.92rem; margin-bottom: 2px; }
.contact-item-text p { font-size: 0.88rem; }
.contact-item-text a { color: var(--primary); font-weight: 500; }
.contact-item-text a:hover { color: var(--accent); }

.contact-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.1rem;
  transition: var(--transition);
}

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

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: background 0.4s ease, border 0.4s ease;
}

.contact-form-card h3 { margin-bottom: 24px; font-size: 1.3rem; }

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

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-heading);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,61,124,0.08);
}

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

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select option { background: var(--bg); color: var(--text-heading); }

.contact-form .btn { width: 100%; justify-content: center; padding: 14px; }

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

.form-success.show { display: block; }
.form-success .success-icon { font-size: 2.5rem; margin-bottom: 12px; }
.form-success h3 { color: #16a34a; margin-bottom: 6px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 56px 0 0;
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
}

[data-theme="dark"] .footer {
  background: #080D18;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 36px;
}

.footer .nav-logo { margin-bottom: 14px; }
.footer .nav-logo .logo-text { color: #fff; }
.footer .nav-logo .logo-text span { color: var(--accent); }

.footer-brand > p { font-size: 0.88rem; margin-bottom: 20px; max-width: 280px; color: rgba(255,255,255,0.6); }

.footer .social-link {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
  color: #fff;
}

.footer .social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

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

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

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-newsletter p {
  font-size: 0.85rem;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.6);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.88rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255,255,255,0.4);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.85rem;
}

.newsletter-form button:hover {
  background: var(--accent-hover);
}

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

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.footer-bottom-links a:hover { color: var(--accent); }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

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

.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.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; }
.delay-6 { transition-delay: 0.6s; }

/* Nav overlay */
.nav-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

/* ============================================
   RESPONSIVE & MOBILE OPTIMIZATIONS
   ============================================ */
@media (max-width: 1024px) {
  .services-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 20px; }

  /* Mobile Navbar */
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 85%; max-width: 320px;
    height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: flex-start;
    padding: 80px 28px 40px;
    gap: 8px;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-xl);
  }

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

  .nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    padding: 14px 20px;
    width: 100%;
    border-radius: var(--radius-md);
  }

  .nav-actions { margin-left: 0; }
  .nav-actions .btn { display: none; }

  /* Hero Section Mobile */
  .hero { padding: 100px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  h2 { font-size: clamp(1.5rem, 5.5vw, 2.1rem); }
  .hero-desc { font-size: 1rem; margin-bottom: 24px; }
  
  .hero-image-main img { height: 280px; }
  .hero-float-card { 
    position: relative; 
    bottom: auto; 
    left: auto; 
    margin-top: 16px; 
    display: flex;
    width: 100%;
    justify-content: center;
  }

  /* About Section Mobile */
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-image { order: -1; }
  .about-image img { height: 300px; }
  .about-badge {
    bottom: 14px; left: 14px;
    padding: 10px 16px;
  }
  .about-badge strong { font-size: 1.3rem; }
  .about-features { grid-template-columns: 1fr; gap: 10px; }

  /* Cards & Grids Mobile */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 50px 0; }
  
  /* Buttons */
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 14px 20px; }

  /* Hero Stats in horizontal 3-column row for compact mobile viewing */
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    background: var(--bg-alt);
    padding: 16px 10px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
  }
  .hero-stat .stat-number { font-size: 1.5rem; }
  .hero-stat .stat-label { font-size: 0.72rem; }

  /* Sectors & Cards */
  .sectors-grid { grid-template-columns: 1fr; }
  .service-card, .why-card, .contact-form-card { padding: 24px 18px; }
  
  /* Project Stats horizontal alignment */
  .project-stats { justify-content: space-between; gap: 6px; }
  .project-stat .stat-val { font-size: 0.88rem; }
  .project-stat .stat-lbl { font-size: 0.65rem; }

  /* Newsletter */
  .newsletter-form { flex-direction: column; gap: 10px; }
  .newsletter-form button { width: 100%; padding: 12px; }
}

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}

.whatsapp-float svg {
  flex-shrink: 0;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--bg-card);
  color: var(--text-heading);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(8px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.65); }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
  .whatsapp-tooltip { display: none; }
}

/* ============================================
   LEGAL PAGES (Privacy, Terms)
   ============================================ */
.legal-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.8;
}
