:root {
    --primary-color: #173b5e;
    --font-family: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--primary-color);
    background: #fff;
    padding-top: 100px;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    /* width: 90%; */
    max-width: 1200px;
    margin: auto;
}

.main-header {
    background: #fff;
    border-bottom: 1px solid #e8eef3;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.4s ease;
}

.main-header * {
    transition: all 0.4s ease;
}

.main-header.scrolled .top-bar {
    display: none;
}

.main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.main-header.scrolled .logo-img {
    height: 91px;
    width: auto;
}

.main-header.scrolled .header-content {
    min-height: auto;
    align-items: center;
}

.main-header.scrolled .header-right {
    min-height: auto;
}

.main-header.scrolled .navbar {
    min-height: auto;
    padding: 0;
    justify-content: space-between;
}

.main-header.scrolled .appointment-btn {
    padding: 10px 25px;
}

.main-header.scrolled .logo {
    border-right: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-header.scrolled .nav-links {
    flex: 1;
    justify-content: center;
    padding-left: 0;
}

.header-content {
    display: flex;
    align-items: stretch;
}

.logo {
    display: flex;
    align-items: center;
    /* padding: 15px 30px 15px 0; */
    border-right: 1px solid #e8eef3;
}

.logo-img {
    height: 91px;
    width: auto;
}

.header-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-bar {
    background: #fff;
    border-bottom: 1px solid #e8eef3;
    font-size: 13px;
    color: #555;
}

.top-bar-content {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top-info,
.contact-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: 20px;
}

.top-info span:first-child {
    color: #444;
    font-weight: 400;
}

.contact-info i {
    margin-right: 5px;
    color: var(--primary-color);
}

.contact-info .separator {
    color: #ccc;
    font-size: 14px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
}

.social-icons a i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 0;
}

.social-icons a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}
.social-icons a:hover i {
    color: #fff;
}

.navbar {
    /* height: 70px; */
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    padding-left: 20px;
}

.nav-links a {
    position: relative;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -31px;
    height: 2px;
    color: var(--primary-color);
}

/* ===== NAV DROPDOWN ===== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown > a i {
    font-size: 11px;
    transition: 0.3s;
}

.nav-dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.nav-dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #333;
    transition: 0.3s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f0f7ff;
    color: var(--primary-color);
    padding-left: 25px;
}
.appointment-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: 6px;
    background: var(--primary-color);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

.appointment-btn:hover {
    background: var(--primary-color);
    color: #fff;
}

.banner-section {
    width: 100%;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    /* min-height: 550px; */
}
.page-banner-section {
    position: relative;
    width: 100%;
    /* height: 275px; */
    overflow: hidden;
}

/* Fallback banner (no image in DB) -> theme colour background, compact height */
.page-banner-section.page-banner-solid {
    height: 140px;
    background: var(--primary-color);
}

.page-banner-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.page-banner-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    align-items: center;      /* title + breadcrumb in the vertical centre */
    padding-bottom: 0;        /* space above and below looks equal */
    z-index: 2;
}

.page-banner-overlay h1 {
    font-size: 32px;
    color: white;
    font-weight: 400;
    margin-bottom: 10px;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
}

.page-breadcrumb i {
    font-size: 12px;
    color: white;
}

.map-section {
    width: 100%;
}

.map-section iframe {
    display: block;
}

.contact-section {
    padding: 50px 0;
    background: #fff;
}

.contact-content {
    display: flex;
    gap: 0;
    overflow: hidden;
}

.contact-left {
    width: 40%;
    background: #fff;
    padding: 45px 40px;
}

.contact-left h2 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
}

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

.contact-info-item i {
    font-size: 22px;
    color: var(--primary-color);
    margin-top: 3px;
}

.contact-info-item h4 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 3px;
}

.contact-info-item p {
    color: #666;
    font-size: 14px;
}

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.contact-social a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    transition: 0.3s;
}

