:root {
    --primary-color: #0d3c61;
    --secondary-color: #f39c12;
    --text-color: #333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

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

.mt-30 {
    margin-top: 30px;
}

.full-width {
    width: 100%;
}

.bullet-list {
    margin-left: 20px;
    list-style-type: disc;
}

.light-bg {
    background-color: #fff;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.school-details {
    display: flex;
    gap: 20px;
    font-size: 14px;
}

.school-details span {
    display: flex;
    align-items: center;
}

.school-details i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.trust-name {
    text-align: center;
    font-weight: 500;
    color: var(--primary-color);
}

.logo-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo h4 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    text-transform: uppercase;
}

nav ul {
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: var(--primary-color);
    font-weight: 500;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--secondary-color);
}

/* Dropdown Menu Styles */
nav ul li {
    position: relative;
}

nav ul li:hover .dropdown-menu {
    display: block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    z-index: 101;
    border-radius: 4px;
    padding: 10px 0;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    display: block;
    color: var(--primary-color);
    font-weight: normal;
    transition: all 0.3s ease;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
    color: var(--secondary-color);
}

/* Mobile dropdown adjustments */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background-color: #f5f5f5;
        width: 100%;
        padding: 0;
        margin-top: 10px;
        border-radius: 0;
    }
    
    .dropdown-menu li a {
        padding-left: 30px;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    background-image: url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 600px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e67e22;
    transform: translateY(-3px);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 15px;
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-content {
    padding: 20px;
}

.feature-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-content p {
    margin-bottom: 15px;
}

/* Admission Section */
.admission {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.admission-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.admission-text {
    flex: 1;
}

.admission-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.admission-text p {
    margin-bottom: 15px;
}

.admission-form {
    flex: 1;
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, 
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Gallery Section */
.gallery {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    height: 250px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

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

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

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

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

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #777;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-details p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map {
    flex: 1;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
}

.map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
}

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

.footer-column ul li a {
    color: #ddd;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .about-content,
    .admission-content,
    .contact-content {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .logo-nav {
        flex-direction: column;
        gap: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-info, .school-details {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .contact-info, .school-details {
        flex-direction: column;
        gap: 5px;
        align-items: center;
    }
}

.map-section {
    width: 100%;
    height: 300px;
    margin-bottom: 2rem;
}

#school-map {
    width: 100%;
    height: 100%;
}

.map-info-window {
    padding: 5px;
    max-width: 250px;
}

.map-info-window h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

.map-info-window p {
    margin: 3px 0;
}

address {
    font-style: normal;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.small-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.footer-column {
    padding: 1rem;
}

/* Team Section Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.team-member h3 {
    margin: 1rem 0 0.25rem;
    color: #333;
}

.team-title {
    font-weight: bold;
    color: #4a90e2;
    margin: 0 0 0.5rem;
}

.team-member p {
    padding: 0 1rem;
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

/* Vision & Mission Styles */
.vision-mission {
    padding: 4rem 0;
}

.vm-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.vm-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.vm-card h3 {
    color: #4a90e2;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.vm-card h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #4a90e2;
}

/* School Values Styles */
.school-values {
    padding: 4rem 0;
    background-color: #f9f9f9;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f7ff;
    border-radius: 50%;
}

.value-icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.value-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #666;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .team-grid, .vm-content, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member img {
        height: 200px;
    }
}

/* Message Page Styles */
.message-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.message-content {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    overflow: hidden;
}

.message-image {
    background-color: var(--primary-color);
    color: #fff;
    padding-bottom: 2rem;
}

.message-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.message-author {
    padding: 1.5rem;
    text-align: center;
}

.message-author h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.message-author p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.message-text {
    padding: 3rem;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.message-text h3 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.message-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.signature {
    font-style: italic;
    text-align: right;
    margin-top: 3rem;
}

/* Responsive adjustments for message pages */
@media (max-width: 900px) {
    .message-content {
        grid-template-columns: 1fr;
    }
    
    .message-image {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-bottom: 1.5rem;
    }
    
    .message-image img {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        margin-top: 2rem;
    }
}

@media (max-width: 600px) {
    .message-text {
        padding: 2rem 1.5rem;
    }
}

/* School Info Styles */
.school-info {
    background-color: #f5f5f5;
    padding: 5px 0;
    font-size: 13px;
    color: var(--primary-color);
    border-bottom: 1px solid #e0e0e0;
}

.school-info .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

.school-info span {
    display: inline-flex;
    align-items: center;
}

.school-info strong {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .school-info .container {
        flex-direction: column;
        gap: 5px;
    }
}

/* Add these styles to your existing CSS file */

/* Mobile Menu Button */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 200;
    position: relative;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-7px, 6px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(45deg) translate(-7px, -6px);
}

/* Responsive Header Adjustments */
@media (max-width: 768px) {
    /* Show hamburger menu */
    .hamburger-menu {
        display: block;
    }
    
    /* Hide header top information in mobile */
    .school-info, .header-top {
        display: none;
    }
    
    /* Logo and navigation positioning */
    .logo-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 0;
    }
    
    .logo {
        z-index: 200;
    }
    
    /* Mobile navigation menu */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding-top: 80px;
        transition: right 0.3s ease;
        z-index: 100;
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* Dropdown adjustments for mobile */
    .dropdown-menu {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    nav ul li:hover .dropdown-menu {
        display: block;
        max-height: 500px;
    }
    
    .dropdown-menu li a {
        padding-left: 35px;
        font-size: 0.9em;
    }
    
    /* Make logo and school name prominent */
    .logo h4 {
        font-size: 1.2rem;
    }
    
    .logo img {
        height: 50px;
    }
}

/* Overlay for mobile menu */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 90;
}

nav.active + .menu-overlay {
    display: block;
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}