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

:root {
    --primary-color: #0355df;
    --secondary-color: #001e1d;
    --accent-color: #f59e0b;
    --text-primary: #032359;
    --text-secondary: #085003;
    --background-light: #f8fafc;
    --background-white: rgba(251, 181, 192, 0.8);
    --border-color: rgba(220, 199, 200, 0.98);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

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

/* Night Mode Styles */
body.night-mode {
    --primary-color: #93c5fd;
    --secondary-color: #6ee7b7;
    --accent-color: #fcd34d;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --background-light: #1a202c;
    --background-white: #7c7979;
    --border-color: #4a5568;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.4);
    --gradient-primary: linear-gradient(135deg, #4299e1 0%, #6b46c1 100%);
    --gradient-secondary: linear-gradient(135deg, #a78bfa 0%, #f687b3 100%);
    --gradient-accent: linear-gradient(135deg, #63b3ed 0%, #81e6d9 100%);
}

/* Blink*/
@keyframes blink {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px #0033ff, 0 0 20px #00f6ff, 0 0 30px #0022ff;
    }
    50% {
        opacity: 0.6;
        text-shadow: 0 0 5px #ff0026, 0 0 10px #000dff;
    }
}



.hero-stats .stat-number, .degree{
    animation: blink 1.5s infinite;
    color: #ffffff;
    font-weight: bold;
}


@keyframes glowScale {
    0% {
        transform: scale(1);
        color: #f6062c; /* শুরুর রঙ (লাল টাইপ) */
        text-shadow: 0 0 10px #ff6b6b, 0 0 20px #430000;
    }
    50% {
        transform: scale(1.2); /* বড় হয় */
        color: #ffa502; /* মাঝের রঙ (গোল্ডেন টাইপ) */
        text-shadow: 0 0 15px #ffa502, 0 0 25px #1bff02;
    }
    100% {
        transform: scale(1);
        color: #35ff1e; /* শেষের রঙ (নীল টাইপ) */
        text-shadow: 0 0 10px #ff1e40, 0 0 20px #ff0245;
    }
}

.logo-subtitle {
    animation: glowScale 2s infinite ease-in-out;
    font-weight: bold;
    display: inline-block;
    font-size: 40px;
}




/* night mood*/


body.night-mode .navbar {
    background: rgba(45, 55, 72, 0.95);
}

body.night-mode .cta-btn {
    background: var(--gradient-primary);
}

body.night-mode .hero {
    background: linear-gradient(135deg, #4299e1 0%, #6b46c1 100%);
}

body.night-mode .highlight {
    background: linear-gradient(120deg, #63b3ed 0%, #81e6d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

}

body.night-mode .floating-card {
    background: var(--background-white);
}

body.night-mode .info-card {
    background: var(--background-white);
}

body.night-mode .service-card,
body.night-mode .subject-card,
body.night-mode .pricing-card,
body.night-mode .testimonial-card,
body.night-mode .contact-card,
body.night-mode .contact-form-container {
    background: var(--background-white);
}

body.night-mode .pricing-note {
    background: #2a4365;
    border-left-color: var(--primary-color);
}

body.night-mode .contact-btn {
    background: var(--primary-color);
}

body.night-mode .social-link {
    background: var(--primary-color);
}

body.night-mode .back-to-top {
    background: var(--gradient-primary);
}

.theme-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-primary);
    margin-left: 1rem;
    transition: color 0.3s ease;
}

.theme-toggle:hover {
    color: var(--primary-color);
}

body.night-mode .theme-toggle .fa-moon {
    display: none;
}

body.night-mode .theme-toggle .fa-sun {
    display: inline-block;
}

.theme-toggle .fa-sun {
    display: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--background-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(220, 199, 199, 0.75);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
    height: 70px;
}

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

.logo h2 {
    color: var(--primary-color);
    margin-bottom: 0;
    font-size: 1.9rem;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

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

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

.cta-btn {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, #a2b0ea 0%, #7b39bd 100%);
    color: white;
    overflow: hidden;

}

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

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

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

.hero-image {
    position: relative;
    width: 100%;

}

.image-container {
    position: relative;
    display: inline-block;
}

.image-container img {
    width: 400px;
    height: 450px;
    /*object-fit: cover;*/
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.floating-card i {
    color: var(--primary-color);
}

.card-1 {
    top: 20px;
    right: -20px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 100px;
    left: -30px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 20px;
    right: -10px;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-margin{
    /*margin-top: 30px;*/
}
section {
    padding: 120px 0;
}

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

.section-title {
    font-size: 2.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

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

/* About Section */
.about {
    background: var(--background-white)
}

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

.about-description {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.highlight-item i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.info-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.9rem;
    font-size:  1.9rem;
    border-bottom: 3px solid var(--border-color);
}

.education-item {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.education-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.education-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.personal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.label {
    font-weight: 500;
    color: var(--text-primary);
}

.value {
    color: var(--text-secondary);
}

/*Headline Animation*/

.breaking-news {
    position: relative;
    overflow: hidden;
    background-color: #ff0062;
    color: white;
    padding: 2px 0;
    font-family: 'Segoe UI', sans-serif;
}

.breaking-news h3 {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: scroll-left 20s linear infinite;
    font-size: 17px;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}





/* About Section */
/*.about {*/
/*    background: var(--background-white);*/

/*}*/

/*.about-content {*/
/*    display: grid;*/
/*    grid-template-columns: 1fr 1fr;*/
/*    gap: 4rem;*/
/*    align-items: start;*/
/*}*/

/*.about-description {*/
/*    font-size: 1.125rem;*/
/*    line-height: 1.8;*/
/*    margin-bottom: 2rem;*/
/*}*/

/*.about-highlights {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1rem;*/
/*}*/

/*.highlight-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 1rem;*/
/*}*/

/*.highlight-item i {*/
/*    color: var(--secondary-color);*/
/*    font-size: 1.25rem;*/
/*}*/

/*.info-card {*/
/*    background: var(--background-light);*/
/*    padding: 2rem;*/
/*    border-radius: 12px;*/
/*    margin-bottom: 2rem;*/
/*    box-shadow: var(--shadow-sm);*/
/*}*/

/*.info-card h3 {*/
/*    color: var(--primary-color);*/
/*    margin-bottom: 1.5rem;*/
/*}*/

/*.education-item {*/
/*    margin-bottom: 1.5rem;*/
/*    padding-bottom: 1.5rem;*/
/*    border-bottom: 1px solid var(--border-color);*/
/*}*/

/*.education-item:last-child {*/
/*    border-bottom: none;*/
/*    margin-bottom: 0;*/
/*    padding-bottom: 0;*/
/*}*/

/*.education-item h4 {*/
/*    color: var(--text-primary);*/
/*    margin-bottom: 0.5rem;*/
/*}*/

/*.personal-info {*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    gap: 1rem;*/
/*}*/

/*.info-item {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.label {*/
/*    font-weight: 500;*/
/*    color: var(--text-primary);*/
/*}*/

/*.value {*/
/*    color: var(--text-secondary);*/
/*}*/

/* Services Section */
.services {
    /*margin-top:  2rem;*/
    background: var(--background-light);
    padding-top: 120px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    height: 100%;
    width: 100%;
    gap: 1rem;
}

.service-card {
    background: var(--background-white);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

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

.service-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    text-align: left;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* Subjects Section */
.subjects {
    background: var(--background-white);
}

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

.subject-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid transparent;
}

.subject-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.subject-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.subject-icon i {
    font-size: 1.75rem;
    color: white;
}

.expertise-level {
    margin-top: 1rem;
}

.level {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.level.expert {
    background: #dcfce7;
    color: #166534;
}

.level.advanced {
    background: #dbeafe;
    color: #1e40af;
}

.level.intermediate {
    background: #fef3c7;
    color: #92400e;
}

/* Pricing Section */
.pricing {
    background: var(--background-light);
}

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

.pricing-card {
    background: var(--background-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.pricing-header h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.currency {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
}

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--secondary-color);
}

.pricing-note {
    text-align: center;
    background: #eff6ff;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    background: var(--background-white);
}

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

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
}

/* Contact Section */
.contact {
    background: var(--background-light);
}

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

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

.contact-card {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.contact-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.contact-form-container {
    background: var(--background-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.contact-form h3 {
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

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

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-item i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .image-container img {
        width: 300px;
        height: 300px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

    .services-grid,
    .subjects-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 150px 0 60px;

    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    section {
        padding: 60px 0;
    }

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

    .image-container img {
        width: 250px;
        height: 250px;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}




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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.6s ease forwards;
}

@keyframes slideInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

