@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --primary: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #10B981;
    --dark: #1E293B;
    --text-main: #334155;
    --text-muted: #64748B;
    --bg-main: #F8FAFC;
    --white: #FFFFFF;
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    /* Variables */
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: #f6f8fb;
    background-image: 
        linear-gradient(rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(79, 70, 229, 0.03) 1px, transparent 1px),
        radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.08), transparent 50%), 
        radial-gradient(at 50% 0%, rgba(129, 140, 248, 0.05), transparent 50%), 
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.05), transparent 50%),
        radial-gradient(at 80% 50%, rgba(99, 102, 241, 0.06), transparent 40%),
        radial-gradient(at 20% 80%, rgba(14, 165, 233, 0.05), transparent 50%);
    background-size: 40px 40px, 40px 40px, 100% 100%, 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }

p { margin-bottom: 1rem; }
a { text-decoration: none; color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-light); }

/* Layout & Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

main { flex: 1; }

/* Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--glass-shadow);
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.39);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.23);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Top Bar */
.top-bar {
    background-color: var(--dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    padding: 0.4rem 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 1.5rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .top-bar-left {
        display: none;
    }
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }
}

/* Header & Navigation */
header {
    position: fixed;
    top: 36px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0 0 0;
    transition: var(--transition);
    background: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 0.5rem 0 0 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    transition: var(--transition);
}

header.scrolled .nav-container {
    padding-bottom: 0.5rem;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 0.5rem;
    white-space: nowrap;
}

.logo span {
    color: var(--primary);
}

.logo img,
.brand-logo {
    height: 48px;
    width: auto;
    display: block;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.1rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    position: relative;
    font-size: 0.82rem;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.nav-links .btn {
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    padding: 9.5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.65) 100%), url('../images/campus_hero_bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.home-hero {
    padding-top: 11rem !important;
}

@media (max-width: 768px) {
    .home-hero {
        padding-top: 9rem !important;
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    width: 100%;
}

.hero h1 {
    color: #ffffff;
    font-size: clamp(2.3rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(248, 250, 252, 0.9);
    margin-bottom: 2rem;
    line-height: 1.65;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.hero .btn-outline {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.8);
}

.hero .btn-outline:hover {
    background-color: #ffffff;
    color: var(--primary);
    border-color: #ffffff;
}

.enquiry-card {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25);
    padding: 1.25rem 1.5rem !important;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.enquiry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4F46E5, #818CF8, #10B981);
}

.enquiry-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px -12px rgba(15, 23, 42, 0.35);
}

.enquiry-card .consult-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.enquiry-card .form-header {
    margin-bottom: 0.85rem;
    text-align: center;
}

.enquiry-card .form-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--dark);
}

.enquiry-card .form-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.enquiry-card .form-group {
    margin-bottom: 0.65rem;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-wrapper .input-icon {
    position: absolute;
    left: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 10;
}

.input-icon-wrapper .form-control {
    padding: 0.5rem 0.75rem 0.5rem 2.25rem;
    font-size: 0.82rem;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 8px;
    color: var(--dark);
    width: 100%;
    height: 38px;
    transition: all 0.25s ease;
}

.input-icon-wrapper .form-control:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
    outline: none;
}

/* Select dropdown adjustments */
.input-icon-wrapper select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 2rem;
}

/* Phone wrapper styles */
.input-icon-wrapper.phone-wrapper .phone-prefix-span {
    position: absolute;
    left: 32px;
    font-weight: 600;
    color: var(--dark);
    font-size: 0.82rem;
    border-right: 1px solid rgba(148, 163, 184, 0.3);
    padding-right: 8px;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 16px;
    z-index: 10;
}

.input-icon-wrapper.phone-wrapper .form-control {
    padding-left: 4.25rem;
}

/* Message wrapper styles */
.input-icon-wrapper.message-wrapper {
    align-items: flex-start;
}

.input-icon-wrapper.message-wrapper .input-icon {
    top: 11px;
}

.input-icon-wrapper.message-wrapper .form-control {
    height: 55px;
    min-height: 55px;
    padding-top: 8px;
    resize: none;
}

