/* =========================================
   ICC CUSTOM STYLES - INSPIRED BY YOUR CODE
   ========================================= */

/* BASIC RESET - No Imports, Using System Fonts */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --navy: #000080;
    --gold: #ffcc00;
    --white: #ffffff;
    --light-gray: #f4f4f4;
}

body {
    background-color: var(--light-gray);
    color: #333;
    line-height: 1.6;
}

/* --- NAVIGATION RECOVERY (BASE SA SCREENSHOT) --- */
.navbar {
    background-color: #000080; /* Navy Blue */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 4%; 
    border-bottom: 5px solid #ffcc00; /* Gold Line */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-group {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.main-logo {
    height: 65px; /* Pinalaki para sa ICC Logo */
    background: white;
    padding: 3px;
    border-radius: 5px;
}

.school-name {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0;
    letter-spacing: 0.5px;
}

.school-tagline {
    color: #ffcc00; /* Gold text */
    font-size: 0.75rem;
    font-style: italic;
    margin-top: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* YUNG ENROLL NOW BUTTON NA DILAW */
.enroll-btn {
    background-color: #ffcc00;
    color: #000080;
    text-decoration: none;
    font-weight: 800;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 0 #ccaa00; /* 3D Shadow */
    transition: 0.2s ease;
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #ccaa00;
}

.enroll-btn:active {
    transform: translateY(2px);
    box-shadow: 0 0 0;
}

/* HERO SLIDER */
.hero {
    height: 70vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.slider {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* GRIDS - Mula sa structure mo */
.content-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
}

.section-title {
    text-align: center;
    color: var(--navy);
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-transform: uppercase;
    border-bottom: 5px solid var(--gold);
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    position: relative;
}

.course-grid, .branch-grid, .network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* COURSE CARDS - Blue, Orange, Green from your code */
.course-card {
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    color: white;
    transition: 0.4s;
    cursor: pointer;
}

.course-card h4 { font-size: 1.3rem; margin-bottom: 10px; }
.course-card span { font-size: 0.8rem; background: rgba(0,0,0,0.2); padding: 5px 10px; border-radius: 10px; }

/* COURSE HOVER EFFECTS */
.course-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.blue { background-color: var(--navy); }
.orange { background-color: #e67e22; }
.green { background-color: #27ae60; }

/* BRANCH CARDS - Image on top */
.branch-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: 0.3s;
}

.branch-card img { width: 100%; height: 200px; object-fit: cover; }
.branch-card h3 { padding: 15px; color: var(--navy); }
.branch-card p { padding: 0 15px 20px; color: #555; }

/* BRANCH HOVER */
.branch-card:hover {
    border: 2px solid var(--navy);
    transform: translateY(-5px);
}

/* NETWORK CARDS - Yung info-heavy boxes mo */
.net-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border-left: 8px solid var(--gold);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.net-tag {
    color: var(--navy);
    font-weight: 800;
    font-size: 0.7rem;
    display: block;
}

.toc-box {
    background: #f9f9f9;
    padding: 15px;
    margin-top: 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    border: 1px dashed #ccc;
}
/* --- ADMINISTRATION SECTION FIX (CENTERED & FULL WIDTH) --- */
.admin-section {
    width: 100%;
    padding: 60px 0;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    align-items: center; /* Nilalagay lahat sa gitna horizontal */
}

/* Ang Title dapat hindi nakaharang sa gilid */
.admin-section .section-title {
    text-align: center;
    width: 100%;
    margin-bottom: 50px;
    display: block; /* Para hindi siya 'inline' sa gilid */
    transform: none; /* Reset kung may hila mula sa lumang code */
    left: 0;
}

/* Container ng malalapad na cards */
.admin-full-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Wide Card Design - Ito yung sa screenshot mo */
.admin-wide-card {
    background: white;
    width: 100%; 
    padding: 40px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e0e0e0;
    transition: 0.3s ease-in-out;
}

/* Kulay sa taas ng cards gaya ng nasa pic */
.primary-border { 
    border-top: 10px solid #ffcc00 !important; 
} 
.secondary-border { 
    border-top: 10px solid #000080 !important; 
}

.admin-label {
    color: #888;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.admin-name-large {
    color: #000080;
    font-size: 2.5rem;
    font-weight: 900;
}

.admin-name-mid {
    color: #000080;
    font-size: 1.8rem;
    font-weight: 800;
}

.admin-subtext {
    color: #666;
    margin-top: 5px;
    font-size: 1.1rem;
}

/* Hover Effect para hindi boring */
.admin-wide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,128,0.1);
}

/* NETWORK HOVER - Magpapalit ng kulay */
.net-card:hover {
    background-color: var(--navy);
    color: white;
}
.net-card:hover .net-tag { color: var(--gold); }
.net-card:hover .toc-box { background: rgba(255,255,255,0.1); color: white; border-color: var(--gold); }

/* MISSION & VISION */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.mission-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border-top: 5px solid var(--navy);
    transition: 0.3s;
}

.mission-card:hover {
    background: var(--gold);
    transform: scale(1.05);
}

.vision-box {
    background: var(--navy);
    color: white;
    padding: 50px;
    text-align: center;
    border-radius: 20px;
    margin-top: 40px;
    border: 4px solid var(--gold);
}

/* --- MODERN FOOTER DESIGN --- */
.main-footer {
    background: linear-gradient(180deg, #000080 0%, #000050 100%);
    color: white;
    padding: 60px 0 20px 0;
    border-top: 8px solid #ffcc00; /* Gold top border */
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 5%;
}

.footer-col h4 {
    color: #ffcc00; /* Gold Heading */
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Underline para sa headings */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ffcc00;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    background: white;
    padding: 5px;
    border-radius: 5px;
}

.footer-about {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.8;
}

/* Quick Links Styling */
.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #eee;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: #ffcc00;
    padding-left: 8px;
}

/* Contact Items */
.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.1rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: #eee;
}

