/*====================================================
 EduConnect Admission Portal
 Professional CSS
 Version : 2.0
 Part-1
======================================================*/
/*====================================================
ROOT VARIABLES
======================================================*/
:root{
--primary:#0d6efd;
--primary-dark:#0b5ed7;
--secondary:#198754;
--warning:#ffc107;
--danger:#dc3545;
--dark:#222;
--text:#666;
--light:#f8f9fa;
--white:#ffffff;
--radius:18px;
--shadow:0 10px 35px rgba(0,0,0,.08);
--shadow-lg:0 20px 45px rgba(0,0,0,.15);
--transition:.35s;
}
/*====================================================
RESET
======================================================*/
*{
margin:0;
padding:0;
box-sizing:border-box;
}
html{
scroll-behavior:smooth;
}
body{
font-family:'Segoe UI',sans-serif;
font-size:16px;
font-weight:400;
color:var(--text);
background:#fff;
overflow-x:hidden;
line-height:1.7;
}
img{
max-width:100%;
display:block;
}
a{
text-decoration:none;
transition:var(--transition);
}
ul{
margin:0;
padding:0;
list-style:none;
}
section{
padding:90px 0;
}
.container{
max-width:1320px;
}
/*====================================================
COMMON
======================================================*/
.section-title{
font-size:46px;
font-weight:700;
color:var(--dark);
margin-bottom:15px;
}
.section-subtitle{
display:inline-block;
color:var(--primary);
font-weight:700;
letter-spacing:1px;
text-transform:uppercase;
margin-bottom:12px;
}
.section-desc{
max-width:700px;
margin:auto;
color:#777;
font-size:18px;
}
.card{
border:none;
border-radius:var(--radius);
box-shadow:var(--shadow);
transition:var(--transition);
}
.card:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
/*====================================================
BUTTONS
======================================================*/
.btn{
border-radius:10px;
padding:12px 28px;
font-weight:600;
transition:.3s;
}
.btn-primary{
background:var(--primary);
border:none;
}
.btn-primary:hover{
background:var(--primary-dark);
transform:translateY(-2px);
}
.btn-outline-primary:hover{
transform:translateY(-2px);
}
/*====================================================
TOPBAR
======================================================*/
.topbar{
background:var(--primary);
height:45px;
display:flex;
align-items:center;
font-size:15px;
color:#fff;
}
.topbar a{
color:#fff;
}
.topbar i{
margin-right:6px;
}
.social-icons a{
display:inline-flex;
align-items:center;
justify-content:center;
width:34px;
height:34px;
border-radius:50%;
color:#fff;
margin-left:8px;
transition:.3s;
}
.social-icons a:hover{
background:#fff;
color:var(--primary);
}
/*====================================================
HEADER
======================================================*/
header{
position:sticky;
top:0;
z-index:999;
background:#fff;
box-shadow:0 2px 18px rgba(0,0,0,.08);
}
.navbar{
padding:12px 0;
background:#fff;
}
.logo{
height:62px;
width:auto;
transition:.3s;
}
.logo:hover{
transform:scale(1.03);
}
/*====================================================
NAVBAR
======================================================*/
.navbar-nav .nav-link{
font-size:17px;
font-weight:500;
color:#333;
padding:12px 18px;
position:relative;
}
.navbar-nav .nav-link:hover{
color:var(--primary);
}
.navbar-nav .nav-link.active{
color:var(--primary);
}
.navbar-nav .nav-link::after{
content:"";
position:absolute;
bottom:5px;
left:18px;
width:0;
height:2px;
background:var(--primary);
transition:.3s;
}
.navbar-nav .nav-link:hover::after{
width:40%;
}
.apply-btn{
padding:12px 28px;
font-size:16px;
border-radius:10px;
}
/*====================================================
HERO SECTION
======================================================*/
.hero-section{
position:relative;
margin-top:0;
overflow:hidden;
padding-top:0 !important;
}
.hero-image,
.hero-img{
display:block;
    width:100%;
    height:650px;
    object-fit:cover;
}
.carousel-item{
position:relative;
}
.carousel-item::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,.50);
z-index:1;
}
.carousel-caption{
position:absolute;
left:0;
right:0;
top:0;
bottom:0;
display:flex;
align-items:center;
z-index:5;
text-align:left;
padding:0 8%;
background:none;
}
.hero-subtitle{
display:inline-block;
padding:8px 22px;
background:rgba(13,110,253,.95);
color:#fff;
border-radius:30px;
font-size:15px;
font-weight:600;
margin-bottom:20px;
}
.carousel-caption h1{
font-size:64px;
font-weight:700;
line-height:1.15;
color:#fff;
margin-bottom:20px;
max-width:720px;
}
.carousel-caption p{
font-size:20px;
color:#f1f1f1;
max-width:650px;
margin-bottom:30px;
}
.hero-btns .btn{
margin-right:12px;
margin-top:8px;
}
.carousel-control-prev,
.carousel-control-next{
width:60px;
}
.carousel-indicators button{
width:12px;
height:12px;
border-radius:50%;
margin:0 5px;
}
/*====================================================
 HERO SEARCH
====================================================*/
.hero-search{
    position:relative;
    margin-top:-110px;
    z-index:100;
    margin-bottom:90px;
}
.hero-search .card{
    background:#fff;
    border:none;
    border-radius:25px;
    padding:40px;
    box-shadow:0 25px 60px rgba(0,0,0,.15);
}
.hero-search h2{
    font-size:46px;
    font-weight:700;
    color:#222;
    margin-bottom:10px;
}
.hero-search p{
    color:#777;
    font-size:18px;
    margin-bottom:30px;
}
.hero-search .form-select,
.hero-search .form-control{
    height:58px;
    border-radius:12px;
    border:1px solid #ddd;
    font-size:16px;
}
.hero-search .form-select:focus,
.hero-search .form-control:focus{
    border-color:var(--primary);
    box-shadow:none;
}
.hero-search .btn{
    height:58px;
    font-size:20px;
    border-radius:12px;
}
.course-tag{
display:inline-block;
padding:9px 18px;
margin:5px;
border-radius:30px;
font-size:15px;
font-weight:600;
transition:.3s;
}
.course-tag:hover{
transform:translateY(-3px);
}
/*====================================================
 COUNTERS
====================================================*/
.counter-section{
background:#fff;
}
.counter-box{
text-align:center;
padding:35px 20px;
}
.counter-icon{
width:90px;
height:90px;
margin:auto;
border-radius:50%;
background:#eef4ff;
display:flex;
align-items:center;
justify-content:center;
font-size:38px;
color:var(--primary);
margin-bottom:20px;
}
.counter{
font-size:52px;
font-weight:700;
color:var(--primary);
margin-bottom:10px;
}
.counter-box h5{
font-size:22px;
font-weight:700;
color:#222;
margin-bottom:10px;
}
.counter-box p{
margin:0;
color:#666;
}
/*====================================================
 FEATURE BOX
====================================================*/
.feature-box{
background:#fff;
padding:35px 25px;
text-align:center;
border-radius:20px;
box-shadow:var(--shadow);
transition:.35s;
height:100%;
}
.feature-box:hover{
transform:translateY(-10px);
box-shadow:var(--shadow-lg);
}
.feature-icon{
width:90px;
height:90px;
margin:auto;
margin-bottom:25px;
background:linear-gradient(135deg,#0d6efd,#3f8cff);
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
color:#fff;
font-size:36px;
}
.feature-box h4{
font-size:22px;
font-weight:700;
margin-bottom:15px;
color:#222;
}
.feature-box p{
font-size:15px;
color:#666;
line-height:28px;
}
/*====================================================
 POPULAR CATEGORY
====================================================*/
.category-box{
background:#fff;
padding:35px 20px;
border-radius:20px;
text-align:center;
transition:.35s;
box-shadow:var(--shadow);
height:100%;
}
.category-box:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
.course-icon{
width:80px;
height:80px;
margin:auto;
margin-bottom:22px;
border-radius:50%;
background:#eef4ff;
display:flex;
align-items:center;
justify-content:center;
transition:.35s;
}
.course-icon i{
font-size:36px;
color:var(--primary);
}
.category-box:hover .course-icon{
background:var(--primary);
}
.category-box:hover .course-icon i{
color:#fff;
}
.category-box h5{
font-size:20px;
font-weight:700;
margin-bottom:10px;
color:#222;
}
.category-box p{
font-size:15px;
color:#666;
margin-bottom:20px;
}
.category-box .btn{
border-radius:30px;
}
/*====================================================
 ADMISSION PROCESS
====================================================*/
.process-card{
position:relative;
background:#fff;
padding:45px 25px;
border-radius:20px;
text-align:center;
box-shadow:var(--shadow);
transition:.35s;
height:100%;
}
.process-card:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
.process-number{
position:absolute;
right:20px;
top:18px;
font-size:55px;
font-weight:700;
color:#edf0f4;
}
.process-icon{
width:95px;
height:95px;
margin:auto;
margin-bottom:25px;
border-radius:50%;
background:linear-gradient(135deg,#0d6efd,#4b9cff);
display:flex;
align-items:center;
justify-content:center;
font-size:40px;
color:#fff;
}
.process-card h5{
font-size:22px;
font-weight:700;
margin-bottom:15px;
color:#222;
}
.process-card p{
font-size:15px;
color:#666;
line-height:28px;
}
/*====================================================
 SECTION BACKGROUND
====================================================*/
.bg-light-blue{
background:#f7fbff;
}
.bg-gradient{
background:linear-gradient(135deg,#0d6efd,#0b5ed7);
color:#fff;
}
/*====================================================
 FEATURED UNIVERSITIES
====================================================*/
.university-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:var(--shadow);
transition:.35s;
height:100%;
}
.university-card:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
.university-logo{
height:180px;
width:100%;
padding:20px;
background:#fff;
object-fit:contain;
border-bottom:1px solid #eee;
}
.university-card .card-body{
padding:25px;
}
.university-card h5{
font-size:22px;
font-weight:700;
color:#222;
margin-bottom:10px;
min-height:60px;
}
.university-card p{
color:#666;
margin-bottom:8px;
}
.university-card .badge{
padding:8px 15px;
font-size:13px;
border-radius:30px;
}
.university-card .btn{
width:100%;
margin-top:15px;
border-radius:10px;
}
/*====================================================
 TOP COURSES
====================================================*/
.course-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:var(--shadow);
transition:.35s;
height:100%;
}
.course-card:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
.course-img{
height:220px;
width:100%;
object-fit:cover;
}
.course-card .card-body{
padding:25px;
}
.course-card h5{
font-size:22px;
font-weight:700;
color:#222;
margin-bottom:15px;
min-height:55px;
}
.course-card ul{
margin:20px 0;
padding:0;
}
.course-card ul li{
padding:8px 0;
font-size:15px;
border-bottom:1px solid #eee;
color:#555;
}
.course-card ul li:last-child{
border:none;
}
.course-card .btn{
width:100%;
margin-top:15px;
}
/*====================================================
 SCHOLARSHIPS
====================================================*/
.scholarship-card{
background:#fff;
padding:40px 30px;
text-align:center;
border-radius:20px;
box-shadow:var(--shadow);
transition:.35s;
height:100%;
}
.scholarship-card:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
.scholarship-icon{
width:95px;
height:95px;
margin:auto;
margin-bottom:25px;
border-radius:50%;
background:linear-gradient(135deg,#ffc107,#ff9800);
display:flex;
align-items:center;
justify-content:center;
font-size:42px;
color:#fff;
}
.scholarship-card h4{
font-weight:700;
margin-bottom:15px;
}
.scholarship-card p{
color:#666;
line-height:28px;
margin-bottom:25px;
}
/*====================================================
 TESTIMONIALS
====================================================*/
.testimonial-card{
background:#fff;
border-radius:20px;
padding:40px;
box-shadow:var(--shadow);
text-align:center;
}
.testimonial-card img{
width:100px;
height:100px;
border-radius:50%;
object-fit:cover;
margin:auto;
margin-bottom:20px;
border:5px solid #eef4ff;
}
.testimonial-card h5{
font-size:22px;
font-weight:700;
margin-bottom:5px;
color:#222;
}
.testimonial-card small{
display:block;
margin-bottom:20px;
color:#888;
}
.testimonial-card p{
font-size:16px;
color:#666;
line-height:30px;
}
.testimonial-card .stars{
margin-bottom:20px;
color:#ffc107;
font-size:20px;
}
/*====================================================
 BLOGS
====================================================*/
.blog-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:var(--shadow);
transition:.35s;
height:100%;
}
.blog-card:hover{
transform:translateY(-8px);
box-shadow:var(--shadow-lg);
}
.blog-card img{
height:240px;
width:100%;
object-fit:cover;
}
.blog-card .card-body{
padding:25px;
}
.blog-card .date{
font-size:14px;
color:#999;
margin-bottom:12px;
}
.blog-card h5{
font-size:22px;
font-weight:700;
color:#222;
margin-bottom:15px;
line-height:1.4;
}
.blog-card p{
font-size:15px;
color:#666;
line-height:28px;
margin-bottom:20px;
}
.blog-card a{
font-weight:600;
}
/*====================================================
 COMMON HOVER EFFECT
====================================================*/
.university-card,
.course-card,
.blog-card,
.testimonial-card,
.scholarship-card{
transition:.35s;
}
.university-card:hover,
.course-card:hover,
.blog-card:hover,
.testimonial-card:hover,
.scholarship-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 45px rgba(0,0,0,.15);
}
/*====================================================
 FAQ
====================================================*/
.faq-section{
background:#f8fbff;
}
.accordion-item{
border:none;
margin-bottom:15px;
border-radius:15px !important;
overflow:hidden;
box-shadow:var(--shadow);
}
.accordion-button{
padding:20px 25px;
font-size:18px;
font-weight:600;
background:#fff;
color:#222;
box-shadow:none !important;
}
.accordion-button:not(.collapsed){
background:var(--primary);
color:#fff;
}
.accordion-body{
padding:25px;
line-height:30px;
color:#666;
}
/*====================================================
 CTA SECTION
====================================================*/
.cta-section{
padding:80px 0;
background:linear-gradient(135deg,#0d6efd,#0056d6);
color:#fff;
position:relative;
overflow:hidden;
}
.cta-section::before{
content:"";
position:absolute;
width:350px;
height:350px;
background:rgba(255,255,255,.08);
border-radius:50%;
top:-120px;
right:-100px;
}
.cta-section::after{
content:"";
position:absolute;
width:250px;
height:250px;
background:rgba(255,255,255,.06);
border-radius:50%;
bottom:-100px;
left:-80px;
}
.cta-section h2{
font-size:46px;
font-weight:700;
margin-bottom:20px;
position:relative;
z-index:2;
}
.cta-section p{
font-size:18px;
margin-bottom:30px;
position:relative;
z-index:2;
}
.cta-section .btn{
padding:15px 35px;
font-size:18px;
border-radius:12px;
position:relative;
z-index:2;
}
/*====================================================
 NEWSLETTER
====================================================*/
.newsletter-box{
background:#fff;
padding:40px;
border-radius:20px;
box-shadow:var(--shadow-lg);
margin-top:-70px;
position:relative;
z-index:10;
}
.newsletter-box h3{
font-weight:700;
margin-bottom:10px;
}
.newsletter-box .form-control{
height:55px;
border-radius:10px;
}
.newsletter-box .btn{
height:55px;
}
/*====================================================
 FOOTER
====================================================*/
.footer{
background:#111827;
color:#d1d5db;
padding:80px 0 25px;
}
.footer-logo{
height:70px;
margin-bottom:20px;
}
.footer h5{
color:#fff;
font-weight:700;
margin-bottom:25px;
}
.footer p{
line-height:30px;
}
.footer ul{
padding:0;
margin:0;
list-style:none;
}
.footer ul li{
margin-bottom:12px;
}
.footer ul li a{
color:#d1d5db;
transition:.3s;
}
.footer ul li a:hover{
color:#fff;
padding-left:8px;
}
.footer-contact i{
width:30px;
color:var(--primary);
}
.footer-social{
margin-top:25px;
}
.footer-social a{
display:inline-flex;
width:42px;
height:42px;
align-items:center;
justify-content:center;
background:#1f2937;
color:#fff;
border-radius:50%;
margin-right:10px;
transition:.3s;
}
.footer-social a:hover{
background:var(--primary);
transform:translateY(-4px);
}
.footer hr{
border-color:#2d3748;
margin:40px 0 25px;
}
.footer-bottom{
text-align:center;
font-size:15px;
color:#9ca3af;
}
/*====================================================
 BACK TO TOP
====================================================*/
#scrollTop{
position:fixed;
right:25px;
bottom:25px;
width:50px;
height:50px;
background:var(--primary);
color:#fff;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
cursor:pointer;
box-shadow:var(--shadow);
transition:.3s;
opacity:0;
visibility:hidden;
z-index:999;
}
#scrollTop.show{
opacity:1;
visibility:visible;
}
#scrollTop:hover{
background:var(--primary-dark);
transform:translateY(-4px);
}
/*====================================================
 UTILITIES
====================================================*/
.bg-primary-light{
background:#eef4ff;
}
.rounded-20{
border-radius:20px;
}
.shadow-lg{
box-shadow:var(--shadow-lg);
}
.text-primary{
color:var(--primary)!important;
}
.fw-700{
font-weight:700;
}
/*====================================================
 RESPONSIVE
====================================================*/
@media(max-width:1199px){
.section-title{
font-size:40px;
}
.carousel-caption h1{
font-size:54px;
}
.hero-image,
.hero-img{
height:650px;
}
}
@media(max-width:991px){
section{
padding:70px 0;
}
.logo{
height:55px;
}
.hero-image,
.hero-img{
height:520px;
}
.carousel-caption{
text-align:center;
justify-content:center;
padding:30px;
}
.carousel-caption h1{
font-size:40px;
margin:auto;
}
.carousel-caption p{
font-size:17px;
margin:auto auto 25px;
}
.hero-search{
margin-top:-60px;
}
.hero-search .card{
padding:30px;
}
.hero-search h2{
font-size:32px;
}
.section-title{
font-size:34px;
}
.cta-section h2{
font-size:34px;
}
.newsletter-box{
margin-top:30px;
}
}
@media(max-width:767px){
.hero-image,
.hero-img{
height:450px;
}
.carousel-caption h1{
font-size:30px;
}
.carousel-caption p{
font-size:15px;
}
.section-title{
font-size:28px;
}
.hero-search{
margin-top:20px;
margin-bottom:50px;
}
.hero-search .card{
padding:25px;
}
.hero-search h2{
font-size:26px;
}
.counter{
font-size:38px;
}
.feature-box,
.process-card,
.category-box,
.course-card,
.university-card{
margin-bottom:25px;
}
.footer{
text-align:center;
}
.footer-social{
justify-content:center;
}
}
@media(max-width:576px){
.hero-image,
.hero-img{
height:380px;
}
.logo{
height:48px;
}
.btn{
padding:12px 22px;
font-size:15px;
}
.hero-search .btn{
height:50px;
}
.hero-search .form-control,
.hero-search .form-select{
height:50px;
}
.section-title{
font-size:24px;
}
.cta-section h2{
font-size:28px;
}
.newsletter-box{
padding:25px;
}
}
.top-login-btn{
    background:linear-gradient(135deg,#ff9800,#ff5722);
    color:#fff !important;
    padding:8px 22px;
    border-radius:30px;
    font-weight:600;
    text-decoration:none;
    transition:.35s;
    box-shadow:0 5px 15px rgba(0,0,0,.25);
}

.top-login-btn:hover{
    transform:translateY(-2px);
    color:#fff !important;
    box-shadow:0 10px 25px rgba(0,0,0,.35);
}
#heroSlider,
.carousel,
.carousel-inner,
.carousel-item{
    margin:0 !important;
    padding:0 !important;
}
.gallery-card{
position:relative;
overflow:hidden;
border-radius:15px;
cursor:pointer;
box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.gallery-img{
width:100%;
height:260px;
object-fit:cover;
transition:.5s;
}

.gallery-card:hover .gallery-img{
transform:scale(1.1);
}

.gallery-overlay{
position:absolute;
left:0;
right:0;
bottom:0;
padding:25px;
background:linear-gradient(transparent,rgba(0,0,0,.85));
color:#fff;
opacity:0;
transition:.4s;
}

.gallery-card:hover .gallery-overlay{
opacity:1;
}
/*====
about-page
===*/
.page-banner{
background:linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),url('../images/banner.jpg');
background-size:cover;
background-position:center;
padding:120px 0;
margin-top:0;
}
.page-banner h1{
font-size:52px;
font-weight:700;
}
.page-banner p{
font-size:20px;
margin-top:15px;
}
.page-banner nav{
margin-top:20px;
}
.page-banner nav a{
color:#fff;
text-decoration:none;
}
.page-banner nav span{
margin:0 8px;
}
.social-icons{
    display:flex;
    gap:12px;
    margin-top:20px;
}

.social-icon{
    width:42px;
    height:42px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    font-size:20px;
    transition:0.3s;
}

.social-icon:hover{
    background:#ff6b00;
    color:#fff;
    transform:translateY(-5px);
}
.category-icon{
width:80px;
height:80px;
background:#eef5ff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
margin:auto;
margin-bottom:15px;
}

.category-icon i{
font-size:36px;
color:#0d6efd;
}