/* Premium WordPress + Elementor Styled Theme - Andhra Pradesh Kudo Association (APKA) */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

:root {
    --el-navy-dark: #09101D;
    --el-slate-900: #0F172A;
    --el-slate-800: #1E293B;
    --el-slate-700: #334155;
    --el-slate-100: #F1F5F9;
    --el-slate-50:  #F8FAFC;
    
    --el-red: #E11D48;
    --el-red-hover: #BE123C;
    --el-red-light: rgba(225, 29, 72, 0.08);
    
    --el-amber: #FFB800;
    --el-amber-hover: #D97706;
    --el-amber-light: rgba(255, 184, 0, 0.15);
    
    --el-blue: #2563EB;
    --el-emerald: #10B981;
    
    --el-card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --el-hover-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    --el-glow-red: 0 10px 25px -5px rgba(225, 29, 72, 0.4);
    --el-glow-amber: 0 10px 25px -5px rgba(255, 184, 0, 0.4);
    
    --el-radius-sm: 8px;
    --el-radius-md: 16px;
    --el-radius-lg: 24px;
    --el-radius-full: 9999px;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--el-slate-800);
    background-color: var(--el-slate-50);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--el-slate-900);
    letter-spacing: -0.02em;
}

/* Animation Keyframes */
@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 10px 25px -5px rgba(225, 29, 72, 0.4); }
    50% { box-shadow: 0 15px 35px 0px rgba(225, 29, 72, 0.7); }
}

@keyframes fadeInPage {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

body {
    animation: fadeInPage 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Elementor Top Announcement Bar */
.el-topbar {
    background: var(--el-navy-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.el-topbar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none !important;
    transition: color 0.3s;
}

.el-topbar a:hover {
    color: var(--el-amber);
}

/* Elementor Sticky Glass Header Navbar - Compact & Ultra Responsive */
.el-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
    padding: 10px 0;
    border-bottom: 1px solid rgba(241, 245, 249, 0.9);
    transition: all 0.3s ease;
    width: 100%;
}

.el-brand-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--el-slate-900);
    line-height: 1.1;
    white-space: nowrap;
}

.el-brand-sub {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--el-red);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
}

/* Clean Header Navigation Links */
.el-nav-link {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--el-slate-800) !important;
    padding: 6px 12px !important;
    border-radius: var(--el-radius-full);
    transition: all 0.25s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.el-nav-link:hover {
    color: var(--el-red) !important;
    background: var(--el-red-light);
    text-decoration: none !important;
}

.el-nav-link.active {
    color: var(--el-red) !important;
    background: var(--el-red-light);
    text-decoration: none !important;
}

.el-btn-primary {
    background: linear-gradient(135deg, var(--el-red) 0%, #BE123C 100%);
    color: #FFFFFF !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    border: none;
    padding: 8px 20px;
    border-radius: var(--el-radius-full);
    box-shadow: var(--el-glow-red);
    transition: all 0.35s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.el-btn-primary:hover {
    background: linear-gradient(135deg, #BE123C 0%, var(--el-red) 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -5px rgba(225, 29, 72, 0.5);
    text-decoration: none !important;
}

.el-btn-amber {
    background: linear-gradient(135deg, var(--el-amber) 0%, #D97706 100%);
    color: #FFFFFF !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    border: none;
    padding: 8px 20px;
    border-radius: var(--el-radius-full);
    box-shadow: var(--el-glow-amber);
    transition: all 0.35s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.el-btn-amber:hover {
    background: linear-gradient(135deg, #D97706 0%, var(--el-amber) 100%);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.el-btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #FFFFFF !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: var(--el-radius-full);
    backdrop-filter: blur(8px);
    transition: all 0.35s ease;
    white-space: nowrap;
    text-decoration: none !important;
}

.el-btn-outline-white:hover {
    background: #FFFFFF;
    color: var(--el-slate-900) !important;
    border-color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none !important;
}

/* Elementor Hero Banner Section */
.el-hero {
    position: relative;
    background: linear-gradient(135deg, rgba(9, 16, 29, 0.92) 0%, rgba(15, 23, 42, 0.94) 100%),
                url('../images/hero-bg.jpg') center/cover no-repeat;
    color: #FFFFFF !important;
    padding: 110px 0 140px 0;
    overflow: hidden;
}

.el-hero h1, 
.el-hero h2, 
.el-hero h3, 
.el-hero .display-1, 
.el-hero .display-2, 
.el-hero .display-3, 
.el-hero .display-4, 
.el-hero .display-5, 
.el-hero .display-6,
.el-hero-title {
    color: #FFFFFF !important;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.85);
}

.el-hero p, .el-hero-subtitle, .el-hero .lead {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.el-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 32px 32px;
    opacity: 0.4;
    pointer-events: none;
}

.el-hero::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--el-slate-50);
    transform: skewY(-1.5deg);
}

.el-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 184, 0, 0.18);
    border: 1px solid rgba(255, 184, 0, 0.4);
    color: #FFC72C !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 6px 20px;
    border-radius: var(--el-radius-full);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.el-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.el-hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    max-width: 640px;
    margin-bottom: 36px;
    line-height: 1.7;
}

/* Glassmorphism Stat Cards */
.el-glass-card {
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--el-radius-md);
    padding: 24px;
    transition: all 0.35s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.el-glass-card:hover {
    background: rgba(15, 23, 42, 0.88);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
}

/* Elementor Stat Counter Widget */
.el-stats-widget {
    background: #FFFFFF;
    border-radius: var(--el-radius-lg);
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.12);
    padding: 40px 30px;
    margin-top: -70px;
    position: relative;
    z-index: 10;
    border: 1px solid rgba(241, 245, 249, 0.9);
}

.el-stat-num {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: var(--el-slate-900);
    line-height: 1;
    margin-bottom: 6px;
}

.el-stat-num.text-red { color: var(--el-red); }
.el-stat-num.text-amber { color: var(--el-amber); }
.el-stat-num.text-blue { color: var(--el-blue); }

.el-stat-text {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--el-slate-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Section Title Widget */
.el-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px auto;
}

.el-section-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--el-red);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    display: block;
}

