/* General Styles */
@import url("css/hero.css");
@import url("css/projects.css");
@import url("css/whychooseus.css");
@import url("css/ourstory.css");
@import url("css/testimonials.css");
@import url("css/getintouch.css");
@import url("css/footer.css");
@import url("css/pages/page.css");

body { background-color:#ebebeb;margin: 0; font-family: 'Montserrat', sans-serif; 

 overflow-x: hidden;
 margin: 0;
    padding: 0;
}

input, 
select, 
textarea {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 1rem; /* Adjust based on your design */
    color: #232323;    /* Dark gray for better readability */
    font-weight: 500;
}
html {
    scroll-behavior: smooth; /* Makes the transition fluid instead of a jump */
}
.cta-wrapper {
    text-decoration: none; 
    color: inherit;        
    display: inline-block; 
    width: 100%;         
}
.navbar {
  overflow: hidden;
  background: linear-gradient(to right, #0a3d62, #3c8dbc);
  padding: 15px 7%;
  color: white;
  position: sticky;
  
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.0rem;
  font-weight: 500;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s ease; /* Smooth out all changes */
    display: inline-block; /* Required for transform to work */
}

.nav-links a:hover {
    opacity: 0.7;
    transform: translateY(-2px); 
}
.nav-links a:active {
    transform: translateY(1px); /* Pushes down slightly when pressed */
    opacity: 1;
    color: #DAA520; /* Optional: Change to a gold/brand color on click */
}
.navicons { display: none;  align-items: center;gap:13px; }

/* Container for the link to remove default blue underline */

.logo {
 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none; /* Prevents text highlighting on fast clicks */
}

/* Hover Effect: Glow and Slight Lift */
.logo:hover {
    transform: translateY(-2px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    opacity: 0.9;
}

/* Click Effect: Pressed/Shrink */
.logo:active {
    transform: translateY(1px) scale(0.95);
    transition: all 0.1s ease; /* Faster transition for the click */
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.logo-img {
  width: 32px;
  height: auto;
  display: block;
 
  margin-bottom: 20px;
}


/* Hide Mobile Elements on PC */
#menu-toggle, .hamburger { display: none; }
.close-menu{
  display: none;
}
/* --- Responsive Media Query (Mobile) --- */
/* Desktop Styles remain as you had them, update the Media Query below */
@media (max-width: 1200px) {
    .navbar {
        z-index: 2800; /* Higher than overlay */
    }
    /* 1. Show the mobile icons */
    .navicons { 
        display: flex; 
        z-index: 1001; /* Keep icons above navbar but below sidebar */
    }

    /* 2. The Sidebar - This MUST have the highest z-index */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%; /* Off-screen */
        width: 280px; 
        height: 100vh;
        background: #0a3d62; /* Your solid blue */
        z-index: 3000; /* Super high to beat everything */
        padding: 80px 30px;
        gap: 25px;
        transition: right 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    /* Triggered by JS */
    .nav-links.active {
        right: 0;
    }

    /* 3. The Overlay - This is the "Dark Tint" */
    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.7); /* Dark tint */
        z-index: 2500; /* Lower than sidebar (3000) but higher than page */
        
        /* Visibility logic */
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.3s ease, visibility 0.3s;
    }

 
    /* 4. Link Styling in Sidebar */
    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        font-size: 1.1rem;
        display: block;
        padding: 10px;
    }

    /* 5. Close Button */
    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2.2rem;
        color: white;
        cursor: pointer;
        z-index: 3001; /* Above the sidebar background */
    }
    /* Add this inside your @media (max-width: 768px) block */
.menu-overlay.active {
    visibility: visible;
  
    opacity: 1;
}
}