﻿*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

body{
background:#f6f8fb;
color:#1e293b;
}

.container{
width:1400px;
max-width:95%;
margin:auto;
}

/* ===========================
   HEADER
=========================== */

header{
background:#fff;
border-radius:15px;
margin:15px auto;
box-shadow:0 2px 15px rgba(0,0,0,.08);
overflow:hidden;
}

.navbar{
height:80px;
display:flex;
align-items:center;
justify-content:flex-start;
padding:0 30px;
}

.logo{
display:flex;
align-items:center;
gap:12px;
}

.logo-icon{
font-size:34px;
color:#16a34a;
}

.logo-text h2{
font-size:40px;
font-weight:800;
color:#11813b;
line-height:1;
}

.logo-text span{
font-size:22px;
font-weight:500;
}

.nav-links{
display:flex;
gap:35px;
align-items:center;
}

.nav-links a{
text-decoration:none;
color:#111827;
font-weight:500;
font-size:15px;
}

.nav-links a.active{
color:#16a34a;
border-bottom:3px solid #16a34a;
padding-bottom:22px;
}

.login-btn{
background:#16a34a;
color:white;
padding:14px 24px;
border-radius:10px;
text-decoration:none;
font-weight:600;
}

/* ===========================
   HERO
=========================== */

.hero{
background:#fff;
padding:35px;
border-top:1px solid #e5e7eb;
}

.hero-grid{
display:grid;
grid-template-columns: 1fr 320px;
gap:25px;
}

.hero h1{
font-size:56px;
font-weight:800;
margin-bottom:10px;
}

.hero h1 span{
color:#0f8f57;
}

.hero p{
font-size:18px;
color:#475569;
margin-bottom:25px;
}

/* ===========================
   FORM CARD
=========================== */

.form-card{
border:1px solid #e5e7eb;
border-radius:15px;
overflow:hidden;
background:white;
}

.form-top{
display:grid;
grid-template-columns:1fr 1fr;
padding:25px;
gap:30px;
}

.section-title{
font-size:18px;
font-weight:700;
margin-bottom:20px;
}

.section-title.green{
color:#16a34a;
}

.section-title.blue{
color:#2563eb;
}

.radio-row{
display:flex;
gap:25px;
margin-bottom:20px;
}

.input-group{
margin-bottom:18px;
}

.input-group label{
display:block;
font-size:14px;
font-weight:600;
margin-bottom:8px;
}

.input-group input,
.input-group select{
width:100%;
height:50px;
border:1px solid #d1d5db;
border-radius:8px;
padding:0 15px;
font-size:15px;
}

.row{
display:grid;
grid-template-columns:1fr 1fr 1fr;
gap:15px;
}

.predict-btn{
width:100%;
height:60px;
border:none;
background:#16a34a;
color:white;
font-size:22px;
font-weight:700;
cursor:pointer;
}

.predict-btn i{
margin-right:10px;
}

.safe-text{
padding:15px;
text-align:center;
font-size:14px;
color:#64748b;
}

.safe-text span{
margin:0 10px;
}

/* ===========================
   RIGHT AI CARD
=========================== */

.ai-card{
background:white;
border:1px solid #d8cfff;
border-radius:18px;
overflow:hidden;
}

.ai-header{
padding:25px;
display:flex;
gap:15px;
align-items:center;
border-bottom:1px solid #ede9fe;
}

.ai-icon{
width:70px;
height:70px;
border-radius:50%;
background:#f3f0ff;
display:flex;
justify-content:center;
align-items:center;
font-size:32px;
color:#7c3aed;
}

.ai-title{
font-size:21px;
font-weight:700;
color:#4c1d95;
}

.ai-sub{
font-size:14px;
margin-top:5px;
color:#64748b;
}

.ai-features{
padding:25px;
}

.ai-features ul{
list-style:none;
}

.ai-features li{
margin-bottom:18px;
display:flex;
align-items:center;
gap:10px;
font-size:15px;
}

.ai-features i{
color:#16a34a;
}

