/* Premium Dental - Main Stylesheet */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #ffffff;
    --secondary-color: #36bde6;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
}

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

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #36bde6 0%, #ffffff 50%, #36bde6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.preloader.hidden {
    opacity: 0;
    pointer-events: none;
    display: none !important;
}

.preloader-content {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.preloader-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.preloader-logo img {
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    animation: fadeIn 1s ease;
}


.preloader-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-progress {
    height: 100%;
    background: #36bde6;
    width: 0%;
    animation: loading 2s ease forwards;
}

@keyframes loading {
    to {
        width: 100%;
    }
}

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

/* Header */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 12px 0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

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

.logo img {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

@media (max-width: 992px) {
    .main-nav {
        order: 4;
        width: 100%;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 16px;
    display: inline-block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: calc(100% - 32px);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.nav-appointment-item {
    display: none;
}


.nav-appointment-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
    width: 100%;
    justify-content: center;
}

.nav-appointment-btn:hover {
    background: #2ba5c7;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.language-switcher {
    position: relative;
    display: inline-block;
}

.lang-dropdown-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    min-width: auto;
    justify-content: center;
}

.lang-dropdown-btn:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 2px 8px rgba(54, 189, 230, 0.1);
}

.lang-dropdown-btn i {
    font-size: 12px;
    color: var(--text-light);
    transition: var(--transition);
}

.lang-dropdown-btn.active i {
    transform: rotate(180deg);
}

.lang-flag {
    font-size: 18px;
    line-height: 1;
}

.lang-code {
    display: none;
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 60px;
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.lang-dropdown-menu.active {
    display: block;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: var(--transition);
    border-bottom: 1px solid #f0f0f0;
}

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

.lang-dropdown-item:hover {
    background: #f8f9fa;
    color: var(--secondary-color);
}

.lang-dropdown-item .lang-flag {
    font-size: 20px;
    line-height: 1;
}

.lang-dropdown-item .lang-code {
    display: none;
}

.btn-appointment {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 14px;
}

.btn-appointment:hover {
    background: #2ba5c7;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

.main-nav.active {
    display: flex !important;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: var(--shadow);
    padding: 20px;
    flex-direction: column;
    z-index: 1000;
}

.main-nav.active .nav-menu {
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.main-nav.active .nav-menu a {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
    border: none;
    background: transparent;
    box-shadow: none;
}

.main-nav.active .nav-menu a::after {
    left: 50%;
    transform: translateX(-50%);
}

.main-nav.active .nav-menu a:hover::after,
.main-nav.active .nav-menu a.active::after {
    width: calc(100% - 40px);
}

.main-nav.active .nav-appointment-item {
    display: block;
    width: 100%;
    margin-top: 10px;
}


/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 700px;
    overflow: hidden;
    margin-top: 10px;
    padding: 0 20px;
    will-change: transform;
    transform: translateZ(0);
    border-bottom: 1px solid rgba(54, 189, 230, 0.2);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 500px;
        padding: 0 15px;
    }
}

.heroSwiper {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform: translateZ(0);
    backface-visibility: hidden;
    border-radius: 12px;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.08) 0%,
        rgba(0, 0, 0, 0.04) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease;
}

/* First slide - left aligned content */
.slide-left {
    justify-content: flex-start;
}

.slide-left .hero-content {
    text-align: left;
    padding-left: 80px;
    padding-right: 30px;
    max-width: 600px;
}

@media (max-width: 992px) {
    .slide-left .hero-content {
        padding-left: 50px;
        padding-right: 30px;
    }
}

@media (max-width: 768px) {
    .slide-left .hero-content {
        padding-left: 30px;
        padding-right: 30px;
        text-align: center;
        margin-top: 60px;
    }
    
    .slide-left {
        justify-content: center;
        align-items: center;
    }
}

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

.hero-content h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 1px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
    letter-spacing: -1px;
    animation: slideInLeft 1s ease 0.3s both;
}

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

.hero-content p {
    font-size: 24px;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.8;
    opacity: 1;
    animation: slideInRight 1s ease 0.5s both;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 30px;
    animation: fadeInUp 1s ease 0.7s both;
}

.btn-contact {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    width: 200px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.4);
    box-sizing: border-box;
}

.btn-contact:hover {
    background: #2ba5c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.5);
}

.hero-appointment-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    width: 200px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.4);
    box-sizing: border-box;
}

