/* GovContinuity Bureau - Design System */
/* Premium, Institutional, Authority */

:root {
    --navy: #0B132B;
    --navy-light: #1A2744;
    --gold: #D4AF37;
    --gold-light: #E8D48B;
    --gold-dark: #B8960F;
    --white: #FFFFFF;
    --gray-50: #F5F7FA;
    --gray-100: #E8ECF1;
    --gray-200: #D1D8E0;
    --gray-300: #A0AEC0;
    --gray-700: #4A5568;
    --gray-900: #1A202C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--white);
    color: var(--gray-900);
}

/* Typography */
.font-display {
    font-family: 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
}

/* Gold Gradient Text */
.text-gold-gradient {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Cards */
.card-premium {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-premium:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 40px -12px rgba(11, 19, 43, 0.15);
    transform: translateY(-2px);
}

/* Gold Border Card */
.card-gold-border {
    border: 2px solid var(--gold);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.02) 100%);
}

/* Buttons */
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
}

.btn-outline {
    border: 2px solid var(--gold);
    color: var(--gold);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
}

.btn-navy:hover {
    background: var(--navy-light);
    box-shadow: 0 8px 24px rgba(11, 19, 43, 0.3);
}

/* Stats Counter */
.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

/* Navbar */
.navbar-scrolled {
    background: rgba(11, 19, 43, 0.98) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Divider */
.divider-gold {
    height: 3px;
    background: var(--gold);
    width: 60px;
    margin: 20px 0;
}

/* Table Styles */
.table-premium {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.table-premium th {
    background: var(--navy);
    color: var(--white);
    padding: 16px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: left;
}

.table-premium td {
    padding: 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 14px;
}

.table-premium tr:hover td {
    background: var(--gray-50);
}

/* Loading Shimmer */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

.shimmer {
    background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-50) 50%, var(--gray-100) 75%);
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Focus States */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    nav, footer, .no-print {
        display: none !important;
    }
}
/* Add to existing styles.css */

/* Image Styles */
.img-premium {
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-premium:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(11, 19, 43, 0.2);
}

.img-overlay-gold {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.img-overlay-gold::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.7) 0%, transparent 60%);
}

.img-hero {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 8px;
}

/* Infrastructure Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

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

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

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(11, 19, 43, 0.9), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .caption {
    transform: translateY(0);
}

/* ============================================ */
/* WHATSAPP FLOATING BUTTON                     */
/* ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.whatsapp-float:hover {
    transform: translateY(-4px) scale(1.05);
}
.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.whatsapp-btn:hover {
    background: #1EA952;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}
.whatsapp-btn i {
    font-size: 24px;
}
.whatsapp-pulse {
    animation: whatsapp-pulse 2s infinite;
}
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
@media (max-width: 768px) {
    .whatsapp-float { bottom: 20px; right: 20px; }
    .whatsapp-btn {
        width: 56px; height: 56px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }
    .whatsapp-btn .whatsapp-text { display: none; }
}

/* ============================================ */
/* PARTNER LOGOS SECTION                        */
/* ============================================ */
.partner-logo-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    border: 1px solid #E8ECF1;
}
.partner-logo-card:hover {
    box-shadow: 0 8px 24px rgba(11, 19, 43, 0.12);
    border-color: #D4AF37;
    transform: translateY(-2px);
}
.partner-logo-card img {
    max-height: 60px;
    max-width: 100%;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}
.partner-logo-card:hover img {
    opacity: 1;
}
/* ============================================ */
/* LAZY LOADING ANIMATIONS                      */
/* ============================================ */
.lazy-load {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lazy-load.revealed { opacity: 1 !important; transform: translateY(0) !important; }

.lazy-load-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lazy-load-left.revealed { opacity: 1 !important; transform: translateX(0) !important; }

.lazy-load-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lazy-load-right.revealed { opacity: 1 !important; transform: translateX(0) !important; }

.lazy-load-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.lazy-load-scale.revealed { opacity: 1 !important; transform: scale(1) !important; }

.lazy-load-flip {
    opacity: 0;
    transform: perspective(600px) rotateY(20deg);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.lazy-load-flip.revealed { opacity: 1 !important; transform: perspective(600px) rotateY(0) !important; }

.lazy-load-blur {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                filter 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.lazy-load-blur.revealed { opacity: 1 !important; filter: blur(0) !important; transform: translateY(0) !important; }

.delay-100 { transition-delay: 100ms !important; }
.delay-200 { transition-delay: 200ms !important; }
.delay-300 { transition-delay: 300ms !important; }
.delay-400 { transition-delay: 400ms !important; }
.delay-500 { transition-delay: 500ms !important; }
.delay-600 { transition-delay: 600ms !important; }
.delay-700 { transition-delay: 700ms !important; }
.delay-800 { transition-delay: 800ms !important; }