.ai-btn{
margin:20px;
height:55px;
border:none;
width:calc(100% - 40px);
background:#7c3aed;
color:white;
border-radius:10px;
font-size:17px;
font-weight:700;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
text-decoration:none;
text-align:center;
}

.ai-copy{
padding:20px 25px 0;
font-size:14px;
line-height:22px;
color:#475569;
}

.ai-trust{
margin:0 20px 20px;
padding:16px;
border-radius:12px;
background:#fff7ed;
border:1px solid #fed7aa;
font-size:14px;
line-height:22px;
color:#334155;
}

.ai-trust strong{
display:block;
font-size:16px;
color:#c2410c;
margin-bottom:8px;
}

.ai-robot-label{
display:flex;
align-items:center;
gap:8px;
padding:0 25px 15px;
font-weight:700;
color:#4c1d95;
}

/* ===========================
   STATS
=========================== */

.stats{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:25px;
}

.stat-card{
background:white;
border-radius:15px;
padding:25px;
display:flex;
gap:15px;
align-items:center;
border:1px solid #e5e7eb;
text-align:left;
cursor:pointer;
width:100%;
}

button.stat-card{
appearance:none;
-webkit-appearance:none;
font:inherit;
color:inherit;
}

.stat-card:hover{
border-color:#16a34a;
box-shadow:0 8px 24px rgba(22,163,74,.12);
}

.stat-card.active{
border-color:#16a34a;
box-shadow:0 10px 28px rgba(22,163,74,.18);
background:#f7fff9;
}

.stat-icon{
width:60px;
height:60px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:28px;
}

