/* Base Variables & Reset */
:root {
    --primary: #e11d48;
    --primary-dark: #be123c;
    --primary-light: #f43f5e;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --accent: #3b82f6;

    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;

    --bg-main: #ffffff;
    --bg-light: #f1f5f9;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;

    --border: #e2e8f0;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
    --font-devanagari: 'Noto Sans Devanagari', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    font-weight: 700;
    line-height: 1.2;
}

.devanagari-text {
    font-family: var(--font-devanagari);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-primary {
    color: var(--primary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-center {
    text-align: center;
}

.py-section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
    text-align: left;
}

.text-white {
    color: #fff;
}

.text-gray {
    color: #cbd5e1;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(225, 29, 72, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(225, 29, 72, 0.23);
}

.btn-secondary {
    background-color: white;
    color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.logo-subtext {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media(min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    font-weight: 600;
    color: var(--secondary);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media(min-width: 992px) {
    .nav-actions {
        display: flex;
    }
}

.phone-link {
    font-weight: 600;
    color: var(--secondary);
}

.phone-link:hover {
    color: var(--primary);
}

.phone-link i {
    color: var(--primary);
    margin-right: 0.25rem;
}

.menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary);
    cursor: pointer;
}

@media(min-width: 992px) {
    .menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1001;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu.active {
    right: 0;
}

.close-menu {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--secondary);
    cursor: pointer;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary);
}

.mobile-link:hover {
    color: var(--primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark, premium overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    color: white;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #ff4d4d, #f9cb28);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 2rem);
    font-weight: 500;
    color: #e2e8f0;
    margin-bottom: 2rem;
}

.study-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.mode-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--primary);
    border-radius: 4px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.mode-tag i {
    color: var(--primary);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Shape Divider Wrapper */
.custom-shape-divider-bottom-1683935212 {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.custom-shape-divider-bottom-1683935212 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.custom-shape-divider-bottom-1683935212 .shape-fill {
    fill: #ffffff;
}

/* Section Header */
.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Universities Section */
.university-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.uni-card {
    background: var(--bg-card);
    padding: 2.5rem 1.5rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.uni-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(225, 29, 72, 0.2);
}

.uni-card:hover .uni-logo-wrapper {
    background-color: var(--primary);
    transform: scale(1.1);
}

.uni-card:hover .uni-icon {
    color: white;
}

.uni-logo-wrapper {
    width: 80px;
    height: 80px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.uni-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: var(--transition);
}

.uni-name {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.uni-type {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* About / Online Image Section */
.about-section {
    position: relative;
    overflow: hidden;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

@media(min-width: 992px) {
    .about-container {
        grid-template-columns: 1fr 1fr;
    }
}

.about-image-wrapper {
    position: relative;
    padding: 2rem;
}

.about-img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 1rem;
    transform: translate(-1.5rem, 1.5rem);
    opacity: 0.1;
    z-index: 1;
}

.highlight-card {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    z-index: 3;
    animation: float 6s ease-in-out infinite;
    border: 1px solid var(--border);
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-list li {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.feature-title {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

/* Courses Section */
.courses-section {
    background-color: var(--bg-main);
}

.course-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.course-pill {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 1.125rem;
    color: white;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: default;
    border: 2px solid transparent;
}

.course-pill:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Vibrant matching colors from the banner */
.color-1 {
    background-color: #8b1c4b;
}

/* Deep Purple/Red */
.color-2 {
    background-color: #d11e5a;
}

/* Pinkish Red */
.color-3 {
    background-color: #28a745;
}

/* Green */
.color-4 {
    background-color: #dc3545;
}

/* Red */
.color-5 {
    background-color: #fd7e14;
}

/* Orange */
.color-6 {
    background-color: #20c997;
}

/* Teal */
.color-7 {
    background-color: #0b2265;
}

/* Navy Blue */
.color-8 {
    background-color: #6f42c1;
}

/* Purple */

.pulse-icon {
    font-size: 2rem;
    color: #f59e0b;
    /* Yellow star */
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.more-courses-text {
    font-size: 1.5rem;
}

/* Footer Section */
.footer {
    background-color: var(--secondary);
    color: var(--text-light);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media(min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: inline-flex;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    color: white;
}

.footer-logo .logo-subtext {
    color: #cbd5e1;
}

.footer-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-heading {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    color: var(--text-muted);
}

.contact-item i {
    color: var(--primary);
    margin-top: 5px;
}

.contact-item a {
    color: var(--text-muted);
}

.contact-item a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media(min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.dev-credits {
    font-style: italic;
    opacity: 0.7;
}

/* Utilities classes */
.mt-5 {
    margin-top: 3rem;
}

/* Fee Structure Section */
.fee-section {
    background-color: var(--bg-light);
}

.tabs-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    flex-wrap: wrap;
    background-color: var(--secondary);
}

.tab-btn {
    flex: 1;
    min-width: 200px;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.tab-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: white;
    border-bottom-color: var(--primary);
    background-color: rgba(255, 255, 255, 0.1);
}

.tabs-content {
    padding: 2rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table-responsive {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    margin-top: 1rem;
}

.fee-table th {
    background-color: var(--primary);
    color: white;
    text-align: left;
    padding: 1rem;
    font-weight: 600;
}

.fee-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.fee-table tbody tr:hover {
    background-color: var(--bg-card-hover);
}

.table-title {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.fee-table .flat-rate {
    font-weight: 700;
    color: var(--primary);
}