/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
}

.nav-logo i {
    margin-right: 10px;
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: #3498db;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.school-icon {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.school-icon i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.about-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.about-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.about-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.about-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Leadership Section */
.leadership-section {
    padding: 100px 0;
    background: white;
}

.leadership-content {
    max-width: 1000px;
    margin: 0 auto;
}

.principal-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.principal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #8e44ad, #9b59b6);
}

.principal-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.principal-placeholder {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    transition: transform 0.3s ease;
}

.principal-placeholder:hover {
    transform: scale(1.05);
}

.principal-placeholder i {
    font-size: 4rem;
    color: white;
}

.principal-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.principal-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.principal-info p {
    color: #7f8c8d;
    line-height: 1.7;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.principal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.detail-item:hover {
    transform: translateY(-2px);
}

.detail-item i {
    color: #27ae60;
    font-size: 1.2rem;
}

.detail-item span {
    color: #555;
    font-weight: 500;
}

.principal-contact {
    margin-top: 2rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.contact-btn:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
    color: white;
}

/* Responsive Design for Leadership Section */
@media (max-width: 968px) {
    .principal-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .principal-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .leadership-section {
        padding: 60px 0;
    }
    
    .principal-card {
        padding: 2rem;
    }
    
    .principal-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .principal-placeholder i {
        font-size: 3rem;
    }
    
    .principal-info h3 {
        font-size: 1.5rem;
    }
}

/* Stats Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Academics Section */
.academics {
    padding: 100px 0;
    background: white;
}

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

.academic-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid #3498db;
    transition: all 0.3s ease;
}

.academic-card:hover {
    background: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.academic-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.academic-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.academic-card p {
    color: #7f8c8d;
    margin-bottom: 1.5rem;
}

.academic-card ul {
    list-style: none;
    padding-left: 0;
}

.academic-card li {
    color: #555;
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.academic-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
        font-weight: bold;
    }
    
    .step-details {
        margin-top: 1.5rem;
        text-align: left;
    }
    
    .step-details ul {
        list-style: none;
        padding: 0;
    }
    
    .step-details li {
        padding: 0.5rem 0;
        position: relative;
        padding-left: 2rem;
        color: #555;
    }
    
    .step-details li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #27ae60;
        font-weight: bold;
        font-size: 1.1rem;
    }

/* Facilities Section */
.facilities {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.facility-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.facility-card i {
    font-size: 3rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.facility-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.facility-card p {
    color: #7f8c8d;
}

/* Achievements Section */
.achievements {
    padding: 100px 0;
    background: white;
}

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

.achievement-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.achievement-item:hover {
    background: white;
    border-color: #3498db;
    box-shadow: 0 10px 40px rgba(52, 152, 219, 0.1);
    transform: translateY(-5px);
}

.achievement-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.3);
}

.achievement-icon i {
    font-size: 2rem;
    color: white;
}

.achievement-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.achievement-item p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.award-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #3498db;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: white;
}

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

.gallery-item {
    aspect-ratio: 4/3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2rem;
    color: #3498db;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #3498db;
}

/* Phone Input Specific Styles */
.contact-form input[type="tel"] {
    transition: all 0.3s ease;
}


.contact-form input[type="tel"]:valid {
    border-color: #27ae60;
}

/* Phone input placeholder enhancement */
.contact-form input[type="tel"]::placeholder {
    color: #7f8c8d;
    font-style: italic;
}

.contact-form input[type="tel"]:focus::placeholder {
    color: #bdc3c7;
}

.contact-form textarea {
    grid-column: 1 / -1;
    resize: vertical;
    font-family: inherit;
}

.contact-form button {
    width: 100%;
    margin-top: 1rem;
}

/* Premium Select Styling with Fixed Positioning */
.contact-form select {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    position: relative;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    letter-spacing: 0.3px;
}

.contact-form select:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.contact-form select:focus {
    outline: none;
    border-color: #2980b9;
    background: linear-gradient(135deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 8px 32px rgba(52, 152, 219, 0.15);
    animation: focusGlow 0.4s ease;
}

@keyframes focusGlow {
    0% { box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 8px 32px rgba(52, 152, 219, 0.15); }
    50% { box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.15), 0 12px 40px rgba(52, 152, 219, 0.2); }
    100% { box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 8px 32px rgba(52, 152, 219, 0.15); }
}

