:root {
  --blue-primary: #0A66C2;
  --blue-dark: #004e9e;
  --red-accent: #D32F2F;
  --red-dark: #b71c1c;
  --green-energy: #2E7D32;
  --green-soft: #4caf50;
  --gray-bg: #F8FAFE;
  --gray-light: #F1F4F9;
  --gray-border: #E4E9F2;
  --text-dark: #1A2C3E;
  --text-muted: #4A627A;
  --white: #ffffff;
  --shadow-sm: 0 10px 30px -12px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.5;
  overflow-x: hidden;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, .logo-text, .btn, .nav-links a {
  font-family: 'Poppins', sans-serif;
}

h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  color: var(--red-accent);
  background: rgba(211, 47, 47, 0.08);
  display: inline-block;
  padding: 0.3rem 1rem;
  border-radius: 40px;
  margin-bottom: 1rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red-accent);
  color: white;
  box-shadow: 0 4px 10px rgba(211, 47, 47, 0.25);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--blue-primary);
  color: var(--blue-primary);
}
.btn-outline:hover {
  background: var(--blue-primary);
  color: white;
  border-color: var(--blue-primary);
}

.btn-cta {
  background: var(--green-energy);
  color: white;
  font-size: 1rem;
  padding: 14px 36px;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
}
.btn-cta:hover {
  background: #1b5e20;
  transform: scale(1.02);
}

/* STICKY NAVBAR */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 32px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  background: var(--blue-primary);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: white;
  font-size: 1.4rem;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-dark);
}
.logo-text span {
  color: var(--red-accent);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: var(--text-dark);
  transition: 0.2s;
  font-size: 1rem;
}
.nav-links a:hover, .nav-links a.active-nav {
  color: var(--red-accent);
}
.nav-phone a {
  text-decoration: none;
  font-weight: 600;
  color: var(--blue-primary);
}
.hamburger {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  background: linear-gradient(135deg, #001f3f 0%, #0a2f44 100%);
  color: white;
  overflow: hidden;
  padding: 80px 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/circuit-board.png');
  opacity: 0.07;
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-text h1 {
  font-size: 3.5rem;
}
.hero-badge {
  display: inline-flex;
  gap: 8px;
  background: rgba(255,255,240,0.12);
  backdrop-filter: blur(2px);
  padding: 6px 16px;
  border-radius: 60px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}
.hero-text p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.hero-trust {
  display: flex;
  gap: 24px;
  font-size: 0.85rem;
  opacity: 0.8;
}
.hero-visual {
  position: relative;
}
.floating-icons {
  position: absolute;
  font-size: 2rem;
  top: 10%;
  left: -20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  color: rgba(255,215,0,0.7);
  animation: float 5s infinite ease;
}
.hero-image-placeholder img {
  width: 100%;
  border-radius: 32px;
  box-shadow: 0 25px 40px -20px black;
  border: 1px solid rgba(255,255,255,0.2);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-text p {
  margin-bottom: 1.2rem;
  color: var(--text-muted);
  font-size: 1rem;
}
.about-stats {
  display: flex;
  gap: 32px;
  margin-top: 28px;
}
.about-stats div {
  font-weight: 600;
  font-size: 1rem;
}
.about-stats strong {
  font-size: 1.8rem;
  display: block;
  color: var(--blue-primary);
}
.about-image img {
  width: 100%;
  border-radius: 32px;
  box-shadow: var(--shadow-md);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}
.service-card {
  background: var(--white);
  border-radius: 28px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--gray-border);
  text-align: center;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-primary);
}
.service-icon {
  background: linear-gradient(145deg, #eef3fc, #e2eaf5);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: var(--blue-primary);
}
.service-card h3 {
  font-size: 1.4rem;
}
.service-card p {
  color: var(--text-muted);
}

/* Why choose us */
.why-us {
  background: var(--gray-bg);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.why-card {
  background: white;
  padding: 32px 20px;
  border-radius: 28px;
  text-align: center;
  transition: 0.2s;
  box-shadow: var(--shadow-sm);
}
.why-card i {
  font-size: 2.8rem;
  color: var(--green-energy);
  margin-bottom: 20px;
}
.why-card h3 {
  margin-bottom: 12px;
}
.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}
.project-card {
  border-radius: 28px;
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
}
.project-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}
.project-card:hover img {
  transform: scale(1.03);
}
.project-info {
  padding: 20px;
}
.project-cat {
  background: var(--gray-light);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue-primary);
  display: inline-block;
  margin-top: 10px;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 20px;
}
.step {
  background: var(--white);
  padding: 30px 20px;
  flex: 1 1 180px;
  text-align: center;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--blue-primary);
}
.step-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--red-accent);
  opacity: 0.7;
  margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(115deg, #0A2647 0%, #1B3B4F 100%);
  padding: 80px 0;
  color: white;
  text-align: center;
}
.cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}
.cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}
.contact-info {
  background: var(--gray-bg);
  padding: 36px;
  border-radius: 32px;
}
.contact-detail {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
  align-items: center;
}
.contact-detail i {
  font-size: 1.8rem;
  color: var(--blue-primary);
  width: 48px;
}
.contact-detail a, .contact-detail span {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
}
.social-trust i {
  font-size: 1.8rem;
  margin-right: 20px;
  color: var(--text-muted);
  transition: 0.2s;
}
.input-group {
  margin-bottom: 20px;
}
.input-group input, .input-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--gray-border);
  border-radius: 28px;
  font-family: inherit;
  transition: 0.2s;
}
.input-group input:focus, .input-group textarea:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(10,102,194,0.1);
}
.submit-btn {
  background: var(--blue-primary);
  width: 100%;
  justify-content: center;
}

/* Footer */
.footer {
  background: #0A1927;
  color: #cbd5e1;
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}
.footer-col h4 {
  color: white;
  margin-bottom: 1rem;
  font-weight: 600;
}
.footer-col ul {
  list-style: none;
}
.footer-col li, .footer-col p {
  margin-bottom: 8px;
  font-size: 0.9rem;
}
.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #1f3a3a;
  font-size: 0.8rem;
}

/* WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: 0.2s;
  z-index: 999;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  background: #20b859;
}

/* ANIMATIONS & SCROLL REVEAL */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-200 {
  transition-delay: 0.15s;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-trust { justify-content: center; }
  .floating-icons { display: none; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    background: white;
    width: 80%;
    height: 100vh;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    box-shadow: 5px 0 30px rgba(0,0,0,0.1);
    transition: 0.3s;
    display: block;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-links {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
  }
  .hamburger {
    display: block;
  }
  .navbar {
    padding: 0.8rem 24px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { flex-direction: column; align-items: center; }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .section-padding { padding: 60px 0; }
  .hero { padding: 60px 0; }
}
