html {
    overflow-x: hidden;
    max-width: 100%;
}
body {
    font-family: 'Poppins', 'Kalpurush', 'Roboto', sans-serif;
    font-size: 12px;
    background: #eef5f9;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}
/* Ensure footer sticks to bottom if page content is short */
html, body {
    min-height: 100vh;
}


/* Navbar */
.navbar-custom {
    transition: background-color 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
    padding: 15px 20px;
    background-color: transparent !important;
}
.navbar-custom.scrolled {
    background-color: #5D186D !important;
    background-image: linear-gradient(115deg, #2b1241 0%, #5d186d 55%, #2c1244 100%);
    padding: 8px 20px;
    box-shadow: 0 6px 24px rgba(93, 24, 109, 0.35);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.navbar-custom .nav-link {
    position: relative;
    color: rgba(255, 255, 255, 0.92) !important;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}
.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ffd700, #ff9df5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-custom .nav-link:hover {
    color: #fff !important;
}
.navbar-custom.scrolled .nav-link {
    color: #fff !important;
}
/* Login pill CTA */
.navbar-custom .nav-link[href*="login"] {
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 50px;
    padding: 6px 22px !important;
    margin-left: 12px;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.navbar-custom .nav-link[href*="login"]::after {
    display: none;
}
.navbar-custom .nav-link[href*="login"]:hover {
    background: #ffd700;
    border-color: #ffd700;
    color: #45104f !important;
}
@media (max-width: 991px) {
    .navbar-custom .nav-link[href*="login"] {
        display: block;
        margin: 8px 0 4px;
        text-align: center;
    }
}
a.navbar-brand img {
    width: 150px;
}
a.nav-link {
    font-size: 16px;
    text-transform: uppercase;
}
.navbar-nav .nav-link.active {
    color: #ffc107 !important; /* for example, highlight in yellow */
}

.pointer-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffc107;
    margin-left: 10px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(to right, rgb(93 24 109 / 85%), rgba(0,0,0,0.7)),
        url('../images/background.jpg') center / cover no-repeat;
    color: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

#heroAnimation {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

#heroAnimation canvas {
    display: block;
    max-width: 100%;
}

.hero-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 5% 60px;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 2;
}

.hero-left {
    flex: 1;
    min-width: 0;
}

.hero-right {
    flex: 0 0 440px;
    max-width: 440px;
}

.hero-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: rgb(255 113 78);
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    font-weight: 400;
    line-height: 1.18;
    color: #fff;
    margin-bottom: 26px;
    letter-spacing: -0.01em;
}

.hero-heading em {
    font-style: italic;
    color: #e8694a;
    font-weight: 400;
}

.hero-desc {
    font-size: 0.97rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.6);
    max-width: 460px;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.hero-btn-dark {
    background: #fff;
    color: #1a1a1a;
    padding: 13px 30px;
    border-radius: 50px;
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, color 0.2s;
}
.hero-btn-dark:hover {
    background: #f0e8d8;
    color: #1a1a1a;
    transform: translateY(-1px);
    text-decoration: none;
}
.hero-btn-outline {
    background: transparent;
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-size: 0.93rem;
    font-weight: 500;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.4);
    transition: border-color 0.2s, background 0.2s;
}
.hero-btn-outline:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(135deg, #7c5bb8 0%, #9574d4 100%);
    padding: 60px 50px;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(124, 91, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    top: -100px;
    left: -100px;
}

.faq-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    bottom: -50px;
    right: -50px;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 17px;
    color: #2d2d2d;
    user-select: none;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c5bb8 0%, #9574d4 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.3s ease;
    font-size: 14px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: linear-gradient(135deg, #6b4aa3 0%, #8563c3 100%);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 30px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #666;
    line-height: 1.8;
    font-size: 15px;
}

.faq-answer strong {
    color: #7c5bb8;
    font-weight: 600;
}

.features-section {
    max-width: 1400px;
    margin: 0 auto;
}

/* About Section */
.about-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.about-label {
    color: #7c5bb8;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
    padding: 8px 24px;
    background: rgba(124, 91, 184, 0.1);
    border-radius: 30px;
}

.about-title {
    font-size: 48px;
    color: #2d2d2d;
    margin-bottom: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.about-description {
    color: #666;
    line-height: 1.9;
    font-size: 17px;
    margin-bottom: 20px;
}

.discover-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 18px 50px;
    background: linear-gradient(135deg, #7c5bb8 0%, #9574d4 100%);
    color: white;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(124, 91, 184, 0.3);
}

.discover-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 91, 184, 0.5);
    background: linear-gradient(135deg, #6b4aa3 0%, #8563c3 100%);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 80px;
    position: relative;
}

.feature-card {
    background: white;
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.feature-card.orange:hover {
    border-color: #ff7c05;
}

.feature-card.purple:hover {
    border-color: #9650EF;
}

.feature-card.green:hover {
    border-color: #065920;
}

/* Icon Section with Animation */
.feature-icon-section {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.feature-icon svg{
    font-size: 20px;
}
.feature-card.orange .feature-icon-section {
    background: linear-gradient(135deg, #ff7c05 0%, #ffaa5c 100%);
}

.feature-card.purple .feature-icon-section {
    background: linear-gradient(135deg, #9650EF 0%, #b57ef7 100%);
}

.feature-card.green .feature-icon-section {
    background: linear-gradient(135deg, #065920 0%, #0a8030 100%);
}

/* Animated Background */
.feature-icon-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1) translate(-25%, -25%);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2) translate(-20%, -20%);
        opacity: 0.8;
    }
}

/* Icon Container */
.feature-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(10deg);
}

.feature-icon i {
    font-size: 48px;
    color: white;
}

/* Decorative Circles */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: drift 8s ease-in-out infinite;
}