/* Premium Select Container with Arrow */
.select-container {
    position: relative;
    display: block;
}

.select-container::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #3498db;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.select-container:hover::after {
    border-top-color: #2980b9;
    transform: translateY(-50%) scale(1.1);
}

.select-container.focused::after,
.select-container.dropdown-open::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #2980b9;
}

/* Premium Option Styling */
.contact-form select optgroup {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a202c;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 12px 16px;
    margin: 6px 0;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.contact-form select option {
    padding: 12px 20px;
    color: #4a5568;
    background: #ffffff;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 3px 0;
    letter-spacing: 0.2px;
}

.contact-form select option:hover {
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    color: #2d3748;
}

.contact-form select option:checked {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
}

/* Success Animation */
.contact-form select.selected {
    border-color: #27ae60;
    background: linear-gradient(135deg, #f0fff4 0%, #e6ffed 100%);
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); box-shadow: 0 0 0 6px rgba(39, 174, 96, 0.2); }
    100% { transform: scale(1); }
}

/* Premium Glass Morphism Effect */
.select-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.select-container:hover::before {
    opacity: 1;
}

/* Ripple Effect */
.select-ripple {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.3) 0%, transparent 70%);
    transform: scale(0);
    animation: premiumRipple 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 0;
}

@keyframes premiumRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Form Group */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Floating Label Animation */
.form-field-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-field-container input,
.form-field-container textarea,
.form-field-container select {
    width: 100%;
    padding: 20px 15px 8px 15px;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    outline: none;
}

/* Restore original select styling but keep floating label functionality */
.form-field-container select {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    letter-spacing: 0.3px;
}

.form-field-container select:hover {
    border-color: #3498db;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-field-container select:focus {
    outline: none;
    border-color: #2980b9;
    background: linear-gradient(135deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.1), 0 8px 32px rgba(52, 152, 219, 0.15);
    animation: focusGlow 0.4s ease;
}

/* Restore original optgroup and option styling */
.form-field-container select optgroup {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a202c;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    padding: 12px 16px;
    margin: 6px 0;
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-bottom: 1px solid #e2e8f0;
}

.form-field-container select option {
    padding: 12px 20px;
    color: #4a5568;
    background: #ffffff;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 3px 0;
    letter-spacing: 0.2px;
}

