body {
    font-family: 'Segoe UI', sans-serif;
}


/* sticky navbar */
.sticky-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.4s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Top Header */

.top-header {
    background: #2f5c8f;
    color: white;
    padding: 8px 0;
    font-size: 14px;
}

.top-header i {
    color: #ff7a3d;
}

/* Navbar */

.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.navbar-brand img {
    height: 55px;
}

.nav-link {
    color: #2f5c8f !important;
    font-weight: 500;
    margin-left: 15px;
}

.nav-link:hover {
    color: #000000 !important;
}

/* Appointment Button */

.btn-appointment {
    background: #ff7a3d;
    color: white;
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 500;
}

.btn-appointment:hover {
    background: #e86a2f;
}


/* footer section */

.footer-section {
    background: #2f5c8f;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-section h5 {
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    text-decoration: none;
    color: #ddd;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ff7a3d;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    line-height: 38px;
    text-align: center;
    background: #fff;
    color: #2f5c8f;
    border-radius: 50%;
    margin-right: 8px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ff7a3d;
    color: white;
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0 15px;
}

.copyright {
    font-size: 14px;
    color: #ddd;
}


/* index page */
.stat-number {
    font-size: 90px;
    font-weight: 800;
    color: #0a1a44;
}

.hero-section {
    background: #f2f4f7;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.hero-text h1 {
    font-size: 60px;
    font-weight: 700;
    color: #0a1a44;
    margin-bottom: 20px;
}

.hero-text p {
    color: #6c757d;
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 450px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.book-btn {
    background: #2f5c8f;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
}

.book-btn:hover {
    background: #244a73;
    color: white;
}

.play-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: #2f5c8f;
    font-size: 20px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 40px;
}

.stat h2 {
    font-size: 40px;
    font-weight: 700;
    color: #0a1a44;
}

.stat p {
    font-size: 13px;
    color: #6c757d;
    letter-spacing: 1px;
}

.divider {
    width: 1px;
    height: 40px;
    background: #ddd;
}

.hero-image img {
    height: 80%;
    width: 80%;
}

/* Background Shapes */

.hero-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: #dbe8f5;
    border-radius: 50%;
    top: -80px;
    right: -80px;
    z-index: 0;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    background: #e9f3ff;
    border-radius: 50%;
    bottom: -60px;
    left: -60px;
}

.eye-care-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: #2f5c8f;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.btn-learn-more {
    background: white;
    color: rgb(0, 0, 0);
    border: none;
    padding: 12px 35px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: 1px solid black;
}

.btn-learn-more:hover {
    background: #2f5c8f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 212, 172, 0.3);
    color: white;
}

.doctor-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.exam-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.content-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .content-section {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .doctor-image,
    .exam-image {
        height: 300px;
    }
}




/* Card Container Styling */
.main-card {
    overflow: hidden;
    border-radius: 0px;
    /* Adjust if you want rounded corners */
}

/* Left Image Section */
.img-container {
    background-color: var(--image-bg);
    display: flex;
    align-items: flex-end;
    /* Keeps portrait bottom-aligned */
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Right Content Section */
.content-container {
    background-color: var(--brand-blue);
    color: var(--text-white);
}

h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
}

.short-hr {
    width: 50px;
    border-top: 2px solid white;
    opacity: 1;
    margin: 20px 0;
}

.bio-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

/* Custom Button */
.btn-custom {
    background-color: white;
    color: #555;
    border: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-container {
        text-align: center;
        align-items: center;
    }

    .short-hr {
        margin: 20px auto;
    }
}

.section-title {
    font-weight: 700;
    color: #000;
    font-size: 1.5rem;
}

/* Base Card Style */
.feature-card {
    padding: 1.5rem;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: default;
}

.feature-card h5 {
    font-weight: 600;
    font-size: 1.1rem;
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.icon {
    font-size: 1.1rem;
}

/* Color Themes */
.card-blue {
    background-color: #f0f7ff;
    color: #1a4d8c;
}

.card-green {
    background-color: #f1fcf4;
    color: #0d6b3a;
}

.card-purple {
    background-color: #f8f5fe;
    color: #5a2d82;
}

.card-orange {
    background-color: #fff8f1;
    color: #8c4d1a;
}

/* Hover Animation */
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Entrance Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0;
    /* Starts invisible */
    animation: fadeInUp 0.6s ease forwards;
}

/* Responsive Tweak */
@media (max-width: 768px) {
    .section-title {
        text-align: center;
    }
}


.main-title {
    font-family: 'Playfair Display', serif;
    color: #0b1c4a;
    line-height: 1.2;
}

.sub-header {
    color: #555;
    font-size: 1.1rem;
}

.highlight {
    color: #2f5c8f;
    /* Subtle brown/gold from the original image */
    font-weight: 500;
}

