/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, sans-serif;
}

/* Body */
body {
    line-height: 1.6;
    color: #2B2B2B;
    background-color: #f9f9f9;
}

.hero-content h2,
.hero-content p,
.hero-content a {
    font-family: 'Merriweather', serif;
}

.section h2 {
    font-family: 'Merriweather', serif;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
header {
    background: #2B2B2B;
    color: #FFFFFF;
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Merriweather', serif;
    text-decoration: none;
    color: #FFFFFF;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #A3A3A3;
}

/* Hero */
.hero {
    position: relative;
    height: 45vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}

/* Background video styling */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(60%); /* Darken for text readability */
}

/* Hero content stays on top */
.hero-content {
    position: relative;
    font-family: 'Merriweather', serif;
    color: #FFFFFF;
    z-index: 1;
    animation: fadeIn 2s ease-in-out forwards;
    opacity: 0;
}

/* Fade-in animation */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

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

.btn-primary {
    background: #2B2B2B;
    color: #FFFFFF;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.btn-primary:hover {
    background: #A3A3A3;
    color: #2B2B2B;
}

/* Sections */
.section {
    padding: 4rem 0;
    text-align: center;
    background: #F5F5F5;
    color: #2B2B2B;
}

.bg-light {
    background: #FFFFFF;
}

.btn-contact {
    display: inline-block;
    background-color: #2B2B2B; /* Charcoal */
    color: #FFFFFF;
    padding: 0.8rem 2rem;
    margin-top: 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    background-color: #A3A3A3; /* Fog accent */
    color: #2B2B2B;
}

.glass-container {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 1.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.04);
    max-width: 600px;
    margin: 1rem auto 0 auto;
    color: #fff;
    text-align: center;
    animation: fadeInGlass 1.2s ease-in-out forwards;
    opacity: 0;
}

@keyframes fadeInGlass {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.glass-container h2 {
    font-family: 'Merriweather', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.glass-container p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #f0f0f0;
}

.glass-container .btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #a3d977;
    color: #333;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

/* Footer */
footer {
    background: #2B2B2B;
    color: #FFFFFF;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    text-align: center;
    padding: 10px;
}

.team-member {
    max-width: 220px;
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    border: 3px solid #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    margin-top: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.team-member p {
    font-size: 1rem;
    color: #777;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.service-card {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 300px;
  flex: 1 1 250px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-family: 'Merriweather', serif;  
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  margin-top: 2rem; /* Adjust the value as needed */  
}

.testimonial-card {
  background-color: #fff;
  padding: 20px;
  border-left: 4px solid #4CAF50;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  flex: 1 1 30%;
  min-width: 250px;
}

.testimonial-card p {
  font-style: italic;
  color: #333;
}

.testimonial-card h4 {
  margin-top: 15px;
  color: #555;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        align-items: flex-start;
        position: relative;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        z-index: 9999;
        align-items: center; /* centers items horizontally */
        text-align: center;
        border-radius: 0 0 12px 12px;
    }

    .nav-links li {
        margin: 0.5rem 0;
    }

    .hero {
        height: auto;
        padding: 3rem 1rem;
        z-index: 1;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-logo {
        max-width: 150px;
    }

    .btn-primary,
    .btn-contact {
        width: 100%;
        padding: 0.75rem;
        font-size: 1rem;
    }

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

    .section {
        padding: 2rem 1rem;
    }
}

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

.hamburger span {
  height: 3px;
  width: 25px;
  background-color: #fff;
  border-radius: 5px;
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    margin-left: auto;
  }
    
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 100%;
    transition: all 0.3s ease-in-out;
    right: 0;
    width: 100%;
    border-radius: 0 0 12px 12px;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: flex;
  }
}
