* {
    box-sizing: border-box;
}

/* --- Base Styles --- */
html {
    font-size: 17px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    color: #1e293b;
    line-height: 1.7;
    background-color: #ffffff;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75em;
    line-height: 1.25;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.625rem; }
h5 { font-size: 1.375rem; }
h6 { font-size: 1.125rem; }

p, span, li, small {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #475569;
}

.text-white {
    color: #fff !important;
}

button, .btn, .vendor-btn {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.label, .badge {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* --- Responsive Typography --- */
@media (max-width: 1200px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
}

@media (max-width: 992px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.3rem; }
}

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }
    h3 { font-size: 1.15rem; }
}

/* ===========================================
   HERO SECTION - University Style
=========================================== */
.hero-section {
    margin-top: 75px;
    background: var(--primary-color);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(135deg, rgba(46, 28, 123, 0.95) 0%, rgba(157, 34, 53, 0.85) 100%);
    z-index: 1;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.institution-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.institution-name {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.institution-tagline {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

/* ===========================================
   ADMISSION CARD & STEPS
=========================================== */
.admission-card {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    margin-top: -60px;
    position: relative;
    z-index: 3;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.admission-card p {
    text-align: left !important;
    color: #4a5568;
}

.admission-steps {
    padding: 80px 0;
    background: #f8fafc;
}

/* ===========================================
   PROGRAM CARDS
=========================================== */
.program-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.program-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.program-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.program-card p {
    color: #64748b;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.program-card ul li {
    color: #475569;
    font-size: 1rem;
    padding: 0.375rem 0;
}

.program-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

/* ===========================================
   COLLEGES SECTION
=========================================== */
#colleges,
.college-section {
    background-color: #f8fafc !important;
    padding: 80px 0px;
}

#colleges .section-title,
.college-section .section-title {
    color: var(--primary-color);
}

#colleges .section-subtitle,
.college-section .section-subtitle {
    color: #64748b;
}

/* ===========================================
   PROGRAMS SECTION
=========================================== */
#programs {
    background-color: #ffffff;
    padding: 80px 0;
}

#programs .section-title {
    color: var(--primary-color);
}

#programs .section-subtitle {
    color: #64748b;
}

/* ===========================================
   FEE TABLE & PAYMENT
=========================================== */
.fee-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.fee-table table {
    margin: 0;
}

.fee-table .table-header {
    background: var(--primary-color);
    color: white;
}

/* payment-card used for Why Choose Us section cards */
.payment-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.payment-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.payment-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.payment-card p,
.payment-card .step-description {
    color: #64748b;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.payment-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

.custom-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

/* ===========================================
   BUTTONS
=========================================== */
.btn-custom {
    background: var(--primary-color);
    border: none;
    padding: 12px 24px;
    font-size: 0.9rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(46, 28, 123, 0.2);
    cursor: pointer;
}

.btn-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(46, 28, 123, 0.3);
    color: white;
    background: var(--secondary-color);
}

/* ===========================================
   CONTACT SECTION
=========================================== */
.contact-section {
    background: var(--primary-color);
    color: white;
    padding: 80px 0;
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(30, 14, 99, 0.98) 100%);
}

.contact-section h2,
.contact-section .lead,
.contact-section p {
    color: #ffffff !important;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    word-wrap: break-word;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.contact-card h5 {
    color: #ffffff !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.0625rem;
    margin-bottom: 0;
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    color: #ffffff;
}

/* ===========================================
   SECTION TITLES
=========================================== */
.section-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.1875rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.navbar-brand {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

/* ===========================================
   STATS SECTION (After Slider)
=========================================== */
.stats-section {
    background: #ffffff;
    padding: 60px 0;
    border-bottom: 1px solid #e2e8f0;
}

.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(30, 14, 99, 0.95) 100%);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #ffffff;
    transition: all 0.3s ease;
    height: 100%;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(46, 28, 123, 0.25);
}

.stats-card h4 {
    color: #ffffff !important;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stats-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 1.0625rem;
    font-weight: 500;
    margin: 0;
}