.contact-social a:hover {
    background: #04b2f9;
}

.contact-right {
    width: 60%;
    background: var(--primary-color);
    padding: 45px 40px;
}

.contact-right h2 {
    font-size: 28px;
    color: white;
    font-weight: 700;
    margin-bottom: 8px;
}

.contact-subtitle {
    color: white;
    font-size: 14px;
    margin-bottom: 25px;
}

.form-msg {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #fff;
    margin-bottom: 20px;
}

.form-msg.msg-success {
    background: #198754;
}

.form-msg.msg-error {
    background: #dc3545;
}

.recaptcha-wrap {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 18px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row-2 {
    display: flex;
    gap: 15px;
}

.form-row-2 input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
}

.contact-form textarea {
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
    resize: vertical;
}

.captcha-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.captcha-box label {
    color: #b8c9d8;
    font-size: 14px;
    font-weight: 500;
}

.captcha-box input {
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    outline: none;
}

.send-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.send-btn:hover {
   color: var(--primary-color);
    background: white;
}
.about-section {
    padding: 50px 0;
    background: #fff;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    width: 45%;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.about-text {
    width: 55%;
}

.about-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 700;
}
.about-degree {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
}

.about-text h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.about-text > p {
    color: #667789;
    font-size: 15px;
    line-height: 1.8;
}

.about-stats {
    margin-bottom: 20px;
}

.stat-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #f4fbfb;
    padding: 12px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.about-list li i {
    color: var(--primary-color);
    font-size: 16px;
}

.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: var(--font-family);
    transition: 0.3s;
}

.read-more-btn:hover {
    background: #1a4a7a;
    color: #fff;
}

.read-more-btn i {
    transition: 0.3s;
}

.read-more-btn:hover i {
    transform: translateX(4px);
}

.about-stats-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
    margin-bottom: 24px; /* space before about-list */
}

.stat-card {
    flex: 1 1 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 96px;
    background: #e4f1ff;
    border-radius: 12px;
    padding: 16px 10px;
    text-align: center;
    transition: 0.3s;
}

.stat-card:hover {
    background: #d4e7ff;
    transform: translateY(-4px);
}

.stat-card-num {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #1A4A7A;
    line-height: 1.2;
    margin: 0;
}

.stat-card-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #7b8a94;
    line-height: 1.3;
    white-space: nowrap;
    margin: 0;
}

.about-desc {
    margin-bottom: 8px;
}

.about-desc h2 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.25;
}
.about-desc > p:has(~ h3) {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    padding-bottom: 4px;
    margin: 0;
}

.about-desc h3 {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 12px; /* 3px (credential line) + 12px = 15px, jaise reference me */
    margin-bottom: 15px;
    line-height: 1.5;
}

.about-desc p {
    color: #667789;
    font-size: 15px;
    /* line-height: 1.8; */
    margin-bottom: 12px;
}

.about-desc strong,
.about-desc b {
    color: var(--primary-color);
}