.hero-appointment-btn:hover {
    background: #2ba5c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.5);
}

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

/* Modern Pagination */
.swiper-pagination {
    bottom: 40px !important;
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 8px !important;
}

.swiper-pagination-bullet-active {
    background: white;
    width: 32px;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

/* Modern Navigation Buttons */
.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    margin-top: -25px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px;
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev {
    left: 30px;
}

/* Slide Animation Effect */
.swiper-slide-active .hero-content h1 {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.swiper-slide-active .hero-content p {
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Decorative Elements */
.hero-slide::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 0;
    will-change: transform;
    transform: translateZ(0);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 36px;
        color: #ffffff;
    }
    
    .hero-content p {
        font-size: 18px;
        color: #ffffff;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .btn-contact,
    .hero-appointment-btn {
        width: 100%;
        max-width: 280px;
        height: auto;
        min-height: 48px;
        justify-content: center;
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        display: none;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }
    
    .swiper-pagination {
        bottom: 20px !important;
    }
}

/* Sections */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* Appointment Section */
.appointment-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #f0f9ff 100%);
    padding: 80px 0;
    border-top: 1px solid rgba(54, 189, 230, 0.2);
    border-bottom: 1px solid rgba(54, 189, 230, 0.2);
}

.appointment-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.appointment-header {
    text-align: center;
    margin-bottom: 40px;
}

.appointment-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.appointment-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

.appointment-form-container {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.appointment-form-inline .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.appointment-form-inline .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 14px;
}

.appointment-form-inline .form-group label i {
    color: var(--secondary-color);
    font-size: 16px;
}

.appointment-form-inline .form-group input,
.appointment-form-inline .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.appointment-form-inline .form-group input:focus,
.appointment-form-inline .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(54, 189, 230, 0.1);
}

.appointment-form-inline .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.appointment-form-inline .required {
    color: #ef4444;
}

.appointment-message {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
}

.appointment-message.success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.appointment-message.error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.appointment-message i {
    margin-right: 8px;
}

/* Quick Appointment Section - New Modern Design */
.quick-appointment-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin-top: -20px;
}

.quick-appointment-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-appointment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.quick-appointment-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
}

.quick-appointment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a9fd8 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(54, 189, 230, 0.3);
    flex-shrink: 0;
}

.quick-appointment-title-group {
    flex: 1;
}

.quick-appointment-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-color);
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.quick-appointment-subtitle {
    font-size: 16px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.quick-appointment-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.quick-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.quick-form-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-form-field-full {
    grid-column: 1 / -1;
}

.quick-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 4px;
}

.quick-label i {
    color: var(--secondary-color);
    font-size: 17px;
    width: 22px;
    text-align: center;
}

.quick-label .required {
    color: #ef4444;
    margin-left: 3px;
}

.quick-input,
.quick-textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text-color);
    background: #ffffff;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.quick-input:focus,
.quick-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(54, 189, 230, 0.1);
    background: #ffffff;
}

.quick-input.error,
.quick-textarea.error {
    border-color: #ef4444;
    background: #fff5f5;
}

.quick-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.quick-char-count {
    text-align: right;
    font-size: 13px;
    color: #6c757d;
    margin-top: -5px;
}

.quick-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: -5px;
    display: block;
    min-height: 18px;
}

.quick-form-actions {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.quick-submit-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a9fd8 100%);
    color: #ffffff;
    border: none;
    padding: 18px 45px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.3);
    position: relative;
    min-width: 200px;
}

.quick-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(54, 189, 230, 0.4);
    background: linear-gradient(135deg, #2a9fd8 0%, var(--secondary-color) 100%);
}

.quick-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

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

.quick-btn-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.quick-btn-loader {
    display: inline-flex;
    align-items: center;
    font-size: 18px;
}

