/* ===== CSS Variables ===== */
:root { 
    --primary-color: #4361ee;
    --primary-dark: #3a56d4;
    --primary-light: #e0e7ff;
    --secondary-color: #7209b7;
    --accent-color: #f72585;
    --success-color: #4cc9f0;
    --warning-color: #ff9e00;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gray-color: #e9ecef;
    --gray-dark: #6c757d;
    --text-dark: #212529;
    --text-light: #6c757d;
    --card-bg: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    overflow-x: hidden;
    background-color: #fafafa;
    font-size: 0.9rem;
     background: linear-gradient(
        180deg,
        #f8fafc 0%,
        #f1f5f9 40%,
        #eef2f7 100%
    );
}


h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* ===== Navigation - FIXED ALIGNMENT for Mobile ===== */
.navbar {
    padding: 0.6rem 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 60px;
}

.navbar-brand {
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    height: 40px;
    padding: 0;
    margin: 0;
}

.navbar-toggler {
    width: 40px;
    height: 40px;
    padding: 0.25rem;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

/* Fix mobile navbar alignment */
@media (max-width: 991.98px) {
    .navbar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0 1rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
        flex-shrink: 1;
        overflow: hidden;
    }
    
    .navbar-toggler {
        flex-shrink: 0;
        order: 2;
    }
}

@media (min-width: 992px) {
    .navbar-brand {
        font-size: 1.5rem;
    }
}

.nav-link {
    font-weight: 500;
    margin: 0 0.4rem;
    padding: 0.4rem 0 !important;
    position: relative;
    transition: var(--transition);
    color: var(--dark-color) !important;
    font-size: 0.9rem;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 2px 2px 0 0;
}

.btn-apply {
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    color: white;
    font-size: 0.85rem;
}

.btn-apply:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Mobile navbar adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: var(--border-radius-sm);
        box-shadow: var(--shadow-lg);
        margin-top: 0.5rem;
        border: 1px solid rgba(0, 0, 0, 0.05);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
    }
    
    .navbar-nav {
        text-align: center;
        width: 100%;
    }
    
    .navbar-nav .nav-item {
        margin: 0.25rem 0;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0 !important;
        font-size: 0.95rem;
        display: block;
        width: 100%;
    }
    
    .btn-apply {
        margin-top: 0.5rem;
        width: 100%;
    }
}

