:root {
    --primary-orange: #ff9800;
    --primary-teal: #00897b;
    --primary-dark-teal: #00695c;
    --dark-bg: #2c3e50;
    --light-gray: #f5f5f5;
}

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

p{
    font-size: 0.95rem;
}

body {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
}

.top-bar {
    background: linear-gradient(
        90deg,
        var(--primary-orange) 0%,
        var(--primary-orange) 35%,
        var(--primary-teal) 35%,
        var(--primary-teal) 100%
    );
    color: white;
    padding: 6px 0;
    font-size: 12px;
}

.top-bar a {
    color: white;
    text-decoration: none;
    margin: 0 5px;
}

.top-bar .row.align-items-center > [class*="col-"] {
    min-height: 100%;
}

.top-bar i {
    margin-right: 3px;
    font-size: 11px;
}

.follow-us {
    font-weight: 600;
    font-size: 12px;
}

.social-icons a {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 2px;
    transition: all 0.3s;
    font-size: 12px;
    color: white;
}

.social-icons a:hover {
    background: white;
    color: var(--primary-orange);
}

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 12px 0;
}

.navbar-brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-teal) !important;
}

.navbar-brand span {
    color: var(--primary-orange);
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    margin: 0 6px;
    padding: 6px 0;
    transition: color 0.3s;
    position: relative;
    font-size: 13px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-teal);
}

.nav-link.dropdown-toggle::after {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    background: var(--primary-teal);
    border: none;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: 180px;
}

.dropdown-item {
    color: white;
    padding: 8px 16px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
}

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

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.btn-apply {
    background: var(--primary-orange);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    font-size: 13px;
    text-decoration: none;
}

.btn-apply:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.btn-program {
    background: var(--primary-teal);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

.btn-program:hover {
    background: var(--primary-orange);
    color: white;
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 137, 123, 0.3);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.section-subtitle {
    color: var(--primary-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.footer {
    background: var(--dark-bg);
    color: white;
    padding: 40px 0 15px;
    font-size: 0.9rem;
}

.footer h5 {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 6px;
}

.footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.85rem;
}

.footer ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

/* Visitor Counter */
.visitor-stats {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
}

.visitor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    min-width: 120px;
}

.visitor-item i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.visitor-count {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.visitor-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 25px;
    padding-top: 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }

    .top-bar {
        text-align: center;
    }

    .top-bar .col-md-4 {
        margin-bottom: 10px;
    }
}