.form-field-container select option:hover {
    background: linear-gradient(135deg, #ebf8ff 0%, #e6fffa 100%);
    color: #2d3748;
}

.form-field-container select option:checked {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    font-weight: 600;
}

/* Add dropdown arrow back - use class-based approach for compatibility */
.form-field-container.select-field::after {
    content: '';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #3498db;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.form-field-container.select-field:hover::after {
    border-top-color: #2980b9;
    transform: translateY(-50%) scale(1.1);
}

.form-field-container.select-field.focused::after {
    transform: translateY(-50%) rotate(180deg);
    border-top-color: #2980b9;
}

/* Floating label states for select */
.form-field-container.focused select + label,
.form-field-container.has-value select + label,
.form-field-container select:focus + label,
.form-field-container select.has-value + label {
    top: -8px;
    left: 10px;
    font-size: 0.85rem;
    color: #3498db;
    font-weight: 600;
    transform: none;
    background: white;
    z-index: 10;
}

.form-field-container.focused select + label i,
.form-field-container.has-value select + label i,
.form-field-container select:focus + label i,
.form-field-container select.has-value + label i {
    color: #3498db;
}

.form-field-container textarea {
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
}

.form-field-container label {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: #7f8c8d;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    background: white;
    padding: 0 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.form-field-container textarea + label {
    top: 25px;
    transform: none;
}

.form-field-container select + label {
    top: 50%;
    transform: translateY(-50%);
}

/* Float animation for input and textarea */
.form-field-container input:focus + label,
.form-field-container input:not(:placeholder-shown) + label,
.form-field-container input.has-value + label,
.form-field-container textarea:focus + label,
.form-field-container textarea:not(:placeholder-shown) + label,
.form-field-container textarea.has-value + label {
    top: -8px;
    left: 10px;
    font-size: 0.85rem;
    color: #3498db;
    font-weight: 600;
    transform: none;
    background: white;
    z-index: 10;
}

/* Float animation for select */
.form-field-container select:focus + label,
.form-field-container select.has-value + label {
    top: -8px;
    left: 10px;
    font-size: 0.85rem;
    color: #3498db;
    font-weight: 600;
    transform: none;
    background: white;
    z-index: 10;
}

/* Focus states */
.form-field-container input:focus,
.form-field-container textarea:focus,
.form-field-container select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Icon styling within labels */
.form-field-container label i {
    color: #7f8c8d;
    transition: color 0.3s ease;
}

.form-field-container input:focus + label i,
.form-field-container input:not(:placeholder-shown) + label i,
.form-field-container input.has-value + label i,
.form-field-container textarea:focus + label i,
.form-field-container textarea:not(:placeholder-shown) + label i,
.form-field-container textarea.has-value + label i,
.form-field-container select:focus + label i,
.form-field-container select.has-value + label i {
    color: #3498db;
}

/* Special styling for required fields */
.form-field-container label::after {
    content: '*';
    color: #e74c3c;
    margin-left: 3px;
    opacity: 0.7;
}

/* Placeholder should be transparent initially to work with :not(:placeholder-shown) */
.form-field-container input::placeholder,
.form-field-container textarea::placeholder {
    color: transparent;
    transition: color 0.3s ease;
}

.form-field-container input:focus::placeholder,
.form-field-container textarea:focus::placeholder {
    color: #bdc3c7;
}

/* Animation for the floating effect */
@keyframes labelFloat {
    0% {
        top: 50%;
        font-size: 1rem;
        color: #7f8c8d;
    }
    100% {
        top: -8px;
        font-size: 0.85rem;
        color: #3498db;
    }
}

/* Subtle Shadow Enhancement */
.contact-form select {
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        inset 0 -1px 0 rgba(0, 0, 0, 0.02);
}

/* Location Map Section */
.location-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.location-section::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="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.location-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9, #8e44ad, #9b59b6);
}

.location-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    animation: locationPulse 2s infinite;
}

@keyframes locationPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4); }
}

.location-icon i {
    font-size: 2rem;
    color: white;
}

.location-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.location-card p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.location-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-actions .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.location-actions .btn-primary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
}

.location-actions .btn-primary:hover {
    background: linear-gradient(135deg, #2980b9, #1f618d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
}

.location-actions .btn-secondary {
    background: transparent;
    color: #3498db;
    border: 2px solid #3498db;
}

.location-actions .btn-secondary:hover {
    background: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.2);
}

.contact-quick {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact-quick h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.quick-contact-item:last-child {
    border-bottom: none;
}

.quick-contact-item i {
    width: 20px;
    color: #3498db;
    font-size: 1.1rem;
}

.quick-contact-item span {
    color: #555;
    font-weight: 500;
}

.map-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.map-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.map-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: none;
    filter: contrast(1.1) saturate(1.2);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.map-info-popup h5 {
    margin: 0 0 0.5rem 0;
    color: #2c3e50;
    font-weight: 600;
}

.map-info-popup p {
    margin: 0;
    color: #7f8c8d;
    font-size: 0.9rem;
}

.location-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.feature-item i {
    color: #27ae60;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.feature-item span {
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive Design for Location Section */
@media (max-width: 968px) {
    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .location-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .location-section {
        padding: 60px 0;
    }
    
    .location-card {
        padding: 2rem;
    }
    
    .location-actions {
        gap: 0.8rem;
    }
    
    .map-wrapper iframe {
        height: 300px;
    }
    
    .map-overlay {
        position: static;
        margin-bottom: 1rem;
    }
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 50px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    margin-right: 10px;
    color: #3498db;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ecf0f1;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #34495e;
    border-radius: 50%;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 1;
}

.social-links a:hover {
    background: #3498db;
    transform: translateY(-2px);
    color: white !important;
    opacity: 1;
}

.social-links a i {
    color: white !important;
    font-size: 1rem;
}

.social-links a:hover i {
    color: white !important;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 2rem;
    text-align: center;
    color: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .school-icon {
        width: 200px;
        height: 200px;
    }
    
    .school-icon i {
        font-size: 5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text h2 {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .academics-grid,
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .about-text {
        grid-template-columns: 1fr;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
}

