/* ─────────────── General Reset ─────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: #0c0c0c;
    color: #f5f5f7;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ─────────────── Header / Nav ─────────────── */
header {
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

header h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: #f5f5f7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #0071e3;
}

/* ─────────────── Hero Section ─────────────── */
.hero {
    text-align: center;
    padding: 120px 20px 100px;
    background: linear-gradient(to bottom, #111, #0c0c0c);
    animation: fadeInUp 1.2s ease forwards;
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: #ccc;
}

/* ─────────────── Services Section ─────────────── */
#services {
    padding: 100px 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #1c1c1e;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}

.service-card img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #fefefe;
}

.service-card .description {
    font-size: 0.95rem;
    color: #c1c1c1;
}

/* ─────────────── Sections (About / Contact / Location) ─────────────── */
section#about,
section#contact,
section#location {
    max-width: 900px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}

section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
    border-radius: 12px;
    margin-top: 20px;
}

/* ─────────────── Fade-in Animation ─────────────── */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s ease;
}

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

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

/* ─────────────── Modals ─────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(8px);
    background: rgba(0, 0, 0, 0.35);
    z-index: 1000;
    display: none;
    transition: opacity 0.3s ease;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.modal-content {
    background: #111;
    color: #fff;
    padding: 40px 30px;
    border-radius: 18px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    transform: scale(0.96);
    animation: popUp 0.3s ease forwards;
    font-family: "Helvetica Neue", sans-serif;
}

.modal-content h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.modal-content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* ─────────────── Modal Close Button ─────────────── */
.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #fff;
}

/* ─────────────── Animations ─────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes popUp {
    from {
        transform: scale(0.96);
        opacity: 0.8;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* ─────────────── Media Queries ─────────────── */
@media (max-width: 768px) {
    .hero h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 30px 20px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
    }

    nav ul li a {
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 30px 20px;
    }
}
.modal {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.3s ease forwards;
}

.modal-content {
    background: #111;
    color: #fff;
    padding: 30px 30px;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    transform: scale(0.96);
    animation: popUp 0.3s ease forwards;
    font-family: "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

.modal-content h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.modal-content p {
    font-size: 1rem;
    margin-bottom: 12px;
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #fff;
}
header {
  position: sticky;
  top: 0;
  background: rgba(0, 0, 0, 0.85);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

header h1 {
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: #fff;
  margin-right: auto;
  flex-shrink: 0;
}

nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin-left: auto;
}

nav ul li a {
  color: #f5f5f7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0071e3;
}
.hero {
    position: relative;
    text-align: center;
    padding: 120px 20px 100px;
    background: url('../images/background.jpg') center/cover no-repeat;
    backdrop-filter: blur(6px);
    color: #fff;
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45); /* dark overlay */
    backdrop-filter: blur(10px);     /* blur the background */
    z-index: -1;
}
/* General Section Padding */
section {
    padding: 120px 20px;
}

/* Hero Section - already has padding, we increase it more */
.hero {
    padding: 160px 20px 140px;
    min-height: 75vh;
}

/* Services Section */
#services {
    padding: 100px 40px 120px;
}

.service-grid {
    row-gap: 80px;
}

/* About / Contact / Location */
section#about,
section#contact,
section#location {
    max-width: 900px;
    margin: 100px auto;
    padding: 80px 30px;
    text-align: center;
}

/* Add some bottom margin to help separate */
section:not(:last-child) {
    margin-bottom: 60px;
}

/* Add extra spacing to modals if viewed full height */
.modal-content {
    padding: 50px 40px;
}

/* Footer if any, add padding */
footer {
    padding: 60px 20px;
    text-align: center;
    background: #111;
    color: #aaa;
}
.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #0b0b0b 100%);
    z-index: 1;
}
#services {
    background-color: #0b0b0b;
}
#services {
    padding-top: 100px;
}
@media (max-width: 600px) {
  /* Navbar - Stack on small screens */
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  nav {
    width: 100%;
    margin-top: 10px;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  nav ul li a {
    font-size: 1rem;
  }

  /* Hero Text Scaling */
  .hero h2 {
    font-size: 1.7rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  /* Service Cards - stack vertically */
  .service-grid {
    grid-template-columns: 1fr;
    row-gap: 40px;
  }

  .service-card {
    padding: 24px 16px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card .description {
    font-size: 0.9rem;
  }

  /* Modal adjustments for smaller screens */
  .modal-content {
    width: 95%;
    padding: 30px 20px;
    font-size: 0.95rem;
  }

  .modal-content h2 {
    font-size: 1.4rem;
  }

  /* Section spacing */
  section {
    padding: 80px 16px;
  }

  section h2 {
    font-size: 1.6rem;
  }

  iframe {
    height: 280px;
  }

  footer {
    padding: 40px 16px;
    font-size: 0.9rem;
  }
}
.about-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0071e3;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}
