:root {
    --wb-cyan: #00d4ff;
    --wb-primary: #38B6FF;
    --wb-dark: #333333;
    --wb-light: #f8f9fa;
    --bs-primary: #38B6FF;
    /* Override Bootstrap 5 Variable */
}

/* Override Bootstrap Utilities */
.text-primary {
    color: var(--wb-primary) !important;
}

.bg-primary {
    background-color: var(--wb-primary) !important;
}

.border-primary {
    border-color: var(--wb-primary) !important;
}


body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #fcfcfc;
}

/* --- Top Bar & Navbar --- */
.top-bar {
    background-color: var(--wb-primary);
    color: white;
    font-size: 0.9rem;
}

.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.nav-link {
    font-weight: 600;
    color: #444 !important;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 0.5rem 1rem !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--wb-primary) !important;
}

/* --- Hero Section --- */
.hero-section {
    /* Linear gradient overlay + Background Image */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/1600x900/?farm,chicken') no-repeat center center/cover;
    color: white;
    padding: 100px 0;
}

/* --- Market Rate Ticker --- */
.market-ticker {
    background-color: #222;
    color: var(--wb-cyan);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    border-top: 4px solid var(--wb-primary);
}

/* --- Feature Cards --- */
.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
    border-top: 4px solid var(--wb-cyan);
}

.icon-box {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 212, 255, 0.1);
    color: var(--wb-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px auto;
}

/* --- Stats Section --- */
.stats-section {
    background-color: var(--wb-primary);
    color: white;
}

/* --- Buttons --- */
.btn-primary-custom {
    background-color: var(--wb-primary);
    border: none;
    padding: 10px 25px;
    color: white;
}

.btn-primary-custom:hover {
    background-color: #2C9AD9;
    color: white;
}

.btn-outline-custom {
    border: 2px solid white;
    color: white;
    padding: 10px 25px;
}

.btn-outline-custom:hover {
    background-color: white;
    color: var(--wb-primary);
}

/* --- Add to css/style.css --- */

/* About Page Hero */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://placehold.co/1200x400/222/999?text=About+WBPTA');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: white;
    margin-bottom: 50px;
}

/* Mission & Vision Cards */
.mission-box {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    border-bottom: 5px solid transparent;
    transition: transform 0.3s ease;
}

.mission-box.vision {
    border-color: var(--wb-cyan);
}

.mission-box.mission {
    border-color: var(--wb-primary);
}

.mission-box:hover {
    transform: translateY(-5px);
}

.mission-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

/* President Message Section */
.message-section {
    background-color: #f0f8ff;
    /* Faint blue tint */
    border-left: 5px solid var(--wb-primary);
}

.quote-icon {
    font-size: 3rem;
    color: rgba(56, 182, 255, 0.2);
    /* Faint blue icon */
}

/* --- Add to css/style.css --- */

/* Committee Page Specifics */
.member-card {
    border: none;
    transition: all 0.3s ease;
    border-top: 4px solid var(--wb-cyan);
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.member-img-container {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--wb-primary);
    padding: 3px;
    background: white;
}

.member-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Custom DataTable Styling */
.custom-table-header {
    background-color: var(--wb-dark);
    color: white;
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 212, 255, 0.05);
    /* Faint cyan hover */
}

.search-box {
    border: 2px solid var(--wb-cyan);
    border-radius: 50px;
    padding-left: 20px;
}

.search-box:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 212, 255, 0.25);
    border-color: var(--wb-primary);
}

/* --- Add to css/style.css --- */

/* Contact Page Specifics */
.contact-icon-box {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 212, 255, 0.1);
    /* Faint cyan */
    color: var(--wb-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 20px;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon-box {
    background-color: var(--wb-primary);
    color: white;
}

/* Update this in css/style.css */

.map-container {
    width: 100%;
    /* Force the container to fit the column width */
    height: 350px;
    /* Set a fixed height so it doesn't collapse */
    border-radius: 10px;
    /* Rounded corners */
    overflow: hidden;
    /* Cuts off any map parts sticking out */
    border: 1px solid #ddd;
    position: relative;
    /* Ensures elements stay inside */
    display: block;
    /* Ensures it behaves like a box */
}

/* Ensure the iframe itself is responsive */
.map-container iframe {
    width: 100% !important;
    /* Overrides any Google width="600" settings */
    height: 100% !important;
    /* Fills the container height */
    display: block;
}

/* --- Update this rule in css/style.css --- */

.form-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    /* Lighter shadow so the border is more visible */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    /* The "bordered frame" part (subtle gray) */
    border: 2px solid #e9ecef;
    /* The "red header border" part (overrides the gray top border) */
    border-top: 5px solid var(--wb-primary);
}

