﻿:root {
    --color--yellow: #FCBF49;
    --color--blue: #003049;
    --color--beige: #F7F5F2;
    --color--red: #F2A900;
    --color--orange: #F77F00;
    --color-bg: #F7F5F2;
}
body {
    background: var( --color--beige);
}
.topdiv
{
    background:var(--color--red);
    color:var(--color--beige);
    padding:10px 8px;
}
section{
    padding:20px;
}
.mottodiv
{

}

.school-highlight-section {
    background: linear-gradient( 135deg, var(--color--blue), var(--color--red) );
    color: #fff;
    position: relative;
    overflow: hidden;
}

.highlight-icon {
    font-size: 60px;
    color: var(--color--yellow);
}

.highlight-subtitle {
    letter-spacing: 2px;
    color: var(--color--beige);
}

.highlight-title {
    font-size: 2.2rem;
    line-height: 1.4;
}

    .highlight-title span {
        color: var(--color--yellow);
    }

/* Decorative glow */
.school-highlight-section::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--color--yellow);
    opacity: 0.15;
    border-radius: 50%;
    top: -80px;
    right: -80px;
}


.card-section {
    padding: 60px 0;
    background: url('../images/sg2.png');

}

/* Card base */
.card-3d {
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1200px;
    border: solid 1px var(--color--yellow);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    background: var(--color--yellow);
}

    /* Image */
    .card-3d img {
        width: 100%;
        height: 230px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    /* Title */
    .card-3d h5 {
        margin: 0;
        padding: 16px;
        text-align: center;
        font-weight: 600;
        letter-spacing: 0.5px;
    }

    /* Hover effects */
    .card-3d:hover {
        transform: translateY(-12px) rotateX(6deg) rotateY(-6deg);
        box-shadow: 0 35px 60px rgba(0,0,0,0.35);
    }

        .card-3d:hover img {
            transform: scale(1.08);
        }

.administrator-message {
    background-color: var(--color-bg);
}

.section-title {
    color: var(--color--blue);
    font-weight: bold;
}

.section-subtitle {
    color: #555;
}

.section-decor .decor-line {
    width: 50px;
    border: 2px solid var(--color--red);
}

.section-decor .decor-icon {
    color: var(--color--orange);
    margin: 0 10px;
}

.admin-img {
    max-height: 400px;
    width: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Speech Bubble Styling */
.speech-bubble {
    position: relative;
    background: #F2A900;
    border-radius: 15px;
    padding: 30px 25px 25px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

    .speech-bubble::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 40px; /* Adjust to move the tail horizontally */
        border-width: 20px 20px 0;
        border-style: solid;
        border-color: var(--color--beige) transparent transparent transparent;
    }

    .speech-bubble p {
        color: #333;
        font-size: 1.05rem;
        line-height: 1.8;
        margin: 0;
    }
.social-icons a
{
    color:#fff;
    text-decoration:none;
}
.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .menu-list > li {
        position: relative;
    }

    .menu-list a {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 18px;
        text-decoration: none;
        font-size: 15px;
    }

.has-dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* dropdown hidden */
.dropdown {
    display: none;
    list-style: none;
    padding-left: 15px;
}

/* hover open */
.has-dropdown:hover > .dropdown {
    display: block;
}

/* rotate arrow */
.has-dropdown:hover > a i {
    transform: rotate(90deg);
}

/* nested dropdown spacing */
.dropdown li a {
    padding: 10px 18px;
    font-size: 14px;
}

/* smooth feel */
.menu-list li,
.dropdown li {
    transition: background 0.3s ease;
}

/* mobile safety (still hover based but clean) */
@media (max-width: 768px) {
    .has-dropdown:hover > .dropdown {
        display: block;
    }
}
/* dropdown default hidden */
.dropdown {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    padding-left: 15px;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

/* hover → slide down */
.has-dropdown:hover > .dropdown {
    max-height: 500px; /* enough for items */
    opacity: 1;
}

/* arrow rotate */
.has-dropdown > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.has-dropdown:hover > a i {
    transform: rotate(90deg);
}

/* submenu links */
.dropdown li a {
    padding: 10px 18px;
    font-size: 14px;
    display: block;
}

/* nested dropdown smooth */
.dropdown .has-dropdown:hover > .dropdown {
    max-height: 400px;
}
.school-logo {
    height: 70px; /* adjust if needed */
}

.school-name {
    font-size: 1.8rem;
    font-family: Georgia, "Times New Roman", serif;
    color: #fff;
    line-height: 1.1;
}

.school-location {
    font-size: 11px;
    letter-spacing: 2px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    text-transform: uppercase;
}