.deco-circle-1 {
    width: 80px;
    height: 80px;
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.deco-circle-2 {
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    animation-delay: 1s;
}

.deco-circle-3 {
    width: 40px;
    height: 40px;
    top: 50%;
    right: 20px;
    animation-delay: 2s;
}

@keyframes drift {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(10px, -10px);
    }
    66% {
        transform: translate(-10px, 10px);
    }
}

/* Content Section */
.feature-content {
    padding: 35px;
}

.feature-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.feature-content p {
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

/* Stats or Badge */
.feature-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-card.orange .feature-badge {
    color: #ff7c05;
}

.feature-card.purple .feature-badge {
    color: #9650EF;
}

.feature-card.green .feature-badge {
    color: #065920;
}


.footer {
    background: #5D186D; /* Same theme as navbar/hero */
    color: #fff;
    padding: 15px 0;
    font-size: 0.9rem;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}

footer {
    margin-top: auto;
}


/* Manuals Section */
.manuals-section {
    margin: 0 auto;
    padding: 0 20px; /* Add padding */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 32px;
    color: #2d3748;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
}

.manuals-intro {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    animation: bounce 2s infinite;
}

.manuals-intro i {
    font-size: 20px;
    animation: point 1.5s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes point {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

.manuals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
    gap: 25px;
    margin-top: 40px;
    padding: 0 15px; /* Add padding for mobile */
}

.manual-card {
    background: white;
    border-radius: 20px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.manual-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.manual-card:hover::before {
    left: 100%;
}

.manual-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #667eea;
}

.manual-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s ease;
}

.manual-card:hover .manual-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
}

.manual-icon-wrapper.pdf {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.manual-icon-wrapper.word {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.manual-icon-wrapper i {
    font-size: 26px;
    color: white;
}

.manual-content {
    flex: 1;
}

.manual-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 7px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.manual-card:hover .manual-title {
    color: #667eea;
}

.manual-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    color: #64748b;
}

.manual-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.manual-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.manual-arrow i {
    color: #667eea;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.manual-card:hover .manual-arrow {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.manual-card:hover .manual-arrow i {
    color: white;
    transform: translateX(5px);
}

/* Decorative elements */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    z-index: -1;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}



/* Badge styles */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.badge.popular {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* Main Container */
.refer-container {
    margin-top: 100px;
    padding: 80px 20px 60px;
    margin: 0 auto;
}

.refer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Left Side - Form */
.form-section {
    background: white;
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 50%;
    top: -50px;
    right: -50px;
    z-index: 0;
}

.form-section > * {
    position: relative;
    z-index: 1;
}

.form-logo {
    text-align: center;
    margin-bottom: 30px;
}

.form-logo img {
    max-width: 180px;
    margin-bottom: 15px;
}

.form-logo p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #2d2d2d;
    margin-bottom: 25px;
    text-align: center;
}

/* Form Inputs */
.form-control {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #aaa;
}

.form-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
}

/* Right Side - Info */
.info-section {
    color: white;
}

.info-header {
    background: rgb(105 47 119);
    backdrop-filter: blur(10px);
    padding: 25px 40px;
    border-radius: 25px;
    margin-bottom: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.info-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.info-header h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ffd700;
}

.info-header p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Payment Methods */
.payment-info {
    background: rgb(105 47 119);
    backdrop-filter: blur(10px);
    padding: 20px 35px;
    border-radius: 25px;
    text-align: center;
}