/* Footer Bottom Strip */
.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #999;
}

/* Social Icons (Simple Text Version) */
.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: #ffcc00;
    color: #000080;
    transform: translateY(-3px);
}/* --- ILAGAY SA PINAKA-BABA NG STYLE.CSS --- */

.heritage-flex {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 50px;
}

.sub-title {
    color: #000080; /* Navy */
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 20px;
    border-left: 6px solid #ffcc00; /* Gold */
    padding-left: 15px;
}

.heritage-text p {
    font-size: 1.15rem;
    color: #444;
    max-width: 900px;
    line-height: 1.8;
}

.founder-card-box {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.intro-p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    line-height: 1.7;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.badge-item {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: 0.3s ease;
    border-bottom: 4px solid #ddd;
}

.badge-item:hover {
    transform: translateY(-5px);
    border-color: #ffcc00;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.badge-item .icon { font-size: 2rem; }
.badge-item p { font-size: 0.9rem; margin: 0; color: #444; }

@media (max-width: 768px) {
    .achievements-grid { grid-template-columns: 1fr; }
}

/* ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
/* --- MOBILE RESPONSIVE FIX (ILAGAY SA PINAKA-BABA) --- */
@media screen and (max-width: 768px) {
    /* Navbar: Gagawing vertical ang logo at links */
    .navbar {
        flex-direction: column;
        padding: 15px;
        text-align: center;
    }

    .nav-right {
        margin-top: 15px;
    }

    .nav-links {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 15px;
    }

    /* Grids: Gagawing 1 column lang para hindi siksikan */
    .course-grid, 
    .branch-grid, 
    .achievements-grid, 
    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Admin Cards: Pabababain ang laki ng font */
    .admin-name-large {
        font-size: 1.8rem;
    }

    .admin-wide-card {
        padding: 25px 15px;
    }

    /* Footer: I-center lahat ng text */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }
}