.about-desc ul,
.about-desc ol {
    list-style: none;
    padding: 0;
    margin: 18px 0 4px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about-desc ul li,
.about-desc ol li {
    position: relative;
    padding-left: 26px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    /* line-height: 1.6; */
}

.about-desc ul li::before,
.about-desc ol li::before {
    content: "\2713"; /* check mark (ASCII escape - encoding-proof) */
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 700;
}

.about-desc + .read-more-btn {
    margin-top: 18px;
}

.services-section {
    padding: 50px 0;
    background: #f9fbfd;
}

.services-header {
    text-align: center;
    margin-bottom: 50px;
}

.services-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.services-header h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 800;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    height: 100%;
    /* equal sized cards: column layout so image + body fill the card height */
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.service-card-img {
    width: 100%;
    overflow: hidden;
    /* fixed ratio box => every card image takes the same space */
    aspect-ratio: 4 / 3;
    flex: 0 0 auto;
}

.service-card-img img {
    width: 100%;
    height: 100%;
    /* contain => full icon visible, box size stays the same for every card */
    object-fit: contain;
    background: #fff;
    display: block;
    transition: 0.3s;
    /* transform :matrix() */
}

.service-card:hover .service-card-img img {
    transform: scale(1.05);
}

/* gallery keeps its original uncropped images and natural card height */
.gallery-page .service-card {
    height: auto;
}

.gallery-page .service-card-img {
    aspect-ratio: auto;
}

.gallery-page .service-card-img img {
    height: 200px;
    object-fit: cover;
}

.service-card-icon {
    width: 130px;
    height: 130px;
    margin: 25px auto 0;
    border-radius: 50%;
    background: #eef0f2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.service-card-icon .material-symbols-outlined {
    font-size: 64px;
    line-height: 1;
    color: #f5a623;
    font-variation-settings: 'FILL' 1, 'wght' 500;
    transition: 0.3s;
}

.service-card:hover .service-card-icon {
    background: #fdf1dc;
}

.service-card:hover .service-card-icon .material-symbols-outlined {
    transform: scale(1.08);
}

.service-card-body {
    padding: 20px 25px;
    text-align: center;
    /* fills the remaining height so every card body matches */
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-body h3 {
    font-size: 18px;
    color:var(--primary-color);
    font-weight: 700;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.blog-card-img {
    position: relative;
    width: 100%;
    overflow: visible;
}

.blog-card-img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    /* transition: 0.3s; */
    border-radius: 12px 12px 0 0;
}

.blog-card:hover .blog-card-img img {
    /* transform: scale(1.05); */
}

.blog-date {
    position: absolute;
    bottom: -30px;
    right: 20px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    padding: 10px 15px;
    text-align: center;
    line-height: 1.2;
    z-index: 10;
}

.blog-date .date-day {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.blog-date .date-month {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
}

.blog-card-body {
    padding: 35px 25px 25px;
}

.blog-card-body h3 {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 620;
    line-height: 25px;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.blog-read-icon {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: 0.3s;
}

.blog-read-more:hover .blog-read-icon {
    background: var(--primary-color);
}

.blog-read-more:hover {
    color: var(--primary-color);
}

.blog-detail-section {
    padding: 50px 0;
    background: #fff;
}

.blog-detail-container {
    max-width: 900px;
    margin: 0 auto;
}

.blog-detail-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.blog-detail-img img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-detail-content h1 {
    font-size: 19px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-author {
    font-size: 15px;
    color: #666;
    font-weight: 500;
    margin-bottom: 25px;
  
    border-bottom: 1px solid #eee;
}

.blog-detail-content p {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 18px;
}

.blog-detail-content h2 {
    font-size: 20px;
    color: var(--primary-color);
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

.blog-detail-content h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
}

.blog-detail-content ul {
    margin-bottom: 18px;
    padding-left: 20px;
}

.blog-detail-content ul li {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 6px;
}

.consultation-section {
    padding: 50px 0;
    background: #eaf4ff;
}

.consultation-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.consultation-image {
    width: 45%;
}

.consultation-image img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.consultation-form {
    width: 55%;
}

.consultation-form h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 5px;
}

.consultation-form h3 {
    font-size: 16px;
    color: #667789;
    font-weight: 400;
    margin-bottom: 25px;
}

.consultation-form-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.consultation-form-box input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    color: #333;
    outline: none;
    transition: 0.3s;
}

.consultation-form-box input:focus {
    border-color: var(--primary-color);
}

.consultation-form-box select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    color: #333;
    outline: none;
    transition: 0.3s;
    background: #fff;
    cursor: pointer;
    flex: 1;
}

.consultation-form-box select:focus {
    border-color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row input {
    flex: 1;
}

.form-row select {
    flex: 1;
}

.form-row .book-btn {
    flex: 1;
    width: 100%;
}

.form-row textarea {
    flex: 1;
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    resize: vertical;
    outline: none;
}

.form-row textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 5px rgba(26, 82, 118, 0.3);
}

.book-btn {
    padding: 14px 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: 0.3s;
    white-space: nowrap;
}

.book-btn:hover {
    background: var(--primary-color);
}

.consultation-address {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
}
.testimonial-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.testimonial-bg {
    width: 100%;
    height: auto;
    display: block;
}

.testimonial-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
}

.testimonial-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.testimonial-left {
    width: 40%;
}

.testimonial-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.testimonial-left h2 {
    font-size: 36px;
    color: #fff;
    font-weight: 700;
    line-height: 1.2;
}

.testimonial-right {
    width: 60%;
    position: relative;
}

.testimonial-slider {
    position: relative;
}

.testimonial-box {
    background: #fff;
    border-radius: 12px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.quote-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: block;
}

.testimonial-box p {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-name {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 600;
}

.gallery-section {
    padding: 50px 0;
    background: #f9fbfd;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.gallery-header h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 800;
}

.gallery-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.gallery-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.gallery-card-img {
    width: 100%;
    overflow: hidden;
}

.gallery-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-card:hover .gallery-card-img img {
    transform: scale(1.05);
}

.expertise-section {
    padding: 50px 0;
    background: #fff;
}

.expertise-content {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.expertise-left {
    width: 45%;
}

.expertise-tag {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.expertise-left h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
}

.expertise-left p {
    color: #667789;
    font-size: 15px;
    line-height: 1.8;
}

.expertise-left h4 {
    margin-top: 20px;
    margin-bottom: 0;
    color: var(--primary-color);
}

.expert-neuro-designation {
    margin-top: 2px;
    margin-bottom: 0;
}

.expertise-right {
    width: 55%;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e8eef3;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active {
    border-color: #2c3e6b;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: 0.3s;
}

.faq-question:hover {
    background: #f9fbfd;
}

.faq-number {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 40px;
}

.faq-title {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-family);
}

.faq-icon {
    font-size: 16px;
    color: var(--primary-color);
    transition: 0.3s;
}

.faq-item.active .faq-icon {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 20px 18px 75px;
    color: #667789;
    font-size: 14px;
    line-height: 1.8;
}

.expertise-bottom-text {
    margin-top: 25px;
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    font-style: italic;
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}
.expert-neuro-section {
    padding: 50px 0;
    background: #f9fbfd;
}

.expert-neuro-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.expert-neuro-left {
    width: 35%;
    text-align: center;
}

.expert-neuro-left h2 {
    font-size: 28px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.expert-neuro-img {
    width: 100%;
}

.expert-neuro-img img {
    width: 100%;
    border-radius: 12px;
}

.expert-neuro-right {
    width: 65%;
}

.expert-neuro-right > h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.3;
}

.expert-neuro-right > p {
    color: #667789;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.expert-neuro-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.expert-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.expert-feature i {
    color: var(--primary-color);
    font-size: 22px;
    margin-top: 3px;
}

.expert-feature h4 {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 4px;
}

.expert-feature p {
    color: #667789;
    font-size: 14px;
    line-height: 1.6;
}

.expert-neuro-stat {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.stat-percent {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-text {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 500;
}

.bottom-bar {
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    padding: 15px 0;
}

.bottom-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.bottom-bar-left {
    display: flex;
    align-items: center;
    gap: 25px;
    flex: 1 1 auto;
    min-width: 0;
}

.bottom-logo {
    height: 91px;
    width: auto;
}

.bottom-divider {
    width: 1px;
    height: 60px;
    background: #ddd;
}

.bottom-info {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 30px;
    align-items: start;
}

/* Desktop: address and clinic timings each stay on a single line */
@media (min-width: 1280px) {
    .bottom-bar .container {
        max-width: 1300px;
    }

    .bottom-info {
        gap: 16px;
    }

    .bottom-bar-content {
        gap: 24px;
    }

    .bottom-info .info-text p {
        font-size: 13px;
    }
}

/* Desktop: social icons pushed to the right edge */
@media (min-width: 901px) {
    .bottom-bar-right {
        margin-right: -20px;
    }
}

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

.info-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-top: -7px;
    background: linear-gradient(135deg, #1a3c5e, #1a3c5e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.info-text strong {
    display: block;
    color: var(--primary-color);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 2px;
}

.info-text p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

.bottom-bar-right {
    display: flex;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

.footer {
    background: #f5f6f8;
    color: var(--primary-color);
    padding-top: 50px;
    padding-bottom: 40px;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.footer-column h3 {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 800;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.footer-links-grid a {
    color: #555;
    font-size: 15px;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links-grid a i {
    font-size: 12px;
    color: var(--primary-color);
}

.footer-links-grid a:hover {
    color: var(--primary-color);
}

.footer-newsletter p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-form input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    background: #fff;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--primary-color);
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-family);
    cursor: pointer;
    transition: 0.3s;
    width: fit-content;
}

.subscribe-btn:hover {
    background: var(--primary-color);
}

.subscribe-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.newsletter-msg {
    display: none;
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.newsletter-msg.success,
.newsletter-msg.error {
    display: block;
}

.newsletter-msg.success {
    color: #1a7f37;
}

.newsletter-msg.error {
    color: #c0392b;
}

.clinic-hours {
    display: flex;
    flex-direction: column;
}

.hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dotted #ccc;
    min-height: 28px;
}

.hours-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.hours-row .day {
    color: #555;
    font-size: 15px;
    white-space: nowrap;
}

.hours-row .day::after {
    content: '';
    display: inline-block;
    width: 40px;
    border-bottom: 1px dotted #999;
    margin: 0 8px;
    vertical-align: middle;
}

.hours-row .time {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    text-align: right;
    line-height: 1;
}

.hours-row .time.closed {
    color: var(--primary-color);
    line-height: 1;
}

.copyright-bar {
    background: var(--primary-color);
    padding: 15px 0;
}

.copyright-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright-bar p {
    color: #fff;
    font-size: 14px;
    margin: 0;
}

.copyright-bar a {
    color: #fff;
    /* text-decoration: underline; */
    transition: 0.3s;
}

.copyright-bar a:hover {
    color: rgb(4, 178, 249);
}


/* =========================
   FLOATING ICONS
========================= */

.floating-icons {
    position: fixed;
    left: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 999;
}

.floating-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
    transition: 0.3s;
  
}

.phone-icon {
    background: var(--primary-color);
}

.phone-icon:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.whatsapp-icon {
    background: #25d366;
}

.whatsapp-icon:hover {
    background: #1da851;
    transform: scale(1.1);
}


/* =========================
   SCROLL TO TOP
========================= */

.scroll-top-btn {
    position: fixed;
    right: 25px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);;
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 999;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}


@media (max-width: 991px) {

    .nav-links {
        display: none;
    }

    .appointment-btn {
        padding: 11px 18px;
        font-size: 13px;
    }

    /* .logo-img {
        height: 80px;
    } */
}

@media (max-width: 900px) {

    .top-info {
        display: none;
    }

    .top-bar-content {
        justify-content: center;
    }

    .logo {
        padding: 10px 15px 10px 0;
    }

    /* .logo-img {
        height: 70px;
    } */

    .navbar {
        padding: 0 15px 0 0;
    }

    .nav-links {
        padding-left: 10px;
        gap: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-image,
    .about-text {
        width: 100%;
    }

    .about-list li {
        justify-content: center;
    }

    .stat-box {
        display: inline-flex;
    }

    .services-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .consultation-content {
        flex-direction: column;
        text-align: center;
    }

    .consultation-image,
    .consultation-form {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
    }

    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-left,
    .testimonial-right {
        width: 100%;
    }

    .expertise-content {
        flex-direction: column;
    }

    .expertise-left,
    .expertise-right {
        width: 100%;
    }

    .expert-neuro-content {
        flex-direction: column;
        text-align: center;
    }

    .expert-neuro-left,
    .expert-neuro-right {
        width: 100%;
    }

    .expert-feature {
        justify-content: center;
    }

    .expert-neuro-stat {
        display: inline-flex;
    }

    .bottom-bar-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .bottom-bar-left {
        flex-direction: column;
    }

    .bottom-divider {
        width: 60px;
        height: 1px;
    }

    .bottom-info {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .bottom-info-item {
        justify-content: center;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-left,
    .contact-right {
        width: 100%;
    }

    .form-row-2 {
        flex-direction: column;
    }
}

@media (max-width: 600px) {

    .top-bar {
        display: none;
    }

    .logo {
        /* padding: 10px; */
        border-right: none;
    }

    /* .logo-img {
        height: 60px;
    } */

    .navbar {
        height: auto;
        padding: 10px 15px;
    }

    .nav-links {
        display: none;
    }

    .appointment-btn {
        font-size: 12px;
        padding: 10px 14px;
    }

    .page-banner-overlay h1 {
        font-size: 21px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer {
        padding-top: 45px;
    }

    .footer-links-grid {
        grid-template-columns: 1fr;
    }
}
.lightbox-trigger {
    cursor: pointer;
    transition: transform 0.3s ease;
}
.lightbox-trigger:hover {
    transform: scale(1.02);
}
.lightbox-modal {
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}
.lightbox-content {
    margin: auto;
    display: block;
    max-width: 85%;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #f1f1f1;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

/* ===== APPOINTMENT MODAL ===== */
.appointment-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.appointment-modal-content {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.appointment-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
}

.appointment-close:hover {
    color: var(--primary-color);
}

.appointment-modal-content h2 {
    text-align: center;
    color: #1a5276;
    margin-bottom: 5px;
    font-size: 26px;
}

.appointment-subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 25px;
    font-size: 14px;
}

.appointment-status {
    display: none;
    text-align: center;
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 18px;
}

.appointment-status.status-success {
    display: block;
    background: #d1e7dd;
    color: #0f5132;
}

.appointment-status.status-error {
    display: block;
    background: #f8d7da;
    color: #842029;
}

.appointment-recaptcha {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    min-height: 78px;
}

@media (max-width: 420px) {
    .appointment-recaptcha {
        transform: scale(0.88);
        transform-origin: top center;
    }
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: var(--font-family);
    margin-bottom: 15px;
    transition: 0.3s;
    outline: none;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    border-color: #1a5276;
    box-shadow: 0 0 5px rgba(26, 82, 118, 0.3);
}

.appointment-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.appointment-form textarea {
    resize: vertical;
}

.appointment-submit-btn {
    width: 100%;
    padding: 14px;
    background: #1a5276;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: var(--font-family);
}

.appointment-submit-btn:hover {
    background: #154360;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 82, 118, 0.4);
}

@media (max-width: 600px) {
    .appointment-form-row {
        grid-template-columns: 1fr;
    }

    .appointment-modal-content {
        padding: 25px;
    }
}
/* Appointment modal close button - no border */
.appointment-close {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
}

.appointment-close:hover,
.appointment-close:focus,
.appointment-close:active {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent;
}
.instagram-section {
    padding: 50px 0;
    text-align: center;
}


.instagram-section a.followbtn {
    display: inline-block;
    margin-top: 12px;
    padding: 12px 22px;
    background: #222222;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
}
.maintitle {
    text-align: center;
    margin-bottom: 50px;
}

.maintitle span {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.maintitle h2 {
    font-size: 40px;
    color: var(--primary-color);
    font-weight: 800;
}
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
    margin: 25px 0;
}

.instagram-grid a {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
}

.instagram-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) 