.payment-logos {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 60px;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.payment-logos img:hover {
    transform: scale(1.1);
}

.payment-info h5 {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 600;
    margin-top: 20px;
}

/* Features List */
.features-list {
    margin-top: 20px;
}

.feature-item {
    background: rgb(105 47 119);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.features-list .feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features-list .feature-icon i {
    font-size: 22px !important;
    color: white !important;
}

.feature-item p {
    margin: 0;
    font-size: 15px;
}
/* Select2 Styling to Match Form Inputs */
.select2-container--default .select2-selection--single {
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    height: auto !important;
    padding: 12px 18px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333 !important;
    line-height: normal !important;
    padding: 0 !important;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #aaa !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100% !important;
    right: 10px !important;
}

/* Focus State */
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* Dropdown Menu */
.select2-container--default .select2-results__option {
    padding: 12px 18px !important;
    font-size: 15px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #667eea !important;
}

.select2-dropdown {
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.select2-search--dropdown .select2-search__field {
    border: 2px solid #e8e8e8 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

.select2-search--dropdown .select2-search__field:focus {
    border-color: #667eea !important;
    outline: none !important;
}

/* Error State for Select2 */
.select2-container--default.error .select2-selection--single {
    border-color: #dc3545 !important;
}

label.error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    font-weight: normal;
}

/* Contact Container */
.contact-container {
    background: linear-gradient(135deg, #a7b7ff 0%, #764ba2 100%);
    padding: 100px 20px 60px;
    margin: 0 auto;
}

/* Header Section */
.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Contact Card */
.contact-card {
    background: white;
    border-radius: 25px;
    padding: 40px 30px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

/* Icon Container */
.contact-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

/* Messenger */
.contact-card.messenger::before {
    background: linear-gradient(135deg, #00B2FF, #006AFF);
}

.contact-card.messenger .contact-icon-wrapper {
    background: linear-gradient(135deg, #00B2FF, #006AFF);
}

.contact-card.messenger:hover {
    border-color: #00B2FF;
}

/* Email */
.contact-card.email::before {
    background: linear-gradient(135deg, #df35ea, #861575);
}

.contact-card.email .contact-icon-wrapper {
    background: linear-gradient(135deg, #df35ea, #861575);
}

/* Facebook */
.contact-card.facebook::before {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
}

.contact-card.facebook .contact-icon-wrapper {
    background: linear-gradient(135deg, #1877F2, #0C63D4);
}

/* WhatsApp */
.contact-card.whatsapp::before {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-card.whatsapp .contact-icon-wrapper {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

/* Icon Image/Emoji */
.contact-icon-wrapper img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.contact-icon-wrapper i {
    font-size: 45px;
    color: white;
}
.contact-icon-wrapper svg {
    font-size: 25px;
}
.emoji-icon {
    font-size: 50px;
}

/* Contact Label */
.contact-label {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-weight: 600;
}

/* Contact Link */
.contact-link {
    font-size: 20px;
    color: #2d2d2d;
    font-weight: 700;
    margin-bottom: 15px;
}

/* Contact Description */
.contact-description {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* Decorative Elements */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.deco-1 {
    width: 150px;
    height: 150px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.deco-2 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.deco-3 {
    width: 80px;
    height: 80px;
    bottom: 15%;
    left: 15%;
    animation-delay: 4s;
}

/* Info Banner */
.info-banner {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-top: 60px;
    text-align: center;
    color: white;
}

.info-banner h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.info-banner p {
    font-size: 16px;
    line-height: 1.7;
    opacity: 0.95;
}
.manual-icon-wrapper svg {
    font-size: 20px;
}
.nav-link {
    font-weight: 200;
}
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-right {
        flex: 0 0 320px;
        max-width: 320px;
    }
    .hero-stat-val {
        font-size: 1.05rem;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .hero {
        align-items: flex-start;
        min-height: auto;
        overflow: visible;
    }
    .hero-container {
        flex-direction: column;
        padding: 80px 0 0;
        gap: 0;
        align-items: stretch;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .hero-left {
        width: 100%;
        padding: 0 20px 32px;
        box-sizing: border-box;
    }
    .hero-eyebrow {
        font-size: 0.68rem;
        margin-bottom: 14px;
    }
    .hero-heading {
        font-size: 1.95rem;
        margin-bottom: 14px;
        line-height: 1.2;
    }
    .hero-desc {
        font-size: 0.87rem;
        max-width: 100%;
        margin-bottom: 22px;
        line-height: 1.6;
    }
    .hero-actions {
        gap: 10px;
        flex-wrap: nowrap;
    }
    .hero-btn-dark, .hero-btn-outline {
        padding: 11px 16px;
        font-size: 0.83rem;
        flex: 1;
        text-align: center;
        white-space: nowrap;
        min-width: 0;
    }
    .hero-right {
        flex: unset;
        width: 100%;
        max-width: 100%;
        padding: 10px;
        box-sizing: border-box;
    }
    .hero-card {
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -8px 40px rgba(0,0,0,0.35);
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .section-title {
        font-size: 32px;
    }
    .faq-section {
        padding: 40px 30px;
    }

    .about-title {
        font-size: 20px;
    }
    .about-description {
        font-size: 14px;
        padding: 20px;
    }
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .feature-content h3{
        font-size: 16px;
    }
    .feature-content p {
        font-size: 12px;
    }
    .feature-icon-section {
        height: 180px;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
    }

    .feature-icon i {
        font-size: 36px;
    }
    .manuals-grid {
        grid-template-columns: 1fr;
    }

    .manual-card {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .manual-meta {
        justify-content: center;
    }

    .manual-arrow {
        margin-top: 10px;
    }
    .contact-container {
        padding: 80px 15px 40px;
    }

    .contact-header h1 {
        font-size: 36px;
    }

    .contact-header p {
        font-size: 18px;
    }

    .contact-grid {
        max-width: 250px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        padding: 35px 25px;
    }
    .contact-icon-wrapper{
        width: 50px;
        height: 50px;
    }
    .contact-icon-wrapper svg {
        font-size: 15px;
    }
    .contact-icon-wrapper img {
        width: 20px;
    }
    .contact-link {
        font-size: 12px;
    }
    .faq-answer p {
        color: #666;
        line-height: 1.8;
        font-size: 12px;
    }
    .info-banner p {
        font-size: 12px;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .refer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .form-section {
        padding: 40px 30px;
    }

    .info-header h2 {
        font-size: 28px;
    }

    .info-header h3 {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .refer-container {
        margin-top: 20px !important;
        padding: 60px 15px 40px;
    }

    .form-section {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .payment-logos {
        flex-direction: column;
        align-items: center;
    }
}


/* Partner Schools Section Styles */
.partner-schools-section {
    background: white;
    /*overflow: hidden;*/
}

.partner-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.partner-subtitle {
    font-size: 1rem;
    color: #7f8c8d;
    margin-bottom: 0;
}

.schools-slider-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 60px;
}

.schools-slider-track {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 20px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.schools-slider-track::-webkit-scrollbar {
    display: none;
}

.school-item {
    flex: 0 0 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

.school-item:hover {
    transform: translateY(-5px);
}

.school-logo-wrapper {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 12px;
    transition: box-shadow 0.3s ease;
}

.school-item:hover .school-logo-wrapper {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.school-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.school-logo-placeholder {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.school-logo-placeholder i {
    font-size: 2.5rem;
    color: white;
}

.school-name {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #34495e;
    font-weight: 500;
    margin: 0;
    max-width: 140px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 35px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border: none;
    background: white;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c3e50;
}

.slider-nav:hover {
    background: #667eea;
    color: white;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.prev-nav {
    left: 10px;
}

.next-nav {
    right: 10px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 24px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-weight: 600;
    color: #2c3e50;
}

.payment-badge i {
    color: #27ae60;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partner-title {
        font-size: 1.5rem;
    }

    .schools-slider-container {
        padding: 20px 50px;
    }

    .school-item {
        flex: 0 0 120px;
    }

    .school-logo-wrapper {
        width: 85px;
        height: 85px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .schools-slider-container {
        padding: 20px 45px;
    }

    .school-item {
        flex: 0 0 100px;
    }

    .school-logo-wrapper {
        width: 75px;
        height: 75px;
    }

    .school-name {
        font-size: 0.75rem;
        max-width: 100px;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
    }

    .payment-badge {
        font-size: 0.85rem;
        padding: 10px 18px;
    }
}

/* ============================================================
   HOMEPAGE — section system (hp-*)
   ============================================================ */

/* ── Section spacing ── */
.hp-partners,.hp-stats,.hp-about,.hp-modules,
.hp-why,.hp-faq,.hp-manuals { padding: 64px 0; }

/* ── Alternating backgrounds ── */
.hp-partners { background: #f7f8fc; }
.hp-stats    { background: linear-gradient(135deg,#5D186D 0%,#7c3d8e 100%); }
.hp-about    { background: #fff; }
.hp-modules  { background: #f7f8fc; }
.hp-why      { background: #f0ebf5; }
.hp-faq      { background: #fff; }
.hp-manuals  { background: #f7f8fc; }

/* ── Typography helpers ── */
.hp-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #5D186D;
    background: linear-gradient(135deg, rgba(93,24,109,0.08), rgba(93,24,109,0.15));
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 16px;
    border: 1px solid rgba(93,24,109,0.1);
    box-shadow: 0 4px 15px rgba(93,24,109,0.05);
}
.hp-section-label::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #5D186D;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(93,24,109, 0.4);
    animation: hp-pulse-dot 2s infinite;
}
@keyframes hp-pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(93,24,109, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(93,24,109, 0); }
    100% { box-shadow: 0 0 0 0 rgba(93,24,109, 0); }
}
.hp-section-title {
    font-size: 32px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.hp-section-sub  { font-size:14px; color:#6b7280; margin-bottom:0; }
.hp-body-text    { font-size:14px; color:#555; line-height:1.8; margin-bottom:12px; }

/* ── Buttons ── */
.hp-btn-primary {
    display: inline-block;
    padding: 11px 26px;
    background: linear-gradient(135deg,#5D186D,#9574d4);
    color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
    box-shadow: 0 6px 20px rgba(93,24,109,.25);
}
.hp-btn-primary:hover { transform:translateY(-2px); box-shadow:0 10px 28px rgba(93,24,109,.35); }

.hp-btn-outline {
    display: inline-block;
    padding: 10px 26px;
    border: 2px solid #5D186D;
    color: #5D186D !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}
.hp-btn-outline:hover { background:#5D186D; color:#fff !important; transform:translateY(-2px); }

.hp-btn-ghost {
    display: inline-block;
    padding: 10px 26px;
    border: 2px solid rgba(255,255,255,.6);
    color: #fff !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all .3s;
}
.hp-btn-ghost:hover { background:rgba(255,255,255,.15); border-color:#fff; transform:translateY(-2px); }

/* ── Partners marquee ── */
.hp-partners-header { text-align:center; margin-bottom:36px; }

.hp-partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 4px 0 8px;
}
.hp-partners-marquee::before,
.hp-partners-marquee::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.hp-partners-marquee::before { left:0;  background:linear-gradient(to right, #f7f8fc, transparent); }
.hp-partners-marquee::after  { right:0; background:linear-gradient(to left,  #f7f8fc, transparent); }

.hp-partners-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: hp-marquee 35s linear infinite;
    padding: 8px 0;
}
.hp-partners-track:hover { animation-play-state: paused; }

@keyframes hp-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.hp-partner-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 50px;
    padding: 9px 18px 9px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    white-space: nowrap;
    flex-shrink: 0;
    transition: box-shadow .3s, border-color .3s;
}
.hp-partner-item:hover { box-shadow:0 6px 20px rgba(93,24,109,.14); border-color:#5D186D; }
.hp-partner-item img {
    width: 34px; height: 34px;
    border-radius: 50%;
    object-fit: contain;
    background: #f7f8fc;
    padding: 2px;
    flex-shrink: 0;
}
.hp-partner-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg,#5D186D,#9574d4);
    display: flex; align-items:center; justify-content:center;
    color: #fff; font-size: 14px;
    flex-shrink: 0;
}
.hp-partner-item span {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-partners-footer { text-align:center; margin-top:24px; }

/* ── Stats ── */
.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.hp-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    backdrop-filter: blur(6px);
    transition: transform .3s, box-shadow .3s;
}
.hp-stat:hover { transform:translateY(-4px); box-shadow:0 12px 32px rgba(0,0,0,.18); }
.hp-stat-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items:center; justify-content:center;
    margin: 0 auto 14px;
    font-size: 22px; color: #fff;
}
.hp-stat-num { font-size:30px; font-weight:700; color:#fff; line-height:1; margin-bottom:6px; }
.hp-stat-lbl { font-size:12px; color:rgba(255,255,255,.75); font-weight:500; letter-spacing:.4px; }

/* ── About ── */
.hp-about-grid { display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.hp-about-left .hp-section-title { margin-top:8px; }
.hp-about-pills { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.hp-about-pills span {
    display: inline-flex; align-items:center; gap:6px;
    background: rgba(93,24,109,.08); color:#5D186D;
    font-size: 12px; font-weight:600;
    padding: 5px 14px; border-radius:20px;
}
.hp-about-pills span i { font-size:11px; }
.hp-institute-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.hp-inst-card {
    background: #f7f8fc; border-radius:16px; padding:22px 12px;
    display:flex; flex-direction:column; align-items:center; gap:8px;
    font-size:12px; font-weight:600; color:#374151;
    box-shadow:0 4px 16px rgba(0,0,0,.05); text-align:center;
    transition: transform .3s, box-shadow .3s, color .3s;
}
.hp-inst-card i { font-size:26px; color:#5D186D; }
.hp-inst-card:hover { transform:translateY(-4px); box-shadow:0 8px 24px rgba(93,24,109,.14); color:#5D186D; }

/* ── Modules ── */
.hp-modules-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:36px; }
.hp-module-card {
    background: #fff; border:1px solid #e9ecef; border-radius:16px; padding:22px 18px;
    transition: transform .3s, box-shadow .3s, border-color .3s, background .3s;
}
.hp-module-card:hover { transform:translateY(-5px); box-shadow:0 12px 32px rgba(93,24,109,.1); border-color:#5D186D; background:#fff; }
.hp-mod-icon { font-size:28px; margin-bottom:12px; }
.hp-module-card h3 { font-size:14px; font-weight:700; color:#1a1a2e; margin-bottom:7px; }
.hp-module-card p  { font-size:12px; color:#6b7280; line-height:1.7; margin:0; }

/* ── Why ── */
.hp-why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:36px; }
.hp-why-card {
    background: #fff; border-radius:20px; padding:28px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: transform .3s, box-shadow .3s;
}
.hp-why-card:hover { transform:translateY(-5px); box-shadow:0 12px 36px rgba(0,0,0,.1); }
.hp-why-icon {
    width:52px; height:52px; border-radius:14px;
    display:flex; align-items:center; justify-content:center;
    font-size:22px; color:#fff; margin-bottom:16px;
}
.hp-why-icon.orange { background:linear-gradient(135deg,#f97316,#ea580c); }
.hp-why-icon.purple { background:linear-gradient(135deg,#8b5cf6,#6d28d9); }
.hp-why-icon.green  { background:linear-gradient(135deg,#10b981,#059669); }
.hp-why-card h3  { font-size:16px; font-weight:700; color:#1a1a2e; margin-bottom:9px; }
.hp-why-card > p { font-size:13px; color:#555; line-height:1.7; margin-bottom:14px; }
.hp-why-list { list-style:none; padding:0; margin:0; }
.hp-why-list li {
    display:flex; align-items:center; gap:8px;
    font-size:12px; color:#374151;
    padding:5px 0; border-top:1px solid #f0f0f0;
}
.hp-why-list li i { color:#10b981; font-size:11px; flex-shrink:0; }

/* ── FAQ ── */
.hp-faq-inner { display:grid; grid-template-columns:1fr 1.6fr; gap:60px; align-items:start; }
.hp-faq-left .hp-section-title { margin-top:8px; }
.hp-faq-left a { color:#5D186D; }
.hp-faq-item {
    border:1px solid #e5e7eb; border-radius:14px; margin-bottom:10px;
    overflow:hidden; background:#fff; transition:box-shadow .3s;
}
.hp-faq-item:hover { box-shadow:0 4px 16px rgba(0,0,0,.07); }
.hp-faq-q {
    display:flex; align-items:center; justify-content:space-between;
    padding:15px 18px; cursor:pointer; user-select:none;
    font-size:13px; font-weight:600; color:#1a1a2e; gap:12px;
}
.hp-faq-q i { font-size:11px; color:#5D186D; flex-shrink:0; transition:transform .3s; }
.hp-faq-item.active .hp-faq-q i { transform:rotate(180deg); }
.hp-faq-a {
    max-height:0; overflow:hidden;
    transition:max-height .35s ease, padding .35s ease;
    padding:0 18px; font-size:13px; color:#555; line-height:1.75;
}
.hp-faq-item.active .hp-faq-a { max-height:200px; padding:0 18px 15px; }

/* ── Manuals ── */
.hp-manuals-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
    margin-top: 36px;
}
.hp-manual-card {
    background:#fff; border-radius:16px; padding:20px 18px;
    display:flex; align-items:center; gap:14px;
    text-decoration:none; color:inherit;
    box-shadow:0 4px 16px rgba(0,0,0,.06); border:1px solid #eee;
    transition:transform .3s, box-shadow .3s, border-color .3s;
    min-width: 0;
}
.hp-manual-card:hover { transform:translateY(-4px); box-shadow:0 10px 28px rgba(93,24,109,.12); border-color:#5D186D; color:inherit; }
.hp-manual-icon {
    width:46px; height:46px; border-radius:12px;
    display:flex; align-items:center; justify-content:center;
    font-size:20px; flex-shrink:0; color:#fff;
}
.hp-manual-icon.pdf   { background:linear-gradient(135deg,#ef4444,#dc2626); }
.hp-manual-icon.video { background:linear-gradient(135deg,#8b5cf6,#6d28d9); }
.hp-manual-icon.word  { background:linear-gradient(135deg,#3b82f6,#2563eb); }
.hp-manual-icon.file  { background:linear-gradient(135deg,#6b7280,#4b5563); }
.hp-manual-body { flex:1; min-width:0; overflow:hidden; }
.hp-manual-body h3 {
    font-size:13px; font-weight:600; color:#1a1a2e; margin-bottom:5px;
    overflow:hidden; text-overflow:ellipsis;
    white-space:nowrap; line-height:1.4;
}
.hp-manual-meta { display:flex; align-items:center; flex-wrap:wrap; gap:8px; font-size:11px; color:#9ca3af; }
.hp-badge { display:inline-block; padding:2px 10px; border-radius:20px; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.5px; }
.hp-badge.popular { background:#fef3c7; color:#d97706; }
.hp-badge.new     { background:#d1fae5; color:#059669; }
.hp-manual-arrow  { color:#9ca3af; font-size:13px; flex-shrink:0; transition:color .3s, transform .3s; }
.hp-manual-card:hover .hp-manual-arrow { color:#5D186D; transform:translateX(3px); }

/* ── CTA ── */
.hp-cta { background:linear-gradient(135deg,#1a0a25 0%,#3d1452 100%); padding:80px 0; }
.hp-cta-box { position:relative; max-width:700px; margin:0 auto; text-align:center; z-index:1; }
.hp-cta-glow {
    position:absolute; width:400px; height:400px;
    background:radial-gradient(circle,rgba(93,24,109,.5) 0%,transparent 70%);
    top:50%; left:50%; transform:translate(-50%,-50%);
    z-index:-1; pointer-events:none;
}
.hp-cta-box h2 { font-size:26px; font-weight:700; color:#fff; margin-bottom:12px; }
.hp-cta-box p  { font-size:14px; color:rgba(255,255,255,.75); line-height:1.8; margin-bottom:26px; }
.hp-cta-btns   { display:flex; align-items:center; justify-content:center; gap:14px; flex-wrap:wrap; }

/* ── Scroll-triggered animations ── */
.fade-up,.fade-left,.fade-right { opacity:0; transition:opacity .6s ease, transform .6s ease; }
.fade-up    { transform:translateY(28px); }
.fade-left  { transform:translateX(-28px); }
.fade-right { transform:translateX(28px); }
.fade-up.visible,.fade-left.visible,.fade-right.visible { opacity:1; transform:none; }

/* ── Responsive (hp-* sections) ── */
@media (max-width:991px) {
    .hp-stats-grid   { grid-template-columns:repeat(2,1fr); }
    .hp-about-grid   { grid-template-columns:1fr; gap:32px; }
    .hp-modules-grid { grid-template-columns:repeat(2,1fr); }
    .hp-why-grid     { grid-template-columns:1fr; }
    .hp-faq-inner    { grid-template-columns:1fr; gap:32px; }
    .hp-manuals-grid { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:576px) {
    .hp-partners,.hp-stats,.hp-about,.hp-modules,
    .hp-why,.hp-faq,.hp-manuals,.hp-cta { padding:48px 0; }
    .hp-section-title  { font-size:20px; }

    /* Stats */
    .hp-stats-grid  { grid-template-columns:repeat(2,1fr); gap:12px; }
    .hp-stat-num    { font-size:22px; }
    .hp-stat-icon   { width:42px; height:42px; font-size:18px; }

    /* Modules */
    .hp-modules-grid   { grid-template-columns:1fr 1fr; gap:12px; }
    .hp-module-card    { padding:16px 12px; }

    /* Institute grid */
    .hp-institute-grid { grid-template-columns:repeat(2,1fr); }

    /* Manuals — single column, card content wraps */
    .hp-manuals-grid   { grid-template-columns:1fr; gap:12px; }
    .hp-manual-card    { padding:14px 14px; gap:12px; align-items:flex-start; }
    .hp-manual-icon    { width:40px; height:40px; font-size:18px; margin-top:2px; }
    .hp-manual-body h3 { white-space:normal; font-size:13px; }
    .hp-manual-arrow   { display:none; }

    /* CTA */
    .hp-cta-box h2  { font-size:20px; }
    .hp-cta         { padding:56px 0; }
}

/* ============================================
   ADMISSION PORTAL PAGE — navbar active link
   ============================================ */
.navbar-custom .nav-link[href*="/admission"]:not([href*="settings"]):not([href*="applications"]) {
    color: #ffd700 !important;
    font-weight: 600;
}

/* Admission portal section — ensure page-lead looks clean when nav nav-link is active on admission page */
a.nav-link.active {
    color: #ffd700 !important;
}

/* ============================================
   WELCOME PAGE — PLATFORM OVERVIEW VIDEO
   ============================================ */
.hp-video {
    position: relative;
    padding: 70px 0 80px;
    background: linear-gradient(150deg, #14092b 0%, #2a0f3d 55%, #5D186D 130%);
    overflow: hidden;
    scroll-margin-top: 80px;
}

.hp-video-bg { position: absolute; inset: 0; pointer-events: none; }

.hp-video-orb { position: absolute; border-radius: 50%; filter: blur(2px); }

.hp-video-orb--1 {
    width: 420px; height: 420px; top: -160px; right: -120px;
    background: radial-gradient(circle, rgba(139, 108, 255, .18), transparent 70%);
}

.hp-video-orb--2 {
    width: 300px; height: 300px; bottom: -120px; left: -80px;
    background: radial-gradient(circle, rgba(47, 212, 230, .14), transparent 70%);
}

.hp-video-orb--3 {
    width: 140px; height: 140px; top: 30%; left: 6%;
    background: radial-gradient(circle, rgba(245, 184, 65, .12), transparent 70%);
}

.hp-video-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #ffd98a;
    background: rgba(245, 184, 65, .12);
    border: 1px solid rgba(245, 184, 65, .3);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.hp-video-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hp-video-sub {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, .72);
    max-width: 620px;
    margin: 0 auto 36px;
}

.hp-video-stage {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
}

.hp-video-frame {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #0c0620;
    border: 1px solid rgba(139, 108, 255, .35);
    box-shadow: 0 0 0 6px rgba(139, 108, 255, .07),
                0 30px 80px rgba(6, 2, 18, .65),
                0 10px 30px rgba(93, 24, 109, .35);
}

.hp-video-frame video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: #0c0620;
}

/* play button overlay */
.hp-video-playbtn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: none;
    padding: 0;
    cursor: pointer;
    background: linear-gradient(180deg, rgba(12, 6, 32, .12), rgba(12, 6, 32, .45));
    transition: opacity .35s ease, visibility .35s ease;
    z-index: 2;
}

.hp-video-frame.is-playing .hp-video-playbtn,
.hp-video-frame.is-playing .hp-video-badges {
    opacity: 0;
    visibility: hidden;
}

.hp-video-play-ring {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .55);
    animation: hp-video-pulse 2s ease-out infinite;
}

@keyframes hp-video-pulse {
    0%   { transform: scale(.85); opacity: .9; }
    100% { transform: scale(1.5); opacity: 0; }
}

.hp-video-play-core {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B6CFF, #5D186D);
    color: #fff;
    font-size: 1.6rem;
    padding-left: 6px;
    box-shadow: 0 16px 40px rgba(93, 24, 109, .55);
    transition: transform .25s ease, box-shadow .25s ease;
}

.hp-video-playbtn:hover .hp-video-play-core {
    transform: scale(1.08);
    box-shadow: 0 20px 50px rgba(139, 108, 255, .6);
}

.hp-video-badges {
    position: absolute;
    left: 16px;
    bottom: 14px;
    display: flex;
    gap: 8px;
    z-index: 3;
    transition: opacity .35s ease, visibility .35s ease;
}

.hp-video-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .74rem;
    font-weight: 700;
    color: #fff;
    background: rgba(12, 6, 32, .72);
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 6px 12px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.hp-video-badge i { color: #ffd98a; font-size: .7rem; }

/* floating chips */
.hp-video-float {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 800;
    color: #1a0a2e;
    background: #fff;
    padding: 10px 16px;
    border-radius: 50px;
    box-shadow: 0 14px 34px rgba(6, 2, 18, .45);
    z-index: 4;
    white-space: nowrap;
}

.hp-video-float i { color: #5D186D; }

.hp-video-float--1 {
    top: -18px;
    left: -26px;
    animation: hp-video-bob 4.6s ease-in-out infinite;
}

.hp-video-float--2 {
    bottom: -16px;
    right: -22px;
    animation: hp-video-bob 4.6s ease-in-out infinite 1.1s;
}

@keyframes hp-video-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}

.hp-video-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 36px;
}

.hp-video-cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, border-color .2s, color .2s;
}

.hp-video-cta-ghost:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .hp-video { padding: 54px 0 60px; }
    .hp-video-title { font-size: 1.5rem; }
    .hp-video-play-core { width: 66px; height: 66px; font-size: 1.25rem; }
    .hp-video-play-ring { width: 78px; height: 78px; }
    .hp-video-float--1 { top: -16px; left: 4px; }
    .hp-video-float--2 { bottom: -14px; right: 4px; }
    .hp-video-float { font-size: .72rem; padding: 8px 13px; }
}

@media (prefers-reduced-motion: reduce) {
    .hp-video-play-ring,
    .hp-video-float--1,
    .hp-video-float--2 { animation: none; }
}