.quick-alert {
    padding: 16px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    display: none;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

.quick-alert.show {
    display: flex;
}

.quick-alert.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.quick-alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.quick-alert i {
    font-size: 18px;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .quick-appointment-section {
        padding: 40px 0;
    }
    
    .quick-appointment-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .quick-appointment-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .quick-appointment-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .quick-appointment-title {
        font-size: 26px;
    }
    
    .quick-appointment-subtitle {
        font-size: 14px;
    }
    
    .quick-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .quick-input,
    .quick-textarea {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .quick-submit-btn {
        padding: 16px 35px;
        font-size: 15px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .quick-appointment-card {
        padding: 25px 15px;
    }
    
    .quick-appointment-title {
        font-size: 22px;
    }
    
    .quick-appointment-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}


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

.form-group-new {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 15px;
    margin-bottom: 4px;
}

.form-label i {
    color: var(--secondary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.form-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--text-color);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(54, 189, 230, 0.1);
    background: #fafafa;
}

.form-input.error,
.form-textarea.error {
    border-color: #ef4444;
    background: #fff5f5;
}

.form-input.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

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

.form-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 4px;
    min-height: 18px;
}

.char-count {
    text-align: right;
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

.char-count span {
    font-weight: 600;
    color: var(--text-color);
}

.btn-submit {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2ba8d4 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.3);
    position: relative;
    min-height: 52px;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.4);
    background: linear-gradient(135deg, #2ba8d4 0%, var(--secondary-color) 100%);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

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

.btn-text,
.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.form-message {
    padding: 16px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    transition: all 0.3s ease;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #ef4444;
}

.form-message i {
    margin-right: 8px;
}

/* Services Section */
.services-section {
    background: #f8f9fa;
    border-top: 1px solid rgba(54, 189, 230, 0.2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--text-color);
}

.section-footer {
    text-align: center;
}

/* Doctors Section */
.doctors-section {
    background: white;
    border-top: 1px solid rgba(54, 189, 230, 0.2);
}

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

.doctor-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.doctor-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.doctor-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(54, 189, 230, 0);
    transition: var(--transition);
    z-index: 1;
    pointer-events: none;
}

.doctor-image:hover::after {
    background: rgba(54, 189, 230, 0.15);
}

.doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.doctor-info {
    padding: 20px;
    text-align: center;
}

.doctor-name {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--text-color);
}

.doctor-specialty {
    color: var(--text-light);
    margin-bottom: 15px;
}

/* Doctor Modal */
.doctor-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.doctor-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.doctor-modal-content {
    position: relative;
    background: white;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 30px;
    z-index: 1;
}

.doctor-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.doctor-modal-header h2 {
    margin-bottom: 10px;
}

.doctor-modal-specialty {
    color: var(--text-light);
    margin-bottom: 20px;
}

.doctor-modal-bio {
    color: var(--text-color);
    line-height: 1.8;
}

/* Insurance Section */
.insurance-section {
    background: #ffffff;
    padding: 80px 0;
    border-top: 1px solid rgba(54, 189, 230, 0.2);
}

.insurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.insurance-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    border: 1px solid #f0f0f0;
}

.insurance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-color: #e0e0e0;
}

.insurance-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.insurance-card img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    transition: var(--transition);
    opacity: 0.8;
}

.insurance-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .insurance-card {
        padding: 25px 15px;
        min-height: 120px;
    }
    
    .insurance-card img {
        max-height: 60px;
    }
}

