* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0066CC;
    --primary-light: #4D94FF;
    --secondary-color: #00A896;
    --accent-color: #FF6B6B;
    --text-dark: #1A1A2E;
    --text-light: #6C757D;
    --cream: #F8F9FA;
    --light-cream: #FFFFFF;
    --border-color: #DEE2E6;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --success: #28A745;
    --white: #FFFFFF;
    --spacing: 8px;
    --gradient: linear-gradient(135deg, #0066CC 0%, #00A896 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-cream);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.services-preview .section-header h2 {
    font-size: 42px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 700;
}
.services-preview .section-header p {
    font-size: 18px;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}
.services-preview .section-tag {
    display: inline-block;
    color: #c9e601;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}
.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 50px!important;
    margin-top: 35px;
}

/* Top Info Bar */
.top-bar {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-info {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-bar-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-info i {
    font-size: 16px;
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 8px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 45px;
    width: 60px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 10px;
}

.nav-list a:not(.btn-appointment)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-list a:not(.btn-appointment):hover::after,
.nav-list a:not(.btn-appointment).active::after {
    width: 100%;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.btn-appointment {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    font-size: 15px;
}

.btn-appointment:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.btn-appointment::after {
    display: none;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}
/*drop-down menu*/
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    padding: 0;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background: #f0f8ff;
    color: #0066cc;
    padding-left: 25px;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05);
        margin: 10px 0;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .dropdown.active .dropdown-menu {
        max-height: 200px;
    }
    
    .dropdown-menu li a {
        padding-left: 40px;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }
}
/* Quick Actions Section */
.quick-actions {
  position: relative;
  overflow: hidden;
  height: 100vh; /* full screen hero */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero image styling */
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(70%); /* makes it darker for text visibility */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

/* Overlay content */
.quick-actions-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.quick-actions h1 {
  font-size: 48px;
  margin-bottom: 5px;
  font-weight: 700;
}

.quick-actions p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.95;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.action-btn {
    background: var(--white);
    padding: 20px 30px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.action-btn:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.action-btn-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--white);
}

.action-btn-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Search Section */
.search-section {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
}

.search-box {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input {
    flex: 1;
    padding: 18px 24px;
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.search-btn {
    padding: 18px 40px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3);
}

.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
    display: none; /* Hidden by default, can be enabled if needed */
}

.slider-container {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.2));
}

.slide-content h1 {
    font-size: 56px;
    color: var(--white);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.slide-content p {
    font-size: 20px;
    color: var(--white);
    margin-bottom: 32px;
    max-width: 600px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 24px;
}

.slider-btn.next {
    right: 24px;
}

.slider-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--white);
    width: 32px;
    border-radius: 6px;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.welcome-section {
    padding: 80px 0;
    background-color: var(--white);
}

.welcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.welcome-card {
    text-align: center;
    padding: 45px 30px;
    background: var(--white);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px var(--shadow);
}

.welcome-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px var(--shadow-hover);
    border-color: var(--primary-color);
}

.icon-box {
    width: 90px;
    height: 90px;
    margin: 0 auto 24px;
    background: var(--gradient);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--white);
    transition: all 0.3s ease;
}

.welcome-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.welcome-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.welcome-card p {
    color: var(--text-light);
    line-height: 1.8;
}
.card-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--gradient);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 114, 255, 0.2);
}

.card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 114, 255, 0.3);
  opacity: 0.95;
}
.card-btn {
  background: linear-gradient(90deg, #00c6ff, #0072ff, #00c6ff);
  background-size: 200% 200%;
  animation: gradientFlow 4s linear infinite;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.services-preview {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}
/* service page*/
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}
.service-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 12px;
    box-shadow: 0 3px 15px var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(-5deg);
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 12px;
}

