/* =========================================
   1. GLOBAL & RESET
   ========================================= */
body {
    font-family: 'Roboto', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   2. NAVBAR STYLES
   ========================================= */
.main-nav {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    transition: all 0.3s ease;
}

/* Brand Title */
.brand-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    background: linear-gradient(to right, #F7008C, #4A2086); 
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-weight: 500;
    color: #000000 !important; /* Professional Grey-Blue */
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

/* Hover & Active States */
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link.active {
    color: #5528a3 !important; /* Your Brand Purple */
}

/* Desktop Only: Link Padding */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
    }
}

/* Saved Jobs Link (Navbar Utility) */
.saved-jobs-link {
    color: #000000 !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.saved-jobs-link:hover {
    text-decoration: underline;
    opacity: 0.7;
}

.saved-jobs-link i {
    font-size: 1.1rem;
    color: #4A2086; 
}

/* =========================================
   3. MEGA MENU STYLES (Accenture Style)
   ========================================= */
.has-megamenu {
    position: static !important;
}

.megamenu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    padding: 50px 0;
    background-color: #000000; /* Pitch Black */
    border: none;
    border-radius: 0;
    border-top: 4px solid #4A2086; /* Purple Accent */
    display: none;
}

.has-megamenu .dropdown-menu.show {
    display: block;
}

.megamenu-title {
    color: #888888;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.megamenu-list li {
    margin-bottom: 15px;
}

.megamenu-list a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.megamenu-list a:hover {
    color: #C77CFF;
    transform: translateX(5px);
}

/* Arrow on Hover */
.megamenu-list a:hover::after {
    content: "›";
    margin-left: 8px;
    font-size: 1.2rem;
    line-height: 1;
}

/* Static Menu Items */
.megamenu-static {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: default;
    display: block;
}

/* Separator Line (Desktop Only) */
@media (min-width: 992px) {
    .border-start-lg {
        border-left: 1px solid rgba(255, 255, 255, 0.15);
        padding-left: 40px;
    }
}

/* =========================================
   4. BUTTON STYLES
   ========================================= */
/* Navbar Contact Button */
.btn-contact {
    background-color: #ffffff;
    color: #4A2086 !important;
    font-weight: 500;
    border: 2px solid #4A2086;
    border-radius: 20px;
    padding: 10px 25px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contact:hover {
    background-color: #4A2086;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 32, 134, 0.3);
}

/* Floating Expert Button */
.btn-fixed-expert {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 1000;
    background-color: #4A2086;
    color: #ffffff !important;
    text-decoration: none;
    padding: 15px 30px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: none;
    border-radius: 0 !important;
    transition: all 0.3s ease;
    box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.2);
}

.btn-fixed-expert:hover {
    background-color: #6E4D9E;
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================
   5. FOOTER STYLES
   ========================================= */
.footer-section {
    background-color: #0F172A;
    color: #ffffff;
    text-align: left;
}

.footer-heading {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links li a:hover {
    color: #6E4D9E !important;
}

.text-secondary {
    color: #a0aec0 !important;
    line-height: 1.6;
}

.contact-link {
    color: #ffffff !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.copyright-text {
    font-size: 0.75rem;
    color: #718096;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
}

/* =========================================
   6. RESPONSIVE MEDIA QUERIES (Consolidated)
   ========================================= */

/* Tablet & Mobile (Below 992px) */
@media (max-width: 991px) {
    /* Navbar Adjustments */
    .navbar-nav {
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .btn-contact {
        width: 100%;
        margin-top: 10px;
    }

    /* Mega Menu Mobile Styles */
    .megamenu {
        background-color: #f8f9fa; /* Light mode */
        padding: 20px;
        border-top: none;
    }
    
    .megamenu-title {
        color: #4A2086;
        margin-top: 20px;
    }

    .megamenu-list a, 
    .megamenu-static {
        color: #333;
        font-size: 0.95rem;
    }
    
    .megamenu-list a:hover {
        transform: none;
        color: #4A2086;
    }
    
    .megamenu-list a:hover::after {
        content: none;
    }
    
    .border-start-lg {
        border-left: none;
        padding-left: 12px;
    }
}


.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem; 
    cursor: pointer;
    transition: opacity 150ms ease-in-out; 
    
    
    text-decoration: none !important; 
}


.custom-logo-link:hover {
    opacity: 0.9;
}

.custom-logo-link img {
    /* Smooth transition for the scale effect */
    transition: transform 300ms ease-in-out;
}

.custom-logo-link:hover img {
    transform: scale(1.05); 
}

/* Mobile Phones (Below 768px) */
@media (max-width: 768px) {
    /* Fixed Button Full Width */
    .btn-fixed-expert {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 0.8rem;
    }

    /* Footer Font Sizes */
    .footer-links li a,
    .address-text, 
    .small-contact {
        font-size: 0.85rem !important;
    }
    
    .footer-heading {
        font-size: 0.8rem;
    }
    
    .brand-text {
        font-size: 1.2rem;
    }
}
/* The main link container (replaces flex, items-center, gap-2, cursor-pointer, transition-opacity) */
.custom-logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Equivalent to gap-2 (8px) */
    cursor: pointer;
    
    /* Smooth transition for the opacity change */
    transition: opacity 150ms ease-in-out; 
}

/* The hover effect on the container (replaces hover:opacity-90) */
.custom-logo-link:hover {
    opacity: 0.9;
}

/* The hover effect for the image inside the container (replaces group-hover:scale-105) */
.custom-logo-link img {
    /* Smooth transition for the scale effect */
    transition: transform 300ms ease-in-out;
}

.custom-logo-link:hover img {
    transform: scale(1.05); /* Scales the image up by 5% */
}