/* Divine Healthcare - Simplified Stylesheet */
:root {
    --primary-color: #a363e2;
    --primary-dark: #8b4dce;
    --primary-light: #b87eef;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --gray-100: #f9f9f9;
    --gray-200: #f0f0f0;    
    --secondary-color: #f4f8fb;
    --success-color: #27ae60;
    --danger-color: #e74c3c;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.content-container{    
    padding: 0px 10px;
}
/* ===== HEADER & NAVIGATION ===== */
header {
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(0, 0, 0, 0.08) 0px 2px 10px;
    position: sticky;
    top: 0px;
    z-index: 1000;
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0px auto;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: bold;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: 40px;
    object-fit: contain;
}

.logo:hover {
    color: var(--primary-dark);
}

.logo:hover .logo-image {
    filter: brightness(0.9);
}

.nav-links {
       display: flex;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

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

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

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
    height: 24px;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== HERO SECTION WITH CAROUSEL ===== */
.hero {
    position: relative;
    height: 35vw;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
}  

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 27%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: white;
    animation: slideInDown 0.6s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    color: white;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

.hero-content .cta-button, .fixedButtons a.cta-button {
    font-size: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--gray-200))!important;
    border: none;
    border-radius: 30px;
    color: var(--text-dark);
    font-weight: 600;
    text-transform:capitalize;
    letter-spacing: .5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(229, 226, 231, 0.3);
    margin-bottom: 5px;
    animation: prismShine 3s ease-in-out infinite;
}

.fixedButtons a.cta-button {
    background: linear-gradient(135deg, var(--primary-color), var(--gray-200))!important;
    animation: prismShineFixedButtons 3s ease-in-out infinite;
    width:100%;
    padding: 10px;
    font-size: 14px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
}

.fixedButtons {
    position: fixed;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;    
    gap: .2rem;
}


@keyframes prismShine {

	0%,
	100% {
		filter: brightness(1) hue-rotate(0deg);
		transform: rotate(0deg) scale(1);
	}

	50% {
		filter: brightness(1.1) hue-rotate(0deg);
		transform: rotate(0deg) scale(1.04);
	}
}

@keyframes prismShineFixedButtons {

	0%,
	100% {
		filter: brightness(1) hue-rotate(0deg);
		transform: rotate(0deg) scale(1);
	}

	50% {
		filter: brightness(1.2) hue-rotate(0deg);
		transform: rotate(0deg) scale(1.10);
	}
}

.hero-content button {
    margin-right: 1rem;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    z-index: 3;
    pointer-events: none;
}

.carousel-btn {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.carousel-btn.prev {
    margin-right: auto;
}

.carousel-btn.next {
    margin-left: auto;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator.active {
    background-color: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* 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);
    }
}

/* ===== SERVICE DETAIL HERO ===== */
.hero-inner-pages {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 20px;
    color: white;
    text-align: center;
    height: 500px;    
    background-size: cover;
    background-position: center;
}

.about-detail-hero{
    background-image: url("../images/State-of-the-Art-Facility.webp");    
}

.services-detail-hero{
    background-image: url("../images/advanced_MRI_Imaging.webp");    
}
.team-detail-hero{
    background-image: url("../images/qualified_specialists.webp");  
    background-position: 50% 30%;  
}
.about-detail-hero{
    background-image: url("../images/State-of-the-Art-Facility.webp");    
}
.about-detail-hero{
    background-image: url("../images/State-of-the-Art-Facility.webp");    
}
.about-detail-hero{
    background-image: url("../images/State-of-the-Art-Facility.webp");    
}
.service-detail-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-detail-hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
    padding: 1rem 20px;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ===== SECTION TITLE ===== */
.section_inner_pages{
    padding: 0px 15px;
}
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 20px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.section-title p {
      color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ===== ABOUT SECTION ===== */
#about {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--gray-100);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* ===== SERVICES SECTION ===== */
#services {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.service-card {
    background-color: var(--secondary-color);
    text-align: center;
    cursor: pointer;
    padding: 2rem;
    border-radius: 10px;
    transition: 0.3s;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-image: initial;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(163, 99, 226, 0.15);
    border-color: var(--primary-color);
}

.service-card-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-card-image img,
.service-card-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 99, 226, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-card-overlay {
    opacity: 1;
}

.service-card-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border-radius: 50%;
    margin: 0px auto 1rem;
}

.service-card-content {
    padding: 2rem;
}

.service-icon {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-card a:hover {
    color: var(--primary-dark);
}

.service-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease;
}

