:root {
    --primary-blue: #0a1931;
    --dark-blue: #0c2340;
    --medium-blue: #1e3a5c;
    --gold: #d4af37;
    --light-gold: #f4e4a6;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #6c757d;
    --dark-gray: #343a40;
    --border-color: #e9ecef;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: var(--white);
    overflow-x: hidden;
}

/* Top Banner */
.top-banner {
    background: var(--primary-blue);
    color: var(--white);
    padding: 0.8rem 0;
    font-size: 0.9rem;
    font-weight: 400;
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.banner-content i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.reg-numbers {
    font-weight: 500;
    color: var(--light-gold);
}

/* Navigation */
.navbar {
    background: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(10, 25, 49, 0.1);
    border-bottom: 3px solid var(--gold);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-blue);
}

.navbar, .logo-placeholder img {
  transform: translateZ(0);
  will-change: transform;
}
.nav-logo, .logo-placeholder img {
  opacity: 1 !important;
  visibility: visible !important;
}
.navbar, .nav-logo, .logo-placeholder img {
  content-visibility: visible !important;
  display: block !important;
}


.logo-placeholder {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: center;
    width: 70px;   /* adjust to your desired size */
    height: 70px;  /* maintain same height as before */
    overflow: hidden;
    padding-right: 1rem;
    z-index: 1000;
}

/* Style the logo image itself */
.logo-placeholder img {
    position: relative;
    z-index: 9999;
    width: 100%;
    height: 100%;
    object-fit: contain; /* or 'cover' if you want full fill */
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.school-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-blue);
    line-height: 1.1;
}

.school-tag {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    margin-left: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--primary-blue);
    padding: 0.8rem 1.8rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.95) 0%, rgba(12, 35, 64, 0.95) 100%),
                url('../assets/images/hero-bg.jpg') center/cover;
    color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--gold);
    color: var(--primary-blue);
}

/* Special Offer */
.special-offer {
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    color: var(--primary-blue);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.special-offer h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.special-offer p {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Section Styling */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.08);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(10, 25, 49, 0.15);
}

.feature-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--gray);
    line-height: 1.7;
}

/* Image Gallery Styles */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-gray);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Content Section */
.content-section {
    background: var(--white);
    padding: 4rem 0;
}

.content-block {
    margin-bottom: 3rem;
}

.content-block h2 {
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.content-block p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(244, 228, 166, 0.05));
    border-left: 4px solid var(--gold);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.highlight-box h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Phase Cards */
.phases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.phase-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.08);
    transition: all 0.3s ease;
}

.phase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(10, 25, 49, 0.12);
}

.phase-card h4 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 0.5rem;
}

.subject-list {
    list-style: none;
}

.subject-list li {
    color: var(--gray);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    padding-left: 1.5rem;
}

.subject-list li:before {
    content: '✓';
    color: var(--gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.subject-list li:last-child {
    border-bottom: none;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(10, 25, 49, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(10, 25, 49, 0.12);
}

.contact-card i {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 1rem;
    border-top: 4px solid var(--gold);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    padding: 0 2rem;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-placeholder {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
}

.footer-logo h3 {
    color: var(--gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.footer-mission {
    font-style: italic;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    opacity: 0.8;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    position: relative;
    transition: opacity 0.3s ease;
}

.footer-section li:hover {
    opacity: 1;
}

.footer-section li:before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--gold);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

.contact-info i {
    color: var(--gold);
    margin-right: 0.8rem;
    width: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(10, 25, 49, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Additional styles for new pages */

/* Form Styling */
form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

form label {
    transition: color 0.3s ease;
}

form input:focus + label,
form select:focus + label,
form textarea:focus + label {
    color: var(--gold);
}

/* Map Container */
.map-container {
    position: relative;
    background: var(--light-gray);
    border-radius: 12px;
}

.map-container iframe {
    display: block;
}

/* Number Icons for Steps */
.feature-card .feature-icon[style*="font-weight: bold"] {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold), var(--light-gold));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
}

/* Enhanced Gallery Items */
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.1), rgba(12, 35, 64, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Responsive Improvements */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .phases-grid {
        grid-template-columns: 1fr;
    }
    
    form div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .special-offer,
    .cta-button {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .container {
        max-width: 100% !important;
        padding: 0 !important;
    }
}