@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #101b3f;
    --primary-light: #19275b;
    --secondary: #5138ee;
    --secondary-light: #7856ff;
    --accent: #f5b942;
    --dark: #080d20;
    --text: #596174;
    --white: #ffffff;
    --light: #f6f8ff;
    --border: #e8ebf5;

    --gradient: linear-gradient(135deg, #5138ee, #7856ff);
    --dark-gradient: linear-gradient(135deg, #101b3f, #19275b);

    --shadow: 0 15px 40px rgba(26, 35, 72, 0.12);
    --shadow-hover: 0 25px 50px rgba(26, 35, 72, 0.18);

    --transition: all 0.35s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--primary);
    background: #ffffff;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Poppins', sans-serif;
}

a {
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =====================================
   SCROLLBAR
===================================== */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #eef0ff;
}

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 20px;
}

/* =====================================
   COMMON
===================================== */

.container {
    width: min(1150px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

.section-light {
    background: var(--light);
}

.section-dark {
    background: var(--dark);
    color: white;
}

.section-title {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-title span {
    display: inline-block;
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 38px;
    margin: 12px 0;
    line-height: 1.3;
}

.section-title p {
    color: var(--text);
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 26px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 10px 25px rgba(81, 56, 238, 0.25);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 35px rgba(81, 56, 238, 0.35);
}

.btn-outline {
    background: white;
    color: var(--primary);
    border: 2px solid #e2e5f5;
}

.btn-outline:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-4px);
}

/* =====================================
   TOP BAR
===================================== */

.topbar {
    background: var(--dark);
    color: white;
    padding: 9px 0;
    font-size: 13px;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-info {
    display: flex;
    gap: 25px;
}

/* =====================================
   NAVBAR
===================================== */

.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary);
}

.logo-icon {
    width: 100px;
    height: 70px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    margin-top: -65px;
    color: white;
    font-size: 21px;
    
}

.logo-text h2 {
    font-size: 21px;
    line-height: 1.1;
}

.logo-text span {
    font-size: 10px;
    letter-spacing: 1.4px;
    font-weight: 800;
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu a {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* =====================================
   HERO
===================================== */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 20%, rgba(81, 56, 238, 0.15), transparent 30%),
        linear-gradient(120deg, #f9f9ff, #eef0ff);
}

.hero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: var(--secondary);
    opacity: 0.06;
    right: -150px;
    top: -150px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 17px;
    border-radius: 30px;
    background: white;
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    box-shadow: var(--shadow);
}

.hero h1 {
    font-size: 54px;
    line-height: 1.18;
    margin: 20px 0;
}

.hero h1 span {
    color: var(--secondary);
}

.hero p {
    color: var(--text);
    font-size: 17px;
    line-height: 1.8;
    max-width: 570px;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 30px;
}

.hero-image {
    position: relative;
}

.hero-card {
    min-height: 430px;
    border-radius: 32px;
    background: linear-gradient(145deg, #5138ee, #111b4b);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(42, 35, 130, 0.25);
}

.hero-card::before,
.hero-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 35px solid rgba(255, 255, 255, 0.08);
}

.hero-card::before {
    width: 290px;
    height: 290px;
    top: -100px;
    right: -90px;
}

.hero-card::after {
    width: 210px;
    height: 210px;
    bottom: -70px;
    left: -60px;
}

.study-icon {
    font-size: 125px;
    color: white;
    z-index: 2;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 18px;
    background: white;
    border-radius: 14px;
    box-shadow: var(--shadow);
    z-index: 3;
    animation: float 4s infinite ease-in-out;
}

.floating-card i {
    font-size: 23px;
    color: var(--secondary);
}

.floating-card p {
    font-size: 11px;
    color: var(--text);
}

.card-one {
    bottom: 40px;
    left: -30px;
}

