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

:root {
  --primary: #0f172a;
  --secondary: #16a34a;
  --secondary-hover: #15803d;
  --accent: #facc15;
  --text-light: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f1f5f9;
  --bg-dark: #020617;
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-light);
}

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

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

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-light);
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary);
}

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

.nav-links a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  height: 100vh;
  background-color: var(--primary);
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-light);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.4));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s forwards 0.5s;
}

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

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}

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

.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--secondary);
  color: white;
  font-weight: 600;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(22, 163, 74, 0.4);
}

.btn:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.6);
}

/* Section Shared */
.section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 50px;
  color: var(--primary);
}

.section-title span {
  color: var(--secondary);
}

/* Features/Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  group: hover;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.service-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  background-color: #eee;
  transition: transform 0.5s ease;
}

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

.service-content {
  padding: 25px;
  position: relative;
  z-index: 2;
  background: white;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.service-content p {
  color: var(--text-muted);
  margin-bottom: 15px;
}

.service-content a {
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-content a:hover {
  gap: 10px;
}

/* About Snippet */
.about-snippet {
  background-color: var(--primary);
  color: var(--text-light);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.about-text {
  padding: 80px 10%;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about-text h2 span {
  color: var(--secondary);
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-muted);
}

.about-img {
  height: 100%;
  min-height: 400px;
  background: url('https://images.unsplash.com/photo-1541888075757-04663efd5fb3?auto=format&fit=crop&q=80') center/cover;
}

/* Contact Info Bar */
.contact-bar {
  background: var(--bg-dark);
  padding: 10px 0;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
}

.contact-bar .container {
  display: flex;
  justify-content: space-between;
}

.contact-bar ul {
  display: flex;
  gap: 20px;
}

.contact-bar ul li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-bar a:hover {
  color: white;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: white;
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary);
}

.footer-col p {
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

.footer-col ul li a {
  color: var(--text-muted);
}

.footer-col ul li a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .about-snippet {
    grid-template-columns: 1fr;
  }
  
  .about-text {
    padding: 50px 20px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--primary);
    flex-direction: column;
    padding: 80px 30px;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
    z-index: 1001;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .contact-bar {
    display: none; /* Hide on mobile to save space */
  }
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Call Modal */
.call-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.6); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(5px); }
.call-modal-content { background: white; padding: 40px; border-radius: 15px; text-align: center; max-width: 400px; width: 90%; position: relative; animation: fadeUp 0.3s ease; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; cursor: pointer; color: #888; }
.close-modal:hover { color: red; }
.call-modal-content h3 { margin-bottom: 25px; color: var(--primary); }
.call-options { display: flex; flex-direction: column; gap: 15px; }
.modal-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--primary); color: white; padding: 15px; border-radius: 8px; font-size: 1.1rem; font-weight: bold; transition: transform 0.2s; }
.modal-btn:hover { transform: scale(1.05); color: white; }
