:root {
    --primary-color: #1B3C73; /* Deep Navy Blue */
    --secondary-color: #FFA726; /* Bright Orange */
    --light-color: #ffffff;
    --bg-color: #F3F4F6; /* Soft Grey */
    --text-color: #333333;
    --shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border-radius: 12px;
}

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

body {
    font-family: 'Mukta', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Baloo Bhai 2', cursive;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.primary {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.primary:hover {
    background-color: #0e1859;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.secondary {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.secondary:hover {
    background-color: #e65100;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* Header & Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: var(--light-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.logo h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 0;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 600;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

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

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

.nav-links a.active {
    color: var(--secondary-color);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 200;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 90vh;
    padding: 2rem 5%;
    background: linear-gradient(135deg, #e8f5fe 0%, #f0f4fd 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: linear-gradient(45deg, rgba(255, 167, 38, 0.2), rgba(27, 60, 115, 0.2));
    animation: float 15s infinite alternate ease-in-out;
}

.shape-2 {
    bottom: -15%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, rgba(27, 60, 115, 0.2), rgba(255, 167, 38, 0.2));
    animation: float 20s infinite alternate-reverse ease-in-out;
}

.shape-3 {
    top: 40%;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.1), rgba(27, 60, 115, 0.1));
    animation: float 25s infinite alternate ease-in-out;
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 167, 38, 0.3), transparent 70%);
    filter: blur(20px);
    z-index: -1;
    animation: pulse 3s infinite alternate;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(255, 109, 0, 0.1), rgba(26, 35, 126, 0.1));
    z-index: 0;
    animation: float 15s infinite alternate ease-in-out;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.1), rgba(255, 109, 0, 0.1));
    z-index: 0;
    animation: float 20s infinite alternate-reverse ease-in-out;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(30px, 20px) rotate(5deg); }
    100% { transform: translate(-20px, 40px) rotate(-5deg); }
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
}

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

.hero-content p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.6s;
    animation-fill-mode: both;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.5s ease-out;
}

.instructor-frame {
    max-width: 400px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instructor-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.instructor-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.success-counter {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50px;
    padding: 0.8rem 1.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: fit-content;
    border-left: 4px solid var(--secondary-color);
}

.counter-icon {
    font-size: 2rem;
    margin-right: 1rem;
    color: var(--secondary-color);
}

.counter-text {
    display: flex;
    flex-direction: column;
}

.counter-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.counter-label {
    font-size: 0.9rem;
    color: #555;
}

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

.image-placeholder {
    width: 100%;
    height: 450px;
    background: linear-gradient(45deg, #f5f7fa, #e8f5fe);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    font-size: 1.5rem;
    color: #777;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.image-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Courses Section */
.courses {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.section-title.animate {
    opacity: 1;
    transform: translateY(0);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

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

.course-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(50px);
}

.course-card.animate {
    opacity: 1;
    transform: translateY(0);
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.15);
}

.course-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-card h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.course-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: disc;
}

.course-card .btn {
    margin-top: 1rem;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 3rem 5% 1rem;
    position: relative;
}

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

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.social-icon {
    color: var(--light-color);
    transition: var(--transition);
    font-weight: 600;
}

.social-icon:hover {
    color: var(--secondary-color);
    transform: translateY(-3px);
}

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

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    z-index: 99;
    transition: var(--transition);
    overflow: hidden;
}

.whatsapp-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    filter: invert(1);
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    background-color: #128c7e;
}

/* Free Test Notification */
.free-test-notification {
    position: fixed;
    bottom: 100px;
    right: 30px;
    background-color: white;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    max-width: 400px;
    z-index: 98;
    transform: translateY(100px);
    opacity: 0;
    animation: slideUp 0.5s forwards 1s;
    border-left: 4px solid var(--secondary-color);
}

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

.notification-content {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.notification-icon {
    font-size: 1.5rem;
    margin-right: 10px;
    color: var(--secondary-color);
}

.notification-content p {
    font-size: 0.9rem;
    margin: 0;
    color: #333;
}

.notification-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.notification-btn:hover {
    background-color: #e65100;
    transform: translateY(-2px);
}

.notification-close {
    background: none;
    border: none;
    color: #999;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 0 0 10px;
    margin-left: 5px;
    transition: var(--transition);
}

.notification-close:hover {
    color: #333;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), #3949ab);
    color: var(--light-color);
    padding: 5rem 5% 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out;
}

.page-header p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s;
    animation-fill-mode: both;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
    
    .cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--light-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateX(100%);
        opacity: 0;
        transition: var(--transition);
        z-index: 100;
    }
    
    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .nav-links a {
        font-size: 1.5rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}