.el-section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: var(--el-slate-900);
    margin-bottom: 14px;
}

.el-section-desc {
    font-size: clamp(0.95rem, 1.8vw, 1.05rem);
    color: var(--el-slate-700);
}

/* Elementor Team Member Cards */
.el-team-card {
    background: #FFFFFF;
    border-radius: var(--el-radius-lg);
    overflow: hidden;
    box-shadow: var(--el-card-shadow);
    border: 1px solid rgba(241, 245, 249, 0.9);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.el-team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--el-hover-shadow);
}

.el-team-img-box {
    position: relative;
    width: 100%;
    height: 340px;
    overflow: hidden;
    background: linear-gradient(180deg, #F1F5F9 0%, #E2E8F0 100%);
}

.el-team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s ease;
}

.el-team-card:hover .el-team-img-box img {
    transform: scale(1.06);
}

.el-team-content {
    padding: 28px;
    text-align: center;
}

.el-team-name {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--el-slate-900);
    margin-bottom: 4px;
}

.el-team-role {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--el-red);
    margin-bottom: 14px;
    display: block;
}

.el-team-bio {
    font-size: 0.9rem;
    color: var(--el-slate-700);
    margin-bottom: 20px;
}

/* Elementor Interactive Tabs */
.el-tab-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.el-tab-btn {
    background: #FFFFFF;
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: var(--el-slate-700);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 22px;
    border-radius: var(--el-radius-full);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

.el-tab-btn:hover, .el-tab-btn.active {
    background: var(--el-slate-900);
    color: #FFFFFF;
    border-color: var(--el-slate-900);
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
}

.el-tab-btn.active-red {
    background: var(--el-red);
    color: #FFFFFF;
    border-color: var(--el-red);
    box-shadow: var(--el-glow-red);
}

/* Responsive District Card Grid */
.el-district-card {
    background: #FFFFFF;
    border-radius: var(--el-radius-md);
    padding: 24px;
    box-shadow: var(--el-card-shadow);
    border: 1px solid rgba(241, 245, 249, 0.9);
    transition: all 0.3s ease;
    height: 100%;
}

.el-district-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--el-hover-shadow);
    border-color: rgba(225, 29, 72, 0.2);
}

/* Elementor Feature Box */
.el-feature-box {
    background: #FFFFFF;
    border-radius: var(--el-radius-lg);
    padding: 36px 30px;
    box-shadow: var(--el-card-shadow);
    border: 1px solid rgba(241, 245, 249, 0.9);
    transition: all 0.35s ease;
    height: 100%;
}

.el-feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--el-hover-shadow);
}

.el-feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: var(--el-red-light);
    color: var(--el-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 24px;
    transition: all 0.35s ease;
}

.el-feature-box:hover .el-feature-icon-wrapper {
    background: var(--el-red);
    color: #FFFFFF;
    box-shadow: var(--el-glow-red);
}

/* Elementor Offcanvas Drawer */
.offcanvas-el {
    background: var(--el-navy-dark);
    color: #FFFFFF;
    width: 320px;
}

.offcanvas-el .offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-el .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    padding: 14px 20px !important;
    border-radius: var(--el-radius-sm);
    font-size: 1.05rem;
    text-decoration: none !important;
}

.offcanvas-el .nav-link:hover, .offcanvas-el .nav-link.active {
    color: var(--el-amber) !important;
    background: rgba(255, 255, 255, 0.08);
}

/* Elementor Footer Builder */
.el-footer {
    background: var(--el-navy-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 30px 0;
    position: relative;
}

.el-footer-title {
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.el-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.el-footer-links li {
    margin-bottom: 12px;
}

.el-footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.el-footer-links a:hover {
    color: var(--el-amber);
    padding-left: 6px;
}

.el-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    margin-top: 60px;
    font-size: 0.875rem;
}

/* Floating Back-to-Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--el-red);
    color: #FFFFFF;
    border-radius: var(--el-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--el-glow-red);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--el-red-hover);
    transform: translateY(-4px);
}

/* Comprehensive Multi-Device Breakpoint Responsiveness Rules */

@media (max-width: 1199.98px) {
    .el-header .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 991.98px) {
    .el-hero {
        padding: 80px 0 110px 0;
    }
    .el-stats-widget {
        margin-top: -40px;
        padding: 30px 20px;
    }
    .el-team-img-box {
        height: 300px;
    }
}

@media (max-width: 767.98px) {
    .el-topbar {
        font-size: 0.78rem;
    }
    .el-hero {
        padding: 60px 0 90px 0;
    }
    .el-team-content {
        padding: 20px;
    }
    .el-footer {
        padding: 50px 0 25px 0;
    }
}

@media (max-width: 575.98px) {
    .el-brand-title {
        font-size: 1.1rem;
    }
    .el-brand-sub {
        font-size: 0.55rem;
        white-space: normal;
        line-height: 1.2;
    }
    .el-pill-tag {
        font-size: 0.75rem;
        padding: 5px 14px;
    }
    .el-stats-widget {
        padding: 24px 16px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}
