:root {
    --primary: #1a6dbb;
    --primary-dark: #0d5a9e;
    --secondary: #e63946;
    --accent: #2a9d8f;
    --light: #f8f9fa;
    --dark: #212529;
    --gray: #6c757d;
    --light-blue: #e3f2fd;
    --success: #28a745;
    --warning: #ffc107;
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo {
   display: flex;
    align-items: center;
}

.logo-icon {
    color: var(--primary);
    font-size: 2.2rem;
    margin-right: 10px;
}
.logo-link {
     display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1001;
}
.logo-text h1 {
    font-size: 1.8rem;
    margin-bottom: 0;
    line-height: 1.2;
}

.logo-text span {
    color: var(--accent);
    font-weight: 400;
    font-size: 0.9rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
    display: inline-block;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li.has-submenu > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

nav ul li.has-submenu {
    padding-bottom: 14px;
    margin-bottom: -14px;
}

.submenu-toggle {
    display: none;
    margin-left: 8px;
    border: none;
    background: transparent;
    color: var(--primary);
    cursor: pointer;
    padding: 3px;
    font-size: 0.9rem;
}

nav ul li .submenu {
    display: grid;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 780px;
    width: 780px;
    max-height: 70vh;
    overflow-y: auto;
    background: linear-gradient(145deg, #f7fbff 0%, #ffffff 100%);
    border: 1px solid #d9e8f6;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(12, 67, 120, 0.18);
    padding: 14px;
    z-index: 1200;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

nav ul li .submenu::before {
    content: '';
    position: absolute;
    top: -14px;
    left: 0;
    right: 0;
    height: 14px;
}

nav ul li .submenu li {
    margin: 0;
}

nav ul li .submenu li a {
    display: block;
    padding: 9px 11px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #164066;
    white-space: normal;
    line-height: 1.35;
    border-radius: 8px;
    border: 1px solid transparent;
}

nav ul li .submenu li a:hover {
    background: #ecf5ff;
    border-color: #c8def5;
    color: #0d5a9e;
}

nav ul li .submenu li a::after {
    display: none;
}

nav ul li.has-submenu:hover > .submenu,
nav ul li.has-submenu:focus-within > .submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

/* Active page styling */
nav ul li a.active {
    color: var(--primary);
    font-weight: 600;
}

nav ul li a.active::after {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary);
    cursor: pointer;
}


.trust-section {
    padding: 60px 0;
    background: #f8f9fb;
}

.trust-content h2 {
    text-align: center;
    margin-bottom: 20px;
}

.trust-content p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.trust-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-item {
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    width: 280px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.trust-item i {
    font-size: 30px;
    color: #0F4C5C;
    margin-bottom: 15px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(26, 109, 187, 0.85), rgba(26, 109, 187, 0.9)), url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Page Hero */
.page-hero {
    padding: 150px 0 80px;
    background: linear-gradient(rgba(26, 109, 187, 0.85), rgba(26, 109, 187, 0.9)), url('https://images.unsplash.com/photo-1586773860418-dc22f8b874bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 15px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.btn:hover {
    background-color: #d32f2f;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    color: white;
}

.btn-primary {
    background-color: var(--primary);
    box-shadow: 0 4px 15px rgba(26, 109, 187, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(26, 109, 187, 0.4);
}

.btn-success {
    background-color: var(--success);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    background-color: #218838;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-readmore {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-readmore:hover {
    color: var(--primary-dark);
    padding-left: 5px;
}

.btn-readmore i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-readmore:hover i {
    transform: translateX(5px);
}

.btn-emergency {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-emergency:hover {
    background-color: #c62828;
    transform: scale(1.05);
}

/* Stats Section */
.stats {
    background-color: white;
    padding: 80px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
}

.stat-text {
    font-size: 1.2rem;
    color: var(--gray);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--accent);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    z-index: -1;
    transition: height 0.3s ease;
}

.feature-card:hover::before {
    height: 100%;
    opacity: 0.05;
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--light-blue);
}

/* Services Section */
.services {
    background-color: white;
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary);
    z-index: -1;
    transition: width 0.3s ease;
}

.service-card:hover::before {
    width: 100%;
    opacity: 0.1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

/* Service Detail Page */
.service-detail {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.service-detail.reverse {
    flex-direction: row-reverse;
}

.service-detail-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.service-detail-text {
    flex: 1;
}

.service-list {
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
}

.service-list li i {
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 5px;
}

.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.additional-service {
    background-color: var(--light-blue);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.other-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.other-service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

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

.other-service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--light-blue);
}

/* Doctors Section */
.doctors {
    background-color: var(--light-blue);
    padding: 80px 0;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.doctor-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.doctor-img {
    height: 300px;
    overflow: hidden;
    position: relative;
}

.doctor-img img {
    width: 350px;
    height: 450px;
    
    transition: transform 0.5s ease;
}

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

.doctor-info {
    padding: 25px;
}

.doctor-info h3 {
    margin-bottom: 5px;
}

.doctor-specialty {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.doctor-cta {
    margin-top: 20px;
}

/* Doctor Profile Page */
.doctor-profile {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 80px;
}

.doctor-profile.reverse {
    flex-direction: row-reverse;
}

.doctor-profile-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.doctor-profile-img img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-profile-info {
    flex: 1.5;
}

.doctor-qualification {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.qualification-badge, .specialty-badge, .experience-badge {
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.qualification-badge {
    background-color: var(--light-blue);
    color: var(--primary);
}

.specialty-badge {
    background-color: rgba(42, 157, 143, 0.1);
    color: var(--accent);
}

.experience-badge {
    background-color: rgba(255, 193, 7, 0.1);
    color: #d4a017;
}

.doctor-details {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.doctor-details p {
    margin-bottom: 10px;
}

.expertise-list {
    list-style: none;
    margin: 20px 0;
    columns: 2;
}

.expertise-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    break-inside: avoid;
}

.expertise-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.availability-schedule {
    background-color: var(--light);
    padding: 20px;
    border-radius: 8px;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.schedule-item:last-child {
    border-bottom: none;
}

.doctor-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.staff-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.staff-img {
    height: 200px;
    overflow: hidden;
}

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

.staff-info {
    padding: 25px;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

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

.testimonial-slider {
    position: relative;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

.testimonial-card {
    background: linear-gradient(150deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid #dfeaf7;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 14px 30px rgba(13, 64, 111, 0.1);
    text-align: left;
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    right: 18px;
    font-size: 4.2rem;
    color: #cfe3f7;
    opacity: 1;
    font-family: serif;
}

.testimonial-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.testimonial-tag {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0d5a9e;
    font-weight: 700;
    background: #e9f3fe;
    padding: 6px 10px;
    border-radius: 999px;
}

.testimonial-card .rating {
    color: #f6b900;
    display: flex;
    gap: 4px;
}

.testimonial-quote {
    margin: 0 0 18px;
    font-size: 1.06rem;
    color: #1f3550;
    line-height: 1.8;
}

.testimonial-meta {
    border-top: 1px solid #e6eef8;
    padding-top: 14px;
}

.testimonial-meta h4 {
    margin-bottom: 4px;
}

.testimonial-meta span {
    color: #5f7590;
    font-size: 0.92rem;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.testimonial-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.testimonial-control.active {
    background-color: var(--primary);
}

.home-about-section {
    padding: 90px 0;
    background: radial-gradient(circle at top right, #cde9ff 0%, #eef7ff 36%, #ffffff 100%);
}

.home-about-shell {
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 30px;
    align-items: stretch;
}

.home-about-main,
.home-about-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #d9e8f7;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(15, 69, 116, 0.1);
}

.home-about-main {
    padding: 34px;
}

.home-about-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: #0d5a9e;
    background: #e8f3ff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.home-about-main h2 {
    margin-bottom: 16px;
    font-size: 2.2rem;
}

.home-about-main p {
    color: #2b3d52;
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 14px;
}

.home-about-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.home-about-stats div {
    background: #f4f9ff;
    border: 1px solid #d9e8f8;
    border-radius: 12px;
    padding: 16px 14px;
    text-align: center;
}

.home-about-stats strong {
    display: block;
    font-size: 1.5rem;
    color: #0d5a9e;
    line-height: 1;
    margin-bottom: 6px;
}

.home-about-stats span {
    font-size: 0.9rem;
    color: #5e738d;
}

.home-about-side {
    display: grid;
    gap: 16px;
}

.home-about-card {
    padding: 26px;
}

.home-about-card h3 {
    margin-bottom: 12px;
}

.home-about-card ul {
    margin: 0;
    padding-left: 18px;
    color: #2f465e;
    line-height: 1.8;
}

.home-about-card.accent {
    background: linear-gradient(160deg, #f2f9ff 0%, #ffffff 72%);
    border-left: 4px solid #1a6dbb;
}

.home-about-card p {
    color: #2f465e;
    margin-bottom: 12px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(26, 109, 187, 0.9), rgba(26, 109, 187, 0.95)), url('https://images.unsplash.com/photo-1586773860418-dc22f8b874bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

/* Page Content */
.page-content {
    padding: 80px 0;
}

.content-block {
    margin-bottom: 80px;
}

/* About Page */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-img {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: float 3s ease-in-out infinite;
}

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

.about-text {
    flex: 1;
}

.mission-vision {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.mission-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: var(--light-blue);
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.facility-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.facility-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.facility-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: inline-block;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background-color: var(--light-blue);
}

.values-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Contact Page */
.contact-container {
    display: flex;
    gap: 40px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    background-color: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 10px;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.map-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--accent) !important;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 109, 187, 0.1);
}

.form-note {
    margin-top: 20px;
    color: var(--gray);
    font-size: 0.9rem;
}

.map-container {
    margin-top: 40px;
}

.map-placeholder {
    display: flex;
    gap: 40px;
    align-items: center;
}

.map-info {
    flex: 1;
}

.map-image {
    flex: 1;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-image img {
    width: 100%;
    height: auto;
    display: block;
}

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

.parking-info {
    background-color: var(--light-blue);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid var(--success);
}

.faq-container {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background-color: var(--light);
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 500px;
}

/* SEO FAQ Section */
.seo-faq-section {
    padding: 70px 0;
    background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}

.seo-faq-wrap {
    max-width: 920px;
    margin: 0 auto;
}

.seo-faq-title {
    text-align: center;
    margin-bottom: 28px;
}

.seo-faq-title h2 {
    margin-bottom: 10px;
}

.seo-faq-title p {
    color: var(--gray);
    max-width: 680px;
    margin: 0 auto;
}

.seo-faq-list {
    display: grid;
    gap: 16px;
}

.seo-faq-item {
    background: #fff;
    border: 1px solid #dbe9f8;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(18, 82, 148, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.seo-faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(18, 82, 148, 0.14);
}

.seo-faq-item summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 56px 18px 20px;
    background: linear-gradient(90deg, #ffffff 0%, #f2f7ff 100%);
    color: var(--primary-dark);
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.seo-faq-item summary::-webkit-details-marker {
    display: none;
}

.seo-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    line-height: 1;
}

.seo-faq-item[open] {
    border-color: #b9d6f4;
}

.seo-faq-item[open] summary::after {
    content: '\2013';
    background: var(--secondary);
}

.seo-faq-answer {
    padding: 0 20px 18px;
    color: #3f4b57;
    line-height: 1.8;
}

.seo-faq-answer p {
    margin: 0;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 250px;
}

.footer-column h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 25px;
    position: relative;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent);
    bottom: -10px;
    left: 0;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
    color: #aaa;
    font-size: 0.9rem;
}

/* Why Choose Section */
.why-choose-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
}

.why-choose-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2.2rem;
    color: var(--primary-dark);
}

.why-choose-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border-top: 4px solid transparent;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary);
}

.why-choose-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.why-choose-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.why-choose-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-content, .service-detail, .doctor-profile, .contact-container, .map-placeholder {
        flex-direction: column;
    }

    .home-about-shell {
        grid-template-columns: 1fr;
    }

    .home-about-main {
        padding: 28px;
    }

    .testimonial-card {
        padding: 30px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .page-hero h1 {
        font-size: 2.5rem;
    }
    
    .expertise-list {
        columns: 1;
    }
    
    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        position: relative;
    }

    .mobile-menu-btn {
        display: block;
        position: relative;
        z-index: 1202;
    }

    nav {
        position: static;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 20px;
        right: 20px;
        width: auto;
        background-color: white;
        flex-direction: column;
        padding: 14px 0 18px;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
        border-top: 1px solid #e5edf6;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 14px 22px rgba(0, 0, 0, 0.12);
        z-index: 1201;
    }
    
    nav ul.show {
        display: flex;
    }
    
    nav ul li {
        margin: 0;
        text-align: left;
    }

    nav ul li.has-submenu {
        text-align: left;
    }

    nav ul li.has-submenu > a {
        width: calc(100% - 44px);
        justify-content: flex-start;
        padding-left: 18px;
        padding-right: 10px;
    }

    .submenu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        position: absolute;
        right: 6px;
        top: 7px;
    }

    .has-submenu.open .submenu-toggle i {
        transform: rotate(180deg);
    }

    nav ul li .submenu {
        position: static;
        display: none;
        min-width: 100%;
        width: 100%;
        max-height: none;
        box-shadow: none;
        border-radius: 0;
        border-top: 1px solid #e5edf6;
        background: #f8fbff;
        padding: 8px 0;
        grid-template-columns: 1fr;
        gap: 0;
    }

    nav ul li.has-submenu.open .submenu {
        display: grid;
    }

    nav ul li .submenu li a {
        white-space: normal;
        padding: 10px 22px;
        text-align: left;
        font-size: 0.92rem;
    }
    
    nav ul li a {
        display: block;
        padding: 14px 18px;
    }
    
    nav ul li a.active {
        background-color: var(--light-blue);
        color: var(--primary);
        font-weight: 600;
        border-left: 4px solid var(--primary);
        border-right: 4px solid var(--primary);
    }
    
    nav ul li a.active::after {
        display: none;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .page-hero {
        padding: 130px 0 60px;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }

    .home-about-stats {
        grid-template-columns: 1fr;
    }

    .home-about-main h2 {
        font-size: 1.9rem;
    }

    .testimonial-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .testimonial-quote {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    section {
        padding: 60px 0;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .doctor-actions {
        flex-direction: column;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-section h2 {
        font-size: 1.8rem;
    }

    .seo-faq-item summary {
        font-size: 1rem;
        padding-right: 52px;
    }

    .seo-faq-answer {
        font-size: 0.96rem;
    }
}

/* Active page indicator is now handled in nav ul li a.active */

.whatsapp-float {
    position: fixed;
    width: 70px;
    height: 70px;
    bottom: 30px;
    right: 30px;
    left: auto;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 35px;
    line-height: 70px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(37, 211, 102, 0.2);
    z-index: 9999;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .whatsapp-float {
        right: 16px;
        left: auto;
        bottom: 18px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 12px 36px rgba(37, 211, 102, 0.3);
    animation: none;
}

@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(37, 211, 102, 0.2);
    }
    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.6), 0 12px 36px rgba(37, 211, 102, 0.4);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 8px 24px rgba(37, 211, 102, 0.2);
    }
}
.hero-premium{
position:relative;
margin-top:80px;
height:clamp(300px, calc(100vh - 80px), 820px);
max-height:820px;
overflow:hidden;
font-family: 'Poppins', sans-serif;
}

.hero-slider{
height:100%;
}

.hero-slide{
position:absolute;
inset:0;
width:100%;
height:100%;
opacity:0;
transition:opacity 1.2s ease;
}

.hero-slide img{
width:100%;
height:100%;
object-fit:cover;
object-position:center top;
display:block;
}

.slide-overlay{
position:absolute;
inset:0;
background:linear-gradient(
  to bottom,
  rgba(0,0,0,0.18) 0%,
  rgba(0,0,0,0.08) 40%,
  rgba(0,0,0,0.32) 100%
);
pointer-events:none;
}

.hero-slide.active{
opacity:1;
}



@media (max-width: 992px) {
    .hero-premium {
        margin-top: 74px;
        height: clamp(260px, 58vh, 520px);
    }
}

@media (max-width: 768px) {
    .hero-premium {
        margin-top: 68px;
        height: clamp(220px, 50vw, 420px);
    }
}

@media (max-width: 576px) {
    .hero-premium {
        margin-top: 64px;
        height: clamp(200px, 56vw, 340px);
    }
}

/* Page Hero - Enhanced */
.page-hero {
    background: linear-gradient(135deg, #1a6dbb 0%, #0d5a9e 50%, #2a9d8f 100%);
    background-attachment: fixed;
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    animation: moveBackground 20s linear infinite;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to top, white, transparent);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-hero p {
    font-size: 1.3rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.3px;
}

/* Section Divider */
.section-divider {
    height: 40px;
    background: linear-gradient(90deg, transparent 0%, #f0f0f0 50%, transparent 100%);
    margin: 40px 0;
}

/* Trust Section - Enhanced */
.trust-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f8f9fb 0%, #ffffff 100%);
    position: relative;
}

.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.trust-content h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.trust-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    animation: expandWidth 0.8s ease-out 0.2s forwards;
}

/* Services Grid - Enhanced */
.content-block {
    position: relative;
}

.content-block h2 {
    position: relative;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light);
}

.content-block h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    animation: expandWidth 0.6s ease-out 0.3s forwards;
}

/* Why Choose Cards - Enhanced Design */
.why-choose-grid {
    position: relative;
}

.why-choose-grid::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-50%);
}

.why-choose-card {
    background: white;
    position: relative;
    perspective: 1000px;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    animation: expandWidth 0.6s ease-out;
    animation-fill-mode: both;
}

.why-choose-card:nth-child(1)::before { animation-delay: 0.1s; }
.why-choose-card:nth-child(2)::before { animation-delay: 0.2s; }
.why-choose-card:nth-child(3)::before { animation-delay: 0.3s; }
.why-choose-card:nth-child(4)::before { animation-delay: 0.4s; }
.why-choose-card:nth-child(5)::before { animation-delay: 0.5s; }
.why-choose-card:nth-child(6)::before { animation-delay: 0.6s; }

.why-choose-icon {
    position: relative;
    z-index: 1;
}

/* Blog Post - Enhanced */
.blog-post {
    border-radius: 12px;
    border: 1px solid rgba(26, 109, 187, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, rgba(232, 242, 253, 0.5) 100%);
}

.blog-content {
    position: relative;
}

.blog-content strong {
    color: var(--primary);
    font-weight: 600;
}

/* List item enhancement */
.blog-content li::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: bold;
    margin-right: 5px;
    animation: fadeIn 0.5s ease-out;
}

/* CTA Box - Enhanced */
.cta-box {
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 109, 187, 0.2);
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(42, 157, 143, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

/* Moving background animation */
@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(60px, 60px);
    }
}

/* Width expansion animation */
@keyframes expandWidth {
    from {
        transform: scaleX(0);
        transform-origin: left;
    }
    to {
        transform: scaleX(1);
        transform-origin: left;
    }
}

/* Float animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}
.blog-section {
    padding: 40px 0;
}

.blog-post {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    font-size: 0.95rem;
}

.blog-meta i {
    color: var(--primary);
}

.blog-content h2 {
    font-size: 1.8rem;
    margin: 30px 0 15px 0;
    color: var(--primary-dark);
}

.blog-content h3 {
    font-size: 1.4rem;
    margin: 25px 0 12px 0;
    color: var(--primary-dark);
}

.blog-content h4 {
    font-size: 1.1rem;
    margin: 15px 0 10px 0;
    color: var(--primary);
}

.blog-content p {
    margin: 12px 0;
    line-height: 1.8;
    color: var(--dark);
}

.blog-content ul {
    margin: 15px 0 15px 25px;
}

.blog-content li {
    margin: 8px 0;
    line-height: 1.7;
    color: var(--dark);
}

.blog-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    text-align: center;
}

.blog-cta h4 {
    color: white;
    margin-bottom: 10px;
}

.blog-cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
}

.blog-cta .btn {
    margin: 0 10px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(26, 109, 187, 0.1) 0%, rgba(42, 157, 143, 0.1) 100%);
    border-left: 4px solid var(--primary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.cta-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 20px;
    color: var(--gray);
}

/* Advanced Animations & Effects */

/* Page Hero Animation */
.page-hero h1 {
    animation: slideInDown 0.8s ease-out;
}

.page-hero p {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

/* Trust Section Animations */
.trust-content h2 {
    animation: fadeInDown 0.6s ease-out;
}

.trust-content > p {
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.trust-item {
    animation: scaleIn 0.6s ease-out;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 15px 40px rgba(26, 109, 187, 0.2);
}

.trust-item i {
    animation: spin 0.6s ease-out;
    transition: all 0.3s ease;
}

.trust-item:hover i {
    transform: rotateY(360deg);
    color: var(--primary);
}

.trust-item h4 {
    animation: fadeIn 0.6s ease-out 0.1s both;
    transition: color 0.3s ease;
}

.trust-item:hover h4 {
    color: var(--primary);
}

/* Services Grid Animation */
.why-choose-card {
    animation: slideInUp 0.6s ease-out;
    animation-fill-mode: both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-choose-card:nth-child(1) { animation-delay: 0.1s; }
.why-choose-card:nth-child(2) { animation-delay: 0.2s; }
.why-choose-card:nth-child(3) { animation-delay: 0.3s; }
.why-choose-card:nth-child(4) { animation-delay: 0.4s; }
.why-choose-card:nth-child(5) { animation-delay: 0.5s; }
.why-choose-card:nth-child(6) { animation-delay: 0.6s; }

.why-choose-card:hover {
    transform: translateY(-15px) rotateY(2deg);
    box-shadow: 0 20px 50px rgba(26, 109, 187, 0.25);
}

.why-choose-icon {
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-icon {
    animation: bounce 0.6s ease-out;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    transform: scale(1.15);
}

.why-choose-card h4 {
    animation: fadeInUp 0.5s ease-out 0.2s both;
}

.why-choose-card p {
    animation: fadeIn 0.5s ease-out 0.3s both;
}

/* Blog Section Animations */
.blog-section h2 {
    animation: slideInDown 0.7s ease-out;
}

.blog-post {
    animation: fadeIn 0.8s ease-out 0.2s both;
    transition: all 0.3s ease;
}

.blog-post:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-meta span {
    animation: fadeInLeft 0.5s ease-out;
    animation-fill-mode: both;
}

.blog-meta span:nth-child(1) { animation-delay: 0.1s; }
.blog-meta span:nth-child(2) { animation-delay: 0.2s; }
.blog-meta span:nth-child(3) { animation-delay: 0.3s; }

.blog-content h2 {
    animation: slideInLeft 0.6s ease-out;
    border-bottom: 3px solid var(--primary);
    padding-bottom: 10px;
}

.blog-content h3 {
    animation: slideInLeft 0.5s ease-out;
    transition: all 0.3s ease;
}

.blog-content h3:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.blog-content ul {
    animation: fadeInUp 0.5s ease-out;
}

.blog-content li {
    transition: all 0.3s ease;
    animation: fadeInLeft 0.5s ease-out;
    animation-fill-mode: both;
}

.blog-content li:hover {
    padding-left: 20px;
    color: var(--primary);
    text-shadow: 0 2px 4px rgba(26, 109, 187, 0.1);
}

/* CTA Animation */
.blog-cta {
    animation: slideInUp 0.7s ease-out 0.3s both;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.blog-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.blog-cta .btn {
    animation: fadeIn 0.5s ease-out 0.4s both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.blog-cta .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* CTA Box */
.cta-box {
    animation: slideInUp 0.8s ease-out 0.4s both;
    background: linear-gradient(135deg, rgba(26, 109, 187, 0.1) 0%, rgba(42, 157, 143, 0.1) 100%);
    border-left: 4px solid var(--primary);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: slide 3s ease-in-out infinite;
}

.cta-box:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(26, 109, 187, 0.15) 0%, rgba(42, 157, 143, 0.15) 100%);
}

.cta-box h3 {
    animation: slideInDown 0.6s ease-out 0.5s both;
    transition: color 0.3s ease;
}

.cta-box:hover h3 {
    color: var(--primary);
}

.cta-box p {
    animation: fadeIn 0.5s ease-out 0.6s both;
}

.cta-box .btn {
    animation: scaleIn 0.6s ease-out 0.7s both;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta-box .btn:hover {
    transform: scale(1.08) translateY(-3px);
}

/* Button Animations */
.btn {
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Keyframe Animations */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(0);
    }
    75% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(26, 109, 187, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(26, 109, 187, 0);
    }
}

@keyframes spin {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes slide {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

/* Contact Form - Enhanced Validation */
.contact-form input[type="date"],
.contact-form select {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #e3f2fd;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.contact-form input[type="date"]:focus,
.contact-form select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 109, 187, 0.15);
    outline: none;
    transform: translateY(-2px);
}

/* Valid date styling */
.contact-form input[type="date"]:valid {
    border-color: var(--success);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.contact-form input[type="date"]:invalid {
    border-color: #dc3545;
    background: linear-gradient(135deg, #ffffff 0%, #ffe5e5 100%);
}

/* Form group styling */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-dark);
    transition: color 0.3s ease;
}

.form-group:focus-within label {
    color: var(--primary);
}

/* Time slot select - disabled state */
.contact-form select:disabled {
    background: linear-gradient(135deg, #f8f9fa 0%, #efefef 100%);
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
    border-color: #d0d0d0;
}

/* Time slot info message */
#time-slot-info {
    animation: slideInUp 0.3s ease-out;
    transition: all 0.3s ease;
}

#time-slot-info.success-message {
    color: var(--success);
    background: #f0fdf4;
    border-left-color: var(--success);
}

#time-slot-info.error-message {
    color: #e63946;
    background: #ffe5e5;
    border-left-color: #e63946;
}

#time-slot-info.warning-message {
    color: #ff9800;
    background: #fff8e5;
    border-left-color: #ff9800;
}

/* Form validation messages */
.form-validation {
    padding: 12px;
    border-radius: 6px;
    margin-top: 8px;
    font-size: 0.9rem;
    display: none;
    animation: slideInUp 0.3s ease-out;
}

.form-validation.show {
    display: block;
}

.form-validation.success {
    background: #f0fdf4;
    border-left: 3px solid var(--success);
    color: var(--success);
}

.form-validation.error {
    background: #ffe5e5;
    border-left: 3px solid #e63946;
    color: #e63946;
}

.form-validation.warning {
    background: #fff8e5;
    border-left: 3px solid #ff9800;
    color: #ff9800;
}

/* Date/Time indicators & Appointment Summary */
.date-time-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 4px solid var(--success);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    animation: slideInUp 0.3s ease-out;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
}

.date-time-indicator i {
    font-size: 1.3rem;
    color: var(--success);
    animation: pulse 2s infinite;
}

.date-time-indicator strong {
    color: var(--primary-dark);
    display: block;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.date-time-indicator span {
    color: var(--primary);
    font-weight: 600;
}

/* Button disabled state */
.btn:disabled,
.btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:disabled:hover,
.btn[disabled]:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* Success feedback */
.form-success {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid var(--success);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
    animation: slideInDown 0.5s ease-out;
}

.form-success.show {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--success);
}

.form-success i {
    font-size: 1.5rem;
}

/* Responsive Blog */
@media (max-width: 768px) {
    .blog-post {
        padding: 25px;
    }
    
    .blog-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .blog-content h2 {
        font-size: 1.5rem;
    }
    
    .blog-content h3 {
        font-size: 1.2rem;
    }
    
    .blog-cta {
        padding: 20px;
    }
    
    .blog-cta .btn {
        display: block;
        margin: 10px 0;
    }
    
    .cta-box {
        padding: 20px;
    }
}