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

body {
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.8;
    color: #fff;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    background-size: cover;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #003399;
    color: white;
    padding: 20px 35px;
    font-size: 0.9rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    position: fixed;
    top: 0;
    width: 100%;
}

.navbar .logo {
    max-height: 80px;
    margin-right: 15px;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.3));
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    margin-left: 10px;
    transition: color 0.3s ease;
}

.navbar a:hover {
    color: #feb47b;
}

.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 60px);
    padding: 20px;
    position: relative;
    z-index: 1;
    color: white;
}

.hero-image-desktop {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/Company1Images/background.jpg') no-repeat center 40%;
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
}


.hero-video-mobile {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

@media (max-width: 768px) {
    .hero.desktop-bg {
        background: none;
    }

    .hero-video-mobile {
        display: block;
    }
}


.hero::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: -1;
}

.hero h1 {
    font-size: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 40px 20px;
    background: rgba(0, 85, 204, 0.7);
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    margin: 20px;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
}

.services ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services ul li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

/* Examples Section */
.examples {
    padding: 40px 20px;
    background: rgba(0, 85, 204, 0.7);
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    margin: 20px;
}

.examples h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: white;
}

.slideshow-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.slides {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.slide {
    flex: 0 0 calc(33.333% - 10px);
    display: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.3s ease;
    border-radius: 50%;
    user-select: none;
    background-color: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.9);
}

/* Contact + Areas Section */
.contact-areas {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
    padding: 40px 20px;
    background: rgba(0, 85, 204, 0.7);
    color: white;
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    margin: 20px;
}

.contact-areas .content {
    flex: 1 1 45%;
    min-width: 280px;
    text-align: center;
}

.contact-areas .map {
    flex: 1 1 45%;
    min-width: 280px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-areas h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 10px;
}

.contact-areas ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.contact-areas ul li {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
}

.contact-areas ul li:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.contact-buttons {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.contact-btn {
    background: rgba(0, 85, 204, 0.85);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-btn:hover {
    background: rgba(0, 85, 204, 1);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.show-more {
    text-align: center;
    margin: 30px 0;
}

.show-more-btn {
    background: rgba(0, 85, 204, 0.85);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s ease;
}

.show-more-btn:hover {
    background: rgba(0, 85, 204, 1);
}

.qr-popup {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.qr-content {
    background: #fff;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    max-width: 300px;
    position: relative;
    color: #000;
}

.qr-content p {
    margin-bottom: 15px;
    font-weight: bold;
}

.qr-img {
    width: 200px;
    height: 200px;
}

.qr-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: color 0.3s ease;
}

.qr-close:hover {
    color: #f00;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 5px 10px;
    }

    .navbar .logo {
        max-height: 30px;
        margin: 0;
    }

    .navbar a {
        margin: 0 5px;
        font-size: 0.75rem;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 15px;
        padding: 0 10px;
        line-height: 1.2;
    }

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

    .slide {
        flex: 0 0 100%;
    }

    .slide img {
        height: 300px;
    }

    .contact-areas {
        flex-direction: column;
        align-items: center;
    }

    .contact-areas .content,
    .contact-areas .map {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .contact-btn {
        font-size: 1rem;
        padding: 8px 14px;
        width: 90%;
        max-width: 300px;
    }

    .contact-areas ul {
        flex-direction: column;
        align-items: center;
    }

    .contact-areas ul li {
        font-size: 0.9rem;
        padding: 6px 10px;
        width: auto;
    }

    footer {
        font-size: 0.8rem;
    }
}

@media (min-width: 1024px) {
    .navbar a {
        font-size: 2rem;
    }
}
  

  .hero-video-mobile {
    display: none; /* Hide by default */
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
  }
  
  @media (max-width: 768px) {
    .hero {
      background: none; /* Remove background image */
      position: relative;
      min-height: 100vh;
    }
  
    .hero-video-mobile {
      display: block; /* Show the video only on mobile */
    }
  }
  