@media (max-width: 768px) {
    .insurance-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .insurance-card {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .insurance-card img {
        max-height: 50px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: var(--secondary-color);
    color: white;
}

.btn-primary:hover {
    background: #2ba5c7;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background: var(--secondary-color);
    color: white;
}

/* Footer */
.main-footer {
    background: linear-gradient(135deg, #e6f4ff 0%, #f0f9ff 50%, #ffffff 100%);
    color: var(--text-color);
    padding: 60px 0 20px;
    border-top: 1px solid rgba(54, 189, 230, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo img {
    max-width: 150px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.footer-contact li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: var(--secondary-color);
}

.footer-contact a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--secondary-color);
}

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

.social-media a {
    width: 40px;
    height: 40px;
    background: rgba(199, 230, 255, 0.3);
    border: 1px solid rgba(54, 189, 230, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
    font-size: 18px;
}

.social-media a:hover {
    background: rgba(199, 230, 255, 0.5);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(54, 189, 230, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(54, 189, 230, 0.2);
    padding-top: 20px;
    text-align: center;
    color: var(--text-light);
}

/* Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.scroll-to-top:hover {
    background: #2ba5c7;
    transform: translateY(-3px);
}

.scroll-to-top.visible {
    display: flex;
}

/* Appointment Popup */
.appointment-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
}

.appointment-popup.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.appointment-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.appointment-popup-content {
    position: relative;
    background: white;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 10px;
    padding: 30px;
    z-index: 1;
}

.appointment-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.appointment-popup-content h2 {
    margin-bottom: 20px;
}

/* Appointment Mini Button removed - now in hero slider */

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.required {
    color: red;
}

/* Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 42px;
    margin-bottom: 15px;
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-light);
}

/* About Page */
.about-section {
    padding: 80px 0;
}

.about-header {
    text-align: center;
    margin-bottom: 40px;
}

.about-header .page-title {
    text-align: center;
}

/* Policy Pages */
.page-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.policy-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    line-height: 1.8;
}

.policy-content h2 {
    color: var(--secondary-color);
    font-size: 32px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--secondary-color);
}

.policy-content h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.policy-content h4 {
    color: var(--text-color);
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.policy-content p {
    margin-bottom: 15px;
    color: var(--text-color);
}

.policy-content ul {
    margin-bottom: 20px;
    padding-left: 30px;
}

.policy-content li {
    margin-bottom: 10px;
    color: var(--text-color);
}

.policy-content strong {
    color: var(--text-color);
    font-weight: 600;
}

@media (max-width: 768px) {
    .policy-content {
        padding: 25px;
    }
    
    .policy-content h2 {
        font-size: 28px;
    }
    
    .policy-content h3 {
        font-size: 20px;
    }
    
    .policy-content h4 {
        font-size: 18px;
    }
}

.about-text {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px;
    background: #ffffff;
    border: 2px solid rgba(54, 189, 230, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    transform: translateY(0);
}

.about-text:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(54, 189, 230, 0.15);
    border-color: rgba(54, 189, 230, 0.4);
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 16px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* About Features Section (on Homepage) */
.about-features-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-features-section .about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 0;
}

.about-features-section .feature-item {
    background: #ffffff;
}

/* YouTube Videos Section */
.about-videos {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(54, 189, 230, 0.2);
}

.videos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: #000;
    transition: var(--transition);
}

.video-wrapper:hover {
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.3);
    transform: translateY(-5px);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .videos-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-videos {
        margin-top: 40px;
        padding-top: 40px;
    }
    
    .about-text {
        padding: 25px;
        margin-bottom: 40px;
    }
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(54, 189, 230, 0.2);
    background: #ffffff;
    border: 1px solid rgba(54, 189, 230, 0.2);
}

.feature-icon {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-item h3 {
    margin-bottom: 10px;
    transition: var(--transition);
}

.feature-item:hover h3 {
    color: var(--secondary-color);
}

/* About Page Appointment Buttons */
.about-appointment-btn-wrapper {
    text-align: center;
    margin: 40px 0;
}

.about-appointment-btn {
    padding: 14px 35px;
    font-size: 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.3);
}

.about-appointment-btn:hover {
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.5);
}