.enquiry-card button[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 0.65rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.25rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.enquiry-card button[type="submit"]:hover {
    background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.enquiry-card button[type="submit"]:active {
    transform: translateY(0);
}


/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

/* College Cards */
.college-card {
    padding: 2rem;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hidden-college {
    display: none !important;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.college-card h3 {
    margin-bottom: 0.5rem;
}

.college-card p {
    color: var(--text-muted);
    flex-grow: 1;
}

.college-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 1rem 0;
    padding: 1rem 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Features/Services */
.feature-box {
    padding: 2.5rem 2rem;
    text-align: center;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Form Styles */
.enquiry-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
    color: white;
    padding: 5rem 0;
    border-radius: var(--radius);
    margin: 4rem 0;
}

.enquiry-section h2 {
    color: white;
}

.form-container {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 1.25rem 1.5rem !important;
    max-width: 550px;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25);
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4F46E5, #818CF8, #10B981);
}

.form-container:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px -12px rgba(15, 23, 42, 0.35);
}

.form-container .form-card {
    gap: 0.75rem;
}

.form-container .form-group {
    margin-bottom: 0.65rem;
}

.form-container .form-grid {
    gap: 0.65rem;
}

.form-container .form-header {
    text-align: center;
    margin-bottom: 0.75rem;
}

.form-container .form-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.1rem;
    color: var(--dark);
}

.form-container .form-header p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.form-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-header p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1f2937;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.form-grid .form-group {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

.form-control {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 10px;
    background: #fff;
    color: var(--dark);
    font-size: 0.975rem;
}

.form-control:focus {
    border-color: rgba(59, 130, 246, 0.7);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-container button[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, #6366F1 100%);
    color: #ffffff;
    border: none;
    width: 100%;
    padding: 0.65rem 1rem !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0.25rem;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}

.form-container button[type="submit"]:hover {
    background: linear-gradient(135deg, #4338CA 0%, #4F46E5 100%);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35);
    transform: translateY(-1px);
}

.form-container button[type="submit"]:active {
    transform: translateY(0);
}


.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.3);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.phone-field {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.phone-prefix {
    width: 50px;
    min-width: 50px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: default;
}

.phone-prefix:read-only {
    pointer-events: none;
}

.phone-field .form-control {
    flex: 1;
}

@media (max-width: 640px) {
    .phone-field {
        flex-direction: column;
        align-items: stretch;
    }

    .phone-prefix,
    .phone-field .form-control {
        width: 100%;
    }
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    display: none;
    font-weight: 500;
    text-align: center;
}

.form-status.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.2);
    color: #10B981;
    border: 1px solid #10B981;
}

.form-status.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid #EF4444;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: #FFF;
}

/* Footer */
footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 2rem;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
}

/* Inner Pages Header */
.page-header {
    padding: 9.5rem 0 4rem;
    background: linear-gradient(to right, var(--primary-light), var(--primary));
    color: white;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    
    .hero {
        padding: 7.5rem 0 3.5rem;
        min-height: auto;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .page-header {
        padding: 5rem 0 2.5rem;
    }
    
    .hero-btns {
        flex-direction: column;
        justify-content: center;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* Fancy Shake Animation */
@keyframes fancyWobble {
  0% { transform: translateX(0%) rotate(0deg); }
  15% { transform: translateX(-3px) rotate(-4deg); }
  30% { transform: translateX(2px) rotate(3deg); }
  45% { transform: translateX(-2px) rotate(-2deg); }
  60% { transform: translateX(1px) rotate(1deg); }
  75% { transform: translateX(-1px) rotate(-1deg); }
  100% { transform: translateX(0%) rotate(0deg); }
}

/* Apply the shake animation to requested elements on hover */
.logo:hover i,
.feature-icon:hover,
.process-icon:hover,
.glass-panel:hover i {
    animation: fancyWobble 0.6s ease-in-out;
}

/* Make sure the process icons have a transition */
.process-icon {
    transition: var(--transition);
}

/* College Page Specific */
.college-hero {
    position: relative;
    padding: 12rem 0 6rem;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 8px rgba(15, 23, 42, 0.6);
}

.college-hero h1,
.college-hero p {
    color: #ffffff !important;
}

.college-hero span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.college-hero.rvce-hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.45) 0%, rgba(79, 70, 229, 0.4) 100%), url('../images/rvce_banner.jpg') no-repeat center center;
    background-size: cover;
}