.service-card:hover .service-card-link {
    gap: 0.8rem;
}
.service-card-link:hover {
    color: var(--primary-dark);
}
/* ===== TECHNOLOGY SECTION ===== */
#technology {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;    
}

.equipment-grid {
       display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.equipment-card {
    background-color: var(--secondary-color);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: scale(1.10)!important;
    box-shadow: rgba(163, 99, 226, 0.15) 0px 15px 30px;
    /*transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);*/
}

.equipment-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: block;
}

.equipment-content h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.equipment-content p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== WHY CHOOSE US SECTION ===== */
#why-choose {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

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

.feature-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.feature-item-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== STATS SECTION ===== */
#stats {
    padding: 80px 20px;
    background-color: var(--gray-100);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    color: white;
    padding: 1rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 10px;
}

.stat-number {
       font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===== ACCREDITATIONS SECTION ===== */
#accreditations {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== FAQ SECTION ===== */
#faq {
   max-width: 1200px;
    padding: 80px 2rem;
    margin: 0px auto;
}

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

.faq-item {
    margin-bottom: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.faq-item:hover {
    box-shadow: rgba(163, 99, 226, 0.1) 0px 5px 15px;
    border-color: var(--primary-color);
}

.faq-question {
        background-color: var(--secondary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
    user-select: none;
    padding: 1.5rem;
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: white;
}

.faq-icon,
.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon,
.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
 max-height: 0px;
    background-color: white;
    overflow: hidden;
    padding: 0px 1.5rem;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ===== ABOUT SECTION - REDESIGNED ===== */
#about {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(163, 99, 226, 0.05) 0%, rgba(163, 99, 226, 0.02) 100%);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Image Section */
.about-image-section {
    position: relative;
    height: 500px;
}

.about-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(163, 99, 226, 0.15);
}

.about-video-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;
    border-radius: 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.about-video-overlay:hover {
    background: rgba(0, 0, 0, 0.5);
}

.about-play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(163, 99, 226, 0.3);
}

.about-play-button:hover {
    transform: scale(1.1);
    background: var(--primary-dark);
    box-shadow: 0 15px 40px rgba(163, 99, 226, 0.4);
}

/* Right Side - Content Section */
.about-content-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow: hidden;
}

.about-header h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    word-wrap: break-word;
}