/* Common Card Styles */
.service-card {
    border: 2px solid #2f5c8f;
    padding: 2.5rem;
    border-radius: 20px;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-icon {
    width: 60px;
    height: auto;
}

/* White Cards Style */
.white-card {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.white-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

/* Blue Card Style */
.blue-card {
    background-color: var(--dark-blue);
    color: var(--white);
    background-image: url("https://cdn.luxe.digital/media/20230411142405/yesglasses-review-blue-light-glasses-luxe-digital-540x360.jpg");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: 855px;
    /* height: 10%; */
    width: 100%;

}

.blue-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    max-width: 80%;
}

.blue-card p {
    color: #cbd5e0;
}

.discover-link {
    color: #4da6ff;
    text-decoration: none;
    font-weight: 600;
}

.discover-link:hover {
    text-decoration: underline;
}

/* Image Positioning in Blue Card */
.blue-card-img {
    position: absolute;
    bottom: -10px;
    right: 10px;
    width: 250px;
    opacity: 0.9;
    pointer-events: none;
}

/* Staggered Animation for Entrance */
.service-card {
    animation: fadeIn 0.8s ease backwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Fixes */
@media (max-width: 991px) {
    .blue-card-img {
        width: 150px;
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }

    .blue-card h2 {
        max-width: 100%;
    }
}

/* services section */

.services-section {
    padding: 80px 0;
    background: #f7f9fc;
}

.services-title {
    font-size: 40px;
    font-weight: 700;
    color: #0a1a44;
}

.services-subtitle {
    max-width: 700px;
    margin: auto;
    color: #6c757d;
    margin-top: 10px;
}

/* Cards */

.service-card {
    background: #eef2f6;
    padding: 30px;
    border-radius: 15px;
    transition: 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Icon */

.service-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #1f4e8c;
    margin-bottom: 20px;
}

/* Text */

.service-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
    color: #0a1a44;
}

.service-card p {
    font-size: 14px;
    color: #6c757d;
}

/* Learn More */

.learn-more {
    color: #1f4e8c;
    text-decoration: none;
    font-weight: 500;
}

.learn-more i {
    margin-left: 5px;
}

/* Button */

.view-btn {
    background: #1f4e8c;
    color: white;
    padding: 12px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
}

.view-btn:hover {
    background: #163d6b;
    color: white;
}



/* contact us section */

.contact-section {
    padding: 30px 0;
    background: #ffffff;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    color: #0a1a44;
}

.contact-subtitle {
    color: #6c757d;
    margin-top: 10px;
}

.contact-form {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-control {
    border-radius: 8px;
    padding: 12px;
}

.contact-btn {
    background: #ff7a3d;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
}

.contact-btn:hover {
    background: #e5662b;
    color: white;
}

.contact-info {
    background: white;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    height: 100%;
}

.contact-info h4 {
    color: #0a1a44;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.info-item i {
    font-size: 20px;
    color: #2f5c8f;
}

.map-section iframe {
    width: 100%;
    border: none;
}

/* about page */

.vision-mission-section{
padding:70px 0;
background:#f5f5f5;
}

/* Title */

.vm-title{
font-weight:700;
font-size:24px;
color:#1a1a1a;
position:relative;
margin-bottom:15px;
}

.vm-title::after{
content:"";
width:60px;
height:3px;
background:#2f5c8f;
position:absolute;
left:0;
bottom:-6px;
}

/* List */

.vm-block ul{
padding-left:18px;
}

.vm-block li{
margin-bottom:10px;
color:#333;
line-height:1.7;
}

.video-box{
    width:100%;
}

.vm-img{
    width:100%;
    height:auto;
    border-radius:12px;
    box-shadow:0 8px 20px rgba(0,0,0,0.15);
}

/* Mobile spacing */

@media (max-width:991px){

.video-box{
margin-top:20px;
}

}
/* Responsive */

@media (max-width:991px){

.video-box{
margin-top:30px;
}

}

/* services page */

.service-card{
background:#f7f7fb;
padding:30px;
border-radius:15px;
margin-bottom:30px;
}

.service-card img{
border-radius:12px;
}

.service-tag{
color:#5b6cff;
font-weight:600;
font-size:14px;
display:block;
margin-bottom:10px;
}

.service-card h3{
font-weight:700;
margin-bottom:15px;
}

.service-card p{
color:#666;
}

.btn-primary{
background:#5b6cff;
border:none;
padding:10px 20px;
border-radius:6px;
}

.eye-services-section{
background:#ffffff;
}

.eye-service-card{
background:#fff;
padding:25px;
border-radius:14px;
box-shadow:0 5px 20px rgba(0,0,0,0.08);
text-align:center;
height:100%;
transition:0.3s;
}

.eye-service-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 30px rgba(0,0,0,0.12);
}

.eye-service-img{
width:100%;
height:220px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

.eye-service-title{
font-size:20px;
font-weight:600;
margin-bottom:15px;
}

.eye-service-list{
text-align:left;
padding-left:18px;
margin-bottom:20px;
}

.eye-service-list li{
margin-bottom:8px;
color:#555;
font-size:14px;
}

.eye-service-btn{
padding:8px 22px;
border-radius:6px;
font-size:14px;
}