* {
    font-family: "Helvetica", "Arial", sans-serif !important;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Helvetica", "Arial", sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #fff;
    /* Remove padding-top: 80px; */
}

/* Add proper spacing for fixed navbar */
main {
    padding-top: 100px;
}

/* ---------------- NAVBAR ---------------- */
.navbar {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    background-color: #000 !important;
    padding: 20px 0;
    min-height: 100px;
    transition: all 0.3s ease;
    z-index: 1000 !important;
    /* Add fixed positioning */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 10px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 10px 18px !important;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
    padding: 0.3rem 0.6rem;
}

/* Mobile Menu Styles */
@media (max-width: 991.98px) {
    .navbar {
        padding: 15px 0;
        min-height: 80px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
    }

    .navbar-brand {
        position: static;
        transform: none;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .nav-logo {
        height: 60px;
        margin: 0 auto;
    }

    .navbar-toggler {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .navbar-collapse {
        background: #000;
        padding: 20px;
        border-radius: 0;
        text-align: center;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }

    .navbar-nav {
        flex-direction: column;
    }

    .navbar-nav .nav-item {
        margin: 8px 0;
    }

    .nav-link {
        padding: 12px 20px !important;
        font-size: 1rem;
        display: block;
    }

    /* Hide desktop menus on mobile */
    .navbar .d-none.d-lg-flex {
        display: none !important;
    }

    /* Show mobile toggle */
    .navbar-toggler.d-lg-none {
        display: block !important;
    }

    /* Adjust main padding for mobile */
    main {
        padding-top: 80px;
    }
}

/* Desktop Styles */
@media (min-width: 992px) {

    /* Hide mobile toggle on desktop */
    .navbar-toggler.d-lg-none {
        display: none !important;
    }

    /* Hide collapsible menu on desktop */
    .navbar-collapse.d-lg-none {
        display: none !important;
    }

    /* Show desktop menus */
    .navbar .d-none.d-lg-flex {
        display: flex !important;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .navbar {
        min-height: 70px;
    }

    .nav-logo {
        height: 50px;
    }

    .navbar-toggler {
        left: 10px;
    }

    /* Adjust main padding for small mobile */
    main {
        padding-top: 70px;
    }
}

/* ---------------- HERO VIDEO ---------------- */
.video-hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: transparent;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.hero-logo {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* ---------------- BUTTON ---------------- */
.get-started-btn {
    display: inline-block;
    padding: 14px 32px;
    background: white;
    color: #000;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid white;
    margin-top: 20px;
    text-decoration: none;
}

.get-started-btn:hover {
    background: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

.gmail-icon {
    color: #000000;
    font-size: 24px;
}

/* ---------------- SERVICES SECTION ---------------- */
.services-section {
    padding: 100px 0;
    background: #fff;
}

.services-section .section-intro {
    margin-bottom: 60px;
    text-align: center;
}

.services-section .section-intro h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #222;
}

.services-section .section-intro p {
    color: #222;
}

.services-section .divider {
    height: 4px;
    width: 100px;
    margin: 20px auto;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-row {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 20px 0;
}

.service-item {
    flex: 0 0 auto;
    width: 350px;
}

.service-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.service-link:hover {
    text-decoration: none;
}

.service-link:hover .service-image-container {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-link:hover .service-image {
    transform: scale(1.05);
}

.service-image-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.service-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.service-text h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.service-text p {
    font-size: 1.2rem;
    color: #000;
    opacity: 0.9;
    margin-bottom: 20px;
}

.service-icon {
    font-size: 3rem;
    color: white;
    margin-top: 20px;
}

/* ---------------- ABOUT ---------------- */
#about {
    padding: 120px 0;
    min-height: 70vh;
    background-image: url(images/backgroundMDG1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

#about .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

#about .container {
    position: relative;
    z-index: 1;
    width: 100%;
}

#about .section-intro h1 {
    font-size: 3rem;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

#about .divider {
    height: 4px;
    width: 120px;
    background: #fff;
    margin: 25px auto;
}

#about p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ---------------- PORTFOLIO ---------------- */
.portfolio-section {
    padding: 100px 0;
    background: #fff;
}

.portfolio-section .section-intro h1 {
    color: #000;
}

.portfolio-section .section-intro p {
    color: #000;
}

.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.portfolio-col {
    flex: 0 0 50%;
    padding: 0 15px;
    margin-bottom: 30px;
}

.portfolio-image-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.portfolio-text h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.portfolio-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ── Portfolio text: responsive scaling & centering ── */
@media (max-width: 991px) {
    .portfolio-col {
        flex: 0 0 100%;
    }

    .portfolio-text h3 {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .portfolio-text p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .portfolio-image-container {
        height: 300px;
    }

    .portfolio-text h3 {
        font-size: 1.2rem;
        letter-spacing: 1.5px;
    }

    .portfolio-text p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .portfolio-image-container {
        height: 240px;
    }

    .portfolio-text h3 {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-bottom: 8px;
    }

    .portfolio-text p {
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .portfolio-image-container {
        height: 200px;
    }

    .portfolio-text h3 {
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    .portfolio-text p {
        font-size: 0.7rem;
    }
}

/* ---------------- LOCATION (WITH BACKGROUND IMAGE) ---------------- */
.location-section {
    padding: 150px 0;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.location-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

/* ── Location Pairs Layout ── */

/* Desktop: two pairs sit side by side */
.location-pairs {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.location-pair {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Map inside a pair matches the image width */
.location-pair .map-item {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-pair .map-item iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
    border-radius: 10px;
}

/* Mobile: pairs stack vertically (image → map, image → map) */
@media (max-width: 768px) {
    .location-pairs {
        flex-direction: column;
    }

    .location-pair .map-item iframe {
        height: 280px;
    }
}

@media (max-width: 576px) {
    .location-pair .map-item iframe {
        height: 240px;
    }
}

.location-section .container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
}

.location-section .section-intro h1 {
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.location-section .section-intro .divider {
    background: #fff;
}

.location-section .section-intro p {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.location-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 0;
    gap: 20px;
    margin-bottom: 60px;
}

.location-item {
    flex: 1;
    padding: 0;
}

.location-image-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    width: 100%;
}

.location-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 100%;
    padding: 20px;
    z-index: 2;
}

.location-text h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
}

.location-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.location-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.location-image-container:hover .location-image {
    transform: scale(1.05);
}

/* Map styling to match location images */
.map-container {
    margin-top: 0;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    border-radius: 10px;
}

.map-row {
    display: flex;
    gap: 20px;
    margin-top: 0;
}

.map-item {
    flex: 1;
}

/* Ensure consistent styling */
.location-image-container,
.map-container {
    border-radius: 10px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
}

/* Responsive adjustments for location section */
@media (max-width: 768px) {
    .location-row {
        flex-direction: column;
        gap: 20px;
    }

    .location-item {
        flex: 0 0 100%;
    }

    .location-image-container {
        height: 400px;
    }

    .location-text h3 {
        font-size: 2rem;
    }

    .map-row {
        flex-direction: column;
        gap: 20px;
    }

    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .location-image-container {
        height: 300px;
    }

    .location-text h3 {
        font-size: 1.5rem;
    }

    .location-text p {
        font-size: 1rem;
    }

    .map-container iframe {
        height: 300px;
    }
}

/* ---------------- CONTACT ---------------- */
#contact {
    padding: 100px 0;
    background-image: url(images/backgroundMDG2.jpg);
    background-size: cover;
    background-position: center;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    color: white;
    position: relative;
}

#contact .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

#contact .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

#contact .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------- PRELOADER ---------------- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    z-index: 999999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transition: opacity 1s ease, visibility 1s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#preloader-video {
    max-width: 600px;
    max-height: 600px;
    width: 100%;
    height: auto;
    position: relative;
    object-fit: contain;
}

/* ---------------- FOOTER ---------------- */
footer {
    background: #000;
    color: #fff;
    padding: 40px 0;
    margin-top: 0 !important;
}

footer a {
    color: #fff;
    margin: 0 12px;
    font-size: 22px;
    transition: all 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
}

/* ---------------- RESPONSIVE ---------------- */

/* Medium screens (split desktop) */
@media (max-width: 1100px) and (min-width: 851px) {
    .service-item {
        width: 300px;
    }
}

/* Tablet */
@media (max-width: 850px) {
    .navbar {
        padding: 10px 0;
        min-height: 80px;
    }

    .nav-logo {
        height: 50px;
    }

    .services-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .service-item {
        width: 45%;
        margin-bottom: 30px;
    }

    .service-image-container {
        height: 400px;
    }

    .service-text h3 {
        font-size: 2rem;
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .services-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 25px;
    }

    .service-item {
        width: 80%;
    }

    .service-image-container {
        height: 350px;
    }

    .service-text h3 {
        font-size: 1.8rem;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .navbar {
        min-height: 70px;
    }

    .nav-logo {
        height: 45px;
    }

    .service-item {
        width: 90%;
    }

    .service-image-container {
        height: 300px;
    }

    .service-text h3 {
        font-size: 1.6rem;
    }

    footer a {
        font-size: 20px;
        margin: 0 10px;
    }
}