@media (max-width: 768px) {
    .appointment-section {
        padding: 60px 0;
    }
    
    .appointment-form-container {
        padding: 30px 20px;
    }
    
    .form-row-new {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-input,
    .form-textarea {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .btn-submit {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    .appointment-form-inline .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .appointment-title {
        font-size: 28px;
    }
    
    .appointment-subtitle {
        font-size: 16px;
    }
    
    .about-appointment-btn-wrapper {
        margin: 30px 0;
    }
    
    .about-appointment-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Services Page */
.services-page-section {
    padding: 80px 0;
}

/* Service Search Box */
.service-search-wrapper {
    max-width: 600px;
    margin: 0 auto 50px;
}

.service-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 2px solid rgba(54, 189, 230, 0.2);
    border-radius: 50px;
    padding: 12px 20px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.service-search-box:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.2);
}

.service-search-box i.fa-search {
    color: var(--secondary-color);
    font-size: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.service-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--text-color);
    background: transparent;
    padding: 0;
}

.service-search-input::placeholder {
    color: var(--text-light);
}

.service-search-clear {
    display: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: none;
    background: rgba(54, 189, 230, 0.1);
    border-radius: 50%;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    margin-left: 10px;
    flex-shrink: 0;
}

.service-search-clear:hover {
    background: rgba(54, 189, 230, 0.2);
    transform: scale(1.1);
}

.service-search-clear i {
    font-size: 14px;
}

.service-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.service-no-results i {
    font-size: 48px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    opacity: 0.5;
}

.service-no-results p {
    font-size: 18px;
    margin: 0;
}

@media (max-width: 768px) {
    .service-search-wrapper {
        margin-bottom: 30px;
    }
    
    .service-search-box {
        padding: 10px 16px;
    }
    
    .service-search-input {
        font-size: 14px;
    }
    
    .service-search-box i.fa-search {
        font-size: 16px;
        margin-right: 10px;
    }
    
    .service-no-results {
        padding: 40px 20px;
    }
    
    .service-no-results i {
        font-size: 36px;
    }
    
    .service-no-results p {
        font-size: 16px;
    }
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-item {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.service-item-content {
    display: flex;
    gap: 30px;
    padding: 30px;
}

.service-item-icon {
    font-size: 48px;
    color: var(--secondary-color);
}

.service-item-info {
    flex: 1;
}

.service-item-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-item-description {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.service-item-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Service Detail */
.service-detail-section {
    padding: 80px 0;
}

.service-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.service-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.service-detail-icon {
    font-size: 64px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-detail-title {
    font-size: 36px;
    margin-bottom: 20px;
}

.service-detail-body {
    margin-bottom: 40px;
}

.service-detail-description {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

.service-detail-description p {
    margin-bottom: 20px;
    text-align: justify;
}

.service-detail-description p:last-child {
    margin-bottom: 0;
}

.service-detail-description ul,
.service-detail-description ol {
    margin: 20px 0 !important;
    padding-left: 40px !important;
    list-style-position: outside !important;
}

.service-detail-description ul {
    list-style-type: disc !important;
}

.service-detail-description ol {
    list-style-type: decimal !important;
}

.service-detail-description li {
    margin-bottom: 12px !important;
    padding-left: 10px !important;
    line-height: 1.8 !important;
    display: list-item !important;
    list-style-position: outside !important;
}

.service-detail-description ul li {
    list-style-type: disc !important;
}

.service-detail-description ol li {
    list-style-type: decimal !important;
}

.service-detail-description li::marker {
    color: var(--secondary-color);
    font-weight: bold;
}

.service-detail-description h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 35px 0 20px 0;
    color: var(--text-color);
}

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

.service-detail-description h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: var(--text-color);
}

.service-detail-description strong,
.service-detail-description b {
    font-weight: 700;
    color: var(--text-color);
}

.service-detail-description em,
.service-detail-description i {
    font-style: italic;
}

.service-detail-description u {
    text-decoration: underline;
}

.service-detail-description s,
.service-detail-description strike {
    text-decoration: line-through;
}

.service-detail-description a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.service-detail-description a:hover {
    color: #2ba5c7;
    text-decoration: none;
}

.service-detail-footer {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Blog Page */
.blog-page-section {
    padding: 80px 0;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.blog-item {
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
}

.blog-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.blog-category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.blog-item-title {
    font-size: 24px;
    margin-bottom: 15px;
}

.blog-item-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.blog-item-title a:hover {
    color: var(--secondary-color);
}

.blog-item-excerpt {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.blog-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-date {
    color: var(--text-light);
    font-size: 14px;
}

.blog-read-more {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

/* Blog Detail */
.blog-detail-section {
    padding: 80px 0;
}

.blog-detail-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-header {
    margin-bottom: 40px;
}

.blog-detail-category {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-bottom: 15px;
}

.blog-detail-title {
    font-size: 36px;
    margin-bottom: 15px;
}

.blog-detail-meta {
    color: var(--text-light);
}

.blog-detail-body {
    margin-bottom: 40px;
}

.blog-detail-content-text {
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-color);
}

.blog-detail-content-text p {
    margin-bottom: 20px;
    text-align: justify;
}

.blog-detail-content-text p:last-child {
    margin-bottom: 0;
}

.blog-detail-content-text ul,
.blog-detail-content-text ol {
    margin: 20px 0 !important;
    padding-left: 40px !important;
    list-style-position: outside !important;
}

.blog-detail-content-text ul {
    list-style-type: disc !important;
}

.blog-detail-content-text ol {
    list-style-type: decimal !important;
}

.blog-detail-content-text li {
    margin-bottom: 12px !important;
    padding-left: 10px !important;
    line-height: 1.8 !important;
    display: list-item !important;
    list-style-position: outside !important;
}

.blog-detail-content-text ul li {
    list-style-type: disc !important;
}

.blog-detail-content-text ol li {
    list-style-type: decimal !important;
}

.blog-detail-content-text li::marker {
    color: var(--secondary-color);
    font-weight: bold;
}

.blog-detail-content-text h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 35px 0 20px 0;
    color: var(--text-color);
}

.blog-detail-content-text h2:first-child {
    margin-top: 0;
}

.blog-detail-content-text h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 30px 0 15px 0;
    color: var(--text-color);
}

.blog-detail-content-text strong,
.blog-detail-content-text b {
    font-weight: 700;
    color: var(--text-color);
}

.blog-detail-content-text em,
.blog-detail-content-text i {
    font-style: italic;
}

.blog-detail-content-text u {
    text-decoration: underline;
}

.blog-detail-content-text s,
.blog-detail-content-text strike {
    text-decoration: line-through;
}

.blog-detail-content-text a {
    color: var(--secondary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.blog-detail-content-text a:hover {
    color: #2ba5c7;
    text-decoration: none;
}

/* Contact Page */
.contact-section {
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info-icon {
    font-size: 32px;
    color: var(--secondary-color);
}

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

.contact-info-content p,
.contact-info-content a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-form-wrapper {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
}

.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: var(--shadow);
        padding: 20px;
        order: 4;
    }
    
    .header-content {
        position: relative;
        flex-wrap: wrap;
    }
    
    .header-right {
        order: 2;
        width: auto;
        justify-content: flex-end;
        margin-top: 0;
        flex-wrap: nowrap;
        gap: 15px;
    }
    
    .language-switcher {
        width: auto;
    }
    
    .lang-dropdown-menu {
        right: 0;
        left: auto;
    }
    
    .btn-appointment {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .nav-appointment-item {
        display: block;
        width: 100%;
        margin-top: 10px;
    }
    
    .hero-content h1 {
        font-size: 32px;
        color: #ffffff;
    }
    
    .hero-content p {
        font-size: 18px;
        color: #ffffff;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services-grid,
    .doctors-grid,
    .insurance-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .service-item-content {
        flex-direction: column;
    }
    
    .appointment-popup-content {
        width: 95%;
        padding: 20px;
    }
    
    .hero-slider {
        height: 500px;
    }
    
    .hero-content h1 {
        font-size: 36px;
        color: #ffffff;
    }
    
    .hero-content p {
        font-size: 18px;
        color: #ffffff;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .logo img {
        max-height: 50px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .main-header {
        padding: 10px 0;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
        color: #ffffff;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    }
    
    .hero-content p {
        font-size: 18px;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px 2px rgba(0, 0, 0, 0.2);
    }
}

/* 404 Error Page */
.error-404-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c7e6ff 100%);
}

.error-404-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
}

.error-404-icon {
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.error-404-icon svg {
    width: 200px;
    height: 200px;
    margin: 0 auto;
}

.error-404-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(54, 189, 230, 0.3);
}

.error-404-message {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

.error-404-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.error-404-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.error-404-btn {
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.error-404-btn.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.4);
}

.error-404-btn.btn-primary:hover {
    background: #2ba5c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(54, 189, 230, 0.5);
}

.error-404-btn.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.error-404-btn.btn-secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(54, 189, 230, 0.3);
}

@media (max-width: 768px) {
    .error-404-section {
        padding: 60px 0;
    }
    
    .error-404-content {
        padding: 20px;
    }
    
    .error-404-icon svg {
        width: 150px;
        height: 150px;
    }
    
    .error-404-title {
        font-size: 36px;
    }
    
    .error-404-message {
        font-size: 20px;
    }
    
    .error-404-description {
        font-size: 14px;
    }
    
    .error-404-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-404-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 20px 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 3px solid var(--secondary-color);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookie-banner-text {
    flex: 1;
    min-width: 250px;
}

.cookie-banner-text p {
    margin: 0;
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-banner-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.cookie-banner-link:hover {
    color: #2ba5c7;
    text-decoration: underline;
}

.cookie-banner-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.cookie-banner-btn.btn-primary {
    background: var(--secondary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(54, 189, 230, 0.3);
}

.cookie-banner-btn.btn-primary:hover {
    background: #2ba5c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 189, 230, 0.4);
}

.cookie-banner-btn.btn-secondary {
    background: white;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.cookie-banner-btn.btn-secondary:hover {
    background: rgba(54, 189, 230, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 15px 0;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: 100%;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
        flex-direction: column;
    }
    
    .cookie-banner-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-banner-link {
        order: -1;
    }
}

