:root {
    --primary-gradient: linear-gradient(90deg, hsla(4, 84%, 49%, 1) 0%, hsla(37, 89%, 52%, 1) 100%);
    --secondary-gradient: linear-gradient(90deg, #001eff, #ff2a00);
    --text-gradient: linear-gradient(90deg, hsla(319, 82%, 52%, 1) 20%, hsla(197, 100%, 50%, 1) 80%);
    --dark-bg: #1a2639;
    --light-bg: #ffffff;
    --text-color: #333333;
    --light-text: #ffffff;
    --dark-text: #1a2639;
}

.dark-mode {
    --primary-gradient: linear-gradient(135deg, #4b6cb7, #182848);
    --secondary-gradient: linear-gradient(135deg, #3a7bd5, #00d2ff);
    --text-gradient: linear-gradient(90deg, hsla(319, 82%, 52%, 1) 20%, hsla(197, 100%, 50%, 1) 80%);
    --dark-bg: #121212;
    --light-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --light-text: #ffffff;
    --dark-text: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
    transition: background-color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 0;
}

.contact {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 0;
}

header {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 0.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 1.5rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f0f0f0;
}

.login-btn {
    background: var(--secondary-gradient);
    color: var(--dark-text);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.login-btn:hover {
    transform: translateY(-2px);
}

#mobile-menu-btn {
    display: none;
}

.gradient-text {
    background: var(--text-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.login {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
}

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--light-bg);
    color: var(--text-color);
}

.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: var(--light-bg);
    color: var(--text-color);
    height: 100px;
}

.submit-btn {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-3px);
}

.login-help {
    text-align: center;
    margin-top: 1rem;
}

.forgot-password,
.register-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover,
.register-link:hover {
    color: var(--primary-gradient);
}

footer {
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 1rem 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin-bottom: 1rem;
    padding: 0 1rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #f0f0f0;
}

.social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #f0f0f0;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
    flex: 1;
    text-align: center;
    padding: 0.5rem;
}

.footer-bottom-left {
    text-align: left;
}

.footer-bottom-right {
    text-align: right;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--secondary-gradient);
}

@media (max-width: 768px) {
    .footer-bottom-row {
        flex-direction: column;
    }

    .footer-bottom-left,
    .footer-bottom-center,
    .footer-bottom-right {
        text-align: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

.floating-buttons {
    position: fixed;
    top: 80px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.call-button {
    position: fixed;
    bottom: 140px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--light-text);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.whatsapp-button {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--light-text);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.dark-mode-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: var(--light-text);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.call-button:hover,
.whatsapp-button:hover,
.dark-mode-toggle:hover {
    transform: scale(1.1);
}

.go-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--primary-gradient);
    color: var(--light-text);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

.go-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.go-to-top:hover {
    transform: translateY(-3px);
}

.admission-icon {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary-gradient);
    color: var(--light-text);
    padding: 15px;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
}

.admission-icon:hover {
    background: linear-gradient(135deg, #5470B0, #E17763);
}

.admission-icon i {
    margin-right: 10px;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background: var(--primary-gradient);
    transition: left 0.3s ease-in-out;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.mobile-sidebar.show {
    left: 0;
}

.mobile-sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-sidebar .nav-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 40px;
}

.mobile-sidebar .nav-links a {
    color: var(--light-text);
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-sidebar .nav-links a:hover {
    color: var(--secondary-gradient);
}

.sidebar-footer {
    margin-top: 30px;
    text-align: center;
}

.sidebar-footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sidebar-footer .social-icons a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.sidebar-footer .social-icons a:hover {
    color: var(--secondary-gradient);
}

.sidebar-footer p {
    color: var(--light-text);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .menu {
        background: none;
        border: none;
        color: var(--light-text);
        font-size: 1.2rem;
        cursor: pointer;
    }

    .nav-links {
        display: none;
    }

    #mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-section {
        flex-basis: 100%;
        text-align: center;
    }
}