.stats-section {
    padding: 80px 0;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.stats-grid {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
}

.stat-card {
    text-align: center;
    color: var(--white);
}

.stat-number {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 18px;
    opacity: 0.95;
}

.cta-section {
    padding: 80px 0;
    background: var(--light-cream);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.cta-content p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 64px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo i {
    font-size: 32px;
    color: var(--primary-color);
}

.footer-col p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 24px;
}

.footer-col h4 {
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    opacity: 1;
    transform: translateX(4px);
    color: var(--primary-color);
}

.contact-info li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-info i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.page-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 120px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-hero h1 {
    font-size: 56px;
    margin-bottom: 16px;
    font-weight: 700;
}

.page-hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
}

.about-intro,
.services-intro,
.doctors-intro {
    padding: 50px 0;
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px var(--shadow);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-content h2 {
    font-size: 42px;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.about-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-item i {
    color: var(--success);
    font-size: 20px;
}

.mission-vision {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.mv-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-hover);
}

.mv-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.mv-card h3 {
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.why-choose {
    padding: 80px 0;
    background-color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.why-card {
    background: var(--light-cream);
    padding: 40px 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.why-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px var(--shadow);
}

.why-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 16px;
}

.why-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.achievements {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.achievement-card {
    background: var(--white);
    padding: 48px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-hover);
}

.achievement-card i {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.achievement-card h4 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.achievement-card p {
    color: var(--text-light);
    font-weight: 600;
}

.detailed-services {
    padding: 80px 0;
    background-color: var(--white);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    margin-bottom: 80px;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    margin-bottom: 24px;
}

.service-detail-content h3 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-detail-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.service-features i {
    color: var(--success);
    font-size: 18px;
}

.service-detail-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px var(--shadow);
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.additional-services {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.emergency-banner {
    padding: 48px 0;
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--white);
    text-align: center;
}

.emergency-content i {
    font-size: 48px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.emergency-content h3 {
    font-size: 28px;
    margin-bottom: 8px;
}

.doctors-filter {
    padding: 40px 0;
    background-color: var(--white);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-btn {
    padding: 12px 32px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    border-color: transparent;
}

.doctors-grid-section {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
}

.doctor-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 16px var(--shadow);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px var(--shadow-hover);
}

.doctor-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hospital-logo{

  position: relative;
  height: 250px;
  background-color: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hospital-logo img {
  width: 100px;   /* adjust logo size */
  height: auto;
  object-fit: contain;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(135, 206, 235, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.doctor-social {
    display: flex;
    gap: 16px;
}

.doctor-social a {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.doctor-social a:hover {
    transform: translateY(-4px);
}

.doctor-info {
    padding: 32px;
}

.doctor-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.doctor-specialty {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 14px;
}

.doctor-info p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.doctor-details {
    margin-bottom: 24px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 14px;
}

.detail-item i {
    color: var(--primary-color);
}

.btn-book {
    display: block;
    text-align: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(135, 206, 235, 0.4);
}

.join-team {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.join-content {
    text-align: center;
    color: var(--white);
}

.join-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.join-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.contact-info-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.contact-info-card {
    background: var(--light-cream);
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 32px var(--shadow);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
}

.contact-info-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-info-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-form-section {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.contact-form-content h2 {
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.contact-form-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 32px;
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 24px var(--shadow);
    position: relative;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--light-cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 16px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
}

.form-success.show {
    display: flex;
}

.form-success i {
    font-size: 80px;
    color: var(--success);
    margin-bottom: 24px;
}

.form-success h3 {
    font-size: 32px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.form-success p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.map-section {
    padding: 80px 0;
    background-color: var(--white);
}

.map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px var(--shadow);
}

.appointment-steps {
    padding: 80px 0;
    background-color: var(--white);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 32px;
}

.step-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--light-cream);
    border-radius: 16px;
    position: relative;
}

.step-number {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.step-card p {
    color: var(--text-light);
}

.appointment-form-section {
    padding: 80px 0;
    background-color: var(--light-cream);
}

.appointment-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.appointment-info h2 {
    font-size: 36px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--white);
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.info-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.emergency-note {
    background: #FFE8E8;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 4px solid #FF6B6B;
}

.emergency-note i {
    color: #FF6B6B;
    font-size: 24px;
}

.emergency-note p {
    color: var(--text-dark);
    line-height: 1.6;
}

.appointment-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--text-dark);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.btn-large {
    width: 100%;
    padding: 16px 32px;
    font-size: 18px;
}

.appointment-faq {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.faq-item {
    background: var(--light-cream);
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
}

.faq-item h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.faq-item i {
    color: var(--primary-color);
}

.faq-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.fade-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-cream) 0%, rgba(255, 255, 255, 0.8) 50%, var(--light-cream) 100%);
    position: relative;
    display: block !important;
    visibility: visible !important;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="hearts" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M30 45c-4-4-8-8-8-12 0-3 2-5 5-5 2 0 4 1 5 3 1-2 3-3 5-3 3 0 5 2 5 5 0 4-4 8-8 12z" fill="rgba(0,102,204,0.03)"/></pattern></defs><rect width="60" height="60" fill="url(%23hearts)"/></svg>');
    opacity: 0.5;
    pointer-events: none;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 60px !important;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.testimonials-section .section-tag {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white) !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 24px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.testimonials-section .section-tag:hover::before {
    left: 100%;
}

.testimonials-section .section-header h2 {
    font-size: 48px !important;
    color: var(--text-dark) !important;
    margin-bottom: 16px;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.testimonials-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.testimonials-section .section-header p {
    font-size: 20px !important;
    color: var(--text-light) !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    line-height: 1.6 !important;
    font-weight: 400;
    opacity: 0.9;
}

.testimonials-carousel {
    position: relative;
    max-width: 1000px;
    margin: 48px auto 0;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300%;
}

.testimonial-slide {
    flex: 0 0 100%;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.testimonial-slide.active {
    opacity: 1;
    transform: scale(1);
}

.testimonial-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    color: #FFD700;
    margin-bottom: 25px;
    font-size: 20px;
    display: flex;
    gap: 2px;
}

.testimonial-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
    font-style: italic;
    font-size: 17px;
    position: relative;
}

.testimonial-card p::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: serif;
}

.testimonial-card p::after {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.author-info h4 {
    margin: 0 0 6px 0;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 700;
}

.author-info span {
    color: var(--primary-color);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 18px;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 102, 204, 0.3);
}

.prev-btn {
    left: -25px;
}

.next-btn {
    right: -25px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="faq-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,102,204,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-dots)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.faq-question {
    padding: 24px 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(0, 102, 204, 0.03);
}

.faq-question h4 {
    font-size: 18px;
    margin: 0;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    flex: 1;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 32px 0 60px;
    color: var(--text-light);
    line-height: 1.8;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 32px 24px 60px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-question {
    background-color: rgba(0, 102, 204, 0.05);
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--white);
        box-shadow: 0 8px 16px var(--shadow);
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-slider {
        height: 500px;
    }

    .slide-content h1 {
        font-size: 36px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 32px;
    }

    .about-grid,
    .service-detail,
    .contact-form-grid,
    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn.prev {
        left: 16px;
    }

    .slider-btn.next {
        right: 16px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .emergency-content {
        flex-direction: column;
        text-align: center;
    }

    /* FAQ Section */
    .faq-section {
        padding: 80px 0;
        background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
        position: relative;
        overflow: hidden;
    }

    .faq-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="faq-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(0,102,204,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23faq-dots)"/></svg>');
        opacity: 0.3;
        pointer-events: none;
    }

    .faq-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
        margin-top: 48px;
        position: relative;
        z-index: 2;
    }

    .faq-item {
        background: var(--white);
        border-radius: 16px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
        border: 1px solid var(--border-color);
        overflow: hidden;
    }

    .faq-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        border-color: var(--primary-color);
    }

    .faq-question {
        padding: 24px 32px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        transition: all 0.3s ease;
    }

    .faq-question:hover {
        background-color: rgba(0, 102, 204, 0.03);
    }

    .faq-question h4 {
        font-size: 18px;
        margin: 0;
        color: var(--text-dark);
        display: flex;
        align-items: center;
        gap: 12px;
        font-weight: 600;
        flex: 1;
    }

    .faq-question i {
        color: var(--primary-color);
        font-size: 20px;
        flex-shrink: 0;
        transition: transform 0.3s ease;
    }

    .faq-answer {
        padding: 0 32px 0 60px;
        color: var(--text-light);
        line-height: 1.8;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-item.active .faq-answer {
        padding: 0 32px 24px 60px;
        max-height: 500px;
    }

    .faq-item.active .faq-question i {
        transform: rotate(180deg);
    }

    .faq-item.active .faq-question {
        background-color: rgba(0, 102, 204, 0.05);
        border-bottom: 1px solid var(--border-color);
    }
}

/* Quick Actions Responsive */
.quick-actions h1 {
    font-size: 36px;
}

.quick-actions p {
    font-size: 18px;
}

.action-buttons {
    gap: 15px;
}

.action-btn {
    min-width: 150px;
}

.search-input {
    padding: 15px 20px;
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .hero-slider {
        height: 400px;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .section-header h2 {
        font-size: 28px;
    }
    
    /* Top bar hidden on small screens */
    .top-bar {
        display: none;
    }

    /* Quick Actions Mobile */
    .quick-actions {
        padding: 30px 0;
    }

    .quick-actions h1 {
        font-size: 24px;
        line-height: 1.3;
    }

    .quick-actions p {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .action-buttons {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 30px;
    }

    .action-btn {
        width: 100%;
        min-width: unset;
        padding: 16px 20px;
    }

    .action-btn-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .action-btn-text {
        font-size: 14px;
    }

    .search-section {
        padding: 20px;
    }

    .search-box {
        flex-direction: column;
        gap: 12px;
    }

    .search-input {
        font-size: 14px;
        padding: 14px 18px;
    }

    .search-btn {
        width: 100%;
        font-size: 14px;
        padding: 14px;
        justify-content: center;
    }

    /* Testimonials Mobile */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-section .section-header {
        margin-bottom: 40px !important;
        margin-top: 20px;
    }

    .testimonials-section .section-tag {
        font-size: 14px !important;
        padding: 10px 20px;
        letter-spacing: 1px;
    }

    .testimonials-section .section-header h2 {
        font-size: 32px !important;
    }

    .testimonials-section .section-header p {
        font-size: 16px !important;
        max-width: 500px !important;
    }

    .testimonials-carousel {
        margin: 32px auto 0;
    }

    .testimonial-card {
        padding: 32px 24px;
        margin: 10px;
    }

    .testimonial-card p {
        font-size: 15px;
    }

    .author-info h4 {
        font-size: 16px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .prev-btn {
        left: -15px;
    }

    .next-btn {
        right: -15px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    /* FAQ Mobile */
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 32px;
    }

    .faq-item {
        margin-bottom: 16px;
    }

    .faq-question {
        padding: 20px;
    }

    .faq-question h4 {
        font-size: 16px;
    }

    .faq-answer {
        padding: 0 20px 0 40px;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px 40px;
    }
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 40px;
    }

    
    

    .about-features {
        grid-template-columns: 1fr;
    }

    .service-detail-image img {
        height: 300px;
    }
/* md-desk*/
/* Add this to your styles.css file for MD's Desk page */

/* MD Desk Section */
/* MD's Desk Page Styles */

/* Hero Section */
.md-hero {
    background: linear-gradient(135deg, #0066cc 0%, #004c99 100%);
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

.md-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path d="M0 0h100v100H0z" fill="none"/><path d="M50 0L100 50L50 100L0 50z" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 100px 100px;
}

.md-hero h1 {
    color: white;
    font-size: 42px;
    position: relative;
    z-index: 1;
}

/* Main Section */
.md-main-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.md-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    align-items: start;
}

/* Left Column - Photo & Contact */
.md-left-column {
    position: sticky;
    top: 100px;
}

.md-photo-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    text-align: center;
}

.md-photo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    position: relative;
}

.md-photo-wrapper::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(135deg, #0066cc, #00c6ff);
    border-radius: 15px;
    z-index: 0;
}

.md-photo-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: relative;
    z-index: 1;
    border: 5px solid white;
}

.md-basic-info h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.md-basic-info .md-designation {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    font-style: italic;
}

.md-contact-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.md-contact-card h4 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 25px;
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.md-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.md-contact-item:last-child {
    border-bottom: none;
}

.md-contact-item i {
    font-size: 20px;
    color: #0066cc;
    width: 25px;
    margin-top: 3px;
}

.md-contact-item div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.md-contact-item .label {
    font-size: 12px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.md-contact-item .value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
    word-break: break-word;
}

/* Right Column - Message Content */
.md-right-column {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.md-message-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    padding: 30px 40px;
    position: relative;
}

.md-message-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.md-message-header h2 {
    color: white;
    font-size: 28px;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.md-message-content {
    padding: 50px 40px;
}

.welcome-text {
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
    border-left: 4px solid #0066cc;
    border-radius: 10px;
}

.welcome-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

.welcome-text strong {
    color: #0066cc;
    font-weight: 700;
}

.message-paragraph {
    margin-bottom: 25px;
}

.message-paragraph p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

/* Signature Section */
.md-signature-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e9ecef;
}

.signature-line {
    width: 150px;
    height: 2px;
    background: linear-gradient(to right, #0066cc, transparent);
    margin-bottom: 20px;
}

.regards {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.signature-name {
    font-size: 26px;
    font-weight: 700;
    color: #0066cc;
    margin-bottom: 8px;
}

.signature-title {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.signature-company {
    font-size: 14px;
    color: #999;
}

/* Vision Section */
.md-vision-section {
    padding: 80px 0;
    background: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.vision-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.15);
    border-color: #0066cc;
    background: white;
}

.vision-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #0066cc, #00c6ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.vision-icon i {
    font-size: 36px;
    color: white;
}

.vision-card h3 {
    font-size: 22px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.vision-card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    .md-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .md-left-column {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .md-hero {
        padding: 80px 0 40px;
    }
    
    .md-hero h1 {
        font-size: 28px;
    }
    
    .md-main-section {
        padding: 40px 0;
    }
    
    .md-left-column {
        grid-template-columns: 1fr;
    }
    
    .md-photo-card,
    .md-contact-card {
        padding: 25px;
    }
    
    .md-message-header {
        padding: 25px 20px;
    }
    
    .md-message-header h2 {
        font-size: 22px;
    }
    
    .md-message-content {
        padding: 30px 20px;
    }
    
    .welcome-text {
        padding: 20px;
    }
    
    .welcome-text p,
    .message-paragraph p {
        font-size: 14px;
    }
    
    .signature-name {
        font-size: 22px;
    }
    
    .md-vision-section {
        padding: 40px 0;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Animation for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.md-photo-card,
.md-contact-card,
.md-right-column,
.vision-card {
    animation: fadeInUp 0.6s ease-out;
}

.md-photo-card {
    animation-delay: 0.1s;
}

.md-contact-card {
    animation-delay: 0.2s;
}

.md-right-column {
    animation-delay: 0.3s;
}

.vision-card:nth-child(1) {
    animation-delay: 0.1s;
}

.vision-card:nth-child(2) {
    animation-delay: 0.2s;
}

.vision-card:nth-child(3) {
    animation-delay: 0.3s;
}