.admission-form {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

/* Fallback: show first step if JavaScript fails to load */
.form-step[data-step="1"] {
    display: block;
}

.form-step.active[data-step="1"] {
    display: block;
}

/* Google-style form inputs */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-control-google {
    width: 100%;
    padding: 16px 12px 8px 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-control-google:focus {
    border: 2px solid #1a73e8;
    box-shadow: none;
    padding: 16px 11px 8px 11px;
    /* Adjust for thicker border */
}

.form-control-google:focus+.form-label-google,
.form-control-google:not(:placeholder-shown)+.form-label-google {
    transform: translateY(-12px) scale(0.75);
    color: #1a73e8;
    background: white;
    padding: 0 4px;
}

.form-control-google.is-invalid {
    border: 2px solid #ea4335;
}

.form-control-google.is-invalid+.form-label-google {
    color: #ea4335;
}

.form-control-google.is-valid {
    border: 2px solid #34a853;
}

.form-control-google.is-valid+.form-label-google {
    color: #34a853;
}

.form-label-google {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 16px;
    color: #5f6368;
    pointer-events: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    z-index: 1;
}

.form-select-google {
    width: 100%;
    padding: 16px 32px 8px 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%235f6368' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right 12px center;
    background-size: 16px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-select-google:focus {
    border: 2px solid #1a73e8;
    box-shadow: none;
    padding: 16px 31px 8px 11px;
    /* Adjust for thicker border */
}

.form-select-google:focus+.form-label-google,
.form-select-google:not([value=""])+.form-label-google {
    transform: translateY(-12px) scale(0.75);
    color: #1a73e8;
    background: white;
    padding: 0 4px;
}

.form-textarea-google {
    width: 100%;
    padding: 16px 12px 8px 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fff;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    resize: vertical;
    min-height: 80px;
}

.form-textarea-google:focus {
    border: 2px solid #1a73e8;
    box-shadow: none;
    padding: 16px 11px 8px 11px;
}

.form-textarea-google:focus+.form-label-google,
.form-textarea-google:not(:placeholder-shown)+.form-label-google {
    transform: translateY(-12px) scale(0.75);
    color: #1a73e8;
    background: white;
    padding: 0 4px;
}

.form-file-google {
    width: 100%;
    padding: 16px 12px 8px 12px;
    border: 2px dashed #dadce0;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fafbfc;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    cursor: pointer;
}

.form-file-google:hover {
    border-color: #1a73e8;
    background: #f8f9ff;
}

.form-file-google:focus {
    border: 2px solid #1a73e8;
    background: #f8f9ff;
}

.file-upload-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    width: 100%;
}

.file-upload-input {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.file-upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 12px;
    border: 2px dashed #dadce0;
    border-radius: 8px;
    font-size: 14px;
    color: #5f6368;
    background: #fafbfc;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.file-upload-label:hover {
    border-color: #1a73e8;
    background: #f8f9ff;
    color: #1a73e8;
}

.file-upload-label i {
    margin-right: 8px;
    font-size: 18px;
}

.helper-text {
    font-size: 12px;
    color: #5f6368;
    margin-top: 4px;
    margin-left: 12px;
}

.helper-text.error {
    color: #ea4335;
}

.helper-text.success {
    color: #34a853;
}

.file-preview {
    margin-top: 8px;
    padding: 8px 12px;
    background: #e8f0fe;
    border-radius: 4px;
    font-size: 12px;
    color: #1a73e8;
    display: none;
}

.file-preview.show {
    display: block;
}

.file-preview i {
    margin-right: 6px;
}

/* Checkbox styling */
.form-check-google {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-check-input-google {
    width: 18px;
    height: 18px;
    border: 2px solid #dadce0;
    border-radius: 2px;
    background: white;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

.form-check-input-google:checked {
    background: #1a73e8;
    border-color: #1a73e8;
}

.form-check-input-google:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.form-check-label-google {
    font-size: 14px;
    color: #3c4043;
    line-height: 1.4;
    cursor: pointer;
}

.form-check-label-google a {
    color: #1a73e8;
    text-decoration: none;
}

.form-check-label-google a:hover {
    text-decoration: underline;
}

/* Button styling */
.btn-google {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: none;
    letter-spacing: 0.25px;
}

.btn-google-primary {
    background: #1a73e8;
    color: white;
}

.btn-google-primary:hover {
    background: #1557b8;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.btn-google-secondary {
    background: transparent;
    color: #1a73e8;
    border: 1px solid #dadce0;
}

.btn-google-secondary:hover {
    background: #f8f9ff;
    border-color: #1a73e8;
}

.btn-google-success {
    background: #34a853;
    color: white;
}

.btn-google-success:hover {
    background: #2d8f47;
    box-shadow: 0 2px 8px rgba(52, 168, 83, 0.3);
}

/* Form Text Helper Styles */
.form-text-google {
    color: #5f6368;
    font-size: 0.875rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* File Input Specific Styles */
.form-file-google {
    width: 100%;
    height: 56px;
    padding: 16px 12px 8px;
    border: 1px solid #dadce0;
    border-radius: 4px;
    font-size: 16px;
    background: transparent;
    transition: all 0.2s ease;
    color: #202124;
}

.form-file-google:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 1px #1a73e8;
}

.form-file-google:hover {
    border-color: #202124;
}

/* File preview styles */
.file-preview {
    padding: 8px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 0.875rem;
    color: #5f6368;
    border: 1px solid #e8eaed;
}

.file-preview.has-file {
    background: #e8f0fe;
    border-color: #1a73e8;
    color: #1a73e8;
}

/* Google-style Radio/Checkbox Styles */
.form-check-google {
    position: relative;
    margin-bottom: 1rem;
}

.form-check-input-google {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.form-check-label-google {
    display: block;
    cursor: pointer;
    border: 2px solid #dadce0;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fff;
}

.form-check-input-google:checked+.form-check-label-google {
    border-color: #1a73e8;
    box-shadow: 0 0 0 1px #1a73e8;
    background: #f8f9ff;
}

.form-check-input-google:hover+.form-check-label-google {
    border-color: #202124;
}

.form-check-input-google:focus+.form-check-label-google {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-indicator .step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.step-indicator .step.active {
    background: var(--secondary-color);
    color: white;
}

.step-indicator .step.completed {
    background: var(--success-color);
    color: white;
}

.payment-section {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem;
    display: none;
}

.payment-section.active {
    display: block;
}

.payment-method-card {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method-card:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: inherit;
    text-decoration: none;
}

.payment-option input:checked+.payment-method-card {
    border-color: var(--success-color);
    background: rgba(39, 174, 96, 0.1);
}

.file-preview {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid var(--success-color);
    display: none;
}

.file-preview.show {
    display: block;
}

.file-preview .file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-preview .file-icon {
    width: 40px;
    height: 40px;
    background: var(--success-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.step-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.step-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    height: 2px;
    background: #e9ecef;
    z-index: 1;
}

.step-progress .progress-line {
    position: absolute;
    top: 20px;
    left: 20px;
    height: 2px;
    background: var(--success-color);
    transition: all 0.3s ease;
    z-index: 2;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    display: none;
}

.loading-overlay.show {
    display: flex;
}

.loading-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    max-width: 300px;
}

.loading-content .spinner-border {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    .institution-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .admission-card {
        margin-top: -30px;
        padding: 1.5rem;
    }
}

.floating-apply {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.floating-apply .btn {
    border-radius: 50px;
    padding: 15px 25px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   GALLERY SECTION
=========================================== */
.gallery-section {
    padding: 80px 0;
    background: #f8fafc;
    position: relative;
}

.gallery-section .section-title {
    color: var(--primary-color) !important;
}

.gallery-section .section-subtitle {
    color: #64748b !important;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.gallery-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery-item .card-body {
    padding: 1.25rem;
}

.gallery-item .card-title {
    color: var(--primary-color) !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gallery-item small {
    color: #64748b !important;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===========================================
   FEATURE & STATS CARDS
=========================================== */
.feature-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.stats-card {
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.stats-card > * {
    position: relative;
    z-index: 1;
}

/* ===========================================
   ACTION BUTTONS
=========================================== */
.quick-action-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 8px;
    box-shadow: 0 2px 8px rgba(46, 28, 123, 0.2);
}

.quick-action-btn:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(157, 34, 53, 0.25);
}

/* ===========================================
   ADMISSION HIGHLIGHT
=========================================== */
.admission-highlight {
    background: var(--primary-color);
    color: #fff;
    padding: 80px 0;
    position: relative;
}

.admission-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(30, 14, 99, 0.98) 100%);
}

.admission-highlight > .container {
    position: relative;
    z-index: 1;
}

.admission-highlight h2,
.admission-highlight p,
.admission-highlight .lead {
    color: #ffffff !important;
}

.admission-highlight .btn-light {
    background: #ffffff;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admission-highlight .btn-light:hover {
    background: var(--third-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===========================================
   LOGIN PORTAL SECTION
=========================================== */
.login-portal-section {
    background: #ffffff;
    border-radius: 0;
    padding: 80px 0;
    margin: 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.login-portal-section h4,
.login-portal-section p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.login-portal-section .section-title {
    color: var(--primary-color);
}

.login-portal-section .section-subtitle {
    color: #64748b;
}

.portal-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: none;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.portal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
    background: #ffffff;
}

.portal-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.portal-card p {
    color: #64748b;
    font-size: 1.0625rem;
}

.portal-icon {
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-color);
}

/* ===========================================
   HOW IT WORKS SECTION
=========================================== */
.how-it-works-section {
    background: #f8fafc;
    padding: 80px 0;
}

.how-it-works-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.how-it-works-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.how-it-works-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 4rem;
    font-size: 1.1rem;
    font-weight: 400;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    z-index: 0;
    opacity: 0.2;
}

@media (max-width: 768px) {
    .steps-grid::before {
        display: none;
    }
}

.step-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(46, 28, 123, 0.25);
}

.step-icon {
    font-size: 2.5rem;
    color: var(--third-color);
    margin: 1rem 0;
}

.step-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    text-align: center !important;
}

.step-description {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.0625rem;
    text-align: center !important;
}

/* ===========================================
   WHY CHOOSE US / PAYMENT METHODS SECTION
=========================================== */
.payment-methods {
    background: #ffffff;
    padding: 80px 0;
}

.payment-methods .section-title {
    color: var(--primary-color);
}

.payment-methods .section-subtitle {
    color: #64748b;
}

.payment-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.payment-card:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.payment-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.375rem;
}

.payment-card p,
.payment-card .step-description {
    color: #64748b;
    font-size: 1.0625rem;
    line-height: 1.7;
}

.payment-icon {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}

/* ===========================================
   ADMISSION STEPS SECTION
=========================================== */
.admission-steps {
    padding: 80px 0;
    background: #f8fafc;
}

.admission-steps .section-title {
    color: var(--primary-color);
}

.admission-steps .section-subtitle {
    color: #64748b;
}
