:root {
    --primary: #00c2cb;
    --primary-dark: #008b94;
    --secondary: #6c5ce7;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #f59e0b;
    --glass: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
}

.logo i {
    color: var(--primary);
    font-size: 1.8rem;
}

.logo span span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.admin-btn {
    background: var(--dark);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: radial-gradient(circle at top right, #e0fbfc, transparent);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    background: #e0f7f8;
    color: var(--primary-dark);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    display: inline-block;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 194, 203, 0.3);
}

.btn.primary:hover {
    transform: translateY(-5px);
    background: var(--primary-dark);
}

.btn.secondary {
    background: white;
    color: var(--dark);
    border: 2px solid #e2e8f0;
}

.btn.secondary:hover {
    background: #f1f5f9;
}

.hero-image {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.main-img img {
    width: 100%;
    height: 500px;
    object-fit: crop;
}

.stat-float {
    position: absolute;
    bottom: 30px;
    left: -40px;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-float i {
    font-size: 2.5rem;
    color: var(--accent);
}

.stat-float h4 {
    font-size: 1.5rem;
    font-weight: 800;
}

.stat-float span {
    font-size: 0.9rem;
    color: #64748b;
}

/* Services */
.services {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header h2 span {
    color: var(--primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 3rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: var(--primary);
}

.service-card i {
    width: 60px;
    height: 60px;
    background: #e0fbfc;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #64748b;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background: var(--dark);
    color: white;
}

.glass-box {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem;
    border-radius: 40px;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-header h2 span {
    color: var(--primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 3rem;
}

.card-header-public {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.branch-name {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rev-pill {
    background: var(--primary);
    color: var(--dark);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(0, 194, 203, 0.3);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.stat-item .label {
    font-size: 0.85rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
}

.stat-item .value {
    font-weight: 700;
    font-size: 1rem;
}

.public-stat-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    padding: 2.5rem;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.public-stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 194, 203, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.public-stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 194, 203, 0.1);
}

.glass-box-inner {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 1.5rem;
}

.detail-grid-public {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-section h5 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.stat-item .label i {
    margin-right: 0.5rem;
    width: 15px;
    text-align: center;
}

.highlight-glow {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.4);
    font-weight: 800;
}

.price {
    color: var(--accent);
    font-weight: 700;
}

.attendance-grid-public {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.leave-tag {
    background: rgba(0, 194, 203, 0.1);
    color: var(--primary);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
}

.maintenance-public {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    border-left: 4px solid var(--primary);
}

.id-tag {
    background: rgba(255,255,255,0.05);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #64748b;
}

.mini-list-public {
    margin-top: 1rem;
}

.mini-item, .att-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mini-item:last-child, .att-row:last-child {
    border-bottom: none;
}

.mini-item span, .att-row span {
    font-size: 0.9rem;
    opacity: 0.9;
}

.mini-item b {
    color: var(--accent);
    font-weight: 700;
}

.glow-icon {
    color: var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 15px var(--primary); }
    100% { transform: scale(1); opacity: 0.5; }
}

@media (max-width: 768px) {
    .detail-grid-public, .attendance-grid-public {
        grid-template-columns: 1fr;
    }
}

.none {
    font-size: 0.8rem;
    opacity: 0.4;
    font-style: italic;
}

@media (max-width: 600px) {
    .detail-grid-public, .attendance-section-public {
        grid-template-columns: 1fr;
    }
}

/* Footer */
footer {
    padding: 80px 0 40px;
    background: #080d19;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    text-align: center;
    color: #475569;
    font-size: 0.9rem;
}

/* Mobile Responsiveness Updates */
@media (max-width: 991px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-image img { height: 400px; }
    .stat-float { left: 50%; transform: translateX(-50%); bottom: -30px; }
}

/* Comprehensive Mobile Responsiveness */
@media (max-width: 991px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content h1 { font-size: 3rem; }
    .hero-image img { height: 350px; }
    .stat-float { left: 50%; transform: translateX(-50%); bottom: -30px; }
}

@media (max-width: 768px) {
    .navbar .container { padding: 0 1rem; }
    
    /* Ensure Admin button is visible */
    .nav-links { 
        display: flex !important; 
        gap: 0.8rem;
    }
    .nav-links a:not(.admin-btn) { display: none; }
    .admin-btn { 
        padding: 0.6rem 1rem; 
        font-size: 0.85rem; 
        border-radius: 10px; 
    }
    
    .hero { padding-top: 120px; padding-bottom: 50px; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p { font-size: 1rem; }

    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .public-stat-card {
        padding: 1.8rem;
        border-radius: 28px;
    }
    
    .detail-grid-public, .attendance-grid-public {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Footer Fix */
    .footer-content {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-links {
        flex-direction: column;
        gap: 1.2rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 2rem; }
    .stat-float { width: 95%; padding: 0.8rem; }
    .rev-pill { font-size: 0.75rem; }
}
