/* ==========================================================================
   HIGHER EDUCATION ERP (COLLEGE/UNIVERSITY) STYLES
   ========================================================================== */

/* --- GENERAL --- */
section {
    padding: 80px 5%;
}

.section-tag {
    display: inline-block;
    background: var(--light);
    color: var(--blue);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 17px;
    color: var(--gray);
    max-width: 640px;
    line-height: 1.7;
    margin: 0 auto;
}

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

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    padding: 50px 5% 80px;
    background: linear-gradient(135deg, #0B1F4B 0%, #1A3A7A 50%, #0E3460 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.3);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
}

.hero-badge span {
    font-size: 13px;
    color: var(--teal);
    font-weight: 600;
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    color: white;
    margin-bottom: 20px;
}

.hero h1 .accent {
    color: var(--teal);
}

.hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 500px;
}

/* Hero Buttons */
.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--teal), var(--sky));
    color: white !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.4);
}

.btn-hero-outline {
    padding: 14px 32px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.btn-hero-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Stats (Animated) */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
}

.stat {
    text-align: left;
}

.stat-num {
    font-family: 'Sora', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: white;
    opacity: 0;
    transform: scale(0.5);
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.stat:nth-child(1) .stat-num {
    animation-delay: 0.4s;
}

.stat:nth-child(2) .stat-num {
    animation-delay: 0.6s;
}

.stat:nth-child(3) .stat-num {
    animation-delay: 0.8s;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 500;
}

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Hero Dashboard Visual */
.hero-card-main {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 28px;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.card-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--teal), var(--sky));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.card-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 16px;
}

.card-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.module-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.module-item {
    background: rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.module-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.module-name {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.floating-badge {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb1 {
    top: -20px;
    right: -20px;
    animation: float 3s ease-in-out infinite 0.5s;
}

.fb2 {
    bottom: -16px;
    left: -20px;
    animation: float 3.5s ease-in-out infinite 1s;
}

.fb-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
}

.fb-sub {
    font-size: 11px;
    color: var(--gray);
}

/* --- TRUST BAR --- */
.trust-bar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 18px 5%;
}

.trust-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
}

.trust-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--teal);
}

/* --- PRICING SECTION --- */
.pricing-banner {
    background: linear-gradient(135deg, var(--teal) 0%, var(--blue) 100%);
    padding: 80px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-banner h2 {
    font-size: 38px;
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.pricing-banner p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.price-card {
    background: white;
    border-radius: 20px;
    padding: 36px;
    min-width: 320px;
    max-width: 360px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    background: var(--navy);
    border: 2px solid var(--teal);
    transform: scale(1.05);
}

.price-card .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--teal);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 50px;
}

.price-card .inst {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.price-card.featured .inst {
    color: rgba(255, 255, 255, 0.6);
}

.price-card .amount {
    font-family: 'Sora', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--blue);
}

.price-card.featured .amount {
    color: var(--teal);
}

.price-card .per {
    font-size: 14px;
    color: var(--gray);
    font-weight: 500;
    margin-top: 6px;
}

.price-card.featured .per {
    color: rgba(255, 255, 255, 0.5);
}

/* --- FEATURES GRID (Match your Screenshot exactly) --- */
#features {
    background-color: var(--light) !important;
    padding: 80px 5%;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 32px !important;
    border: 1px solid var(--border) !important;
    transition: all 0.3s !important;
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    text-align: left;
}

.feature-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 4px !important;
    height: 100% !important;
    background: linear-gradient(180deg, var(--blue), var(--teal)) !important;
    z-index: 2 !important;
}

.feature-card:hover {
    box-shadow: 0 16px 40px rgba(26, 86, 219, 0.1) !important;
    transform: translateY(-6px) !important;
}

.feature-icon {
    width: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 24px !important;
    margin-bottom: 16px !important;
}

.feature-card h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--navy) !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.feature-card p {
    font-size: 14px !important;
    color: var(--gray) !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

/* --- MODULES SECTION --- */
.modules-section {
    padding: 80px 5%;
    background: white;
}

.modules-outer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 48px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.module-block {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.module-block-header {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.module-block-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Sora', sans-serif;
}

.module-block-body {
    padding: 24px;
}

.module-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.module-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--dark);
    font-weight: 500;
}

.m-check {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #ffffff;
    flex-shrink: 0;
}


/* --- RESPONSIVE FIXES --- */
@media(max-width: 900px) {

    .hero-grid,
    .modules-outer {
        grid-template-columns: 1fr !important;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr !important;
    }

    .price-card.featured {
        transform: scale(1);
    }
}

@media(max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr !important;
    }

    .hero h1 {
        font-size: 38px !important;
    }

    .section-title {
        font-size: 28px !important;
    }

    .hero-stats {
        flex-wrap: wrap !important;
        gap: 24px !important;
    }

    .pricing-cards {
        flex-direction: column !important;
        align-items: center !important;
    }

    .price-card {
        min-width: 100%;
        max-width: 100%;
    }
}

/* ==========================================================================
   HERO SECTION RESPONSIVE QUERIES
   ========================================================================== */

/* Tablet & Smaller Laptops (max-width: 992px) */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    /* Floating badges hide कर दिए हैं ताकि स्क्रीन के बाहर ना जाएं (overflow prevention) */
    .floating-badge {
        display: none;
    }
}

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {
    .hero {
        padding: 80px 5% 60px;
        /* Top padding एडजस्ट किया गया है */
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .stat-num {
        font-size: 28px;
    }
}

/* Small Mobile Screens (max-width: 480px) */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        width: 100%;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }

    .module-grid {
        grid-template-columns: 1fr;
        /* Modules को 1 कॉलम में सेट किया गया है */
    }

    .hero-card-main {
        padding: 20px;
    }
}