/* ================================
   EXCELLENCE ACADEMY - STYLES.CSS
   ================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;

    
}

/* ================================
   THEME VARIABLES
   ================================ */

.dark-mode {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --accent-cyan: #06b6d4;
    --accent-purple: #a855f7;
    --accent-indigo: #6366f1;
    --card-bg: #1e293b;
    --card-border: #334155;
}

.light-mode {
    --bg-primary: #ffffff;
    --bg-secondary: #f3f4f6;
    --bg-tertiary: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --accent-cyan: #06b6d4;
    --accent-purple: #9333ea;
    --accent-indigo: #4f46e5;
    --card-bg: #ffffff;
    --card-border: #e5e7eb;
}

body {
    background: var(--bg-primary);
    color: var(--text-primary);
}

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

/* ================================
   NAVIGATION BAR
   ================================ */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--bg-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: background-color 0.3s ease;
}

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

.logo {
    font-size: 90%;
    font-weight: bold;
    color: var(--accent-cyan);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-cyan);
}

.theme-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--bg-tertiary);
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.mobile-controls {
    display: none;
    align-items: center;
    gap: 15px;
}

.hamburger {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: var(--bg-tertiary);
    padding: 20px;
}

.mobile-menu a {
    display: block;
    padding: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-menu a:hover {
    color: var(--accent-cyan);
    padding-left: 20px;
}

.mobile-menu.hidden {
    display: none !important;
}

/* ================================
   HERO SECTION
   ================================ */

.hero-section {
    margin-top: 70px;
    margin-bottom: 90px;
    height: calc(100vh - 70px);
    position: relative;
    overflow: hidden;
}
.logo img {
    height: 60px;
    width: auto;
    border-radius: 50%;
}
.logo2 img {
    height: 150px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 20px;
    margin-top: 10px;
}
.div1 img {
    height: 100px;
    width: auto;
    border-radius: 50%;
    margin-bottom: 20px;
    margin-top: 10px;
    color: white;
}
.hero-slide {
    display: none;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #7e22ce 50%, #0f172a 100%);
    animation: fadeIn 1s ease-in-out;
}

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

.hero-content {
    text-align: center;
    color: white;
    padding: 20px 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 20px;
    animation: slideUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: #cbd5e1;
    animation: slideUp 1s ease-out;
}

/* ================================
   BUTTONS
   ================================ */

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

.btn-primary {
    background: var(--accent-cyan);
    color: #0f172a;
}

.btn-primary:hover {
    background: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-secondary {
    background: var(--accent-purple);
    color: white;
}

.btn-secondary:hover {
    background: #9333ea;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

/* ================================
   SECTION STYLES
   ================================ */

section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--accent-cyan);
    margin: 0 auto 20px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

/* ================================
   INTRO SECTION
   ================================ */

.intro-section {
    background: var(--bg-secondary);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    align-items: start;
}

.intro-card {
    background: linear-gradient(135deg, #7e22ce 0%, #9333ea 100%);
    padding: 40px;
    border-radius: 20px;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.intro-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.intro-features h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

.feature-list {
    list-style: none;
}

.feature-list li {
    font-size: 1.1rem;
    padding: 12px 0;
    color: var(--text-secondary);
}

/* ================================
   WHY CHOOSE US SECTION
   ================================ */

.why-choose-section {
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border-top: 4px solid var(--accent-cyan);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(128, 220, 236, 0.3);
}

.feature-card:nth-child(2),
.feature-card:nth-child(4) {
    border-top-color: var(--accent-purple);
}

.feature-card:nth-child(3),
.feature-card:nth-child(6) {
    border-top-color: var(--accent-indigo);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ================================
   TEACHERS SECTION
   ================================ */

.teachers-section {
    background: var(--bg-secondary);
}

.teachers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(116, 139, 237, 0.824);
    transition: all 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.teacher-header {
    height: 100px;
}

.cyan-bg { 
    background: var(--accent-cyan); 
}

.purple-bg { 
    background: var(--accent-purple); 
}

.indigo-bg { 
    background: var(--accent-indigo); 
}

.teacher-content {
    padding: 30px;
    margin-top: -50px;
    text-align: center;
}

.teacher-avatar {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.teacher-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.teacher-subject {
    font-weight: 600;
    margin-bottom: 15px;
}

.cyan-text { 
    color: var(--accent-cyan); 
}

.purple-text { 
    color: var(--accent-purple); 
}

.indigo-text { 
    color: var(--accent-indigo); 
}

.teacher-qualification {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.teacher-badges {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.badge {
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cyan-badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
}

.purple-badge {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}

.indigo-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-indigo);
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */

.testimonials-section {
    background: var(--bg-primary);
}

.testimonials-container {
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    background: var(--card-bg);
    padding: 50px;
    border-radius: 20px;
    border-left: 4px solid var(--accent-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 1s ease-in-out;
}

.testimonial-icon {
    font-size: 3rem;
    color: var(--accent-cyan);
    margin-bottom: 25px;
}

.testimonial-text {
    font-size: 1.4rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.author-info h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.author-info p {
    color: var(--text-secondary);
}
.testimonial-icon img {
    height: 100px;
    width: 200px;

   
}

/* Gallery Section */
.gallery-section {
    background: var(--bg-secondary);
    padding: 80px 20px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 200px 200 px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.05);
}
.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}


/* ================================
   CLASSES SECTION
   ================================ */

.classes-section {
    background: var(--bg-secondary);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
}

.class-card {
    padding: 30px;
    border-radius: 15px;
    color: white;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.class-card:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.mathematics {
    background: linear-gradient(135deg, #91b3ea 0%, #334155 100%);
}

.science {
    background: linear-gradient(135deg, #d1acf1 0%, #9333ea 100%);
}

.languages {
    background: linear-gradient(135deg, #b1aeed 0%, #6366f1 100%);
}

.social-science {
    background: linear-gradient(135deg, #93d8ec 0%, #06b6d4 100%);
}

.class-icon {
    font-size: 3.5rem;
    margin-bottom: 10px;
}

.class-card h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.class-list {
    list-style: none;
    margin-bottom: 10px;
    text-align: left;
}

.class-list li {
    padding:  0;
    font-size: 1.05rem;
}

.btn-class {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 100%;
    padding: 12px;
    border: 2px solid white;
}

.btn-class:hover {
    background: white;
    color: #0f172a;
}
.class-icon img {
    height: 100px;
    width: 200px;
   
}

/* ================================
   PRICING SECTION
   ================================ */

.pricing-section {
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    background: var(--accent-purple);
    color: white;
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-cyan);
    color: #0f172a;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.85rem;
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #FDB913;
    margin: 20px 0 30px;
}

.price span {
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
    color: var(--text-secondary);
}

.pricing-card.featured .pricing-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-pricing {
    background: var(--accent-cyan);
    color: #0f172a;
    width: 100%;
}

.btn-pricing:hover {
    background: #0891b2;
}

.btn-pricing-featured {
    background: #FDB913;
    color: #0f172a;
    width: 100%;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-pricing-featured:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* ================================
   FOOTER
   ================================ */

.footer {
    background: #0f172a;
    color: white;
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-cyan);
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 20px;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

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

.footer-section a:hover {
    color: var(--accent-cyan);
}

.contact-list li {
    color: #cbd5e1;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s ease;
}

.facebook { 
    background: var(--accent-cyan); 
    color: #0f172a; 
}

.twitter { 
    background: #334155; 
}

.instagram { 
    background: var(--accent-purple); 
}

.linkedin { 
    background: var(--accent-indigo); 
}

.social-icon:hover {
    transform: scale(1.1);
}

#newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#newsletter-form input {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #334155;
    background: #1e293b;
    color: white;
    outline: none;
}

#newsletter-form input:focus {
    border-color: var(--accent-cyan);
}

.btn-newsletter {
    background: var(--accent-cyan);
    color: #0f172a;
    width: 100%;
}

.btn-newsletter:hover {
    background: #0891b2;
}

#newsletter-message {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #cbd5e1;
}
.floating-btn {
            position: fixed;
            
            shape-margin: 50%;
            bottom: 500px;
            right: 20px;
            z-index: 1000;
            
        }

.floating-btn {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 1001;
    color: green;
    animation: float 3s ease-in-out infinite;
}
/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeIn {
    from { 
        opacity: 0; 
    }
    to { 
        opacity: 1; 
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .mobile-controls {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }

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

    .features-grid,
    .teachers-grid,
    .classes-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 30px;
    }

    .testimonial-text {
        font-size: 1.1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}
.floating-btn img{
    position: fixed;
    bottom: 100px;
    height: 50px;
    width: auto;
    margin-bottom: 20px;
    margin-top: 10px;
    size: 50px;
    right: 30px;
    z-index: 1001;
    animation: float 3s ease-in-out infinite;
}

/* Overall background img
body {
    background-image: url('./Ba.jpg');
    background-size: cover; 
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
} */