.card-two {
    top: 45px;
    right: -25px;
    animation-delay: 1s;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* =====================================
   STATS
===================================== */

.stats {
    margin-top: -50px;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.stat-item {
    text-align: center;
    padding: 30px 15px;
    border-right: 1px solid #edf0f6;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h2 {
    color: var(--secondary);
    font-size: 31px;
}

.stat-item p {
    color: var(--text);
    font-size: 14px;
    margin-top: 5px;
}

/* =====================================
   FEATURES
===================================== */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: white;
    border: 1px solid #edf0f8;
    padding: 35px 28px;
    border-radius: 18px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-icon {
    width: 62px;
    height: 62px;
    display: grid;
    place-items: center;
    background: #eeebff;
    color: var(--secondary);
    border-radius: 16px;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text);
    line-height: 1.75;
    font-size: 14px;
}

/* =====================================
   ABOUT
===================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-visual {
    height: 500px;
    border-radius: 25px;
    background: linear-gradient(135deg, #151b55, #5b40ed);
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border: 30px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    right: -100px;
    top: -100px;
}

.about-visual i {
    color: white;
    font-size: 130px;
    z-index: 1;
}

.experience-box {
    position: absolute;
    right: 25px;
    bottom: 25px;
    background: white;
    padding: 20px;
    border-radius: 14px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow);
}

.experience-box h2 {
    color: var(--secondary);
}

.about-content span {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

.about-content h2 {
    font-size: 38px;
    margin: 15px 0;
}

.about-content p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    margin: 13px 0;
    font-weight: 500;
}

.check-list i {
    color: #21b573;
    margin-right: 10px;
}

/* =====================================
   BATCHES
===================================== */

.batch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.batch-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.batch-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.batch-top {
    padding: 28px;
    background: linear-gradient(135deg, #f0edff, #fbfbff);
}

.batch-top span {
    font-size: 13px;
    font-weight: 700;
    color: var(--secondary);
}

.batch-top h3 {
    margin-top: 8px;
    font-size: 24px;
}

.batch-body {
    padding: 28px;
}

.batch-body li {
    padding: 12px 0;
    border-bottom: 1px solid #edf0f5;
    color: var(--text);
    font-size: 14px;
}

.batch-body i {
    color: var(--secondary);
    margin-right: 8px;
}

/* =====================================
   FACULTY
===================================== */

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.faculty-card {
    background: white;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #e9ecf7;
    transition: var(--transition);
    position: relative;
}

.faculty-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.faculty-image {
    height: 310px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #e5e1ff, #f8f7ff);
}

.faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.faculty-card:hover .faculty-image img {
    transform: scale(1.08);
}

.faculty-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(16, 27, 63, 0.35), transparent);
}

.faculty-subject {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 2;
    background: var(--gradient);
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
}

.faculty-info {
    padding: 25px;
}

.faculty-info h3 {
    font-size: 21px;
    margin-bottom: 5px;
}

.faculty-qualification {
    color: var(--secondary);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 20px;
}

.faculty-details {
    border-top: 1px solid #edf0f6;
    padding-top: 15px;
}

.faculty-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    font-size: 14px;
    margin: 10px 0;
}

.faculty-details i {
    color: var(--secondary);
    width: 20px;
}

.view-profile-btn {
    margin-top: 18px;
    width: 100%;
    background: #f1efff;
    color: var(--secondary);
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.view-profile-btn:hover {
    background: var(--secondary);
    color: white;
}

/* =====================================
   FACULTY MODAL
===================================== */

.faculty-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    background: rgba(8, 13, 32, 0.75);
    padding: 20px;
    align-items: center;
    justify-content: center;
}

.faculty-modal.active {
    display: flex;
}

.modal-content {
    background: white;
    width: min(700px, 100%);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    animation: modalOpen 0.4s ease;
}

@keyframes modalOpen {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    right: 18px;
    top: 15px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #f0f1f8;
    cursor: pointer;
    font-size: 18px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
}

.modal-image {
    height: 100%;
    min-height: 380px;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    padding: 50px 35px 35px;
}

.modal-info h2 {
    font-size: 28px;
}

.modal-info .role {
    color: var(--secondary);
    font-weight: 700;
    margin: 8px 0 20px;
}

.modal-info p {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
}

/* =====================================
   TESTIMONIAL
===================================== */

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-8px);
}

.testimonial > p {
    color: var(--text);
    line-height: 1.8;
    font-style: italic;
}

