/* variables & base setup */
:root {
  --primary-color: #0b132b;
  /* Dark Navy */
  --secondary-color: #1c2541;
  /* Lighter Navy */
  --accent-color: #ff5722;
  /* Orange Accent for alarms/alerts */
  --text-light: #f0f4f8;
  --text-dark: #2d3748;
  --glass-bg: rgba(28, 37, 65, 0.65);
  --glass-border: rgba(255, 255, 255, 0.1);
  --transition-speed: 0.3s;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* Utilities */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-subtitle {
  color: var(--accent-color);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.text-center {
  text-align: center;
}

.btn-primary,
.btn-secondary,
.btn-primary-outline {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent-color);
  color: #fff;
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.btn-primary:hover {
  background: transparent;
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--primary-color);
  transform: translateY(-3px);
}

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

.btn-primary-outline:hover {
  background: var(--accent-color);
  color: #fff;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;
  transition: background var(--transition-speed) ease, padding var(--transition-speed) ease;
}

.navbar.scrolled {
  background: rgba(11, 19, 43, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo img {
  height: 50px;
  color: white;
  font-weight: 800;
  font-size: 1.5rem;
  transition: transform var(--transition-speed);
  float: left;
}

.brand-logo img:hover {
  transform: scale(1.05);
}

.brand-logo h1 {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.2;
  float: left;
  padding-left: 15px;
}

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

.nav-links a {
  font-weight: 500;
  position: relative;
  transition: color var(--transition-speed);
}

.nav-links a:not(.btn-primary-outline):hover {
  color: var(--accent-color);
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://images.unsplash.com/photo-1557597774-9d273e382710?q=80&w=2670&auto=format&fit=crop') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 19, 43, 0.9) 0%, rgba(11, 19, 43, 0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* About Section */
.about-section {
  padding: 6rem 0;
  background: var(--primary-color);
}

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

.about-text p {
  margin-bottom: 1.5rem;
  color: #a0aec0;
  font-size: 1.1rem;
}

.features-list {
  margin-top: 2rem;
}

.features-list li {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.about-image {
  position: relative;
  border-radius: 20px;
  height: 400px;
  background: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.about-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: rgba(28, 37, 65, 0.4);
}

.image-glass-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-glass-card i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Services Section */
.services-section {
  padding: 6rem 0;
  background: var(--secondary-color);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.service-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--accent-color);
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(255, 87, 34, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--accent-color);
  color: #fff;
  transform: rotateY(360deg);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: #a0aec0;
  font-size: 1rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  text-align: center;
  background: repeating-linear-gradient(45deg, var(--primary-color), var(--primary-color) 10px, var(--secondary-color) 10px, var(--secondary-color) 20px);
}

.cta-content {
  background: rgba(11, 19, 43, 0.85);
  backdrop-filter: blur(10px);
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #a0aec0;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* Footer Section */
.footer-section {
  background: #060a16;
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 60px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: #718096;
}

.footer-contact h3,
.footer-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: #fff;
}

.footer-contact ul li {
  margin-bottom: 1rem;
  color: #718096;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.footer-contact ul li i {
  margin-top: 5px;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  color: #fff;
  font-family: inherit;
  transition: border-color 0.3s;
}

.footer-form input:focus,
.footer-form textarea:focus {
  outline: none;
  border-color: var(--accent-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #718096;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: transform 0.3s;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Animations */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.delay-1 {
  transition-delay: 0.2s;
}

.delay-2 {
  transition-delay: 0.4s;
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-top: 3rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    right: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--primary-color);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
  }

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

  .hamburger {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

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

  .image-glass-card {
    right: 50%;
    transform: translateX(50%);
    bottom: -50px;
    width: 80%;
  }
}