/* Home */


    .hero-content h1 {
        font-size: 2.8rem;
        font-weight: 700;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .hero-content h1 .highlight {
        color: var(--primary-orange);
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 20px;
        opacity: 0.9;
    }

    .hero-label {
        display: inline-flex;
        align-items: center;
        background: rgba(255,152,0,0.2);
        padding: 6px 16px;
        border-radius: 20px;
        margin-bottom: 20px;
        font-weight: 500;
        font-size: 13px;
    }

    .hero-label i {
        color: var(--primary-orange);
        margin-right: 8px;
        font-size: 14px;
    }

    .features-section {
        margin-top: -60px;
        position: relative;
        z-index: 10;
    }

    .feature-card {
        background: white;
        border-radius: 15px;
        padding: 25px 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        transition: all 0.3s;
        height: 100%;
    }

    .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .feature-icon {
        width: 65px;
        height: 65px;
        background: var(--primary-teal);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px;
        font-size: 1.8rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 10px;
        color: #333;
    }

    .feature-card p {
        color: #666;
        line-height: 1.5;
        font-size: 0.9rem;
    }

    .about-section {
        padding: 60px 0;
        background: var(--light-gray);
    }

    .about-img {
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .about-list {
        list-style: none;
        padding: 0;
    }

    .about-list li {
        padding: 6px 0;
        position: relative;
        padding-left: 25px;
        font-size: 0.95rem;
    }

    .about-list li:before {
        content: "✓";
        position: absolute;
        left: 0;
        color: var(--primary-teal);
        font-weight: bold;
        font-size: 1.2rem;
    }

    .stats-section {
        background: linear-gradient(135deg, var(--primary-teal), var(--primary-orange));
        padding: 50px 0;
        color: white;
    }

    .stat-item {
        text-align: center;
    }

    .stat-number {
        font-size: 2.2rem;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 0.95rem;
        opacity: 0.9;
    }

    .programs-section {
        padding: 60px 0;
    }

    .program-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        transition: all 0.3s;
        height: 100%;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .program-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .program-img {
        height: 200px;
        object-fit: cover;
    }

    .program-badge {
        position: absolute;
        top: 12px;
        right: 12px;
        background: var(--primary-orange);
        color: white;
        padding: 4px 12px;
        border-radius: 20px;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .card-body h5 {
        color: var(--primary-teal);
        font-weight: 600;
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .card-body {
        padding: 15px;
    }

    .card-text {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .btn-program {
        font-size: 0.8rem;
        padding: 6px 16px;
    }

    .facilities-section {
        padding: 60px 0;
        background: var(--light-gray);
    }

    .facility-item {
        text-align: center;
        padding: 20px;
        background: white;
        border-radius: 15px;
        margin-bottom: 20px;
        transition: all 0.3s;
    }

    .facility-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .facility-icon {
        font-size: 2.2rem;
        color: var(--primary-teal);
        margin-bottom: 10px;
    }

    .facility-item h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 6px;
    }

    .facility-item p {
        font-size: 0.85rem;
        line-height: 1.4;
        color: #666;
    }

    .extracurricular-section {
        padding: 60px 0;
    }

    .ekskul-card {
        background: white;
        border-radius: 15px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: all 0.3s;
        height: 100%;
        border: 2px solid transparent;
    }

    .ekskul-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
        border-color: var(--primary-orange);
    }

    .ekskul-icon {
        width: 65px;
        height: 65px;
        background: var(--primary-orange);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 12px;
        font-size: 1.6rem;
        transition: all 0.3s;
    }

    .ekskul-card:hover .ekskul-icon {
        background: var(--primary-teal);
        transform: rotate(360deg);
    }

    .ekskul-card h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--primary-teal);
    }

    .ekskul-card p {
        color: #666;
        line-height: 1.4;
        margin-bottom: 10px;
        font-size: 0.85rem;
    }

    .ekskul-badge {
        background: rgba(0,137,123,0.1);
        color: var(--primary-teal);
        padding: 4px 10px;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-block;
    }

    .gallery-section {
        padding: 60px 0;
    }

    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: 15px;
        margin-bottom: 20px;
        cursor: pointer;
    }

    .gallery-item img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        transition: all 0.3s;
    }

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

    .gallery-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,137,123,0.8);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        transition: all 0.3s;
    }

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

    .gallery-overlay i {
        font-size: 2.2rem;
        color: white;
    }

    .awards-section {
        padding: 60px 0;
        background: linear-gradient(135deg, rgba(0,137,123,0.05), rgba(255,152,0,0.05));
    }

    .award-card {
        background: white;
        border-radius: 15px;
        padding: 20px;
        margin-bottom: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .award-card:hover {
        transform: translateX(8px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    }

    .award-icon-box {
        width: 55px;
        height: 55px;
        background: linear-gradient(135deg, #FFD700, #FFA500);
        border-radius: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.6rem;
        color: white;
        flex-shrink: 0;
    }

    .award-content h5 {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 4px;
        color: #333;
    }

    .award-content p {
        margin: 0;
        color: #666;
        font-size: 0.8rem;
    }

    .award-year {
        background: var(--primary-teal);
        color: white;
        padding: 3px 10px;
        border-radius: 15px;
        font-size: 0.7rem;
        font-weight: 600;
        margin-left: auto;
    }

    .news-section {
        padding: 60px 0;
    }

    .news-card {
        border: none;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        transition: all 0.3s;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .news-card .card-body {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .news-card .card-text {
        flex: 1;
        margin-bottom: 15px;
    }

    .news-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    .news-img {
        height: 200px;
        object-fit: cover;
    }

    .news-date {
        background: linear-gradient(135deg, #FF9800, #FB8C00);
        color: white;
        padding: 6px 14px;
        border-radius: 8px;
        font-size: 0.75rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(255, 152, 0, 0.3);
    }

    .news-date i {
        font-size: 0.85rem;
    }

    .news-card .card-title {
        color: #1a1a1a;
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 12px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .news-card .card-text {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .news-category {
        position: absolute;
        top: 12px;
        left: 12px;
        padding: 5px 12px;
        border-radius: 20px;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        z-index: 1;
    }

    .category-announcement {
        background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
        color: white;
    }

    .category-news {
        background: linear-gradient(135deg, #4E54C8, #8F94FB);
        color: white;
    }

    .btn-news {
        background: var(--primary-teal);
        color: white;
        padding: 8px 20px;
        border-radius: 20px;
        font-weight: 600;
        border: none;
        transition: all 0.3s;
        font-size: 13px;
        text-decoration: none;
        display: inline-block;
        margin-top: auto;
    }

    .btn-news:hover {
        background: var(--primary-orange);
        color: white;
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,137,123,0.3);
    }

    .testimonial-section {
        padding: 60px 0;
        background: var(--light-gray);
    }

    .testimonial-card {
        background: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
        margin-bottom: 20px;
    }

    .testimonial-text {
        font-style: italic;
        color: #666;
        margin-bottom: 15px;
        line-height: 1.6;
        font-size: 0.9rem;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
    }

    .author-img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        margin-right: 12px;
    }

    .author-info h5 {
        font-size: 0.95rem;
        font-weight: 600;
        margin-bottom: 3px;
    }

    .author-info p {
        color: var(--primary-orange);
        margin: 0;
        font-size: 0.8rem;
    }

    .contact-section {
        padding: 60px 0;
        background: var(--light-gray);
    }

    .contact-info {
        background: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .contact-info h4 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .contact-item {
        display: flex;
        align-items: start;
        margin-bottom: 20px;
    }

    .contact-item h5 {
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 4px;
    }

    .contact-item p {
        font-size: 0.85rem;
        color: #666;
        margin: 0;
        line-height: 1.4;
    }

    .contact-icon {
        width: 42px;
        height: 42px;
        background: var(--primary-teal);
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .contact-social-icons {
        display: flex;
        gap: 12px;
    }

    .contact-social-icons a {
        width: 35px;
        height: 35px;
        background: rgba(0,137,123,0.1);
        color: var(--primary-teal);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        transition: all 0.3s;
    }

    .contact-social-icons a:hover {
        background: var(--primary-teal);
        color: white;
    }

    .contact-form {
        background: white;
        padding: 25px;
        border-radius: 15px;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .contact-form h4 {
        font-size: 1rem;
        font-weight: 700;
        margin-bottom: 20px;
    }

    .form-control {
        border: 2px solid #E0E0E0;
        padding: 10px 16px;
        border-radius: 10px;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }

    .form-control:focus {
        border-color: var(--primary-teal);
        box-shadow: none;
    }

    .form-control::placeholder {
        font-size: 0.9rem;
    }

    .btn-submit {
        background: var(--primary-teal);
        color: white;
        padding: 10px 30px;
        border-radius: 25px;
        border: none;
        font-weight: 600;
        font-size: 0.9rem;
        transition: all 0.3s;
        margin-top: 10px;
    }

    .btn-submit:hover {
        background: #00695C;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,137,123,0.4);
    }

    /* Override Bootstrap spacing for better laptop view */
    .text-center.mb-5 {
        margin-bottom: 2rem !important;
    }

    .text-muted {
        font-size: 0.95rem;
    }

    /* ========== PAGE STYLES ========== */

/* Page Header & Breadcrumb */
.page-header {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../../../uploads/images/bg-section.png') center/cover;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.breadcrumb {
    background: transparent;
}

/* Custom SMANBEN1 Sections to match Konoha Theme */

.gtk-card {
    background: white;
    border-radius: 15px;
    transition: all 0.3s;
    overflow: hidden;
}

.gtk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.link-item {
    transition: all 0.3s;
    border-radius: 15px;
}

.link-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

.welcome-section {
    background-color: white;
}

.hover-top {
    transition: transform 0.3s ease;
}
.hover-top:hover {
    transform: translateY(-5px);
}

/* Additional Custom Styles */
.letter-spacing-2 {
    letter-spacing: 2px;
}

.divider {
    border-radius: 2px;
}

.polling-section {
    position: relative;
    overflow: hidden;
}

.ecosystem-section {
    background: #f8f9fa;
}

/* Ensure images in cards don't overflow */
.card-img-top {
    width: 100%;
    object-fit: cover;
}

/* AOS Fixes */
[data-aos] {
    pointer-events: auto !important;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .gtk-card, .link-item {
        margin-bottom: 15px;
    }
}