.green{background:#dcfce7;color:#16a34a;}
.orange{background:#ffedd5;color:#f59e0b;}
.red{background:#fee2e2;color:#ef4444;}
.purple{background:#ede9fe;color:#7c3aed;}

.stat-number{
font-size:38px;
font-weight:800;
}

.stat-title{
font-size:18px;
font-weight:700;
}


.filter-select{
height:52px;
border:1px solid #dbe2ea;
border-radius:10px;
padding:0 15px;
background:white;
width:100%;
}

.search-box{
height:52px;
background:white;
border:1px solid #dbe2ea;
border-radius:10px;
display:flex;
align-items:center;
padding:0 15px;
}

.search-box input{
border:none;
outline:none;
width:100%;
padding-left:10px;
}

.search-btn{
width:42px;
height:38px;
border:none;
border-radius:8px;
background:#16a34a;
color:white;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
}

.clear-search-btn{
width:42px;
height:38px;
border:none;
border-radius:8px;
background:#f1f5f9;
color:#475569;
cursor:pointer;
display:flex;
align-items:center;
justify-content:center;
margin-left:6px;
}

.clear-search-btn:hover{
background:#e2e8f0;
color:#111827;
}

.ad-slot{
margin:22px 0;
padding:8px 0;
min-height:90px;
overflow:hidden;
text-align:center;
}

.results-grid{
display:grid;
grid-template-columns:1fr 330px;
gap:25px;
margin-top:25px;
}

.results-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:15px;
}

.results-header h2{
font-size:28px;
margin-bottom:5px;
}

.download-btn{
background:#22c55e;
color:white;
border:none;
padding:12px 20px;
border-radius:8px;
}

.college-card{
background:white;
border-radius:15px;
border:1px solid #e5e7eb;
padding:0;
margin-bottom:20px;
overflow:hidden;
}

.college-top{
display:flex;
align-items:center;
justify-content:space-between;
gap:16px;
padding:20px;
margin-bottom:0;
}

.college-rank{
width:50px;
height:50px;
border-radius:50%;
background:#16a34a;
color:white;
font-weight:700;
display:flex;
align-items:center;
justify-content:center;
}

.orange-bg{
background:#f59e0b;
}

.blue-bg{
background:#3b82f6;
}

.college-info h3{
font-size:28px;
line-height:34px;
text-align:left;
}

.college-info{
flex:1;
text-align:left;
}

.type-badge{
font-size:12px;
padding:4px 10px;
border-radius:30px;
margin-left:10px;
white-space:nowrap;
vertical-align:middle;
font-weight:700;
}

.type-private{
background:#e0f2fe;
color:#0369a1;
}

.type-university{
background:#f3e8ff;
color:#7e22ce;
}

.type-govt{
background:#dcfce7;
color:#15803d;
}

.type-self{
background:#fef3c7;
color:#b45309;
}

.type-aided{
background:#ede9fe;
color:#5b21b6;
}

.type-other{
background:#f1f5f9;
color:#475569;
}

.details-btn{
border:1px solid #16a34a;
background:white;
color:#16a34a;
padding:12px 18px;
border-radius:8px;
}

.course-table{
width:100%;
border-collapse:collapse;
}

.course-table th{
background:#f8fafc;
padding:12px;
text-align:left;
font-size:13px;
font-weight:700;
color:#334155;
}

.course-table td{
padding:12px;
border-top:1px solid #eef2f7;
font-size:14px;
vertical-align:middle;
}

.course-code{
display:inline-flex;
min-width:58px;
height:24px;
align-items:center;
justify-content:center;
border-radius:7px;
background:#0ea5e9;
color:white;
font-weight:800;
font-size:12px;
padding:0 8px;
}

.course-name{
font-weight:600;
color:#1e293b;
}

.intake-badge{
display:inline-flex;
margin-top:6px;
height:22px;
align-items:center;
border-radius:999px;
background:#eef2ff;
color:#3730a3;
font-size:12px;
font-weight:800;
padding:0 9px;
}

.last-rank{
font-weight:800;
color:#047857;
}

.fee-text{
font-weight:700;
color:#1e293b;
}

.vacancy-dot{
width:10px;
height:10px;
border-radius:50%;
display:inline-block;
background:#16a34a;
margin-right:7px;
}

.chance{
padding:6px 12px;
border-radius:20px;
font-size:12px;
font-weight:600;
}

.safe,
.high{
background:#dcfce7;
color:#16a34a;
}

.moderate,
.medium{
background:#fef3c7;
color:#d97706;
}

.dream,
.low{
background:#fee2e2;
color:#ef4444;
}

.alert-modal-overlay{
position:fixed;
left:0;
top:0;
right:0;
bottom:0;
background:rgba(15,23,42,.55);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
}

.alert-modal{
width:420px;
max-width:100%;
background:white;
border-radius:14px;
box-shadow:0 24px 70px rgba(15,23,42,.25);
overflow:hidden;
}

.alert-modal-head{
display:flex;
align-items:center;
gap:12px;
padding:18px 20px;
border-bottom:1px solid #e5e7eb;
font-weight:800;
font-size:20px;
}

.alert-modal-head i{
color:#ef4444;
}

.alert-modal-body{
padding:22px 20px;
font-size:16px;
line-height:24px;
color:#334155;
}

.alert-modal-actions{
padding:0 20px 20px;
display:flex;
justify-content:flex-end;
}

.alert-modal-actions button{
border:none;
background:#16a34a;
color:white;
font-weight:700;
border-radius:8px;
height:42px;
padding:0 22px;
cursor:pointer;
}

.green-dot,
.orange-dot{
width:10px;
height:10px;
display:inline-block;
border-radius:50%;
margin-right:5px;
}

.green-dot{
background:#16a34a;
}

.orange-dot{
background:#f59e0b;
}

.side-card,
.insight-card,
.whatsapp-card,
.help-card{
background:white;
padding:20px;
border-radius:15px;
border:1px solid #e5e7eb;
margin-bottom:20px;
}

.profile-row{
display:flex;
justify-content:space-between;
padding:10px 0;
border-bottom:1px solid #f1f5f9;
}

.orange-btn{
width:100%;
height:50px;
background:#f59e0b;
border:none;
color:white;
font-weight:700;
border-radius:8px;
margin-top:15px;
}

.green-btn{
width:100%;
height:48px;
background:#16a34a;
border:none;
color:white;
border-radius:8px;
}

.purple-btn{
width:100%;
height:48px;
background:#7c3aed;
border:none;
color:white;
border-radius:8px;
}

.view-more-wrap{
text-align:center;
margin-top:15px;
}

.view-more-btn{
padding:12px 40px;
border:1px solid #16a34a;
background:white;
color:#16a34a;
border-radius:10px;
}
.insight-card{
background:white;
}

.insight-card{
background:#fffdf8;
border:1px solid #fde3a7;
border-radius:16px;
padding:20px;
box-shadow:none;
}

.whatsapp-card{
background:white;
}

.whatsapp-card{
background:#f4fbf6;
border:1px solid #e3f4e7;
border-radius:16px;
padding:20px;
}

.ai-list{
list-style:none;
padding:0;
margin-top:15px;
}

.ai-list li{
display:flex;
align-items:flex-start;
gap:10px;
margin-bottom:14px;
font-size:15px;
line-height:22px;
}

.ai-list i{
color:#16a34a;
margin-top:3px;
}

.orange-btn{
width:100%;
height:54px;
background:#f59e0b;
border:none;
border-radius:8px;
font-weight:700;
font-size:16px;
color:white;
margin-top:20px;
}

.side-card{
background:white;
border:1px solid #e5e7eb;
border-radius:16px;
padding:22px;
}

.side-card h3{
font-size:22px;
margin-bottom:20px;
color:#111827;
}

.side-card h3 i{
color:#16a34a;
margin-right:8px;
}

.why-section{
background:white;
margin-top:25px;
padding:35px;
border-radius:18px;
border:1px solid #e5e7eb;
}

.why-section h2{
font-size:30px;
font-weight:700;
margin-bottom:30px;
}

.why-grid{
display:grid;
grid-template-columns:repeat(6,1fr);
gap:25px;
}

.why-item{
text-align:center;
}

.why-icon{
width:64px;
height:64px;
margin:auto;
background:#effdf4;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:#16a34a;
font-size:26px;
margin-bottom:15px;
}

.why-item h4{
margin-bottom:10px;
font-size:16px;
}

.why-item p{
font-size:13px;
color:#64748b;
line-height:20px;
}

.footer{
margin-top:25px;
background:#111827;
color:white;
padding:50px;
border-radius:18px;
}

.seo-section{
background:white;
margin:25px auto 0;
padding:35px;
border-radius:18px;
border:1px solid #e5e7eb;
}

.seo-section h2{
font-size:30px;
line-height:38px;
margin-bottom:16px;
color:#111827;
}

.seo-section h3{
font-size:22px;
line-height:30px;
margin:24px 0 10px;
color:#111827;
}

.seo-section p{
font-size:15px;
line-height:26px;
color:#475569;
margin-bottom:12px;
}

.seo-section ul{
padding-left:20px;
color:#475569;
font-size:15px;
line-height:27px;
}

.footer-grid{
display:grid;
grid-template-columns:2fr 1fr 1fr 1fr;
gap:40px;
}

.footer ul{
list-style:none;
padding:0;
}

.footer li{
margin-bottom:12px;
}

.footer-bottom{
margin-top:30px;
padding-top:20px;
border-top:1px solid rgba(255,255,255,.15);
text-align:center;
}

@media(max-width:991px){

.container{
max-width:100%;
padding:10px;
}

.hero-grid,
.results-grid{
grid-template-columns:1fr;
}

.stats{
grid-template-columns:1fr 1fr;
}

.why-grid{
grid-template-columns:1fr 1fr;
}

.footer-grid{
grid-template-columns:1fr;
}

.navbar{
height:auto;
padding:18px;
}

.logo-text h2{
font-size:32px;
}

.logo-text span{
font-size:18px;
}

.hero{
padding:22px;
}

.hero h1{
font-size:42px;
line-height:50px;
}

.form-top{
grid-template-columns:1fr;
}

.row{
grid-template-columns:1fr;
}

.nav-links{
display:none;
}

.college-top{
flex-direction:column;
align-items:flex-start;
gap:15px;
}

.details-btn{
width:100%;
}

.course-table{
display:block;
overflow-x:auto;
white-space:nowrap;
}

div[style*="grid-template-columns:180px 180px 180px 220px 1fr"]{
grid-template-columns:1fr 1fr !important;
}

}

@media(max-width:576px){

html,
body{
width:100%;
max-width:100%;
overflow-x:hidden;
}

body{
background:#fff;
}

header{
margin:0 auto;
border-radius:0;
}

.container{
padding:8px;
max-width:100%;
overflow:hidden;
}

.navbar{
padding:14px 12px;
}

.logo{
gap:8px;
}

.logo-icon{
font-size:28px;
}

.logo-text h2{
font-size:28px;
}

.logo-text span{
font-size:15px;
}

.hero{
padding:16px 12px;
}

.hero h1{
font-size:32px;
line-height:40px;
}

.hero p{
font-size:15px;
line-height:23px;
}

.ai-card{
display:none;
}

.stats{
grid-template-columns:1fr;
gap:12px;
}

.stat-card{
padding:18px;
}

.stat-number{
font-size:30px;
}

div[style*="grid-template-columns:180px 180px 180px 220px 1fr"]{
grid-template-columns:1fr !important;
gap:10px !important;
}

.search-box{
padding:0 8px;
}

.search-box input{
font-size:13px;
padding-left:8px;
}

.results-header{
align-items:stretch;
overflow:hidden;
}

.results-header h2{
font-size:24px;
line-height:31px;
word-break:break-word;
overflow-wrap:anywhere;
}

.results-header p{
font-size:14px;
}

.download-btn{
width:100%;
height:44px;
margin-top:8px;
}

.college-card{
border-radius:12px;
}

.college-top{
align-items:flex-start;
padding:16px 14px;
display:grid;
grid-template-columns:46px minmax(0,1fr);
}

.college-rank{
width:42px;
height:42px;
font-size:13px;
flex:0 0 42px;
}

.college-info h3{
font-size:21px;
line-height:28px;
word-break:break-word;
overflow-wrap:anywhere;
}

.college-meta{
font-size:13px;
line-height:20px;
white-space:normal;
word-break:break-word;
overflow-wrap:anywhere;
}

.type-badge{
display:inline-flex;
margin-left:0;
margin-top:8px;
}

.right-sidebar{
order:2;
}

.left-results{
order:1;
}

.course-table,
.course-table thead,
.course-table tbody,
.course-table tr,
.course-table td{
display:block;
width:100%;
}

.course-table thead{
display:none;
}

.course-table tr{
display:grid;
grid-template-columns:minmax(0,1fr) 102px;
gap:10px;
padding:13px 12px;
border-top:1px solid #eef2f7;
}

.course-table td{
border-top:none;
padding:0;
font-size:12px;
white-space:normal;
}

.course-table td:nth-child(1){
grid-column:1;
grid-row:2;
display:inline-flex;
width:auto;
margin-top:8px;
}

.course-table td:nth-child(2){
grid-column:1;
grid-row:1;
min-width:0;
}

.course-table td:nth-child(3){
grid-column:2;
grid-row:1;
text-align:right;
}

.course-table td:nth-child(4){
grid-column:2;
grid-row:2;
text-align:right;
padding-top:8px;
}

.course-table td:nth-child(5){
grid-column:2;
grid-row:3;
text-align:right;
padding-top:9px;
}

.course-table td:nth-child(6){
display:none;
}

.course-table td:nth-child(3)::before{
content:"Rank";
display:block;
font-size:10px;
font-weight:700;
color:#64748b;
margin-bottom:3px;
}

.course-table td:nth-child(4)::before{
content:"Chance";
display:block;
font-size:10px;
font-weight:700;
color:#64748b;
margin-bottom:4px;
}

.course-table td:nth-child(5)::before{
content:"Fee";
display:block;
font-size:10px;
font-weight:700;
color:#64748b;
margin-bottom:3px;
}

.course-table td:nth-child(4) .chance{
background:transparent;
padding:0;
border-radius:0;
font-size:13px;
font-weight:800;
}

.course-code{
min-width:50px;
font-size:11px;
}

.course-name{
font-size:12px;
line-height:17px;
}

.intake-badge{
font-size:11px;
padding:0 7px;
}

.why-grid{
grid-template-columns:1fr;
}

.results-header{
flex-direction:column;
align-items:flex-start;
gap:10px;
}

.hero h1{
font-size:38px;
}

}