.student {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.student-avatar {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
}

/* =====================================
   PAGE HEADER
===================================== */

.page-header {
    padding: 100px 0;
    text-align: center;
    color: white;
    background:
        radial-gradient(circle at center, rgba(81, 56, 238, 0.35), transparent 50%),
        var(--primary);
}

.page-header h1 {
    font-size: 45px;
}

.breadcrumb {
    margin-top: 15px;
    color: #d7daf7;
}

/* =====================================
   CONTACT
===================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
}

.contact-info {
    background: var(--dark-gradient);
    color: white;
    padding: 40px;
    border-radius: 20px;
}

.contact-info h2 {
    margin-bottom: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.contact-item i {
    color: var(--accent);
    font-size: 22px;
}

.contact-item p {
    color: #d8dcf5;
    margin-top: 5px;
    line-height: 1.7;
}

.contact-form {
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: white;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #dfe3f0;
    padding: 15px;
    border-radius: 9px;
    outline: none;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(81, 56, 238, 0.08);
}

.form-group textarea {
    resize: none;
    height: 140px;
}

/* =====================================
   FAQ
===================================== */

.faq {
    max-width: 850px;
    margin: auto;
}

.faq-item {
    border: 1px solid #e5e8f4;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.faq-question {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 700;
}

.faq-answer {
    display: none;
    padding: 0 20px 20px;
    color: var(--text);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    display: block;
}

/* =====================================
   FOOTER
===================================== */

.footer {
    background: var(--dark);
    color: white;
    padding: 70px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 40px;
}

.footer p {
    color: #aeb3d0;
    line-height: 1.7;
    margin-top: 15px;
}

.footer h3 {
    margin-bottom: 20px;
}

.footer-links li {
    margin: 12px 0;
}

.footer-links a {
    color: #aeb3d0;
    transition: 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: white;
    transition: 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-4px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 50px;
    padding-top: 20px;
    text-align: center;
    color: #8c91b0;
    font-size: 14px;
}

/* =====================================
   FLOATING BUTTONS
===================================== */

.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: white;
    display: grid;
    place-items: center;
    font-size: 28px;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.chat-toggle {
    position: fixed;
    bottom: 25px;
    right: 100px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--gradient);
    color: white;
    display: grid;
    place-items: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(81, 56, 238, 0.35);
}

/* =====================================
   CHATBOT
===================================== */

.chatbot {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 340px;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
}

.chatbot.active {
    display: block;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-header {
    padding: 18px;
    background: var(--gradient);
    color: white;
}

.chat-header h3 {
    font-size: 16px;
}

.chat-header p {
    font-size: 12px;
    margin-top: 4px;
    opacity: 0.85;
}

.chat-body {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
    background: #fafbff;
}

.bot-message,
.user-message {
    max-width: 85%;
    padding: 10px 13px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.bot-message {
    background: #eceaff;
}

.user-message {
    margin-left: auto;
    background: var(--secondary);
    color: white;
}

.chat-input {
    display: flex;
    border-top: 1px solid #eeeeee;
}

.chat-input input {
    flex: 1;
    padding: 15px;
    border: none;
    outline: none;
    font-family: inherit;
}

.chat-input button {
    width: 52px;
    border: none;
    background: var(--secondary);
    color: white;
    cursor: pointer;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 15px;
    }

    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .batch-grid,
    .faculty-grid,
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 45px;
    }
}

@media (max-width: 850px) {

    .nav-menu {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 25px;
        display: none;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-btn {
        display: block;
    }

    .nav-content > .btn {
        display: none;
    }

    .modal-grid {
        grid-template-columns: 1fr;
    }

    .modal-image {
        height: 250px;
        min-height: auto;
    }
}

@media (max-width: 600px) {

    .section {
        padding: 70px 0;
    }

    .hero {
        padding: 70px 0;
        min-height: auto;
    }

    .hero h1 {
        font-size: 35px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .stats-grid,
    .feature-grid,
    .batch-grid,
    .faculty-grid,
    .testimonial-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid #edf0f5;
    }

    .section-title h2 {
        font-size: 29px;
    }

    .page-header h1 {
        font-size: 34px;
    }

    .topbar-info span:last-child {
        display: none;
    }

    .topbar-content {
        justify-content: center;
    }

    .chatbot {
        width: calc(100% - 30px);
        right: 15px;
    }

    .hero-card {
        min-height: 330px;
    }

    .faculty-image {
        height: 340px;
    }
}

.location-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.location-link i {
    color: #4f46e5;
    transition: 0.3s ease;
}

.location-link:hover {
    color: #4f46e5;
    transform: translateX(5px);
}

.location-link:hover i {
    transform: scale(1.2);
}