/* Gopal Sharma Memorial School Stylesheet */
:root {
    --primary-color: #ffcc33; /* Golden Yellow */
    --text-dark: #333333;
    --text-muted: #666666;
    --link-active: #3498db; /* Light Blue */
    --border-color: #e5e7eb;
    --green-accent: #2e7d32; /* Forest Green for Sidebar */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header styling */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: relative;
    z-index: 100;
}

.header-inner {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-block {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}

.logo-left {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.logo-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
    letter-spacing: -1px;
}

.logo-subtitle {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.logo-flame {
    width: 44px;
    height: 44px;
}

.menu-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.contact-bar {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.contact-bar a {
    color: var(--text-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1.6rem;
}

.nav-item {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 4px 0;
}

.nav-item:hover {
    color: var(--link-active);
}

.nav-item.active {
    color: var(--link-active);
    border-bottom: 2px solid var(--link-active);
}

/* Button style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1.5px solid var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: #ffffff;
}

/* Split Hero Section */
.hero-split {
    display: grid;
    grid-template-columns: 46% 54%;
    min-height: 520px;
    width: 100%;
    position: relative;
}

.hero-left {
    background-color: var(--primary-color);
    padding: 4rem 3rem 4rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Floating pencil/ruler sketch overlays in hero */
.doodle-ruler {
    position: absolute;
    top: 22%;
    left: 8%;
    width: 90px;
    opacity: 0.35;
}

.doodle-compass {
    position: absolute;
    top: 52%;
    right: 8%;
    width: 60px;
    opacity: 0.35;
}

.hero-title-text {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.hero-subtitle-text {
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    max-width: 480px;
}

.hero-right {
    position: relative;
    height: 100%;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Floating Sidebar */
.sticky-sidebar {
    position: fixed;
    right: 0;
    top: 35%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-btn {
    width: 44px;
    height: 44px;
    background-color: var(--green-accent);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.2rem;
    transition: background-color 0.2s ease;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.sidebar-btn:hover {
    background-color: #1b5e20;
}

/* Inner Sections styling */
main {
    flex-grow: 1;
}

.container-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.3rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 0.6rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-bottom: 6rem;
}

.feature-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background-color: rgba(255, 204, 51, 0.15);
    color: #b78a00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1e293b;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Inquiry Form */
.inquiry-wrapper {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.form-input {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
}

/* Footer Copyright */
footer {
    background-color: #0f172a;
    color: #94a3b8;
    padding: 2.5rem 1.5rem;
    text-align: center;
    font-size: 0.88rem;
    border-top: 1px solid #1e293b;
}

/* Responsive queries */
@media (max-width: 992px) {
    .hero-split {
        grid-template-columns: 100%;
    }
    
    .hero-left {
        padding: 5rem 2.5rem;
    }
    
    .hero-title-text {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .menu-area {
        align-items: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 100%;
    }
}