.about-header h3 {
    font-size: 2.5rem;
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.about-description {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Features - 2x2 Grid Tiles */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2.5rem;
}

@keyframes flipIcon {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

@keyframes fillOverlay {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

.about-feature-tile {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.about-feature-tile::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    background-color: rgba(200, 200, 200, 0.123);
    border-top: 1px solid rgba(163, 99, 226, 0.15);
    transition: height 0.6s ease;
    pointer-events: none;
    z-index: 1;
}

.about-feature-tile:hover::before {
    animation: fillOverlay 0.6s ease forwards;
}

.about-feature-tile:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(163, 99, 226, 0.35);
}

.about-feature-tile .about-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: inline-block;
    transition: transform 0.6s ease;
}

.about-feature-tile:hover .about-feature-icon {
    animation: flipIcon 0.6s ease;
}

.about-feature-tile h4 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.about-feature-tile p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Statistics Carousel */
.about-stats-carousel {
    position: relative;
    margin-top: 2rem;
}

.about-stats-wrapper {
    width: 100%;
    overflow: hidden;
}

.about-stats-container {
    display: flex;
    gap: 0rem;
    transition: transform 0.6s ease-in-out;
}

.about-stats-item {
    flex: 0 0 calc(33% - 1rem);
    text-align: center;
    padding: 1rem;
}

.about-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

.about-stats-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-stats-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    font-size: 1.2rem;
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.about-stats-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-section {
        height: 400px;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats-item {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .about-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-header h3 {
        font-size: 2rem;
    }
    
    .about-image-section {
        height: 300px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-feature-tile {
        padding: 1.5rem;
    }
    
    .about-stats-item {
        flex: 0 0 100%;
        padding: 1.5rem;
    }
    
    .about-stat-number {
        font-size: 2rem;
    }
    
    .about-stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    #about {
        padding: 40px 15px;
    }
    
    .about-container {
        display: flex;
        flex-direction: column-reverse;
        gap: 1.5rem;
        padding: 0;
    }
    
    .about-header h3 {
        font-size: 1.5rem;
    }
    
    .about-image-section {
        height: 250px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .about-feature-tile {
        padding: 1rem;
    }
    
    .about-stats-item {
        flex: 0 0 100%;
        padding: 1rem;
    }
    
    .about-play-button {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    header {
        padding: 1rem;
    }
}

/* ===== TESTIMONIALS SECTION ===== */
#testimonials {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;    
}

.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
}

.testimonials-wrapper {
    overflow: hidden;
    border-radius: 8px;
}

.testimonials-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s ease;
    padding: 1rem 0;
}

.testimonial-card {
    flex: 0 0 calc(32.5% - 1.34rem);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(163, 99, 226, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.testimonial-avatar {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(163, 99, 226, 0.1) 0%, rgba(163, 99, 226, 0.05) 100%);
    border-radius: 50%;
}

.testimonial-info h4 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-rating {
    font-size: 1.1rem;
    color: #ffc107;
    letter-spacing: 0.1rem;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    display: inline-block;
}

.empty-star {
    display: inline-block;
    transform: scale(1.15);
    transform-origin: center;
}

/* Testimonials Navigation */
.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonials-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* ===== BLOG SECTION ===== */
#blog {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

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

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

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 1.5rem;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.blog-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* ===== BLOG CAROUSEL ===== */
.blog-carousel {
    position: relative;
    margin: 3rem 0;
}

.blog-carousel-wrapper {
    width: 100%;
    overflow: hidden;
}

.blog-carousel-container {
    display: flex;
    gap: 1rem;
    transition: transform 0.6s ease-in-out;
    padding: 1rem 10px;
}

.blog-carousel-item {
    flex: 0 0 calc(33.333% - 1.34rem);
    min-width: 300px;
}

.blog-carousel-item .blog-card {
    margin: 0;
    height: 100%;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-carousel-item .blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(163, 99, 226, 0.15);
}

.blog-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.blog-carousel-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.blog-carousel-indicators {
    display: none;
}

.blog-indicator {
    display: none;
}

/* ===== TESTS CAROUSEL STYLES ===== */
#tests {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;    
}
.tests-carousel {
    position: relative;
}

.tests-carousel-wrapper {
    overflow: hidden;
}

.tests-carousel-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.6s ease-in-out;
    padding: 1rem 10px;
}

.tests-carousel-item {
    flex: 0 0 calc(32.5% - 1.34rem);
    min-width: 300px;
}

.tests-carousel-item .test-card {
    margin: 0;
    height: 100%;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 8px 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.tests-carousel-item .test-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(163, 99, 226, 0.15);
}

.tests-carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.tests-carousel-btn {
    width: 45px;
    height: 45px;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tests-carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.tests-carousel-indicators {
    display: none;
}

.tests-indicator {
    display: none;
}

@media (max-width: 1024px) {
    .tests-carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }
    .blog-carousel-item {
        flex: 0 0 calc(50% - 1rem);
    }
    
    .testimonial-card {
        flex: 0 0 calc(50% - 1rem);
    }
}

@media (max-width: 768px) {
    .blog-carousel-item {
        flex: 0 0 100%;
    }
    
    .blog-carousel-container {
        gap: 1rem;
    }
    
    .tests-carousel-item {
        flex: 0 0 100%;
    }
    
    .tests-carousel-container {
        gap: 1rem;
    }
    
    .testimonial-card {
        flex: 0 0 100%;
    }
    
    .testimonials-container {
        gap: 1rem;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
}

/* ===== APPOINTMENT SECTION ===== */
.appointment-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 80px 20px;
    color: white;
}

.appointment-container {
    max-width: 600px;
    margin: 0 auto;
}

.appointment-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-group {
    margin-bottom: .5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: black;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 7px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    background-color: rgba(255, 255, 255, 0.95);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Error Message Styles */
.error-message {
    display: none !important;
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
    font-weight: 500;
}

.error-message:not(:empty) {
    display: block !important;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

.submit-button {
    width: 100%;
    padding: 12px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

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

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== CONTACT SECTION ===== */
#contact {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: var(--gray-100);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0 20px;
}

.contact-card {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--primary-dark);
}

/* Contact Form Specific Styles */
.contact-form-wrapper {
    padding: 0 20px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-form-section form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-form-section .form-group input,
.contact-form-section .form-group textarea {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.contact-form-section .form-group input::placeholder,
.contact-form-section .form-group textarea::placeholder {
    color: var(--text-light-2);
}

.contact-form-section button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form-section button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 20px;
}

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

.service-detail-main h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.service-detail-main h2:first-child {
    margin-top: 0;
}

.service-detail-main h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-detail-main p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1rem;
}

ul{list-style: none !important;}

.service-detail-main ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-detail-main ul li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
}

