/*===== Google Fonts =====*/
@import url("https://fonts.googleapis.com/css2?family=Kaushan+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Fira+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&display=swap");

:root {
    /* Color Palette */
    --main-color: #6C5CE7; /* Vibrant Lavender/Electric Purple */
    --main-color-dark: #584ACB; /* Slightly darker for hover */
    --accent-color: #00C7E5; /* Cyan/Turquoise for secondary elements */
    
    /* Shadows & Backgrounds */
    --shadow-light: 0 5px 20px rgba(0, 0, 0, 0.05); /* Very subtle card shadow */
    --shadow-main: 0 10px 30px rgba(108, 92, 231, 0.2); /* Prominent card hover shadow */
    --shadow-button: 0 8px 15px rgba(108, 92, 231, 0.4); /* Prominent hero button shadow */
    
    /* Text Colors */
    --black-900: #080A1A; /* Near-black, deep navy base */
    --black-400: #7A869A; /* Standard cool gray for secondary text */
    --black-100: #F3F5F9; /* The lightest, near-white background for alt-bg */
    --white: #FFFFFF;
    --black-alpha-100: rgba(8, 10, 26, 0.1);
}

/* Global/Utility */
html { scroll-behavior: smooth; }
body {
    font-family: "Fira Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    overflow-x: hidden;
    background-color: var(--white);
    line-height: 1.6;
    color: var(--black-900);
}
* { margin: 0; padding: 0; box-sizing: border-box; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1140px; margin: auto; padding: 0 15px; }
.row { display: flex; flex-wrap: wrap; margin: -15px; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.alt-bg { background-color: var(--black-100); }
.d-none-mobile { display: block; }


/* --- Button Styles --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border: none;
    border-radius: 8px; 
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 600;
    transition: all 0.3s ease-out;
    margin-right: 15px;
    margin-top: 15px;
}
.btn i { margin-left: 10px; font-size: 1em; }

.btn-1 { /* Primary Hero Button */
    color: var(--white);
    background: linear-gradient(135deg, var(--main-color), var(--main-color-dark));
    box-shadow: var(--shadow-button);
}
.btn-1:hover {
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.5);
    transform: translateY(-2px);
    background: var(--main-color-dark);
}
.btn-3 { /* Secondary Hero Button */
    color: var(--main-color);
    background-color: var(--white);
    border: 2px solid var(--main-color);
    box-shadow: var(--shadow-main);
    padding: 13px 28px; 
}
.btn-3:hover {
    color: var(--white);
    background-color: var(--main-color);
    box-shadow: 0 8px 15px rgba(108, 92, 231, 0.3);
    transform: translateY(-2px);
}
.btn-2 { /* Navbar CTA */
    color: var(--white);
    background-color: var(--main-color);
    padding: 10px 20px;
    font-size: 15px;
    border-radius: 6px;
}
.btn-2:hover {
    background-color: var(--main-color-dark);
}

/* 🌟 Gradient-Accent Card Button (btn-4) 🌟 */
.btn-4 {
    display: inline-flex;
    padding: 12px 25px; 
    font-size: 15px; 
    border-radius: 50px; /* Highly rounded/pill shape */
    font-weight: 600; 
    color: var(--white);
    /* Gradient from main to accent color */
    background: linear-gradient(90deg, var(--main-color), var(--accent-color)); 
    box-shadow: 0 4px 10px rgba(108, 92, 231, 0.3); 
    transition: all 0.2s ease-in-out; /* Fast, snappy transition */
}
.btn-4:hover {
    transform: translateY(-3px); /* Subtle lift */
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.5); /* Stronger shadow glow */
}
/* --- End Button Styles --- */

/* Sections/Titles */
.section-padding { padding: 100px 0; }
.section-title { flex: 0 0 100%; max-width: 100%; margin-bottom: 50px; text-align: center;}
.section-title .sub-title { font-size: 18px; font-weight: 600; color: var(--main-color); text-transform: uppercase; }
.section-title .main-title { font-size: 40px; font-weight: 700; margin-top: 10px; color: var(--black-900); }
.section-title .line { padding-top: 0px; margin-top: 15px;}
.section-title .line li { display: inline-block; background-color: var(--main-color); border-radius: 50px; height: 4px; }
.section-title .line li:nth-of-type(1) { width: 64px; }
.section-title .line li:nth-of-type(2) { width: 15px; }
.section-title .line li:nth-of-type(3) { width: 10px; }

/* Navbar Styles */
.navbar {
    position: fixed;
    z-index: 999;
    width: 100%;
    padding: 20px 25px; 
    transition: all 0.4s ease;
    background-color: transparent; 
}
.navbar.sticky {
    padding: 15px 25px;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}