.key-info-bar {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    border-radius: var(--radius);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.key-info-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.key-info-item {
    text-align: center;
    padding: 0 1rem;
}

.ki-icon {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.ki-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ki-value {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--dark);
    margin-top: 0.25rem;
}

/* Tabs */
.college-tabs {
    background: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    position: sticky;
    top: 76px; /* Below header */
    z-index: 99;
    padding-top: 1rem;
    margin-top: 3rem;
}

.tabs-inner {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

.tabs-inner::-webkit-scrollbar {
    display: none;
}

.tab-link {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 1rem 0.5rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab-link:hover, .tab-link.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 2.7fr 1.3fr;
    gap: 2rem;
}

@media (max-width: 992px) {
    .content-wrap {
        grid-template-columns: 2.3fr 1.7fr;
        gap: 1.5rem;
        padding: 2rem 1rem;
    }
}

@media (max-width: 768px) {
    .content-wrap {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
    }
}

.section-block {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.section-block h2 {
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.section-block h3 {
    margin-top: 2rem;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.section-block ul, .section-block ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.section-block li {
    margin-bottom: 0.5rem;
}

.section-block p {
    color: var(--text-main);
    margin-bottom: 1rem;
}

/* Data Table */
.table-wrap {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table th, .data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-align: left;
    color: var(--text-main);
}

.data-table th {
    background: var(--bg-main);
    font-weight: 600;
    color: var(--dark);
}

/* Reviews */
.review-card {
    background: var(--bg-main);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 1150px) {
    .nav-container {
        position: relative;
    }
    
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        display: none;
        z-index: 1000;
        gap: 0.75rem;
        align-items: stretch;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links li {
        margin: 5px 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary);
    }
}

@media (max-width: 992px) {
    .top-bar-container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    

    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .glass-panel {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .colleges-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .top-bar span {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .glass-panel h3 {
        font-size: 1.2rem;
    }
    
    /* College pages specific */
    .college-hero h1 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .glass-panel.sticky-top {
        position: static;
        margin-top: 2rem;
    }
    
    /* Phone input responsive */
    .form-group div[style*="display: flex"] {
        flex-direction: column;
        gap: 5px;
    }
    
    .form-group div[style*="display: flex"] input:first-child {
        width: 100% !important;
        text-align: left;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.review-name {
    font-weight: 600;
    color: var(--dark);
}

.review-stars {
    color: #F59E0B;
    font-size: 0.85rem;
}

.review-text {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.review-attribution {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.faq-q {
    width: 100%;
    text-align: left;
    padding: 1.25rem 1.5rem;
    background: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--dark);
    font-size: 1rem;
    transition: var(--transition);
}
.faq-q:hover {
    color: var(--primary);
}

.faq-a {
    display: none;
    padding: 0 1.5rem 1.5rem;
    background: white;
    color: var(--text-muted);
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .arrow {
    transform: rotate(180deg);
}

.recruiter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.recruiter-tag {
    background: var(--bg-main);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 500;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    position: static;
    margin-bottom: 1.5rem;
}

/* Enable glass-panel blending when combined with enquiry-card class */
.sidebar-card.enquiry-card {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    border-radius: 20px !important;
    box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.25) !important;
}

.sidebar-card .form-group {
    margin-bottom: 0.65rem;
}

/* Sidebar submit buttons styled globally via .enquiry-card */
.course-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-main);
    color: var(--text-main);
    border-radius: 999px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
}
.course-pill:hover {
    background: rgba(79,70,229,0.08);
}
.sidebar-list a {
    display: block;
    color: var(--dark);
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.2s ease;
}
.sidebar-list a:hover {
    color: var(--primary);
}
.btn-gold {
    background-color: #fbbf24;
    color: #111827;
}
.btn-gold:hover {
    background-color: #f59e0b;
}
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.9);
}
.site-footer h4 {
    color: white;
    margin-bottom: 1rem;
}
.site-footer a {
    color: rgba(255,255,255,0.8);
    display: block;
    margin-bottom: 0.75rem;
}
.cta-band {
    background: var(--primary);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    margin-top: 2rem;
    border-radius: var(--radius);
}
.disclaimer-band {
    background: #0a0a0a;
    color: rgba(255,255,255,0.75);
    padding: 1.5rem 2rem;
    margin-top: 2rem;
    border-radius: var(--radius);
}
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Responsive Grid and Layout Helpers */
.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.college-layout-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
}

@media (max-width: 992px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .college-layout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* About Page & Padding Utilities */
.about-grid {
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
}

.p-lg {
    padding: 3rem;
}

.p-xl {
    padding: 4rem 2rem;
}

@media (max-width: 768px) {
    .about-grid {
        gap: 2rem;
        margin-bottom: 2rem;
    }
    .p-lg {
        padding: 1.5rem !important;
    }
    .p-xl {
        padding: 2rem 1rem !important;
    }
}

/* Homepage & Colleges page College Card Background Styles */
.college-card.card-rvce { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/rvce_bg.jpg'); }
.college-card.card-srm { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/srm_bg.jpg'); }
.college-card.card-msrit { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/msrit_bg.jpg'); }
.college-card.card-bmsce { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/bmsce_bg.jpg'); }
.college-card.card-dsce { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/dsce_bg.jpg'); }
.college-card.card-vit { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.25) 0%, rgba(15, 23, 42, 0.88) 100%), url('../images/vit_bg.jpg'); }

.college-card.card-rvce,
.college-card.card-srm,
.college-card.card-msrit,
.college-card.card-bmsce,
.college-card.card-dsce,
.college-card.card-vit {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
}

.college-card.card-rvce h3,
.college-card.card-srm h3,
.college-card.card-msrit h3,
.college-card.card-bmsce h3,
.college-card.card-dsce h3,
.college-card.card-vit h3 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.college-card.card-rvce p,
.college-card.card-srm p,
.college-card.card-msrit p,
.college-card.card-bmsce p,
.college-card.card-dsce p,
.college-card.card-vit p {
    color: rgba(248, 250, 252, 0.85) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.college-card.card-rvce .college-meta,
.college-card.card-srm .college-meta,
.college-card.card-msrit .college-meta,
.college-card.card-bmsce .college-meta,
.college-card.card-dsce .college-meta,
.college-card.card-vit .college-meta {
    color: rgba(241, 245, 249, 0.8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.college-card.card-rvce .college-meta i,
.college-card.card-srm .college-meta i,
.college-card.card-msrit .college-meta i,
.college-card.card-bmsce .college-meta i,
.college-card.card-dsce .college-meta i,
.college-card.card-vit .college-meta i {
    color: var(--primary-light) !important;
}

/* Icons inside the cards in colleges page */
.college-card.card-rvce i.fa-university,
.college-card.card-srm i.fa-university,
.college-card.card-msrit i.fa-university,
.college-card.card-bmsce i.fa-university,
.college-card.card-dsce i.fa-university,
.college-card.card-vit i.fa-university {
    color: var(--primary-light) !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Button overrides for dark image backgrounds */
.college-card.card-rvce .btn-outline,
.college-card.card-srm .btn-outline,
.college-card.card-msrit .btn-outline,
.college-card.card-bmsce .btn-outline,
.college-card.card-dsce .btn-outline,
.college-card.card-vit .btn-outline {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

.college-card.card-rvce .btn-outline:hover,
.college-card.card-srm .btn-outline:hover,
.college-card.card-msrit .btn-outline:hover,
.college-card.card-bmsce .btn-outline:hover,
.college-card.card-dsce .btn-outline:hover,
.college-card.card-vit .btn-outline:hover {
    background-color: #ffffff !important;
    color: var(--primary) !important;
    border-color: #ffffff !important;
}

/* What We Offer Card Background Styles */
.college-card.offer-guidance { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/guidance_bg.jpg'); }
.college-card.offer-counselling { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/counselling_bg.jpg'); }
.college-card.offer-shortlisting { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/shortlisting_bg.jpg'); }
.college-card.offer-support { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/support_bg.jpg'); }
.college-card.offer-rank { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/rank_counselling_bg.jpg'); }
.college-card.offer-quota { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/quota_bg.jpg'); }
.college-card.offer-finance { background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, rgba(15, 23, 42, 0.9) 100%), url('../images/finance_bg.jpg'); }

.college-card.offer-guidance,
.college-card.offer-counselling,
.college-card.offer-shortlisting,
.college-card.offer-support,
.college-card.offer-rank,
.college-card.offer-quota,
.college-card.offer-finance {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    padding: 2.25rem 2rem !important;
}

.college-card.offer-guidance h3,
.college-card.offer-counselling h3,
.college-card.offer-shortlisting h3,
.college-card.offer-support h3,
.college-card.offer-rank h3,
.college-card.offer-quota h3,
.college-card.offer-finance h3 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

.college-card.offer-guidance p,
.college-card.offer-counselling p,
.college-card.offer-shortlisting p,
.college-card.offer-support p,
.college-card.offer-rank p,
.college-card.offer-quota p,
.college-card.offer-finance p {
    color: rgba(248, 250, 252, 0.85) !important;
    font-size: 0.9rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

.college-card.offer-guidance .feature-icon,
.college-card.offer-counselling .feature-icon,
.college-card.offer-shortlisting .feature-icon,
.college-card.offer-support .feature-icon,
.college-card.offer-rank .feature-icon,
.college-card.offer-quota .feature-icon,
.college-card.offer-finance .feature-icon {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   COMEDK COLLEGE PREDICTOR BUTTON & MODAL
   ========================================== */

/* Flashing Navigation Button */
.btn-predictor {
    position: relative;
    gap: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: linear-gradient(135deg, #FF3D57 0%, #FF8A00 100%);
    color: #FFFFFF !important;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 61, 87, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    overflow: hidden;
    animation: predictorGlow 2s infinite ease-in-out;
}

.btn-predictor::after {
    display: none !important; /* disable default link underline hover */
}

.btn-predictor:hover {
    background: linear-gradient(135deg, #FF8A00 0%, #FF3D57 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 61, 87, 0.6);
}

.btn-predictor .badge-new {
    background-color: #FFFFFF;
    color: #FF3D57;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 2px 6px;
    border-radius: 20px;
    animation: flashBadge 1s infinite alternate;
}

@keyframes predictorGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 61, 87, 0.6);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 20px 8px rgba(255, 61, 87, 0.35);
        transform: scale(1.03);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 61, 87, 0);
        transform: scale(1);
    }
}

@keyframes flashBadge {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Modal Overlay with Blur Background */
.predictor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    transition: opacity 0.3s ease;
}

.predictor-modal-overlay.show {
    display: flex;
}

/* Glassmorphic Modal Card */
.predictor-modal-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    animation: modalScaleUp 0.3s forwards cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleUp {
    to {
        transform: scale(1);
    }
}

/* Modal Close Button */
.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close-btn:hover {
    color: var(--dark);
}

/* Predictor Steps */
.predictor-step {
    display: none;
}

.predictor-step.active {
    display: block;
}

/* Fancy Submit Button for Step 1 */
.btn-predictor-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    background: linear-gradient(135deg, #4F46E5 0%, #3B82F6 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
    transition: all 0.3s ease;
}

.btn-predictor-submit:hover {
    background: linear-gradient(135deg, #3B82F6 0%, #4F46E5 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
}

/* Additional Responsive Tweaks */
@media (max-width: 992px) {
    .nav-links .btn-predictor {
        padding: 0.5rem 1rem;
        margin: 5px 0;
        width: fit-content;
        align-self: center;
    }
}

/* ==========================================
   KARNATAKA COLLEGES DIRECTORY PAGE
   ========================================== */

.karnataka-colleges-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Rectangular College Card */
.karnataka-college-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.25rem 2rem;
    gap: 2.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.karnataka-college-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(79, 70, 229, 0.1);
    border-color: rgba(79, 70, 229, 0.35);
}

/* Rank Badge */
.karnataka-rank-badge {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: #FFFFFF;
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.karnataka-rank-badge span {
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #94A3B8;
    letter-spacing: 0.5px;
}

.karnataka-rank-badge strong {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

/* Card Left Info Section */
.karnataka-college-info {
    flex-grow: 1;
}

.karnataka-college-info h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.karnataka-college-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.karnataka-college-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.karnataka-college-meta i {
    color: var(--primary);
}

.karnataka-college-desc {
    color: var(--text-main);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0px;
}

/* Package Badge styling */
.package-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245, 158, 11, 0.12);
    color: #D97706;
    border: 1px solid rgba(245, 158, 11, 0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.package-badge i {
    color: #F59E0B !important;
}

/* Flashing Predictor Card Button */
.btn-predictor-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    white-space: nowrap;
    background: linear-gradient(135deg, #FF3D57 0%, #FF8A00 100%);
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(255, 61, 87, 0.35);
    transition: all 0.3s ease;
    animation: predictorGlow 2.5s infinite ease-in-out;
}

.btn-predictor-card:hover {
    background: linear-gradient(135deg, #FF8A00 0%, #FF3D57 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 61, 87, 0.5);
}

/* Pagination visibility classes */
.hidden-rank-card {
    display: none !important;
}

.fade-in-card {
    animation: cardFadeIn 0.5s ease forwards;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Load More Button Wrapper */
.load-more-container {
    text-align: center;
    margin-top: 3rem;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.875rem 2rem;
    font-weight: 700;
    border-radius: 50px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-load-more:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}

/* Responsive adjustment */
@media (max-width: 768px) {
    .karnataka-college-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 1.75rem;
    }
    
    .btn-predictor-card {
        width: 100%;
    }
}

/* ==========================================
   OTP VERIFICATION AND SMS NOTIFICATION
   ========================================== */
.otp-input-group {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.otp-input {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 12px;
    border: 2px solid #cbd5e1;
    background: rgba(255, 255, 255, 0.9);
    outline: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--dark);
}

.otp-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
    background: #ffffff;
    transform: translateY(-2px);
}

/* SMS Notification Banner styling */
.sms-notification-banner {
    position: fixed;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 420px;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    color: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 100000;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.sms-notification-banner.show {
    top: 20px;
}

.sms-icon {
    background: #3b82f6;
    color: #ffffff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

.sms-content {
    flex-grow: 1;
}

.sms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.sms-title {
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    color: #e2e8f0;
}

.sms-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.sms-message {
    font-size: 0.85rem;
    line-height: 1.4;
    color: #f1f5f9;
}

.sms-close {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0;
    transition: color 0.2s ease;
}

.sms-close:hover {
    color: #ffffff;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ==========================================
   PREDICTOR RESULTS DASHBOARD STYLING
   ========================================== */
.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.predictor-dashboard-header {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.predictor-user-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.summary-details h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.summary-details p {
    color: #94a3b8;
    font-size: 1rem;
    margin: 0;
}

.summary-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.summary-badge-item {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.summary-badge-item i {
    font-size: 1.25rem;
    color: #f59e0b;
}

.summary-badge-item span {
    font-size: 0.85rem;
    color: #94a3b8;
    display: block;
}

.summary-badge-item strong {
    font-size: 1.1rem;
    color: #ffffff;
    font-weight: 700;
}

/* Controls and Filters */
.predictor-controls {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 1.5rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1.25rem;
    align-items: center;
}

@media (max-width: 900px) {
    .predictor-controls {
        grid-template-columns: 1fr;
    }
}

.control-search {
    position: relative;
}

.control-search i {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.control-search input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border-radius: 50px;
    border: 2px solid #e2e8f0;
    outline: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.control-search input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.control-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 50px;
    padding: 0.35rem;
    gap: 0.25rem;
}

.tab-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 1rem;
    font-weight: 600;
    font-size: 0.88rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    color: #64748b;
    transition: all 0.2s ease;
    text-align: center;
}

.tab-btn.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
}

.control-filters-checkboxes {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.filter-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
}

/* College Prediction Cards */
.predictions-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
    .predictions-grid-container {
        grid-template-columns: 1fr;
    }
}

.prediction-college-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.prediction-college-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.25);
}

.prediction-college-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px dashed #e2e8f0;
    padding-bottom: 1.25rem;
    margin-bottom: 1.5rem;
}

.college-header-main h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.college-header-main span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.college-header-main span i {
    margin-right: 4px;
}

.college-header-badge {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

.prediction-branches-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.prediction-branch-item {
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background 0.2s ease;
}

.prediction-branch-item:hover {
    background: #f1f5f9;
}

.branch-info-block strong {
    display: block;
    font-size: 0.95rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.branch-cutoffs-display {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.branch-cutoffs-display span {
    margin-right: 8px;
}

.branch-cutoffs-display strong {
    display: inline;
    color: #475569;
}

.branch-chance-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.chance-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.chance-badge.chance-high {
    background: #dcfce7;
    color: #15803d;
}

.chance-badge.chance-medium {
    background: #fef3c7;
    color: #b45309;
}

.chance-badge.chance-dream {
    background: #f3e8ff;
    color: #6b21a8;
}

.chance-meter-bg {
    width: 60px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.chance-meter-fill {
    height: 100%;
    border-radius: 10px;
}

.chance-meter-fill.chance-high {
    background: #22c55e;
    width: 90%;
}

.chance-meter-fill.chance-medium {
    background: #eab308;
    width: 50%;
}

.chance-meter-fill.chance-dream {
    background: #a855f7;
    width: 25%;
}

/* Fallback / No Results Styling */
.no-predictions-card {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.no-predictions-card i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
}

.no-predictions-card h3 {
    font-size: 1.5rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.no-predictions-card p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 480px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* ==========================================
   KARNATAKA COLLEGES OPTIMIZATIONS
   ========================================== */

/* College Card Actions Layout */
.karnataka-college-action {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 240px;
}

/* WhatsApp Card-Level Button styling */
.btn-whatsapp-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.875rem 1.5rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    white-space: nowrap;
    background: #25D366;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.25);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-whatsapp-card:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-card i {
    font-size: 1.1rem;
}

/* Meta Badge Styling */
.karnataka-college-meta span.estd-badge {
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    border: 1px solid rgba(79, 70, 229, 0.15);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.karnataka-college-meta span.estd-badge i {
    color: var(--primary) !important;
}

.karnataka-college-meta span.avg-package-badge {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}

.karnataka-college-meta span.avg-package-badge i {
    color: #10b981 !important;
}

.karnataka-college-meta span.admission-badge {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.8rem;
}

.karnataka-college-meta span.admission-badge i {
    color: #64748b !important;
}

/* Guide Section styling */
.guide-section {
    margin-top: 4rem;
}

.guide-step-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.guide-step-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(0,0,0,0.01);
}

.guide-step-num {
    background: var(--primary);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.guide-step-card h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
}

.guide-step-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Comparison Table Styling */
.guide-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
}

.guide-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: #ffffff;
    text-align: left;
}

.guide-table th {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 1.1rem 1.25rem;
    font-family: 'Outfit', sans-serif;
}

.guide-table td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
}

.guide-table tr:last-child td {
    border-bottom: none;
}

.guide-table tr:nth-child(even) td {
    background-color: #f8fafc;
}

.table-status-pill {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
}

.table-status-pill.open {
    background: #dcfce7;
    color: #15803d;
}

.table-status-pill.limited {
    background: #fef3c7;
    color: #b45309;
}

/* Responsive adjustment */
@media (max-width: 992px) {
    .guide-step-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .karnataka-college-action {
        width: 100%;
        min-width: 0;
    }
    
    .btn-whatsapp-card {
        width: 100%;
    }
    
    .guide-step-grid {
        grid-template-columns: 1fr;
    }
}

/* Scrollable Sidebar styling */
.karnataka-sidebar-column {
    flex: 1;
    min-width: 300px;
    position: sticky;
    top: 9.5rem;
    z-index: 10;
    max-height: calc(100vh - 11rem);
    overflow-y: auto;
    padding-right: 0.5rem;
}

/* Custom scrollbar for sidebar column */
.karnataka-sidebar-column::-webkit-scrollbar {
    width: 6px;
}
.karnataka-sidebar-column::-webkit-scrollbar-track {
    background: transparent;
}
.karnataka-sidebar-column::-webkit-scrollbar-thumb {
    background: rgba(79, 70, 229, 0.25);
    border-radius: 10px;
}
.karnataka-sidebar-column::-webkit-scrollbar-thumb:hover {
    background: rgba(79, 70, 229, 0.45);
}

/* ==========================================
   PHONE AND LAYOUT RESPONSIVE ADJUSTMENTS
   ========================================== */

/* Phone prefix global adjustments - fix overlap with typed number */
.input-icon-wrapper.phone-wrapper .phone-prefix-span {
    font-size: 0.9rem !important; /* Make prefix font size consistent */
}
.input-icon-wrapper.phone-wrapper .form-control {
    padding-left: 4.5rem !important; /* Gives perfect space after +91 prefix globally */
}

/* Karnataka Grid & Layout Columns */
.karnataka-grid-wrapper {
    display: flex;
    gap: 2.5rem;
    align-items: start;
    margin-top: 2rem;
}

.karnataka-left-column {
    flex: 2;
    min-width: 0;
    max-width: 800px;
    width: 100%;
}

/* Callout Banner responsive styles */
.karnataka-callout-banner {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%) !important;
    border-left: 5px solid var(--primary) !important;
    padding: 2rem;
    border-radius: var(--radius);
    margin-top: 0;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.karnataka-callout-banner .banner-info {
    flex: 1;
    min-width: 280px;
}

.karnataka-callout-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.karnataka-callout-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
}

.karnataka-callout-buttons .btn-call-advisor {
    color: white !important;
}

.karnataka-callout-buttons .btn-whatsapp-chat {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: white !important;
}

.karnataka-callout-buttons .btn-whatsapp-chat:hover {
    background: #20ba5a !important;
    border-color: #20ba5a !important;
}

/* Sidebar form control overrides to avoid inline styling */
.karnataka-sidebar-column .form-control {
    font-size: 0.9rem !important;
    padding: 0.65rem 1rem 0.65rem 2.25rem !important;
    height: 42px !important;
}

.karnataka-sidebar-column .phone-wrapper .form-control {
    padding-left: 4.5rem !important;
}

.karnataka-sidebar-column .message-wrapper .form-control {
    height: 70px !important;
    min-height: 70px !important;
    padding-top: 0.65rem !important;
}

.karnataka-sidebar-column button[type="submit"] {
    width: 100% !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 1rem !important;
    margin-top: 0.25rem;
}

.karnataka-sidebar-column .form-status {
    margin-top: 0.75rem;
    font-size: 0.88rem;
}

/* Media Queries for full mobile responsiveness */
@media (max-width: 992px) {
    .karnataka-grid-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .karnataka-left-column {
        max-width: 100%;
    }
    
    .karnataka-sidebar-column {
        position: static !important;
        max-height: none !important;
        overflow-y: visible !important;
        width: 100% !important;
        min-width: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 576px) {
    .karnataka-callout-banner {
        padding: 1.5rem;
    }
    
    .karnataka-callout-banner .banner-info {
        min-width: 100%;
        text-align: center;
    }
    
    .karnataka-callout-banner .banner-info h3 {
        font-size: 1.25rem;
    }
    
    .karnataka-callout-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .karnataka-callout-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .predictor-modal-card {
        padding: 2rem 1.25rem !important;
    }
}

/* Consent Checkbox Styling */
.consent-group {
    margin-top: 0.85rem;
    margin-bottom: 0.85rem;
}

.consent-label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px;
    font-weight: 500 !important;
    font-size: 0.76rem !important;
    color: var(--text-muted) !important;
    line-height: 1.45 !important;
    cursor: pointer;
    text-align: left;
}

.consent-label input[type="checkbox"] {
    margin-top: 2px;
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--primary);
    flex-shrink: 0;
}

/* Mobile Responsiveness Optimizations */
@media (max-width: 768px) {
    .college-meta {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
        justify-content: flex-start !important;
    }
}

@media (max-width: 576px) {
    .prediction-college-card {
        padding: 1.5rem 1.25rem !important;
    }
    
    .prediction-college-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .prediction-branch-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    
    .branch-chance-block {
        align-items: flex-start !important;
        text-align: left !important;
        width: 100% !important;
    }
}