.service-detail-main ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-detail-sidebar {
    background: var(--secondary-color);
    padding: 2rem;
    border-radius: 10px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.service-detail-sidebar h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.service-detail-sidebar ul {
    list-style: none;
    padding: 0;
}

.service-detail-sidebar ul li {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-detail-sidebar ul li:last-child {
    border-bottom: none;
}

.service-detail-sidebar strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 0.3rem;
}

/* ===== FOOTER ===== */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 60px 20px 20px;
    margin-top: 60px;
}

.footer-content {    
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: .5rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
        font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-light);
}

/* ===== CTA BUTTON ===== */
.cta-button {
    background-color: var(--primary-color);
    color: var(--text-dark);
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}


.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(163, 99, 226, 0.3);
}

/* ===== GALLERY SECTION ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(163, 99, 226, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(163, 99, 226, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay-icon {
    font-size: 2rem;
    color: white;
}

/* ===== TEAM SECTION ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.team-member {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(163, 99, 226, 0.15);
}

.team-member-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.team-member-info {
    padding: 2rem;
    text-align: center;
}

.team-member h3 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-member-role {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.team-member p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.team-member-contact {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    font-size: 1.5rem;
}

.team-member-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
    flex: 1;
}

.team-member-contact a:hover {
    color: var(--primary-dark);
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
        position: fixed;
    bottom: 6rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    font-size: 1.5rem;
    border-radius: 50%;
    transition: 0.3s;
}

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

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        background: white;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        display: block;
        padding: 0.8rem 1.5rem;
        border-bottom: 1px solid var(--gray-200);
    }

    header nav {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-content button {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
    }

    .about-content,
    .faq-container {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .equipment-grid,
    .features-grid,
    .blog-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail-sidebar {
        position: static;
        top: auto;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 120px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    header nav {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero {
        padding: 30px 0px;
        height: 75vw;
    }

    .hero-content {
        padding-top: 5px;
    }

    .hero-content h1 {
        font-size: 1.2rem;
        margin-bottom: .5rem;
    }
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }

    .carousel-btn {
        font-size: .5rem;
    }
    .section-title p {
        font-size: 0.95rem;
    }

    .hero-content .cta-button {        
        font-size: 0.7rem;
    }

    .hero .carousel-indicators {
        display: none;
    }

    .hero .carousel-nav .carousel-btn {
        padding: 10px 12px;
    }

    .hero .carousel-nav{
        margin-top: 5px;
    }

    .hero-inner-pages {
        height: 300px;
    }

    .hero-inner-pages h1{
        font-size: 2rem;
    }

    #about,
    #services,
    #technology,
    #why-choose,
    #faq,
    #blog,
    #contact {
        padding: 0px 15px;
    }

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

    .stat-number {
        font-size: 1.8rem;
    }

    .appointment-section {
        padding: 60px 15px;
    }

    .appointment-container h2 {
        font-size: 1.5rem;
    }

    footer {
        padding: 40px 15px 15px;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 0rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
    }
    
    .footer-section:nth-child(2),
    .footer-section:nth-child(3),
    .footer-section:nth-child(4),
    .footer-section:nth-child(5),
    .footer-section:nth-child(6) {
        grid-column: 1;
    }
    
    .fixed-callback-section {
        padding: 0.4rem 10px;
    }
    
    .callback-col {
        flex: 1;
    }
    
    .callback-image-col {
        display: none;
    }
    
    .callback-image {
        display: none;
    }
    
    .callback-info {
        font-size: 0.65rem;
        margin-bottom: 0.3rem;
        line-height: 1.1;
    }
    
    .callback-input-section {
        gap: 0.3rem;
    }
    
    .callback-input-group {
        flex-direction: row;
        gap: 0.3rem;
    }
    
    .callback-input {
        padding: 0.5rem;
        font-size: 0.75rem;
        min-width: 80px;
    }
    
    .callback-btn {
        padding: 0.5rem 0.6rem;
        font-size: 0.65rem;
        white-space: nowrap;
    }
}

/* ===== FIXED CALLBACK SECTION ===== */
.fixed-callback-section {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-dark) 100%);    
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.callback-container {
    max-width: 1200px;
    margin: 0 auto;
}

.callback-row {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.callback-col {
    flex: 1;
}

.callback-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
}

.callback-image {
    max-width: 110px;
    height: auto;
}