/* ===== Hero Section - Mobile Optimized ===== */
.hero-section {
background: linear-gradient(135deg, #09203f, #537895);
    clip-path: polygon(0 0, 100% 0%, 100% 89%, 0% 100%);
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
}



@media (min-width: 768px) {
    .hero-section {
        min-height: 88vh;
    }
}

.hero-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.hero-title {
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 0.85rem;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

.btn-cta {
    padding: 0.75rem 1.8rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--accent-color) 0%, #b5179e 100%);
    border: none;
    color: white;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.min-vh-60 {
    min-height: 60vh;
}

@media (min-width: 768px) {
    .min-vh-60.min-vh-md-80 {
        min-height: 80vh;
    }
}

/* ===== Mobile Card Container - FIXED ===== */
.mobile-card-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ===== Scroll Container System - FIXED for Mobile ===== */
.scroll-container {
    position: relative;
    overflow: hidden !important;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}

/* Mobile: Show ONE card only - NO VISIBLE SIDE CARDS */
@media (max-width: 767.98px) {
    .mobile-card-container {
        padding: 0 16px;
    }
    
    .scroll-container {
        padding: 1rem 0 !important;
        overflow: hidden !important;
        width: calc(100vw - 32px) !important;
        margin: 0 auto !important;
    }
    
    .auto-scroll {
        display: flex;
        flex-wrap: nowrap;
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        gap: 0;
        will-change: transform;
    }
    
    /* Each card takes full width - NO VISIBLE SIDE CARDS */
    .auto-scroll > * {
        flex: 0 0 calc(100vw - 32px) !important;
        min-width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin: 0 !important;
        padding: 0;
        box-sizing: border-box;
        visibility: visible;
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Hide ALL other cards except the active one */
    .auto-scroll {
        transform: translateX(var(--scroll-position, 0px));
    }
    
    /* Hide scrollbar */
    .scroll-container::-webkit-scrollbar {
        display: none;
    }
    
    .scroll-container {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
}

/* ===== LARGE SCREEN FIXES - Show exactly 4 cards at a time ===== */
/* Tablet: 2 cards */
@media (min-width: 768px) and (max-width: 991.98px) {
    .scroll-container {
        width: 100%;
        padding: 1rem;
        margin: 0 auto;
    }
    
    .auto-scroll {
        display: flex;
        gap: 0.75rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .auto-scroll > * {
        flex: 0 0 calc(50% - 0.375rem) !important;
        min-width: calc(50% - 0.375rem) !important;
        max-width: calc(50% - 0.375rem) !important;
        margin: 0 !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* Desktop: 992px-1199px - 3 cards */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .scroll-container {
        width: 100%;
        padding: 1rem;
        margin: 0 auto;
        overflow: hidden !important;
    }
    
    .auto-scroll {
        display: flex;
        gap: 0.75rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .auto-scroll > * {
        flex: 0 0 calc(33.333% - 0.5rem) !important;
        min-width: calc(33.333% - 0.5rem) !important;
        max-width: calc(33.333% - 0.5rem) !important;
        margin: 0 !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* Large Desktop: ≥1200px - 4 cards */
@media (min-width: 1200px) {
    .scroll-container {
        width: 100%;
        padding: 1rem;
        margin: 0 auto;
        overflow: hidden !important;
    }
    
    .auto-scroll {
        display: flex;
        gap: 0.75rem;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        justify-content: flex-start;
    }
    
    .auto-scroll > * {
        flex: 0 0 calc(25% - 0.5625rem) !important;
        min-width: calc(25% - 0.5625rem) !important;
        max-width: calc(25% - 0.5625rem) !important;
        margin: 0 !important;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* ===== Scroll Navigation Buttons - FIXED for Mobile ===== */
.scroll-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.8;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: none;
    outline: none;
}

.scroll-nav-btn:hover {
    opacity: 1;
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.05);
}

.scroll-nav-btn.nav-prev {
    left: 5px;
}

.scroll-nav-btn.nav-next {
    right: 5px;
}

.scroll-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ===== Mobile Navigation Buttons - INSIDE container ===== */
.mobile-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.9;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    border: none;
    outline: none;
}

.mobile-nav-btn:hover {
    opacity: 1;
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.05);
}

.mobile-nav-prev {
    left: 5px;
}

.mobile-nav-next {
    right: 5px;
}

/* Show mobile buttons on mobile only */
@media (max-width: 767.98px) {
    .mobile-nav-btn {
        display: flex;
    }
    
    /* Hide desktop buttons on mobile */
    .scroll-nav-btn {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-nav-btn {
        display: none !important;
    }
}

/* ===== College Cards - Common Styles ===== */
.college-card, .application-card, .student-choice-card {
    border: none;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    background: var(--card-bg);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 500px;
    display: flex;
    flex-direction: column;
}

@media (max-width: 767.98px) {
    .college-card, .application-card, .student-choice-card {
        height: 460px;
        width: calc(100vw - 32px) !important;
        max-width: calc(100vw - 32px) !important;
        margin: 0 !important;
        opacity: 1;
        visibility: visible;
    }
}

@media (max-width: 575.98px) {
    .college-card, .application-card, .student-choice-card {
        height: 440px;
    }
}

.college-card:hover, .student-choice-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.application-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.card-img-top {
    height: 145px;
    object-fit: cover;
    width: 100%;
    transition: var(--transition);
    flex-shrink: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 1rem;
    overflow: hidden;
}

.card-title {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 0.85rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.2rem;
}

.rating {
    color: #ffc107;
    font-weight: 600;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.rating .bi-star-fill {
    margin-right: 1px;
    font-size: 0.7rem;
}

.location {
    color: var(--text-light);
    font-size: 0.7rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.college-stats {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-sm);
    padding: 0.5rem;
    margin: 0.7rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.7rem;
}

.stat-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: 500;
}

.stat-value {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.7rem;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--gray-color);
    padding: 0.6rem;
    flex-shrink: 0;
    margin-top: auto;
}

/* ===== Badges ===== */
.placement-verified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 600;
    z-index: 20;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.2rem;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-favorite-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b5179e 100%);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 600;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    box-shadow: var(--shadow-sm);
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Top Recruiters ===== */
.top-recruiters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.2rem;
    margin-top: 0.4rem;
    max-height: 50px;
    overflow: hidden;
}

.recruiter-badge {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 0.2rem 0.5rem;
    border-radius: var(--border-radius-sm);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid rgba(67, 97, 238, 0.2);
    white-space: nowrap;
}

/* ===== Application Cards ===== */
.deadline-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.deadline-open {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.deadline-soon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.application-status {
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== Student Choice Stats ===== */
.student-choice-stats {
    display: flex;
    justify-content: space-between;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: var(--border-radius-sm);
    padding: 0.7rem;
    margin: 0.8rem 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.student-choice-stats > div {
    text-align: center;
    flex: 1;
    overflow: hidden;
}

/* ===== FAQ Accordion ===== */
.faq-accordion .accordion-item {
    border: 1.5px solid #e0e0e0;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    margin-bottom: 0.8rem;
    background: white;
    transition: var(--transition);
}

.faq-accordion .accordion-item:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: none;
    padding: 1rem 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: var(--transition);
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
    filter: brightness(0) invert(1);
}

.faq-accordion .accordion-body {
    padding: 1rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text-light);
    background: white;
}

/* ===== Button Styles ===== */
.btn {
    border-radius: var(--border-radius-sm);
    padding: 0.4rem 1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: 0.85rem;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===== Table Styles ===== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-hover tbody tr:hover { 
    background-color: rgba(67, 97, 238, 0.05);
    transition: var(--transition);
}

.table th {
    font-weight: 700;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-light);
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 0.8rem;
    font-size: 0.85rem;
    white-space: nowrap;
}

.table td {
    padding: 0.7rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.85rem;
}

/* ===== Footer ===== */
footer {
    background: linear-gradient(135deg, #212529 0%, #343a40 100%);
    color: white;
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 2rem;
    font-size: 0.85rem;
}

/* ===== Responsive Adjustments ===== */
@media (max-width: 767.98px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
    }
    
    .btn-cta {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .table th, .table td {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .card-img-top {
        height: 120px;
    }
    
    .card-title {
        min-height: 1.6rem;
        font-size: 0.8rem;
    }
    
    /* Ensure no horizontal scroll on mobile */
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 0.8rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .navbar-toggler {
        width: 36px;
        height: 36px;
    }
    
    footer {
        padding: 2rem 1rem !important;
    }
    
    .card-img-top {
        height: 110px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        min-height: 1.5rem;
        font-size: 0.75rem;
    }
    
    .stat-item {
        font-size: 0.65rem;
    }
    
    .stat-label, .stat-value {
        font-size: 0.6rem;
    }
    
    .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

/* ===== Mobile Touch Improvements ===== */
.btn, .form-control, .form-select {
    -webkit-tap-highlight-color: transparent;
}

/* Prevent horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* ===== Hide horizontal scrollbars ===== */
.scroll-container::-webkit-scrollbar {
    display: none;
}

.scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ===== Hero Form Card ===== */
.hero-form-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
    border: none;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .hero-form-card {
        padding: 1.8rem;
        margin-top: 0;
        /* margin-bottom: 5rem; */
    }
}

.hero-form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.3);
}

.form-title {
    color: #212529;
    font-weight: 700;
    font-size: 1.35rem;
    text-align: center;
    margin-bottom: 0.3rem;
}

.form-subtitle {
    color: #6c757d;
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 1.2rem;
}

#heroContactForm .form-control,
#heroContactForm .form-select {
    background: #f8f9fa;
    border: 1.5px solid #dee2e6;
    color: #0f1113;
    border-radius: var(--border-radius-sm);
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
    transition: var(--transition);
}

#heroContactForm .form-control:focus,
#heroContactForm .form-select:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.15);
    outline: none;
}

.btn-register {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 0.75rem;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    font-size: 0.9rem;
    transition: var(--transition);
    color: #ffffff;
}

.btn-register:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

/* for nav bar */
/* Desktop only: add left & right margin to navbar container */
@media (min-width: 992px) {
    .navbar > .container-fluid {
        margin-left: 5.5rem;
        margin-right: 5.5rem;
    }
}