.navbar .logo a { font-family: "Kaushan Script", cursive; font-size: 28px; color: var(--Green); }
.navbar.sticky .logo a { color: var(--black-900); }
.navbar .logo a span { color: var(--main-color); }
.navbar .menu .nav-item { display: inline-block; position: relative; margin-left: 30px; }
.navbar .menu .nav-item .nav-link { color: var(--white); font-weight: 600; padding: 10px 0; transition: color 0.3s ease; }
.navbar.sticky .menu .nav-item .nav-link { color: var(--black-900); }
.navbar .nav-item .nav-link .nav-indicator {
    content: "";
    width: 0; height: 3px; background-color: var(--white);
    position: absolute; left: 0; bottom: -5px; border-radius: 50px;
    transition: width 0.3s ease-out;
}
.navbar.sticky .nav-item .nav-link .nav-indicator { background-color: var(--main-color); }
.navbar .nav-item:hover .nav-link .nav-indicator { width: 100%; }
.menu-btn {
    height: 40px; width: 40px; line-height: 40px; text-align: center;
    color: var(--white); font-size: 24px; display: none; 
    border-radius: 5px; cursor: pointer;
}
.navbar.sticky .menu-btn { color: var(--main-color); }

/* --- Hero Section (PRESERVED) --- */
.home-section {
    position: relative;
    background-color: var(--black-100);
    z-index: 1;
    overflow: hidden;
    padding-top: 150px; 
    padding-bottom: 100px;
    min-height: 100vh;
}
.home-section .home-text,
.home-section .home-image {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}
.home-section .home-text h4 {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--main-color);
    margin-bottom: 10px;
}
.home-section .home-text h1 {
    font-size: 55px;
    font-weight: 800;
    color: var(--black-900);
    line-height: 1.1;
}
.home-section .home-text span {
    font-size: 20px;
    color: var(--black-400);
    font-weight: 500;
    display: block;
    margin-top: 15px;
}
.home-section .home-text p {
    font-size: 17px;
    color: var(--black-400);
    margin-top: 25px;
}
.home-section .home-image .img-box img {
    position: relative;
    width: 100%;
    max-width: 550px;
    z-index: 789;
    border-radius: 10px;
}
.header-hero-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: -1;
}
.header-hero-shape::before {
    position: absolute;
    content: "";
    width: 1000%;
    height: 100%;
    background-color: var(--main-color);
    transform: skewX(20deg);
    top: 0;
    left: 0;
}
/* --- END Hero Section --- */


/* =================================================== */
/* ===== 🚀 CARD REDESIGN - Modern, Gradient-Accent ===== */
/* =================================================== */
.service-section .service-item { flex: 0 0 33.33%; max-width: 33.33%; padding: 15px; }
.service-section .service-item-inner {
    padding: 40px 20px 30px; /* Increased top/bottom padding for balance */
    border-radius: 15px; /* More rounded corners */
    width: 100%;
    text-align: center; 
    background-color: var(--white);
    
    /* Subtle starting border and shadow */
    border: 1px solid var(--black-alpha-100); 
    box-shadow: var(--shadow-light); 
    min-height: 380px; 
    position: relative;
    overflow: hidden;
    /* Cubic bezier for snappy/modern effect */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); 
}

.service-section .service-item-inner:hover {
    transform: translateY(-10px); /* Significant lift */
    box-shadow: var(--shadow-main), 0 0 25px rgba(108, 92, 231, 0.2); /* Combined deep shadow and subtle glow */
    border-color: var(--main-color); /* Highlight border on hover */
}

/* Icon Design: Circular Gradient Background */
.service-section .service-item-inner .icon {
    height: 70px; 
    width: 70px;
    /* Main color gradient for background */
    background: linear-gradient(135deg, var(--main-color), var(--main-color-dark)); 
    margin: 0 auto 25px; /* Center the icon, added spacing */
    text-align: center;
    font-size: 32px;
    color: var(--white); /* White icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3); /* Icon shadow for lift */
    transition: transform 0.3s ease;
}
.service-section .service-item-inner:hover .icon { transform: scale(1.05); }

.service-section .service-item-inner h3 { 
    font-size: 22px; 
    font-weight: 700; 
    margin: 0 0 10px; 
}
.service-section .service-item-inner p { 
    font-size: 15px; 
    color: var(--black-400); 
    margin: 0 0 15px; 
    line-height: 24px; 
}
.service-section .service-item-inner .btn-4 {
    margin: 25px auto 0; /* Center the button */
}

/* Subject Card variation (using accent color) */
.subject-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 199, 229, 0.15); 
}
.subject-card .icon {
    background: linear-gradient(135deg, var(--accent-color), #00A6C7);
    box-shadow: 0 5px 15px rgba(0, 199, 229, 0.3);
}
/* =================================================== */

/* About Section */
.about-section { background-color: var(--white); }
.about-section .about-content { flex: 0 0 80%; max-width: 80%; padding: 20px; text-align: center;}
.about-text-justified { text-align: justify !important; max-width: 800px; margin-left: auto; margin-right: auto;}

/* Footer Styles */
footer {
    background-color: var(--black-900); 
    color: var(--white);
    padding: 60px 0 20px;
}
.footer .footer-widgets { padding-bottom: 30px; border-bottom: 1px solid var(--black-400); margin-bottom: 30px;}
.footer-col { flex: 0 0 33.33%; max-width: 33.33%; padding: 0 15px; margin-bottom: 20px;}
.footer-col h4 { font-size: 20px; font-weight: 700; color: var(--main-color); margin-bottom: 25px; position: relative;}
.footer-col h4::before { content: ''; position: absolute; left: 0; bottom: -10px; background-color: var(--accent-color); height: 2px; width: 50px;}
.footer .footer-social-col { text-align: right; }
.footer .footer-social-col h4::before { right: 0; left: auto; }
.footer-social-icons a { 
    display: inline-flex; justify-content: center; align-items: center; 
    width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1);
    color: var(--white); margin: 0 5px; border-radius: 50%; 
    transition: all 0.3s ease; font-size: 18px;
}
.footer-social-icons a:hover { background-color: var(--main-color); transform: translateY(-3px);}


