/* ==========================================
   TEXCO Premium Global Design & Theme System
   ========================================== */

:root {
    --purple-main: #422772;
    --purple-light: #563b8a; /* 10% lighter shade of #422772 */
    --purple-dark: #2c194d;
    --pink-main: #E52579;
    --blue-main: #88C1EF;
    --transition-premium: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Body Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #212121;
}

/* ==========================================
   1. Premium Screen Theme Bar (Top Utility Bar)
   ========================================== */
body .top-utility-bar {
    background: linear-gradient(135deg, #18033c 0%, var(--purple-main) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.82rem !important;
    padding: 0.5rem 5% !important;
    letter-spacing: 0.5px !important;
    font-weight: 500 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    position: relative !important;
    z-index: 1001 !important;
}

body .utility-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body .utility-right {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

body .utility-right .divider {
    width: 1px !important;
    height: 15px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    margin: 0 5px !important;
}

body .utility-left span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #88C1EF !important;
}

body .utility-left i {
    font-size: 0.9rem;
    animation: pulse 2s infinite;
}

body .utility-right button, 
body .utility-right select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    padding: 4px 10px !important;
    border-radius: 6px !important;
    cursor: pointer;
    font-weight: 600 !important;
    transition: var(--transition-premium) !important;
}

body .utility-right button:hover, 
body .utility-right select:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: var(--blue-main) !important;
    transform: translateY(-1px);
}

body .utility-right select option {
    color: #333 !important;
    background: white !important;
}

/* ==========================================
   2. Classic Premium Header & Glassmorphism
   ========================================== */
body header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    box-shadow: none !important;
    padding: 0.4rem 5% !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
}

/* Keep original logo structure completely, only styling elements slightly for premium quality */
body .logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.8rem !important;
    text-decoration: none !important;
}

body .logo-icon {
    width: 42px !important;
    height: 42px !important;
    border-radius: 10px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    font-size: 0.95rem !important;
    color: white !important;
    background: linear-gradient(135deg, var(--pink-main) 0%, var(--purple-main) 100%) !important;
    box-shadow: 0 4px 15px rgba(229, 37, 121, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body .logo-img {
    width: 42px !important;
    height: 42px !important;
    object-fit: contain !important;
}

body .logo:hover .logo-icon, body .logo:hover .logo-img {
    transform: none !important;
}

body .logo-text {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

body .logo-text h1 {
    color: var(--purple-main) !important;
    text-shadow: none !important;
    font-size: 1.45rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    letter-spacing: 0.5px !important;
}

body .logo-text p {
    color: var(--purple-light) !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Navigation Links - Classic Hover & Underline Effect */
body .nav-links {
    display: flex !important;
    gap: 2rem !important;
    align-items: center !important;
}

body .nav-links a {
    color: #212121 !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px !important;
    padding: 6px 4px !important;
    position: relative !important;
    text-shadow: none !important;
    transition: var(--transition-premium) !important;
}

body .nav-links a:hover, 
body .nav-links a.active {
    color: var(--purple-main) !important;
}

body .nav-links a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -5px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--purple-main) !important;
    transition: var(--transition-premium) !important;
    display: block !important;
}

body .nav-links a:hover::after, 
body .nav-links a.active::after {
    width: 100% !important;
}

/* Premium Buttons Redesign */
body .auth-btns {
    display: flex !important;
    gap: 1rem !important;
    align-items: center !important;
}

body .auth-btns .btn-outline {
    background: transparent !important;
    border: 2px solid #1a364c !important;
    color: #03111c !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    width: 110px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 30px !important;
    box-shadow: 0 0 15px rgba(136, 193, 239, 0.1) !important;
    transition: var(--transition-premium) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

body .auth-btns .btn-outline:hover {
    background: transparent !important;
    color: #03111c !important;
    box-shadow: 0 0 15px rgba(136, 193, 239, 0.1) !important;
    transform: none !important;
    text-decoration: none !important;
}

body .auth-btns .btn-solid {
    background: #e52579 !important;
    border: none !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    width: 110px !important;
    height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 30px !important;
    box-shadow: 0 4px 15px rgba(229, 37, 121, 0.3) !important;
    transition: var(--transition-premium) !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
}

body .auth-btns .btn-solid:hover {
    background: #e52579 !important;
    box-shadow: 0 4px 15px rgba(229, 37, 121, 0.3) !important;
    transform: none !important;
}

body .auth-btns .btn-outline:active {
    animation: button-shake 0.3s ease-in-out !important;
}

body .auth-btns .btn-solid:active {
    animation: button-shake 0.3s ease-in-out !important;
}

/* Helper Keyframes */
@keyframes button-shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
    100% { transform: translateX(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.1); opacity: 1; color: var(--pink-main); }
    100% { transform: scale(1); opacity: 0.9; }
}

/* ==========================================
   3. Premium Headings - Luxurious Pink & Violet Mix
   ========================================== */
/* Premium Headings - Solid Premium Charcoal Black (No Gradient) */
h2, h3, h4, h5, h6, 
.section-title, .about-title, .sec-head h2, .qi-quote p {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #212121 !important;
    text-shadow: none !important;
    font-weight: 700 !important;
    display: inline-block !important;
}

/* Keep hero H1 plain text vibrant white for perfect contrast */
body .hero h1 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #ffffff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 40px rgba(66, 39, 114, 0.5) !important;
    display: block !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
}

/* Custom page titles and main highlight gradients */
.text-sparkle, .text-gradient, .text-gradient-purple, .about-title span {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    text-shadow: none !important;
    display: inline-block !important;
}

/* Ensure h1, services-title, gallery-title are solid premium dark text by default, letting spans carry the gradient */
h1, .services-title, .gallery-title {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #212121 !important;
    text-shadow: none !important;
    display: inline-block !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
}

h2, .section-header h2, .sec-head h2, .section-title {
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: #212121 !important;
}

h3 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #212121 !important;
}