.callback-content-col {
    flex: 1;
}

.callback-info {
    color: white;
    margin: 0 0 .2rem 0;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

.callback-form-wrapper {
    width: 100%;
    box-shadow: 0 8px 30px rgba(119, 9, 182, 0.849);
}

.callback-input-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.callback-mobile-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    perspective: 1000px;
}

.callback-mobile-icon img {
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.callback-input-section:hover .callback-mobile-icon img {
    transform: rotateY(360deg);
}

.callback-input:focus-within {
    box-shadow: inset 0 0 0 2px rgba(163, 99, 226, 0.2);
}

.callback-input-group {
    display: flex;
    gap: 0.5rem;
    background: white;    
    border-radius: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    flex: 0 1 400px;
}

.callback-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.8rem;
    font-size: 0.9rem;
    border-radius: 4px;
    font-family: inherit;
    width: 100%;
    min-width: 150px;
}

.callback-input::placeholder {
    color: #ccc;
}

.callback-input:focus {
    box-shadow: inset 0 0 0 2px rgba(163, 99, 226, 0.2);
}

.callback-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(163, 99, 226, 0.3);
}

.callback-btn:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(163, 99, 226, 0.4);
}

.callback-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .fixed-callback-section {
        padding: 1rem 1.5rem;
    }
    
    .callback-row {
        gap: 1rem;
    }
    
    .callback-input-group {
        flex: 0 1 300px;
    }
    
    .callback-image-col {
        flex: 0 0 80px;
    }
    
    .callback-image {
        max-width: 80px;
    }
}

@media (max-width: 768px) {
    .fixed-callback-section {
        padding: 0.5rem 1rem;
    }
    
    .callback-row {
        gap: 0.3rem;
        flex-direction: column;
    }
    
    .callback-image-col {
        display: none;
    }
    
    .callback-content-col {
        flex: 1;
    }
    
    .callback-info {
        font-size: 0.75rem;
        margin-bottom: 0.4rem;
        line-height: 1.2;
    }
    
    .callback-input-section {
        width: 100%;
        flex-direction: column;
        gap: 0.4rem;
        height:50px;
    }
    
    .callback-mobile-icon {
        display: none;
    }
    
    .callback-input-group {
        width: 100%;
        flex-direction: row;
        gap: 0.4rem;
    }
    
    .callback-input {
        padding: 0.6rem;
        font-size: 0.85rem;
        min-width: 100px;
    }
    
    .callback-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .carousel-btn{        
        font-size: .5rem;
    }
    .hero-content a.cta-button {
        margin-left: 0px!important;
        padding: 8px 30px;
    }   

    .fixedButtons a.cta-button {
        padding: 6px;
        font-size: 12px;
    }
}

/* ===== SERVICES PAGE STYLES ===== */
.services-page-breadcrumb {
    max-width: 1200px;
    margin: 2rem auto 0;
}

.services-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-page-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: #f4f8fb;
    border-radius: 10px;
    border-left: 5px solid #a363e2;
}

.services-page-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: center;
}

.services-page-grid.reverse {
    grid-template-columns: 2fr 1fr;
}

.services-page-image {
    width: 100%;
    border-radius: 8px;
}

.services-page-heading {
    color: #a363e2;
    margin-bottom: 1rem;
}

.services-page-text {
    color: #666;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.services-page-subheading {
    color: #333;
    margin-bottom: 0.5rem;
}

.services-page-list {
    color: #666;
    line-height: 2;
    margin-bottom: 1rem;
    list-style: none;
}

.services-cta-section {
    background-color: #f9f9f9;
    padding: 3rem 2rem;
}

.services-cta-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.services-cta-heading {
    color: #a363e2;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.services-cta-text {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .services-page-grid,
    .services-page-grid.reverse {
        grid-template-columns: 1fr;
    }
}

/* ===== TESTS PAGE STYLES ===== */
.tests-page-breadcrumb {
    max-width: 1200px;
    margin: 2rem auto 0;
}

.tests-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.test-card {
    background-color: #f4f8fb;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #a363e2;
    display: flex;
    flex-direction: column;
}

.test-card-title {
    color: #a363e2;
    margin-bottom: 0.5rem;
}

.test-card-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.test-card-link {
    background-color: #a363e2;
    color: white;
    text-align: center;
    padding: 0.7rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.test-card-link:hover {
    background-color: #8b2fb3;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .tests-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tests-grid {
        grid-template-columns: 1fr;
    }
}
