/* Header Styles Extracted from Custom Overrides */

/* Header Core Styles */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
}

/* Ensure no top margin on body when header is present */
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Logo */
.site-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
}

/* Navigation Links */
.navbar-nav .nav-link {
    color: #1a1a2e;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    letter-spacing: 0.2px;
    position: relative;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: #0056D2;
}

.navbar-nav .nav-link.active {
    color: #0056D2;
    font-weight: 700;
}

/* Modern Hover Indicator */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #0056D2;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 20px;
}

/* Base Button Styles used in Header */
.btn-primary-custom {
    background-color: #0056D2;
    color: white;
    padding: 8px 24px;
    font-size: 0.95rem;
    border: 2px solid #0056D2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 86, 210, 0.2);
    border-radius: 50px;
    /* Assuming rounded-pill class */
    text-decoration: none;
}

.btn-primary-custom:hover {
    background-color: #0044a5;
    border-color: #0044a5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 86, 210, 0.3);
}

.btn-outline-custom {
    color: #0056D2;
    border: 1.5px solid #e5e7eb;
    padding: 8px 20px;
    font-size: 0.95rem;
    background: transparent;
    transition: all 0.3s ease;
    border-radius: 50px;
    text-decoration: none;
}

.btn-outline-custom:hover {
    border-color: #0056D2;
    color: #0056D2;
    background: #f8fbff;
}

/* WhatsApp Button */
.btn-whatsapp {
    width: 42px;
    height: 42px;
    background: #25d366;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
}

.btn-whatsapp:hover {
    transform: translateY(-3px) rotate(8deg);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
    background: #20bd5a;
    color: white;
}

.btn-whatsapp-mobile {
    width: 36px;
    height: 36px;
    background: #25d366;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Nav Styles */
.mobile-nav-list .nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-list .nav-link {
    padding: 12px 0 !important;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.mobile-nav-list .nav-link:hover,
.mobile-nav-list .nav-link.active {
    background: #f8fbff;
    padding-left: 10px !important;
}

/* Hamburger Icon */
.hamburger-icon span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: #1a1a2e;
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 1199px) {
    .site-logo {
        height: 32px;
    }
}