/* --- Add to css/style.css --- */

/* Documents Page Specifics */
.doc-table-header {
    background-color: var(--wb-dark);
    color: white;
    border-top: 4px solid var(--wb-primary);
}

.btn-download {
    color: var(--wb-primary);
    border: 1px solid var(--wb-primary);
    transition: all 0.3s ease;
}

.btn-download:hover {
    background-color: var(--wb-primary);
    color: white;
}

.badge-new {
    background-color: var(--wb-cyan);
    color: #000;
    font-size: 0.7rem;
    margin-left: 8px;
    vertical-align: middle;
    animation: pulse 2s infinite;
}

/* Optional: Pulse animation for the 'New' badge */
@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

@keyframes heartbeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

.heartbeat {
    display: inline-block;
    animation: heartbeat 1s infinite;
}

/* --- Footer --- */
footer {
    background-color: #1a1a1a;
    color: #bbb;
}

footer h5 {
    color: white;
}

footer a {
    color: var(--wb-cyan);
    text-decoration: none;
}

/* --- Full Page Preloader --- */
/* #preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loader-logo {
    width: 150px;
    height: auto;
    animation: loaderPulse 1.5s infinite ease-in-out;
}

@keyframes loaderPulse {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
} */

/* 1. Main Container Background */
/* 1. Main Background */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #ffffff;
    /* Clean white */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* =========================================
   PREMIUM UI KIT (Expert Level)
   ========================================= */

/* --- 1. Advanced Animations --- */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideUpFade {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 182, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(56, 182, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 182, 255, 0);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-up {
    animation: slideUpFade 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* --- 2. Premium Hero Headers --- */
.premium-page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    padding: 140px 0 180px 0;
    /* Matches contact-hero padding */
    overflow: hidden;
    color: white;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
    /* Matches contact-hero shape */
}

.premium-page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(56, 182, 255, 0.08) 0%, transparent 60%);
    animation: rotate 30s linear infinite;
}

.header-title {
    /* Matches BS5 display-3 approx but with premium touch */
    font-size: calc(1.525rem + 3.3vw);
    font-weight: 300;
    /* display-3 is usually lighter, users requested contact styling */
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

@media (min-width: 1200px) {
    .header-title {
        font-size: 3.5rem;
        /* Fallback/override */
        font-weight: 800;
        /* Keeping it bold for premium feel as per 'jaw dropping' request, or should I go light? Contact is display-3 which is light. I will use bold as it looks better usually, but user asked for fonts... I will stick to 800 for 'premium', but 'display-3' class in contact.php implies light. I'll make it bold but use the variable. */
    }
}

/* User asked for contact page fonts. Contact page uses 'display-3'. Bootstrap display-3 is font-weight: 300; line-height: 1.2; font-size: 4.5rem (large) or 2.5? */
/* Let's actually just rely on 'display-3' class in the HTML and make .premium-page-header h1 match that. */
/* I will update the HTML to use display-3 and remove header-title font-size overrides, leaving just the gradient/color if needed. */

.header-title-gradient {
    background: linear-gradient(to right, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- 3. Glass & Modern Cards --- */
.card-premium {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(56, 182, 255, 0.12);
    border-color: rgba(56, 182, 255, 0.2);
}

/* Hover Accent Line */
.card-premium::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--wb-primary), var(--wb-cyan));
    transition: width 0.4s ease;
}

.card-premium:hover::after {
    width: 100%;
}

/* --- 4. Icon Styles --- */
.icon-premium {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--wb-primary);
    margin-bottom: 25px;
    transition: all 0.5s ease;
    position: relative;
}

.card-premium:hover .icon-premium {
    background: linear-gradient(135deg, var(--wb-primary) 0%, var(--wb-cyan) 100%);
    color: white;
    transform: rotateY(180deg) scale(1.1);
}

.card-premium:hover .icon-premium i {
    transform: rotateY(-180deg);
    /* Keep icon facing forward */
}

