﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated background particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(52, 152, 219, 0.2);
    border-radius: 50%;
    animation: float 25s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

header {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    text-align: center;
    backdrop-filter: blur(15px);
    border-bottom: 2px solid #3498db;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(52, 152, 219, 0.5);
    }
}

.login-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
        background: linear-gradient(135deg, #229954, #27ae60);
    }

nav {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    padding: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(52, 73, 94, 0.2);
}

    nav a {
        color: #ecf0f1;
        margin: 0 20px;
        text-decoration: none;
        font-weight: 600;
        font-size: 16px;
        transition: all 0.3s ease;
        position: relative;
        padding: 10px 15px;
        border-radius: 20px;
    }

        nav a:hover {
            background: rgba(52, 152, 219, 0.2);
            color: #3498db;
            transform: translateY(-2px);
        }

.hero {
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 600px;
}

/* Slideshow Styles */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slide.active {
        opacity: 1;
    }

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
}

.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(52, 152, 219, 0.9);
    color: #fff;
    border: none;
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
}

    .slide-nav:hover {
        background: #3498db;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
    }

    .slide-nav.prev {
        left: 30px;
    }

    .slide-nav.next {
        right: 30px;
    }

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

    .indicator.active,
    .indicator:hover {
        background: #3498db;
        transform: scale(1.3);
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
    }

/* Dental Gallery Styles */
.dental-gallery {
    margin-bottom: 60px;
    text-align: center;
}

    .dental-gallery h3 {
        color: #2980b9;
        font-size: 28px;
        margin-bottom: 30px;
        font-weight: 600;
    }

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.gallery-item {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 2px solid rgba(52, 152, 219, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

    .gallery-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(52, 152, 219, 0.2);
        border-color: rgba(52, 152, 219, 0.3);
    }

.tooth-image {
    position: relative;
    margin-bottom: 15px;
}

.tooth-svg {
    width: 100px;
    height: 120px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.gallery-item:hover .tooth-svg {
    transform: scale(1.1);
}

.tooth-svg svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 3px 6px rgba(52, 152, 219, 0.2));
}

.image-label {
    display: block;
    color: #2980b9;
    font-weight: 600;
    font-size: 14px;
    margin-top: 10px;
}

.before-after {
    position: relative;
}

    .before-after::after {
        content: '✨';
        position: absolute;
        top: -5px;
        right: -5px;
        font-size: 18px;
        animation: sparkle 2s infinite;
    }

@keyframes sparkle {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero h1 {
    color: #2c3e50;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 20px;
    color: #34495e;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
}

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
        background: linear-gradient(135deg, #2980b9, #21618c);
    }

.section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

    .section h2 {
        color: #2980b9;
        font-size: 36px;
        margin-bottom: 30px;
        text-align: center;
        font-weight: 700;
        position: relative;
    }

        .section h2::after {
            content: '';
            display: block;
            width: 80px;
            height: 4px;
            background: linear-gradient(135deg, #3498db, #2980b9);
            margin: 15px auto;
            border-radius: 2px;
        }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(52, 152, 219, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(52, 152, 219, 0.2);
        border-color: rgba(52, 152, 219, 0.3);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.service-card h3 {
    color: #2980b9;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

    .about-content p {
        font-size: 18px;
        color: #5a6c7d;
        line-height: 1.8;
        margin-bottom: 20px;
    }

.booking-form {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(52, 152, 219, 0.1);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.1);
}

.form-group {
    margin-bottom: 25px;
    text-align: right;
}

    .form-group label {
        display: block;
        color: #2980b9;
        margin-bottom: 8px;
        font-weight: 600;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 12px 15px;
        border: 2px solid rgba(52, 152, 219, 0.2);
        border-radius: 8px;
        background: rgba(248, 251, 255, 0.8);
        color: #2c3e50;
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #3498db;
            box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
            background: #fff;
        }

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: #fff;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(39, 174, 96, 0.4);
        background: linear-gradient(135deg, #229954, #27ae60);
    }

.contact-info {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 2px solid rgba(52, 152, 219, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
}

    .contact-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(52, 152, 219, 0.15);
    }

    .contact-item h4 {
        color: #2980b9;
        margin-bottom: 10px;
        font-size: 18px;
    }

    .contact-item a {
        color: #3498db;
        text-decoration: none;
        font-weight: 600;
    }

        .contact-item a:hover {
            text-decoration: underline;
        }

.map-container {
    margin-top: 30px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.2);
}

footer {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: #ecf0f1;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

    footer p {
        margin-bottom: 10px;
    }

/* Login Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #fff, #f8fbff);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.3);
    border: 2px solid rgba(52, 152, 219, 0.1);
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #7f8c8d;
    float: left;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

    .close:hover {
        color: #e74c3c;
    }

.modal h2 {
    color: #2980b9;
    text-align: center;
    margin-bottom: 25px;
    font-size: 24px;
}

.modal .form-group {
    margin-bottom: 20px;
    text-align: right;
}

.modal input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 8px;
    background: rgba(248, 251, 255, 0.8);
    color: #2c3e50;
    font-size: 16px;
}

    .modal input:focus {
        outline: none;
        border-color: #3498db;
        box-shadow: 0 0 10px rgba(52, 152, 219, 0.2);
    }

.modal .submit-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
    margin-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    nav a {
        margin: 0 10px;
        font-size: 14px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 15px;
    }

    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .slide-nav {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

        .slide-nav.prev {
            left: 15px;
        }

        .slide-nav.next {
            right: 15px;
        }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}


