/* ===================================
   GLOBAL STYLES & THEME
   =================================== */
:root {
    --primary-color: #00d4ff;
    --secondary-color: #0099ff;
    --accent-color: #ff6b35;
    --dark-bg: #0a0e27;
    --darker-bg: #050812;
    --card-bg: #141b3a;
    --text-primary: #ffffff;
    --text-secondary: #b4b4b4;
    --border-color: #1e2749;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --spacing-lg: 4rem;
    --spacing-md: 2rem;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   NAVIGATION BAR
   =================================== */
.nav-main {
    background-color: var(--darker-bg);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.school-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo-text-box {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
}

.nav-logo .logo-highlight {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    margin-left: auto;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    display: block;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-link.active,
.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(5, 8, 18, 0.7), var(--dark-bg));
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 20px;
    width: 100%;
    max-width: 800px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 2rem;
}

.quote-text {
    font-style: italic;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1.5rem;
    text-align: left;
}

/* ===================================
   SECTION HEADERS
   =================================== */
.section-header {
    margin: var(--spacing-lg) 0 var(--spacing-md);
    text-align: center;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-color);
    text-transform: uppercase;
}

/* ===================================
   PRINCIPAL MESSAGE
   =================================== */
.message-card {
    background-color: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    display: flex;
    gap: 3rem;
    align-items: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.message-image {
    flex-shrink: 0;
}

.message-image img {
    width: 200px;
    height: 200px;
    min-width: 200px;
    min-height: 200px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    object-position: center top;
    display: block;
    aspect-ratio: 1 / 1;
}

.message-name {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.25rem;
}

.message-title {
    color: var(--text-secondary);
    font-weight: 600;
}

.message-text {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 0.5rem;
}

.title-separator {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 1rem 0;
}

/* ===================================
   MENTORS GRID
   =================================== */
.mentors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mentor-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.mentor-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.mentor-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.mentor-name {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 0.25rem;
}

.mentor-role {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.mentor-message {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ===================================
   VALUES GRID
   =================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background-color: var(--darker-bg);
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: default;
}

.value-card:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.value-card:hover .value-text {
    color: var(--darker-bg);
}

.value-text {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.95rem;
}

/* ===================================
   FUTURE SECTION
   =================================== */
.future-section {
    margin: var(--spacing-lg) 0;
}

.future-content {
    display: flex;
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--darker-bg) 100%);
    border-radius: 15px;
    overflow: hidden;
    align-items: center;
    border: 1px solid var(--border-color);
}

.future-image {
    flex: 1;
    min-height: 250px;
    overflow: hidden;
}

.future-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.future-text {
    flex: 1.5;
    padding: 3rem;
}

.future-title {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.future-message {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    padding: 2rem 0;
    background-color: var(--darker-bg);
    border-top: 2px solid var(--primary-color);
    text-align: center;
    color: var(--text-secondary);
    margin-top: var(--spacing-lg);
}

/* ===================================
   RESPONSIVE — LARGE TABLETS (1024px)
   =================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .message-card {
        gap: 2rem;
        padding: 2rem;
    }

    .message-name {
        font-size: 1.5rem;
    }
}

/* ===================================
   RESPONSIVE — TABLETS (768px)
   =================================== */
@media (max-width: 768px) {
    /* Hamburger nav */
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(5, 8, 18, 0.98);
        padding: 1rem 0;
        gap: 0;
        border-top: 1px solid var(--border-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 2rem;
        border-bottom: 1px solid var(--border-color);
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    /* Hero */
    .hero-section {
        height: auto;
        min-height: 400px;
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .quote-text {
        font-size: 1rem;
    }

    /* Principal */
    .message-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    .message-image {
        display: flex;
        justify-content: center;
    }

    .message-image img {
        width: 180px;
        height: 180px;
        min-width: 180px;
        min-height: 180px;
        margin: 0 auto;
    }

    .title-separator {
        margin: 1rem auto;
    }

    /* Mentors */
    .mentors-grid {
        grid-template-columns: 1fr;
    }

    /* Future */
    .future-content {
        flex-direction: column;
    }

    .future-image {
        width: 100%;
        min-height: 200px;
    }

    .future-text {
        padding: 2rem 1.5rem;
    }

    .future-title {
        font-size: 1.6rem;
    }

    /* Section */
    .section-title {
        font-size: 1.8rem;
    }

    .section-header {
        margin: 2.5rem 0 1.5rem;
    }
}

/* ===================================
   RESPONSIVE — MOBILE (480px)
   =================================== */
@media (max-width: 480px) {
    .nav-container {
        padding: 0.8rem 15px;
    }

    .nav-logo .logo-text {
        font-size: 1.1rem;
    }

    .nav-logo .logo-highlight {
        font-size: 0.7rem;
    }

    .school-logo {
        width: 35px;
        height: 35px;
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }

    .quote-text {
        font-size: 0.9rem;
        padding-left: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .message-card {
        padding: 1.5rem 1rem;
    }

    .message-image img {
        width: 150px;
        height: 150px;
        min-width: 150px;
        min-height: 150px;
    }

    .message-name {
        font-size: 1.3rem;
    }

    .mentor-image img {
        width: 120px;
        height: 120px;
    }

    .mentor-name {
        font-size: 1.1rem;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .future-text {
        padding: 1.5rem 1rem;
    }

    .future-title {
        font-size: 1.4rem;
    }

    .container {
        padding: 0 15px;
    }
}

/* ===================================
   RESPONSIVE — EXTRA SMALL (360px)
   =================================== */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .nav-logo .logo-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}