/* Variables for color scheme */
:root {
    --clr-primary: #2c2c54;
    --clr-secondary: #474787;
    --clr-accent: #f4d35e;
    --clr-text: #2d2d2d;
    --clr-light-bg: #f8f6f3;
    --clr-white: #ffffff;
}

/* 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;
    color: var(--clr-text);
    background-color: var(--clr-light-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: var(--clr-primary);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--clr-accent);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-header p {
    color: var(--clr-secondary);
    font-size: 1.1rem;
}

/* Button styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    cursor: pointer;
    letter-spacing: 1px;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.8rem;
}

.btn-primary {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

.btn-primary:hover {
    background-color: var(--clr-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

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

.btn-secondary:hover {
    background-color: var(--clr-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-accent {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
}

.btn-accent:hover {
    background-color: #ebc43d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-outline {
    border: 2px solid var(--clr-primary);
    background-color: transparent;
    color: var(--clr-primary);
}

.btn-outline:hover {
    background-color: var(--clr-primary);
    color: var(--clr-white);
}

/* Header */
header {
    background-color: var(--clr-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.logo span {
    color: var(--clr-accent);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 600;
    color: var(--clr-text);
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

nav ul li a.active,
nav ul li a:hover {
    color: var(--clr-secondary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--clr-accent);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

nav ul li a.active::after,
nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--clr-primary);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    color: var(--clr-white);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}

#hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    width: 50%;
}

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

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.hero-image {
    width: 45%;
    position: relative;
    height: 400px;
}

.shape {
    background-color: var(--clr-accent);
    width: 100%;
    height: 100%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    position: absolute;
    top: 0;
    right: 0;
    animation: morphing 8s ease-in-out infinite;
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Features Section */
#features {
    padding: 100px 0;
    background-color: var(--clr-white);
}

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

.feature-card {
    background-color: var(--clr-light-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    width: 70px;
    height: 70px;
    background-color: rgba(71, 71, 135, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--clr-secondary);
}

.feature-card .icon i {
    font-size: 1.8rem;
}

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

/* Courses Section */
#courses {
    padding: 100px 0;
    background-color: var(--clr-light-bg);
}

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

.course-card {
    background-color: var(--clr-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.course-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 44, 84, 0.3), rgba(71, 71, 135, 0.5));
}

.course-img.chem-10 {
    background-image: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

.course-img.chem-11 {
    background-image: url('https://images.unsplash.com/photo-1603126857599-f6e157fa2fe6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

.course-img.chem-12 {
    background-image: url('https://images.unsplash.com/photo-1554475900-0a0350e3fc7b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

.course-img.neet {
    background-image: url('https://images.unsplash.com/photo-1576086213369-97a306d36557?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
}

.course-info {
    padding: 25px;
}

.course-info h3 {
    color: var(--clr-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.course-info p {
    margin-bottom: 15px;
    color: var(--clr-text);
}

/* Price Tag Styles */
.price-tag {
    background-color: rgba(244, 211, 94, 0.15);
    border-left: 3px solid var(--clr-accent);
    padding: 8px 12px;
    margin-bottom: 15px;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
}

.price-tag span {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--clr-primary);
}

.courses-cta {
    text-align: center;
}

/* Testimonials Section */
#testimonials {
    padding: 100px 0;
    background-color: var(--clr-white);
}

.testimonials-slider {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial {
    background-color: var(--clr-light-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    width: 100%;
    margin: 0 20px;
}

.testimonial-content {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    color: var(--clr-accent);
    font-size: 2rem;
    font-family: serif;
}

.testimonial-author h4 {
    color: var(--clr-primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--clr-secondary);
}

.testimonial-dots {
    text-align: center;
}

.dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--clr-accent);
}

/* CTA Section */
#cta {
    padding: 80px 0;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Contact Section */
#contact {
    padding: 100px 0;
    background-color: var(--clr-light-bg);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.contact-info {
    display: grid;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-item i {
    color: var(--clr-secondary);
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--clr-primary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--clr-text);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--clr-secondary);
}

/* Map Container */
.map-container {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.map-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.map-container img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

/* Google Form Section */
.google-form {
    background-color: var(--clr-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.google-form h3 {
    color: var(--clr-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.google-form p {
    margin-bottom: 25px;
    color: var(--clr-text);
}

/* Pricing Summary Styles */
.pricing-summary {
    background-color: rgba(71, 71, 135, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: left;
}

.pricing-summary h4 {
    color: var(--clr-secondary);
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.2rem;
}

.pricing-summary ul {
    display: grid;
    gap: 10px;
}

.pricing-summary li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-summary li i {
    color: var(--clr-secondary);
    font-size: 1rem;
}

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

.form-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.form-note {
    background-color: rgba(244, 211, 94, 0.1);
    border-radius: 5px;
    padding: 15px;
    margin-top: 20px;
}

.form-note p {
    margin-bottom: 0;
    color: var(--clr-primary);
    font-size: 0.9rem;
}

.form-note i {
    color: var(--clr-accent);
}

/* Footer */
footer {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3, .footer-col h4 {
    color: var(--clr-white);
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: var(--clr-accent);
    bottom: -10px;
    left: 0;
}

.footer-col p {
    margin-bottom: 15px;
    opacity: 0.8;
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--clr-white);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--clr-accent);
    color: var(--clr-primary);
    transform: translateY(-3px);
}

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--clr-accent);
    padding-left: 5px;
}

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

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content {
        width: 60%;
    }
    
    .hero-image {
        width: 40%;
    }
}

@media screen and (max-width: 768px) {
    nav {
        position: fixed;
        top: 70px;
        left: -100%;
        background-color: var(--clr-white);
        width: 100%;
        height: 100vh;
        transition: all 0.3s ease;
    }
    
    nav.active {
        left: 0;
    }
    
    nav ul {
        display: block;
        padding: 30px;
    }
    
    nav ul li {
        margin: 20px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    #hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        width: 100%;
        margin-bottom: 50px;
    }
    
    .hero-content p {
        margin: 0 auto 30px;
    }
    
    .hero-image {
        width: 80%;
        max-width: 350px;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }
} 