/* ==========================================================================
    1. Global Variables & Reset
    ========================================================================== */

:root {
    --primary-red: #d93829;
    --primary-red-hover: #b8281b;
    --navy-dark: #0f172a;
    --navy-card: #1e293b;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --green-check: #16a34a;
    --star-color: #eab308;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
    2. Navigation Header
    ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 5%;
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    width: auto;
    height: 3.5rem;
}

.contact-mob {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-red);
}

.btn-call {
    background-color: var(--primary-red);
    color: #ffffff !important;
    padding: 10px 22px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-call:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
    9. Footer
    ========================================================================== */
footer {
    background: #090d16;
    color: #94a3b8;
    padding: 60px 20px 30px;
    font-size: 0.9rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    flex: 1 1 280px;
    max-width: 360px;
}

.footer-brand .logo {
    justify-content: flex-start;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-brand p {
    max-width: 320px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    transition: var(--transition);
}

.social-link:hover {
    color: #ffffff;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ==========================================================================
   Hamburger & Mobile Navigation (Screens < 900px)
   ========================================================================== */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy-dark);
  cursor: pointer;
  z-index: 1002;
  padding: 8px;
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 850px) {
  .hamburger {
    display: block;
  }

  /* Transform existing .nav-links into a slide-out sidebar */
  .nav-links {
    position: fixed;
    top: 0;
    right: -300px; /* Hidden off-screen by default */
    width: 280px;
    height: 100vh;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 90px 30px 40px;
    gap: 24px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0; /* Slide into view */
  }

  .nav-links a {
    font-size: 1.1rem;
    width: 100%;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
  }
    .footer-grid {
        flex-direction: column;
        gap: 32px;
    }
    .footer-brand {
        max-width: none;
    }
}

@media (max-width: 400px) {
    .logo img {
        height: 2.8rem;
    }
    .btn-call {
        padding: 8px 16px;
        font-size: 12px;
    }
    .contact-mob {
        gap: 16px;
    }
}