:root {
    --bg-dark: #0a0e17;
    --bg-alt: #1d2129;
    --bg-card: #131926;
    --bg-card-hover: #1a2233;
    --primary-blue: #3b82f6;
    --primary-blue-dark: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.08);
    --accent: #2e6df6;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .serif-font {
    font-family: 'Playfair Display', serif;
}

/* Utilities */
.bg-alt { background-color: var(--bg-alt); }
.text-gradient {
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about_me{
    -webkit-box-orient: vertical;
    letter-spacing: -1px;
    text-align: justify;
}

.text-muted-custom { color: var(--text-muted); }
.bg-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
}
.bg-card:hover {
    border: 1px solid var(--primary-blue);
}
/* Buttons */
.btn-primary-custom {
    background-color: var(--primary-blue-dark);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-primary-custom:hover { background-color: #1d4ed8; color: white; }

.btn-outline-custom {
    background-color: transparent;
    border: 1px solid var(--text-muted);
    color: var(--text-main);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-outline-custom:hover { background-color: rgba(255,255,255,0.05); color: white; border-color: white;}

/* Navbar */
.navbar {
    background-color: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}
.nav-link { color: var(--text-muted) !important; font-size: 0.9rem; margin: 0 10px; transition: color 0.3s; }
.nav-link:hover { color: white !important; }


/* Section Titles */
.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.section-title { font-size: 2.5rem; margin-bottom: 3rem; }

/* Cards */
.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s, background-color 0.3s;
    height: 100%;
}
.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
}
.icon-box {
    width: 40px;
    height: 40px;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--primary-blue);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Timeline */
.timeline {
    border-left: 2px solid var(--border-color);
    padding-left: 2rem;
    margin-left: 1rem;
}
.timeline-item { position: relative; padding-bottom: 2rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    border: 2px solid var(--bg-dark);
}
.timeline-year { font-size: 0.8rem; color: var(--primary-blue); font-weight: 600; }

.contact-box {
    background-color: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* Custom Form Inputs for Appointment */
.custom-input {
    background-color: var(--bg-card-hover);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.custom-input:focus {
    background-color: var(--bg-card);
    border-color: var(--primary-blue);
    color: var(--text-main);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
}
.custom-input::placeholder { color: var(--text-muted); }

/* ================= HERO ================= */
.hero{
    padding:30px 0;
}

.tag{
    background:#143d78;
    padding:8px 18px;
    border-radius:30px;
    font-size:14px;
    display:inline-block;
}

.title{
    font-family:'Poppins',sans-serif;
    font-size:52px;
    font-weight:700;
    background:linear-gradient(90deg,#ffffff,#6fa8ff);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.subtitle{
    font-size:24px;
    color:#4da3ff;
    font-weight:600;
}

/* ================= PROFILE GLOW ================= */

.profile-box{
    width:330px;
    height:330px;
    margin:auto;
    border-radius:50%;
    position:relative;
}

.profile-ring{
    position:absolute;
    inset:0;
    border-radius:50%;
    border:6px solid #2f6fff;
    animation: glow 2.5s infinite;
}

@keyframes glow{
    0%{box-shadow:0 0 10px #2f6fff;}
    50%{box-shadow:0 0 60px #2f6fff;}
    100%{box-shadow:0 0 10px #2f6fff;}
}

.profile-inner{
    position:absolute;
    inset:40px;
    background:#0b1a30;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.profile-inner img{
    width: 15rem;
    opacity:.7;
    border-radius: 50%;
}

/* badges */
.badge-leader{
    position:absolute;
    top:20px;
    left:-10px;
    background:white;
    color:black;
    padding:5px 12px;
    border-radius:10px;
    font-weight:600;
}
.badge-bsmmu{
    position:absolute;
    bottom:20px;
    right:-10px;
    background:#2f6fff;
    padding:6px 14px;
    border-radius:20px;
}

/* ================= BUTTON ================= */
.btn-call{
    background:linear-gradient(90deg,#2f6fff,#6fa8ff);
    border:none;
    border-radius:40px;
    padding:12px 30px;
    font-weight:600;
    transition:.3s;
}

.btn-call:hover{
    transform:translateY(-2px);
    background:linear-gradient(90deg,#1f55ff,#3c86ff);
}

.btn-cv{
    border:2px solid #2f6fff;
    border-radius:40px;
    padding:12px 30px;
    color:white;
    transition:.3s;
}
.btn-cv:hover{
    background:#2f6fff;
}

/* ================= MOBILE ================= */
@media(max-width:768px){
    .hero{text-align:center;}
    .title{font-size:30px;}
    .nav-link{margin-left:0;}
    .profile-box{margin-bottom:40px;}
}


/* count down */
.counter-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.counter-number {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary-blue-dark);
}

.counter-text {
    font-size: 20px;
    font-weight: 600;
    color: white;
}

/* schedule */
.schedule-card{
   background: #24364d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 10px;
    margin-bottom: 16px;
    transition: 0.3s ease;
}

.schedule-card:hover{
    transform: translateY(-5px);
}

.icon-box{
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
}

.schedule-title{
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

.schedule-time{
    color: #b0b8c4;
    font-size: 14px;
}

.status-badge{
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 14px;
}

.badge-available{
    background: rgba(16,185,129,0.15);
    color: #34d399;
    border: 1px solid rgba(16,185,129,0.4);
}

.badge-closed{
    background: rgba(148,163,184,0.15);
    color: #cbd5e1;
    border: 1px solid rgba(148,163,184,0.3);
}

.note-text{
    color: #aab4c2;
    font-size: 15px;
    margin-top: 30px;
}

hr{
    border-color: rgba(255,255,255,0.08);
}

/* testimonial */
.testimonial-section{
    padding: 80px 0;
}

.section-title{
    font-weight: 700;
    margin-bottom: 50px;
}

.testimonial-card:hover{
    transform: translateY(-8px);
}

.user-img{
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0d6efd;
}

.user-name{
    font-weight: 600;
    margin-top: 15px;
}

.user-role{
    font-size: 14px;
    color: #6c757d;
}

.review-text{
    margin-top: 20px;
    font-size: 15px;
    color: white;
}

.star{
    color: var(--primary-blue);
}

/* contact us */
.contact-section{
    padding: 80px 0;
}

.contact-box{
    background: linear-gradient(145deg,#0f1c2e,#111f36);
    border-radius: 25px;
    padding: 50px;
    border: 1px solid rgba(255,255,255,0.06);
}

.small-title{
    letter-spacing: 2px;
    font-size: 13px;
    color: #3b82f6;
}

.main-title{
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
}

.main-title span{
    color: #3b82f6;
}

.contact-text{
    color: #94a3b8;
    margin-top: 20px;
}

.info-item{
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-top: 25px;
}

.icon-box{
    background: linear-gradient(135deg,#3b82f6,#2563eb);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.info-label{
    font-size: 14px;
    color: #94a3b8;
}

.info-value{
    color: #ffffff;
    font-weight: 500;
}

.social-icons{
    margin-top: 30px;
}

.social-icons a{
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}

.social-icons a:hover{
    background: #3b82f6;
    border-color: #3b82f6;
}

.map-container iframe{
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: 20px;
    border: none;
}

@media (max-width: 768px){
    .contact-box{
        padding: 30px;
    }
    .main-title{
        font-size: 32px;
    }
}

/* scroll */
.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: 0.3s ease;
    z-index: 999;
}

.scroll-top:hover {
    transform: translateY(-5px);
    background: var(--primary-blue-dark);
}

.gallery img {
    cursor: pointer;
    transition: 0.3s ease;
    border-radius: 10px;
}
.gallery img:hover {
    transform: scale(1.05);
}
.modal-img {
    width: 100%;
    border-radius: 10px;
}


/* gallery */
.gallery-banner{
    background: linear-gradient(rgba(7,26,47,.85),rgba(7,26,47,.9)),
                url('/uploads/gallery_banner.avif') center/cover no-repeat;
    padding: 100px 0;
    border-bottom: 2px solid var(--accent);
}

.gallery-banner h1{
    font-weight: 700;
    font-size: 42px;
}

.gallery-banner p{
    opacity: .8;
}

/* blog */
.blog-banner{
    background: linear-gradient(rgba(7,26,47,.85),rgba(7,26,47,.9)),
    url('/uploads/gallery_banner.avif')
    center/cover no-repeat;
    padding:90px 0;
    border-bottom:2px solid var(--accent);
}

/* BLOG CARD */
.blog-card{
    background: var(--bg-card);
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    height:100%;
}

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

.blog-card:hover{
    transform: translateY(-8px);
    box-shadow:0 15px 40px rgba(0,0,0,.4);
}

.blog-content{
    padding:20px;
}

.blog-content h5{
    font-weight:600;
}

.blog-meta{
    font-size:13px;
    opacity:.7;
    margin-bottom:8px;
}

.read-btn{
    color:var(--primary-blue);
    font-weight:600;
    text-decoration:none;
}

/* SIDEBAR */
.sidebar-box{
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding:20px;
    border-radius:15px;
    margin-bottom:20px;
}

/* FOOTER */
footer{
    background: var(--nav-bg);
    padding:25px 0;
    margin-top:50px;
}

/* MOBILE */
@media(max-width:768px){
    .blog-banner{ padding:60px 0; }
    .blog-card img{ height:180px; }
}

.full_blog{
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 30px;
}
.blog-image{
    width:100%;
    border-radius:15px;
    margin-bottom:25px;
}

.blog-meta{
    font-size:14px;
    opacity:.7;
    margin-bottom:15px;
}

.blog-content p{
    line-height:1.8;
    margin-bottom:18px;
    color:#d6e2f0;
}

/* swiper */
.btn_custom{
    border-radius: 50px;
    height: 40px;
    border: 1px solid var(--accent);
    background: var(--accent);
    color: white;
}
.btn_custom:hover{
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}