h4 {
    font-size: 0.85rem !important;
    font-weight: 430 !important;
    color: #2121216 !important;
}

/* ==========================================
   4. Luxurious Glossy Glassmorphism Cards
   ========================================== */
.stat-box, .feature-card, .timeline-item, .touch-card, .service-card, .story-card, .director-card, .gallery-item, .benefit-item, .lux-card {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 8px 32px 0 rgba(66, 39, 114, 0.05) !important;
    border-radius: 20px !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Elegant Hover lifts and glowing highlights */
.stat-box:hover, .feature-card:hover, .timeline-item:hover, .touch-card:hover, .service-card:hover, .story-card:hover, .director-card:hover, .gallery-item:hover, .benefit-item:hover, .lux-card:hover {
    transform: translateY(-8px) scale(1.01) !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(229, 37, 121, 0.4) !important;
    box-shadow: 0 20px 40px 0 rgba(66, 39, 114, 0.15) !important;
}

/* Ensure stats block numbers use solid premium charcoal/black */
.stat-number {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: #212121 !important;
    font-weight: 700 !important;
}

/* ==========================================
   5. Highly Visible Premium Icon Badges
   ========================================== */
.stat-icon {
    background: rgba(66, 39, 114, 0.12) !important;
    color: var(--purple-main) !important;
    box-shadow: 0 4px 12px rgba(66, 39, 114, 0.1) !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-premium) !important;
}

.stat-box:hover .stat-icon {
    background: var(--purple-main) !important;
    color: white !important;
    transform: rotate(-8deg) scale(1.1);
}

.f-icon {
    background: linear-gradient(135deg, var(--purple-main) 0%, var(--pink-main) 100%) !important;
    color: white !important;
    box-shadow: 0 8px 20px rgba(66, 39, 114, 0.2) !important;
    border-radius: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-premium) !important;
}

.feature-card:hover .f-icon {
    transform: rotate(8deg) scale(1.1) !important;
    box-shadow: 0 12px 25px rgba(229, 37, 121, 0.4) !important;
}

/* Global spacer to prevent any content from overlapping with sticky header */
main {
    padding-top: 0 !important;
}

/* Ensure footer h4 headers use the premium Figma pink color */
footer h4, .footer-col h4 {
    background: none !important;
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: #ff257b !important;
    color: #ff257b !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Wavy Parallax Separator Animation (Global for all page footers) */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite !important;
}

.parallax > use:nth-child(1) {
    animation-delay: -2s !important;
    animation-duration: 7s !important;
}

@keyframes move-forever {
    0% {
        transform: translate3d(-90px, 0, 0);
    }
    100% {
        transform: translate3d(85px, 0, 0);
    }
}

/* Global Spacing Compression - Eliminating Excess Scrolling & Breathing Space */
section, 
.section-container, 
.services-hero, 
.about-hero, 
.split-section, 
.cta-section, 
.director-section, 
.story-wrapper, 
.features, 
.stat-section {
    padding-top: 2.2rem !important;
    padding-bottom: 2.2rem !important;
}

.hero {
    padding-top: 5.5rem !important;
    padding-bottom: 4.5rem !important;
}

.services-hero, .about-hero {
    padding-top: 40px !important;
    padding-bottom: 25px !important;
}

/* Compress grid gaps & list margins globally */
.stats-container {
    margin-bottom: 2rem !important;
}

.features-grid, .quick-access-grid, .documents-grid, .gallery-grid {
    gap: 1rem !important;
}

.split-section {
    gap: 2rem !important;
}

/* Premium Government Logo Top Utility Bar Integration */
.utility-gov-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.9) !important; /* Bright, premium look on dark purple bar */
}

.utility-gov-logo-container {
    width: 26px !important;
    height: 26px !important;
    background: #ffffff !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.utility-gov-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    border-radius: 50% !important;
    display: block !important;
}

/* ==========================================
   6. Global Footer Layout & Grid Styles
   ========================================== */
.footer-grid {
    max-width: 1400px !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: 2fr 1fr 1fr 1.5fr !important;
    gap: 3rem !important;
}
.footer-col {
    display: flex !important;
    flex-direction: column !important;
}
.footer-col ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer-col ul li {
    margin-bottom: 0.8rem !important;
}
.footer-col ul a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.footer-col ul a:hover {
    color: #ffffff !important;
    padding-left: 5px !important;
}
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr !important;
        gap: 1.5rem !important;
    }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}


