@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-dark: #0B0E14;
    --primary-dark-light: #1A1F2B;
    --primary-gold: #D4AF37;
    --gold-hover: #E6C24A;
    --text-light: #FFFFFF;
    --text-dark: #000000;
    --gray-placeholder: #A0A0A0;
    --border-radius: 30px;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.app-wrapper {
    max-width: 1400px;
    margin: 20px auto;
    border-radius: var(--border-radius);
    background-color: var(--primary-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    min-height: calc(100vh - 40px);
    position: relative;
    overflow: hidden;
}

@media (max-width: 1440px) {
    .app-wrapper {
        margin: 0;
        border-radius: 0;
        min-height: 100vh;
    }
}

/* Base Components */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.premium-btn {
    display: inline-block;
    background-color: var(--primary-gold);
    color: var(--text-dark);
    font-weight: 500;
    padding: 12px 30px;
    border: 2px solid var(--text-dark);
    text-decoration: none;
    transition: all var(--transition-speed);
    cursor: pointer;
    letter-spacing: 0px;
    font-size: 1.1rem;
    border-radius: 0;
}

.premium-btn:hover {
    background-color: var(--gold-hover);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Header */
header {
    padding: 30px 0 10px;
    position: relative;
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--primary-dark);
}

.logo-container {
    text-align: center;
    margin-bottom: 10px;
}

.logo-container img {
    max-height: 180px;
    width: auto;
}

nav {
    width: 100%;
    padding: 10px 0 20px;
    display: flex;
    justify-content: center;
    background-color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    color: var(--primary-gold);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    position: relative;
    padding-bottom: 5px;
    transition: opacity var(--transition-speed);
}

.nav-links a.active {
    font-weight: 600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-gold);
    transition: width var(--transition-speed);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    opacity: 0.8;
}

/* Home Page */
.hero {
    height: auto;
    min-height: 480px;
    padding: 60px 20px;
    background-image: url('images/study-desk.jpeg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 14, 20, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title {
    margin-bottom: 25px;
    line-height: 1.35;
}

.hero-title span {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    padding: 6px 14px;
    font-size: 2.5rem;
    font-weight: 600;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero-subtitle {
    margin-bottom: 35px;
    line-height: 1.5;
}

.hero-subtitle span {
    background-color: rgba(11, 14, 20, 0.7);
    color: var(--text-light);
    padding: 6px 12px;
    font-size: 1.1rem;
    font-weight: 400;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.hero .premium-btn {
    font-family: 'Montserrat', sans-serif;
    margin-top: 10px;
}

/* Services / Subjects Grid */
.services-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    color: var(--primary-gold);
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 600;
}

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

.service-card {
    background-color: var(--primary-dark-light);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(212, 175, 55, 0.15);
    background-color: #07152B;
}

.service-icon {
    width: 75px;
    height: 75px;
    color: var(--primary-gold);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-gold);
    font-weight: 500;
}

.service-card p {
    color: var(--primary-gold);
    font-size: 1.05rem;
    line-height: 1.8;
}

/* About Us Page */
.about-section {
    background-color: var(--primary-gold);
    color: var(--text-dark);
    padding: 60px 40px;
    margin: 40px 20px;
}

.about-section .section-title {
    color: var(--text-dark);
    margin-bottom: 30px;
}

.about-section p {
    color: #111;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
}

.school-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.school-badge {
    background-color: var(--primary-dark);
    color: var(--primary-gold);
    padding: 8px 16px;
    font-size: 0.95rem;
}

/* Enroll Now Page */
.enroll-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 0 20px;
}

.form-wrapper {
    background-color: var(--primary-gold);
    padding: 40px 30px;
    color: var(--text-dark);
    border-radius: 20px;
    margin-bottom: 0px;
}

.form-wrapper h2 {
    display: none;
}

.form-instruction {
    display: none;
}

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

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: none;
    border-radius: 8px;
    background-color: #FFFFFF;
    font-family: inherit;
    font-size: 1rem;
    color: #000;
}

.form-control::placeholder {
    color: var(--gray-placeholder);
}

.form-control:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--primary-dark);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.submit-container {
    text-align: center;
    margin-top: 30px;
}

.submit-btn {
    width: 100%;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.submit-btn:hover {
    background-color: var(--text-dark);
    color: var(--primary-gold);
}

.enroll-image {
    width: 100%;
    margin-top: -10px;
    text-align: center;
}

.enroll-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: inline-block;
    border-radius: 0 0 30px 30px;
}

/* Footer */
footer {
    padding: 40px 0;
    text-align: center;
    background-color: var(--primary-dark);
    position: relative;
    margin-top: 60px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.social-icons a {
    color: var(--primary-gold);
    font-size: 1.5rem;
    transition: opacity var(--transition-speed);
}

.social-icons a:hover {
    opacity: 0.7;
}

.copyright {
    color: var(--primary-gold);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Location Badge */
.location-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--primary-gold);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    letter-spacing: 0.5px;
}

.location-badge svg {
    margin-right: 8px;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: transform var(--transition-speed);
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title span {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-section {
        padding: 40px 25px;
        margin: 20px 10px;
    }

    .form-wrapper {
        padding: 30px 20px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 25px;
    }
}

@media (max-width: 480px) {
    .hero-title span {
        font-size: 1.95rem;
    }

    .hero-subtitle span {
        font-size: 0.95rem;
    }

    .logo-container img {
        max-height: 130px;
    }

    .nav-links {
        gap: 20px;
    }

    .hero {
        padding: 40px 20px;
        min-height: 420px;
    }
}