/* =================================================== */
/* ================= Responsive Styles ================= */
/* =================================================== */
@media (max-width: 991px) {
    /* Navbar */
    .navbar .menu {
        position: fixed; left: -100%; top: 75px; flex-direction: column;
        background-color: var(--main-color); width: 100%; text-align: center;
        transition: all 0.5s ease; padding: 20px 0;
    }
    .navbar .menu.active { left: 0; }
    .menu-btn { display: block; z-index: 999; }
    .navbar-cta.d-none-mobile { display: none !important; }
    
    /* Hero Section */
    .header-hero-shape { display: none; }
    .home-section { padding-top: 100px; }
    .home-section .home-image,
    .home-section .home-text { flex: 0 0 100%; max-width: 100%; text-align: center; }
    .home-section .home-text { order: 2; }
    .home-image .img-box { margin-top: 30px; order: 1; }
    .home-section .home-text h1 { font-size: 40px; }

    /* Cards */
    .service-section .service-item { flex: 0 0 50%; max-width: 50%; }

    /* Footer */
    .footer-col { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 767px) {
    .section-title .main-title { font-size: 32px; }
    .home-section .home-text h1 { font-size: 35px; }

    /* Cards */
    .service-section .service-item { flex: 0 0 100%; max-width: 100%; }

    /* Footer */
    .footer-col { 
        flex: 0 0 100%; 
        max-width: 100%; 
        text-align: center; 
    }
    .footer-col h4::before { 
        left: 50%; 
        transform: translateX(-50%); 
    }
    .footer .footer-social-col { 
        text-align: center; 
    }
}
/* =================================================== */
/* ===== 📚 Semester / Notes Cards & Unit Boxes ===== */
/* =================================================== */
.pricing {
    background-color: var(--white);
    padding-top: 50px;
    padding-bottom: 50px;
}
.pricing-item {
    flex: 0 0 33.33%;
    max-width: 33.33%;
    padding: 15px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.pricing-item:hover {
    transform: translateY(-10px);
}
.pricing-plan {
    background: linear-gradient(145deg, #ffffff, #f9f9fb); /* subtle gradient */
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}
.pricing-item:hover .pricing-plan {
    box-shadow: 0 15px 35px rgba(108, 92, 231, 0.25);
    border: 2px solid var(--main-color);
}
.pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--black-900);
    margin-bottom: 25px;
}

/* ===== Unit Boxes Inside Each Semester Card ===== */
.pricing-body ul {
    padding: 0;
    margin: 0;
    list-style: none;
}
.pricing-body ul li {
    background: var(--white);
    border-radius: 12px;
    padding: 15px 18px;
    margin-bottom: 12px;
    border-left: 6px solid var(--main-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}
.pricing-body ul li:hover {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: var(--white);
    border-left-color: var(--white);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.25);
}
.pricing-body ul li a {
    display: flex;
    align-items: center;
    color: inherit;
    font-weight: 500;
}
.pricing-body ul li a i {
    margin-right: 12px;
    color: var(--main-color);
    transition: color 0.3s ease;
}
.pricing-body ul li:hover a i {
    color: var(--white);
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 991px) {
    .pricing-item { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 767px) {
    .pricing-item { flex: 0 0 100%; max-width: 100%; margin-bottom: 20px; }
}

/* =================================================== */
/* ===== 📦 Modern Stylish Unit Cards ===== */
/* =================================================== */
.pricing-body ul {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px; /* space between unit cards */
}

.pricing-body ul li {
    background: #fff;
    border-radius: 15px;
    padding: 18px 22px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-left: 6px solid var(--main-color);
}

.pricing-body ul li:hover {
    background: linear-gradient(135deg, var(--main-color), var(--accent-color));
    color: var(--white);
    border-left-color: var(--white);
    box-shadow: 0 15px 30px rgba(108, 92, 231, 0.3);
    transform: translateY(-5px);
}

.pricing-body ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    font-weight: 500;
    font-size: 16px;
}

.pricing-body ul li a i {
    font-size: 18px;
    color: var(--main-color);
    transition: all 0.3s ease;
}

.pricing-body ul li:hover a i {
    color: var(--white);
}

/* Optional: add a subtle “shadow glow” behind the card on hover */
.pricing-body ul li::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 0;
    width: calc(100% + 4px);
    height: 100%;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0);
    transition: all 0.3s ease;
    z-index: -1;
}
.pricing-body ul li:hover::after {
    box-shadow: 0 0 25px rgba(108, 92, 231, 0.3);
}
