* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 80px; /* Moves content below fixed navbar */
}


/* Solid Professional Navbar */
/* Solid Professional Navbar */
.navbar {
    background: #0f172a !important; /* Dark slate - perfect logo contrast */
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.6);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: #020617 !important; /* Even darker on scroll */
    box-shadow: 0 15px 50px rgba(15, 23, 42, 0.8);
}




.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 20px;  
    height: 80px;
    
}

/* ========== DELETE ALL THESE OLD STYLES ========== */
/* .nav-logo a { font-size: 2.2rem; background: linear-gradient... } */
/* .nav-logo a:hover { transform: scale(1.08); text-shadow... } */
/* All gradient and old logo styles - DELETE THEM! */

/* ========== KEEP ONLY THESE NEW STYLES ========== */
.nav-logo a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-logo img {
    height: 65px;
    width: 80px;
    object-fit: contain;
}

.logo-pro {
    margin-right: -10px;      /* ← Pulls Azure RIGHT NEXT TO Pro */
    letter-spacing: -0.8px; 
    color: #54dc98 !important;      /* Green */
    font-weight: 900;
    font-size: 2.2rem;
    letter-spacing: -0.6px;
    text-shadow: 0 2px 10px rgba(84, 220, 152, 0.5);
}

.logo-azure {
    color: #54c7e1 !important;      /* Blue */
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: -0.4px;
    text-shadow: 0 2px 10px rgba(84, 199, 225, 0.5);
}

/* Smooth hover effect */
.nav-logo a:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.nav-logo a:hover .logo-pro {
    text-shadow: 0 4px 15px rgba(84, 220, 152, 0.7);
}

.nav-logo a:hover .logo-azure {
    text-shadow: 0 4px 15px rgba(84, 199, 225, 0.7);
}

/* Mobile */
@media (max-width: 768px) {
    .logo-pro, .logo-azure {
        font-size: 1.5rem;
    }
}


/* Main Menu Links */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 600;
    padding: 1rem 1.8rem;
    border-radius: 25px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1rem;
    display: block;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* FULL WIDTH + HALF HEIGHT + SCROLLABLE + NO BORDER */
.mega-menu {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    width: 100vw;
    height: 90vh;
    max-height: 400px;
    background: #ffffff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 20px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.mega-content {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 1.8rem 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f8fafc;
}

.mega-content::-webkit-scrollbar {
    width: 8px;
}

.mega-content::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 10px;
}

.mega-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.mega-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    min-height: 100%;
}

/* SECTION WIDTH UNDERLINE - Perfect for any text length */
.mega-column h3 {
    margin: 0 0 1.2rem 0;
    color: #1e293b !important;
    font-size: 1.3rem;
    font-weight: 800;
    padding-bottom: 0.6rem;
    position: relative;
}

.mega-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;                           /* ✅ 100% SECTION WIDTH */
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mega-column h3:hover::after {
    width: 100%;                           /* Stays full section width */
    box-shadow: 0 2px 12px rgba(59, 130, 246, 0.4);
}

.mega-column h3 a {
    color: #1e293b !important;
    text-decoration: none;
    position: relative;
    z-index: 1;
    display: block;                        /* Full section width */
}

.mega-column h3 a:hover {
    color: #3b82f6 !important;
}

.mega-column ul {
    list-style: none;
    padding: 0;
}

.mega-column li {
    margin-bottom: 0.3rem;
}

.mega-column li a {
    color: #475569 !important;
    text-decoration: none;
    padding: 0.8rem 1rem;
    display: block;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.mega-column li a:hover {
    color: #3b82f6 !important;
    background: #f1f5f9;
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

/* Contact Us - SAME as other nav items */
.nav-item.cta .nav-link {
    background: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    font-weight: 600;
    padding: 1rem 1.8rem;
    box-shadow: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.nav-item.cta .nav-link:hover {
    background: rgba(255, 255, 255, 0.35) !important;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* 3D Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    gap: 5px;
}

.hamburger span {
    width: 32px;
    height: 4px;
    background: #ffffff;
    border-radius: 5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Tablet */
@media (max-width: 1024px) {
    .nav-container { padding: 0 1.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        overflow-y: auto;
    }

    .nav-menu.active { left: 0; }

    .hamburger { display: flex; }

    .mega-menu {
        position: static !important;
        width: 100% !important;
        height: 45vh !important;
        max-height: 350px !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f8fafc !important;
        margin: 1rem 0;
        border-radius: 12px;
        border: none !important;
    }

    .mega-content { 
        padding: 1.2rem; 
        overflow-y: auto !important;
        height: 100%;
    }

    /* Mobile: Full section width underline */
    .mega-column h3::after {
        width: 100%;                       /* Full mobile column width */
    }
    
    .mega-grid { 
        grid-template-columns: 1fr; 
        gap: 1rem; 
    }
    
    .nav-link { 
        padding: 1.2rem 1.5rem; 
        border-radius: 16px; 
        margin-bottom: 0.8rem; 
        width: 100%; 
        text-align: left;
        font-size: 1.1rem;
        color: #1e293b !important;
    }
    
    .nav-item.cta .nav-link {
        background: rgba(59, 130, 246, 0.1) !important;
        color: #1e293b !important;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px; /* Mobile navbar height */
    }
    .nav-container { height: 70px; padding: 0 1rem; }
    .nav-logo a { font-size: 1.8rem; }
    .mega-menu { height: 40vh !important; }
}



.search-container {
    position: relative;
    flex: 0 1 280px;
    min-width: 250px;
    order: 3;  /* ✅ Positions after menu, before hamburger */
}

.search-wrapper {
    position: relative;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 10px 15px 10px 40px;  /* Slightly smaller padding */
    border: 2px solid #e0e0e0;
    border-radius: 20px;  /* Smaller radius for compact look */
    font-size: 15px;  /* Smaller font */
    background: #fff url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23666" viewBox="0 0 16 16"><path d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z"/></svg>') no-repeat 12px center;
    background-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    height: 42px;  /* Fixed height */
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.15);
}

/* Suggestions dropdown - positioned normally */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid #ddd;
    border-top: none;
    border-radius: 0 0 20px 20px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.search-suggestions.show {
    display: block;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    font-size: 14px;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: #f8f9fa;
}

.suggestion-item:last-child {
    border-bottom: none;
    border-radius: 0 0 20px 20px;
}

/* Responsive - search stays visible but smaller */
@media (max-width: 992px) {
    .search-container {
        flex: 0 1 220px;
        min-width: 200px;
    }
    
    .search-input {
        padding: 8px 12px 8px 35px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .search-container {
        order: 2;
        flex: 1 1 100%;
        min-width: 0;
        margin: 10px 0;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
    }
}

/* DELETE this entire duplicate .nav-container block and replace with: */

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 992px) {
  .search-container {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-container {
    justify-content: space-between;
  }
  
  /* Ensure search bar in mobile menu is full width */
  .search-container {
    display: block;
    order: 2;
    flex: 1 1 100%;
    min-width: 0;
    margin: 10px 0;
  }
}
