:root {
    --primary: #ead6bd;
    --secondary: #1a1a1a;
    --accent: #e8d5b7;
    --light: #f8f5f0;
    --dark: #2c2c2c;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    background: var(--light);
    color: var(--dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
}
/* Navbar */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary) !important;
    letter-spacing: 2px;
}

.nav-link {
    color: #fff !important;
    font-weight: 500;
    margin: 0 1rem;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-appointment {
    background: var(--primary);
    color: var(--secondary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-appointment:hover {
    background: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(44, 44, 44, 0.5)),
        url('/static/medical/images/model1.mp4') top/cover;
    animation: zoomIn 20s ease-in-out infinite alternate;
} */

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 0 2rem;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }

    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.btn-hero {
    padding: 1rem 2.5rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

/* @media (max-width: 768px) {
    .btn-hero {
        position: absolute;
        bottom: 20vh;
    padding: 1rem 2.5rem;
    margin: 0 0.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}
} */

.btn-hero-primary {
    background: var(--primary);
    color: var(--secondary);
}

.btn-hero-primary:hover {
    background: transparent;
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 97, 0.4);
}

.btn-hero-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-hero-secondary:hover {
    background: #fff;
    color: var(--secondary);
    transform: translateY(-3px);
}

/* Services Section */
.services-section {
    padding: 8rem 0;
    background: var(--light);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary);
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 2rem auto 0;
}

.service-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    margin-bottom: 2rem;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(201, 169, 97, 0.3);
}

.service-image {
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(26, 26, 26, 0.8));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary);
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.5rem 0;
    color: #555;
    font-size: 0.95rem;
}

.service-list li::before {
    content: '✓';
    color: var(--secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.hero {
    position: relative;
    height: 100vh; /* Ose lartësia që dëshiron */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* Me rëndësi! */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;  /* Ndryshuar nga auto */
    height: 100%; /* Ndryshuar nga auto */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Kjo e mban videon të mbushur por e qendron më mirë */
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradienti që kishe ti në kodin fillestar */
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(44, 44, 44, 0.5));
    z-index: 2; /* Mbi videon */
}

.hero-content {
    position: relative;
    z-index: 3; /* Mbi të gjitha */
    text-align: center;
    color: white;
}


.btn-service {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-service:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* Features */
.features-section {
    padding: 6rem 0;
    background: var(--secondary);
    color: #fff;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--secondary);
    transition: all 0.3s ease;
}

.feature-box:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-box h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-box p {
    color: #ccc;
    line-height: 1.7;
}

/* Gallery */
.gallery-section {
    padding: 8rem 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
    cursor: pointer;
    height: 350px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(201, 169, 97, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 3rem;
    color: #fff;
}

/* Testimonials */
.testimonials-section {
    padding: 8rem 0;
    background: var(--light);
}

.testimonial-card {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    margin: 1rem;
    text-align: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--primary);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    font-weight: 600;
    color: var(--secondary);
}

.rating {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background: var(--secondary);
    color: #fff;
    padding: 4rem 0 2rem;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.footer-content h5 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .section-title h2 {
        font-size: 2.5rem;
    }

    .btn-hero {
        border: 2px solid var(--secondary);
        /* position: relative;
        top: 1vh; */
        padding: 0.8rem 1.5rem;
        margin-bottom: 1rem;
    }
}

.testimonials-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.section-title p {
    font-size: 18px;
    color: #666;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 280px;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stars {
    margin-bottom: 20px;
    color: #ffc107;
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.client-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.client-position {
    font-size: 14px;
    color: #888;
    margin: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 20px;
}

.carousel-indicators button {
    background-color: transparent !important;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .testimonial-card {
        margin-bottom: 20px;
    }
}
.btn-hero-custom {
    /* Krijojmë efektin gjysmë-përgjysmë me gradient */
    background: linear-gradient(90deg, #ffffff50 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: left bottom;
    
    color: var(--secondary); /* Ngjyra e tekstit fillestar */
    border: 2px solid var(--primary);
    position: relative;
    transition: all 0.4s ease-in-out;
    z-index: 1;
}

.btn-hero-custom:hover {
    /* Kur kalon mausin, mbushet plot ose ndryshon krahun */
    background-position: right bottom;
    color: #fff; /* Teksti bëhet i bardhë në hover */
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}