﻿:root {
    --primary: #2a6eb9; /* Logo Blue */
    --accent-amber: #d4a017; /* Logo Amber/Gold */
    --accent-green: #047857; /* Emerald Green */
    --white: #ffffff; /* White */
    --light-gray: #e5e7eb; /* Light Gray */
    --dark: #1e1e1e; /* Near Black */
    --dark-amber: #d97706; /* Dark Amber */
    --light-blue: #60a5fa; /* Light Blue */
}
body{
    overflow-x:hidden;
}
.header {
    position: fixed;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    transition: all 0.4s ease;
    z-index: 50;
    height: 170px;
    padding: 0px;
    font-size: 1.5rem;
    letter-spacing: 2px;
    font-weight: 600;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.logo {
    transition: all 0.4s ease-in-out;
    object-fit: contain;
    width: 170px;
    height: auto;
}
.mobile {
    background-color: #1e435e;
    margin-left: 20px;
}
.header-scrolled .logo {
    width: 110px;
    height: auto;
}
.header-scrolled {
    position: fixed;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    height: 110px;
    background: linear-gradient(120deg, #ffffff, #ffffff, #ffffff);
    background-size: 300% 300%;
    border-radius: 20px;
    z-index: 50;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    animation: flyIn 1.2s ease-out forwards, gradientMove 8s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e435e;
    font-size: 1.0rem;
    letter-spacing: 2px;
    font-weight: 900;
    padding:0px !important;
}

h1, h2, h3, h4 {
    font-family: Arial, Helvetica, sans-serif;
    color: #1e435e;
}
.bg-emerald-600 {
    --tw-bg-opacity: 1;
    background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}
/* Smooth gradient motion */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}
/* Existing fly-in */
@keyframes flyIn {
    0% {
        left: -75%;
    }

    50% {
        left: 25%;
    }

    100% {
        left: 50%;
    }
}



/* Fly-in animation */
@keyframes flyIn {
    0% {
        transform: translate(-50%, 60px) rotate(0deg);
        opacity: 0;
    }


    100% {
        transform: translate(-50%, 0) rotate(0deg);
        opacity: 1;
    }
}

/* Optional: Hover animation - makes it “hover” */
.header-scrolled:hover {
    transform: translateX(-50%) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}


@keyframes slideDownFade {
    0% {
        transform: translate(-50%, -50px);
        opacity: 0;
    }

    100% {
        transform: translateX(-50%);
        opacity: 1;
    }
}

/* Optional: Add hover or scroll effect */
.header-scrolled:hover {
    backdrop-filter: blur(12px);
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(230,230,255,0.8));
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.mail {
    color: #1e3a8a;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: self-start;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.4s ease;
    overflow: hidden;
}

    /* Subtle animated underline */
    .mail::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0%;
        height: 2px;
        background: linear-gradient(90deg, #2563eb, #60a5fa);
        border-radius: 2px;
        transition: width 0.4s ease;
    }

    /* Hover interaction */
    .mail:hover {
        color: #0f172a !important;
        background: rgba(224, 242, 254, 0.7);
        transform: translateY(-2px);
    }

        .mail:hover::after {
            width: 100%;
        }

    /* Optional: Add subtle icon pulse for phone/mail icons */
    .mail i {
        font-size: 1.2rem;
        color: darkgoldenrod;
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .mail:hover i {
        transform: scale(1.2);
    }



.nav {
    margin-right: 60px;
    margin-left: 60px
}


.nav-link {
    position: relative;
    transition: all 0.3s ease;
    padding-bottom: 0px;
    font-size: 5.95rem !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0f2c6cf7 !important; /* close to your logo blue */
}

    .nav-link:hover::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #f59e0b;
        transform: scaleX(1);
    }

    .nav-link::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #f59e0b;
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

.active-link {
    color: steelblue;
    font-weight: 600;
}

    .active-link::after {
        transform: scaleX(1) !important;
        background-color: darkgoldenrod !important;
    }

#mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
}

    #mobile-menu.open {
        transform: translateX(0);
    }

.mobile-nav-link {
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

    .mobile-nav-link:hover {
        transform: translateX(10px);
        color: #f59e0b;
    }




.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transform: scale(1.1);
}

.hero-parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.layer-1 {
    background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    opacity: 0.3;
}

.layer-2 {
    background-image: url('https://images.unsplash.com/photo-1614850715649-1d0106293bd1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    opacity: 0.5;
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%; /* only covers upper part */
    background: linear-gradient( to bottom, rgba(255, 255, 255, 0.85) 0%, /* soft white tint at top */
    rgba(255, 255, 255, 0.25) 60%, /* subtle fade */
    rgba(255, 255, 255, 0) 100% /* fully transparent below */
    );
    backdrop-filter: blur(0px); /* adds subtle glass effect */
    z-index: 3;
    pointer-events: none; /* ensures overlay doesn't block clicks */
    transition: all 0.4s ease-in-out;
}


.hero-content {
    position: relative;
    z-index: 4;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 120, 87, 0.7);
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}
.card-overlay {
    pointer-events: none;
}