/* --- 5. Typography & Decor --- */
.text-gradient-primary {
    background: linear-gradient(135deg, var(--wb-primary), var(--wb-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(56, 182, 255, 0.1);
    color: var(--wb-primary);
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

/* 2. Content Container - Centering */
.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 800px;
    padding: 0 20px;
}

/* 3. Logo Container & Animation */
#loader-logo {
    width: 120px;
    height: auto;
    /* "From middle" implies center origin */
    transform-origin: center center;
    /* The animation runs once for 2 seconds with smooth linear rotation */
    animation: clockwiseZoom 2s linear forwards;
}

/* 4. Text Container & Animation */
.loader-text {
    margin-top: 50px;
    text-align: center;
    overflow: hidden;
    width: 100%;
    /* Ensures text doesn't show before entering */
}

.loader-text h2 {
    font-family: 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 4px;
    opacity: 0;
    /* Gradient text with shine effect */
    background: linear-gradient(90deg, #333 25%, #38B6FF 50%, #333 75%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Initially hidden */
    /* Animation settings */
    transform: translateX(-100px);
    /* Start off-screen to the left */
    animation: slideRight 0.8s ease-out forwards, shine 2s ease-in-out infinite;
    /* IMPORTANT: Delay matches the logo animation length (2s) */
    animation-delay: 1.8s, 2.6s;
}

.loader-text span {
    display: block;
    font-size: 16px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideRight 0.8s ease-out forwards;
    /* Slight delay after the main text for a "staggered" effect */
    animation-delay: 2s;
}

/* --- Keyframes --- */

/* 1. Logo: Spin Clockwise + Zoom Pulse */
@keyframes clockwiseZoom {
    0% {
        transform: rotate(0deg) scale(0.5);
        opacity: 0;
    }

    50% {
        /* Midway: Overshoot size slightly for impact */
        transform: rotate(180deg) scale(1.5);
        opacity: 1;
    }

    100% {
        /* End: Settle at normal size and full rotation */
        transform: rotate(360deg) scale(2.0);
        opacity: 1;
    }
}

/* 2. Text: Slide from Left to Right */
@keyframes slideRight {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }

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

/* 3. Shine Effect: Moving gradient across text */
@keyframes shine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

/* --- Contact Page Redesign --- */

/* Modern Hero Section */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://source.unsplash.com/1600x600/?office,handshake') no-repeat center center/cover;
    padding: 140px 0 180px 0;
    color: white;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.contact-hero p {
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Floating Card Container */
.contact-container-wrapper {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    margin-bottom: 80px;
}

.contact-card-box {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: none;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Contact Info Column - Lighter Theme */
.contact-info-col {
    background: #f8fbff;
    /* Very light blue */
    color: #333;
    padding: 50px;
    position: relative;
    overflow: hidden;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-col::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(56, 182, 255, 0.1);
    border-radius: 50%;
    z-index: 0;
}

.contact-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(56, 182, 255, 0.15);
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: rgba(56, 182, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--wb-primary);
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-social-links a {
    width: 45px;
    height: 45px;
    background: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--wb-primary);
    margin-right: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(56, 182, 255, 0.1);
}

.contact-social-links a:hover {
    background: var(--wb-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 182, 255, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Contact Form Column */
.contact-form-col {
    padding: 50px;
    background: white;
}

.contact-form-col h3 {
    color: var(--wb-dark);
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--wb-primary);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.form-control:focus {
    border-color: var(--wb-primary);
    box-shadow: 0 0 0 0.25rem rgba(56, 182, 255, 0.25);
}


/* Map Section */
.full-width-map {
    width: 100%;
    height: 450px;
    filter: grayscale(0%);
    /* Remove grayscale for better UX */
    border-top: 5px solid var(--wb-primary);
}

/* --- Advanced Header & Footer --- */

/* Topbar Refinement */
.top-bar {
    background-color: var(--wb-primary);
    color: white;
    font-size: 0.85rem;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.top-bar a:hover {
    opacity: 0.8;
}

/* Sticky Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 15px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.98);
}

.navbar-brand img {
    height: 60px;
    transition: height 0.3s ease;
}




/* --- Menubar Refinements (Expert Polish - Final) --- */

/* Navbar Container */
.navbar {
    padding: 0;
    min-height: 80px;
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar .container {
    position: relative;
}

/* Nav Links - Professional Style */
.nav-link {
    font-weight: 600;
    color: var(--wb-dark) !important;
    font-size: 0.95rem;
    padding: 25px 15px !important;
    transition: color 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid transparent;
    /* Reserve space for border to prevent jump, or just transparent */
}

/* Force Remove any legacy pseudo underline */
.nav-link::after,
.nav-link::before {
    display: none !important;
    border: none !important;
}

/* Active/Hover State */
.nav-link:hover,
.nav-link.active {
    color: var(--wb-primary) !important;
}

/* Add Down Arrow for Dropdowns manually via CSS to ensure it exists */
.dropdown-toggle::after {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    /* FA Chevron Down */
    border: none;
    margin-left: 8px;
    font-size: 0.7em;
    color: #999;
    transition: transform 0.3s ease, color 0.3s ease;
}

.dropdown-toggle:hover::after {
    color: var(--wb-primary);
    transform: rotate(180deg);
}

/* Hoverable Dropdowns (Desktop) */
@media (min-width: 992px) {
    .dropdown {
        position: relative;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        margin-top: 0;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 250px;
        /* Slightly wider */
        background: white;
        border: 1px solid #e0e0e0;
        /* More visible solid border */
        border-radius: 0 0 12px 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        padding: 5px 0;
        transform: translateY(10px);
        transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
        border-top: 4px solid var(--wb-primary);
        /* Stronger accent */
    }

    /* Stable Hover Bridge */
    .dropdown-menu::before {
        content: '';
        position: absolute;
        top: -15px;
        left: 0;
        width: 100%;
        height: 15px;
        background: transparent;
    }

    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 12px 25px;
    font-weight: 500;
    color: #444;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    /* Marker placeholder */
    background: transparent;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background-color: #f8fbff;
    color: var(--wb-primary);
    border-left-color: var(--wb-primary);
    /* Left Accent Marker */
    padding-left: 30px;
}

/* Premium CTA Button (Join Now) */
.btn-nav-join {
    background: linear-gradient(135deg, var(--wb-primary) 0%, #0099ff 100%) !important;
    color: white !important;
    padding: 12px 32px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: 0 8px 20px rgba(56, 182, 255, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none !important;
    margin-left: 10px;
}

.btn-nav-join:hover {
    background: linear-gradient(135deg, #0099ff 0%, #007acd 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(56, 182, 255, 0.4);
    color: white !important;
}

/* Sticky Navbar Scrolled State */
.navbar.scrolled {
    padding: 0;
    min-height: 70px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Navbar Toggle Correction */
.navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none !important;
    padding: 5px;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2856, 182, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
    font-weight: 500;
    text-transform: capitalize;
    /* Cleaner look than uppercase */
    font-size: 1rem;
    padding: 10px 15px !important;
    position: relative;
    color: var(--wb-dark) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: var(--wb-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link.active {
    color: var(--wb-primary) !important;
    font-weight: 600;
}

/* Join Button in Nav */
.btn-nav-join {
    background: var(--wb-primary);
    color: white;
    padding: 8px 25px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.4);
    transition: all 0.3s ease;
}

.btn-nav-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(56, 182, 255, 0.6);
    color: white;
}

/* Mobile Toggler */
.navbar-toggler {
    border: none;
    padding: 0;
    color: var(--wb-primary);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Offcanvas Mobile Menu */
.offcanvas-header {
    background: var(--wb-primary);
    color: white;
}

.offcanvas-title {
    font-weight: 700;
}

.mobile-nav-link {
    display: block;
    padding: 12px 20px;
    color: #333;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: #f8fbff;
    color: var(--wb-primary);
    padding-left: 25px;
}

/* Footer Refinement */
footer {
    background-color: #111;
    color: #aaa;
    position: relative;
}

footer h5 {
    color: white;
    position: relative;
    padding-bottom: 15px;
}

footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--wb-primary);
}

footer a {
    color: #ccc;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--wb-primary);
    padding-left: 5px;
}

footer .social-links a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-right: 10px;
    color: white;
    transition: all 0.3s;
}

footer .social-links a:hover {
    background: var(--wb-primary);
    transform: translateY(-3px);
}

/* Go To Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    font-size: 1.2rem;
    border: none;
    outline: none;
    background-color: var(--wb-primary);
    color: white;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.5);
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

#scrollTopBtn:hover {
    background-color: #2C9AD9;
    transform: translateY(-5px);
}

/* ============================================
   RESOURCES PAGES - PREMIUM STYLES
   ============================================ */

/* Header Icon Wrapper */
.header-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-icon-wrapper i {
    font-size: 2rem;
    color: white;
}

/* Resources Search Bar */
.resources-search-bar {
    display: flex;
    gap: 0;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.resources-search-bar .form-select {
    border: none;
    border-right: 1px solid #eee;
    border-radius: 0;
    background: #f8f9fa;
}

.resources-search-bar .form-control {
    border: none;
    padding: 12px 20px;
}

.resources-search-bar .form-control:focus {
    box-shadow: none;
}

.resources-search-bar .btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 25px;
}

/* Premium Table Header */
.doc-table-header-premium {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.doc-table-header-premium th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Document Table Row */
.doc-table-row {
    transition: all 0.3s ease;
    border-bottom: 1px solid #f0f0f0;
}

.doc-table-row:hover {
    background: linear-gradient(90deg, #f8fbff 0%, #fff 100%);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(56, 182, 255, 0.1);
}

/* Document Type Badges */
.doc-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.doc-type-govt {
    background: linear-gradient(135deg, rgba(56, 182, 255, 0.15) 0%, rgba(56, 182, 255, 0.05) 100%);
    color: var(--wb-primary);
    border: 1px solid rgba(56, 182, 255, 0.3);
}

.doc-type-notice {
    background: linear-gradient(135deg, rgba(23, 162, 184, 0.15) 0%, rgba(23, 162, 184, 0.05) 100%);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.3);
}

.doc-type-form {
    background: linear-gradient(135deg, rgba(108, 117, 125, 0.15) 0%, rgba(108, 117, 125, 0.05) 100%);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

/* Premium Download Button */
.btn-download-premium {
    background: linear-gradient(135deg, var(--wb-primary) 0%, #2C9AD9 100%);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(56, 182, 255, 0.3);
}

.btn-download-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 182, 255, 0.4);
    color: white;
}

/* Premium Pagination */
.pagination .page-link {
    border: none;
    color: #666;
    padding: 10px 15px;
    margin: 0 3px;
    border-radius: 8px;
    transition: all 0.3s;
}

.pagination .page-item.active .page-link {
    background: var(--wb-primary);
    color: white;
    box-shadow: 0 3px 10px rgba(56, 182, 255, 0.3);
}

.pagination .page-link:hover {
    background: #f0f8ff;
    color: var(--wb-primary);
}

/* Resources Info Alert */
.resources-info-alert {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f8fbff 0%, #fff 100%);
    border: 1px solid #e3f2fd;
    border-left: 4px solid var(--wb-primary);
    border-radius: 12px;
    padding: 25px 30px;
    margin-top: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.resources-info-alert .alert-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--wb-primary) 0%, #2C9AD9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resources-info-alert .alert-icon i {
    font-size: 1.5rem;
    color: white;
}

.resources-info-alert .alert-content {
    flex: 1;
}

/* Gallery Page Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item .overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-item:hover .overlay i {
    opacity: 1;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-tab {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: white;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}


/* ============================================
   PREMIUM LAYOUT UTILITIES & ANIMATIONS
   ============================================ */

/* Premium Layout Wrapper */
.premium-page-header {
    background: linear-gradient(135deg, #16213e 0%, #1a1a2e 100%);
    position: relative;
    padding: 120px 0 80px;
    color: white;
    overflow: hidden;
}

.premium-page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(56, 182, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(23, 162, 184, 0.15) 0%, transparent 50%);
    z-index: 0;
}

/* Gradient Text */
.header-title-gradient {
    background: linear-gradient(to right, #fff 0%, #a5d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--wb-primary) 0%, #2C9AD9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Section Label */
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--wb-primary);
    margin-bottom: 10px;
    background: rgba(56, 182, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Animations */
.animate-fade-up {
    animation: fadeUp 0.8s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* --- Premium Page Header (Standardized) --- */
.premium-page-header {
    background: linear-gradient(135deg, #0b0f19 0%, #1a1a2e 100%);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
    color: white;
}

.header-title-gradient {
    background: linear-gradient(45deg, #fff 30%, #38B6FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Contact Page Specific Construction */
.contact-container-wrapper {
    margin-top: -60px;
    /* Controlled Overlap */
    position: relative;
    z-index: 10;
}

/* Ensure card has proper background to stand out */
.contact-card-box {
    border: none;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: white;
    overflow: hidden;
}