:root {
    --primary-color: #e0f5f6;
    --primary-light: #eaf7f8;
    --accent-color: #1cbbc2;
    --accent-hover: #15989e;
    --text-main: #0f3d40;
    --text-muted: #527a7c;
    --border-color: rgba(28, 187, 194, 0.2);
    --bg-card: #eaf7f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-main);
    line-height: 1.6;
}

/* Animated Background Shapes */
.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    animation: float 15s infinite ease-in-out;
}

.circle-1 {
    width: 400px;
    height: 400px;
    border: 1px solid rgba(28, 187, 194, 0.15);
    border-radius: 50%;
    top: -10%;
    right: -10%;
    animation-duration: 25s;
}

.circle-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(28, 187, 194, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: 15%;
    left: 5%;
    animation-duration: 20s;
    animation-delay: -5s;
}

.line-1 {
    width: 250px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.15), transparent);
    top: 35%;
    left: -5%;
    transform: rotate(35deg);
    animation: float-line 22s infinite ease-in-out;
}

.line-2 {
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28, 187, 194, 0.2), transparent);
    bottom: 30%;
    right: 15%;
    transform: rotate(-25deg);
    animation: float-line 18s infinite ease-in-out;
    animation-delay: -8s;
}

.dots-1 {
    width: 300px;
    height: 300px;
    background-image: radial-gradient(rgba(28, 187, 194, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    top: 50%;
    left: 45%;
    border-radius: 50%;
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
    animation-duration: 35s;
}

.dots-2 {
    width: 250px;
    height: 250px;
    background-image: radial-gradient(rgba(28, 187, 194, 0.2) 2px, transparent 2px);
    background-size: 30px 30px;
    top: 5%;
    left: 2%;
    border-radius: 50%;
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
    animation-duration: 28s;
    animation-delay: -12s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    top: 60%;
    right: 5%;
    animation-duration: 18s;
    animation-delay: -3s;
}

.circle-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(28, 187, 194, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 30%;
    animation-duration: 22s;
    animation-delay: -10s;
}

.line-3 {
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28, 187, 194, 0.2), transparent);
    top: 75%;
    left: 20%;
    transform: rotate(15deg);
    animation: float-line 15s infinite ease-in-out;
    animation-delay: -2s;
}

.line-4 {
    width: 350px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28, 187, 194, 0.2), transparent);
    top: 15%;
    right: 10%;
    transform: rotate(-15deg);
    animation: float-line 25s infinite ease-in-out;
    animation-delay: -6s;
}

.dots-3 {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(rgba(28, 187, 194, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    bottom: 5%;
    right: 40%;
    border-radius: 50%;
    mask-image: radial-gradient(circle, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 30%, transparent 70%);
    animation-duration: 30s;
    animation-delay: -15s;
}

@keyframes float {
    0% {
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px));
    }

    33% {
        transform: translate(calc(var(--mouse-x, 0px) + 30px), calc(var(--mouse-y, 0px) - 40px));
    }

    66% {
        transform: translate(calc(var(--mouse-x, 0px) - 20px), calc(var(--mouse-y, 0px) + 30px));
    }

    100% {
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px));
    }
}

@keyframes float-line {
    0% {
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) rotate(35deg);
    }

    33% {
        transform: translate(calc(var(--mouse-x, 0px) + 40px), calc(var(--mouse-y, 0px) - 30px)) rotate(40deg);
    }

    66% {
        transform: translate(calc(var(--mouse-x, 0px) - 30px), calc(var(--mouse-y, 0px) + 20px)) rotate(30deg);
    }

    100% {
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) rotate(35deg);
    }
}

/* Elegant Sparkles */
.sparkle {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    clip-path: polygon(50% 0%, 55% 45%, 100% 50%, 55% 55%, 50% 100%, 45% 55%, 0% 50%, 45% 45%);
    animation: twinkle 4s infinite ease-in-out;
    pointer-events: none;
    z-index: 1;
    transition: left 0.1s, top 0.1s;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.2;
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) scale(0.5) rotate(0deg);
    }

    50% {
        opacity: 0.9;
        transform: translate(var(--mouse-x, 0px), var(--mouse-y, 0px)) scale(1.5) rotate(90deg);
        box-shadow: 0 0 20px var(--accent-color);
    }
}

.star-1 {
    top: 15%;
    left: 15%;
    width: 25px;
    height: 25px;
    animation-delay: 0s;
}

.star-2 {
    top: 75%;
    left: 35%;
    width: 15px;
    height: 15px;
    animation-delay: 1.2s;
}

.star-3 {
    top: 25%;
    right: 15%;
    width: 30px;
    height: 30px;
    animation-delay: 2.5s;
}

.star-4 {
    bottom: 15%;
    right: 25%;
    width: 20px;
    height: 20px;
    animation-delay: 0.8s;
}

.star-5 {
    top: 50%;
    left: 80%;
    width: 18px;
    height: 18px;
    animation-delay: 1.8s;
}

.star-6 {
    top: 85%;
    right: 10%;
    width: 22px;
    height: 22px;
    animation-delay: 0.5s;
}

.star-7 {
    top: 10%;
    right: 45%;
    width: 15px;
    height: 15px;
    animation-delay: 3s;
}

.star-8 {
    bottom: 25%;
    left: 15%;
    width: 28px;
    height: 28px;
    animation-delay: 1.5s;
}

.star-9 {
    top: 35%;
    left: 60%;
    width: 12px;
    height: 12px;
    animation-delay: 2.2s;
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 6rem;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    flex: 1;
    z-index: 2;
}

/* Typography & Content */
.hero-content {
    flex: 1.2;
    max-width: 650px;
}

.badge {
    display: inline-block;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.2rem;
    border-radius: 2rem;
    font-size: 0.95rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    backdrop-filter: blur(5px);
}

.main-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-main);
    text-shadow: 0 2px 10px rgba(28, 187, 194, 0.2);
}

.description {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.2rem;
    border-radius: 3rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn i {
    font-size: 1.3rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(28, 187, 194, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
    transform: translateY(-4px);
    border-color: var(--text-main);
}

/* Features List */
.features-list {
    display: flex;
    gap: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
}

.icon-wrapper {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.feature-item:hover .icon-wrapper {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-color: var(--accent-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(28, 187, 194, 0.2);
}

.feature-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s ease;
}

.feature-item:hover span {
    color: var(--text-main);
}

/* Image Wrapper */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Add a glowing effect behind the image */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(28, 187, 194, 0.15) 0%, rgba(11, 28, 33, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(40px);
}

.image-container {
    width: 100%;
    max-width: 480px;
    /* iOS Safari fix: use explicit height instead of aspect-ratio only */
    height: 540px;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.3);
    border: 8px solid var(--bg-card);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    /* Force GPU layer for iOS rendering */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.image-container img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-container:hover img {
    transform: scale(1.06);
    -webkit-transform: scale(1.06);
}

/* Stats Section */
.stats-section {
    background-color: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    margin-top: 4rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    z-index: 2;
    position: relative;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 0 2rem;
}

.stat-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        gap: 2rem;
    }

    .main-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 992px) {
    .container {
        flex-direction: column;
        text-align: center;
        gap: 4rem;
        padding-top: 2rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        max-width: 100%;
    }

    .cta-group {
        justify-content: center;
        flex-wrap: wrap;
    }

    .features-list {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
        max-width: 600px;
    }

    .image-container {
        max-width: 400px;
        height: 450px;
    }

    .stats-section {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.2rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .features-list {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        width: 100%;
    }

    .feature-item {
        width: auto;
        gap: 0.5rem;
    }

    .feature-item .icon-wrapper {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .feature-item span {
        font-size: 0.75rem;
    }

    .stats-section {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 2.5rem 0.5rem;
    }

    .stat-item {
        width: auto;
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 0;
    }

    .stat-item .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-item .stat-number {
        font-size: 1.1rem;
    }

    .stat-item .stat-text {
        font-size: 0.65rem;
    }
}

/* About Section */
.about-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.about-section .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-content-column {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 5.5rem 3rem 4rem;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(28, 187, 194, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-content-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(28, 187, 194, 0.3);
}

.about-frame {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 1px solid rgba(28, 187, 194, 0.4);
    border-radius: 15px;
    pointer-events: none;
    z-index: 0;
}

/* Decorative corners for the frame */
.about-frame::before,
.about-frame::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    border: 2px solid rgba(28, 187, 194, 0.6);
}

.about-frame::before {
    top: -5px;
    left: -5px;
    border-right: none;
    border-bottom: none;
    border-radius: 12px 0 0 0;
}

.about-frame::after {
    bottom: -5px;
    right: -5px;
    border-left: none;
    border-top: none;
    border-radius: 0 0 12px 0;
}

.about-badge-icon {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75px;
    height: 85px;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    /* Gold gradient */
    clip-path: polygon(50% 100%, 100% 75%, 100% 0, 0 0, 0 75%);
    /* Shield shape */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.2rem;
    color: var(--text-main);
    z-index: 2;
}



.about-title {
    font-size: 4.5rem;
    font-weight: 400;
    font-family: 'Times New Roman', serif;
    color: var(--accent-color);
    margin-bottom: 2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.about-text {
    font-size: 1.15rem;
    line-height: 2;
    color: var(--text-main);
    margin-bottom: 3rem;
    text-align: justify;
    padding: 0 1rem;
}

.about-footer {
    font-size: 1rem;
    letter-spacing: 5px;
    color: var(--text-muted);
    text-transform: uppercase;
    border-top: 1px solid rgba(28, 187, 194, 0.2);
    padding-top: 2rem;
    margin-top: auto;
}

.about-image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.arch-image-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 3.5/5;
    border-radius: 250px 250px 0 0;
    overflow: hidden;
    border: 6px solid var(--accent-color);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25);
    position: relative;
    background-color: var(--bg-card);
}

.arch-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.arch-image-container:hover img {
    transform: scale(1.05);
}

@media (max-width: 992px) {
    .about-content-column {
        padding: 3rem 2rem;
        order: 1;
    }

    .about-image-column {
        order: 2;
    }

    .arch-image-container {
        border-radius: 40px;
        aspect-ratio: 4/4;
    }

    .about-title {
        font-size: 3.5rem;
    }
}

/* Gallery Section */
.gallery-section {
    position: relative;
    padding: 8rem 0 10rem 0;
    background-color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    overflow: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(28, 187, 194, 0.3);
    transition: all 0.4s ease;
    background-color: var(--bg-card);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--accent-color);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Booking Form Section */
.booking-section {
    background-color: var(--bg-card);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.booking-section .container {
    flex-direction: column;
    align-items: stretch;
}

.booking-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
    width: 100%;
}

.booking-form-wrapper {
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(28, 187, 194, 0.2);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(28, 187, 194, 0.3);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    font-weight: 500;
}

.input-wrapper {
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    appearance: none;
}

.form-group select {
    cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: #eaf7f8;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.required {
    color: #e74c3c;
    margin-right: 4px;
}

/* Radio Pills */
.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-pill {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-pill input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-pill span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0.8rem;
    background-color: rgba(28, 187, 194, 0.3);
    border: 1px solid rgba(28, 187, 194, 0.2);
    border-radius: 10px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
}

.radio-pill input:checked+span {
    background-color: rgba(28, 187, 194, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Checkbox */
.checkbox-group {
    margin-top: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1rem;
}

.booking-section .checkbox-label input[type="checkbox"] {
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    border-radius: 5px;
    background-color: rgba(28, 187, 194, 0.3);
    border: 1px solid rgba(28, 187, 194, 0.2);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.booking-section .checkbox-label input[type="checkbox"]:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b2c3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 75%;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .booking-form-wrapper {
        padding: 1.5rem 1rem;
    }

    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .form-group {
        grid-column: 1 / -1;
    }

    .form-group:nth-child(5),
    .form-group:nth-child(6) {
        grid-column: span 1;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
    }

    .radio-pill span {
        padding: 0.6rem;
    }
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-card);
    padding: 3rem 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    align-items: start;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    color: var(--accent-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-family: inherit;
    font-weight: 800;
}

.footer-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-heading {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact li {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.footer-bottom {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    background-color: rgba(28, 187, 194, 0.3);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

/* Lightbox Overlay */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--text-main);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 8rem 0;
    background-color: var(--primary-color);
    overflow: hidden;
}

.testimonials-container {
    display: block;
}

.testimonials-header {
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 4rem;
}

.testimonials-swiper {
    width: 100%;
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
    padding-bottom: 6rem;
    /* Space for nav */
}

.testimonial-card {
    background-color: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    height: auto;
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-card:hover {
    background-color: var(--primary-light);
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.quote-icon {
    position: absolute;
    top: 2rem;
    left: 2.5rem;
    /* Left because RTL */
    font-size: 3rem;
    color: var(--text-muted);
    /* very faint */
}

.testimonial-card:hover .quote-icon {
    color: rgba(28, 187, 194, 0.2);
    /* faint gold */
}

.patient-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.patient-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 2px solid var(--accent-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
    font-weight: bold;
    font-size: 1.2rem;
}

.patient-details {
    display: flex;
    flex-direction: column;
}

.patient-name {
    color: var(--text-main);
    font-size: 1.1rem;
    margin: 0 0 0.2rem 0;
}

.patient-job {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.rating-stars {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 2px;
}

.testimonial-text {
    color: var(--text-main);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.testimonial-footer {
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid rgba(28, 187, 194, 0.2);
    padding-top: 1rem;
    margin-top: auto;
}

.testimonials-nav-wrapper {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10;
    width: 100%;
}

.custom-testim-nav {
    position: static !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    background-color: transparent;
    border: 1px solid rgba(28, 187, 194, 0.3);
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--text-main) !important;
    margin: 0 !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.custom-testim-nav::after {
    font-size: 1rem !important;
    font-weight: bold;
}

.custom-testim-nav:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color) !important;
}

.swiper-button-disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.testimonials-pagination {
    position: relative !important;
    bottom: 0 !important;
    width: auto !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-pagination .swiper-pagination-bullet {
    background-color: var(--text-muted);
    opacity: 0.5;
    width: 10px;
    height: 10px;
    transition: all 0.3s ease;
}

.testimonials-pagination .swiper-pagination-bullet-active {
    background-color: var(--accent-color);
    opacity: 1;
    width: 24px;
    border-radius: 5px;
}

/* Service Card Specific Styles */
.service-card {
    background-color: var(--primary-light);
    box-shadow: 0 10px 30px var(--border-color);
    border-radius: 20px;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    text-align: right;
    display: flex;
    flex-direction: column;
    height: auto;
    flex: 1;
    width: 100%;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.testimonials-swiper .swiper-wrapper,
.services-swiper .swiper-wrapper,
.cosmetic-swiper .swiper-wrapper {
    align-items: stretch;
}

.testimonials-swiper .swiper-slide,
.services-swiper .swiper-slide,
.cosmetic-swiper .swiper-slide {
    height: auto !important;
    display: flex;
    align-items: stretch;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(rgba(0, 0, 0, 0.15) 2px, transparent 2px);
    background-size: 10px 10px;
    z-index: 0;
}

.service-icon-tab {
    position: absolute;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    background-color: var(--accent-color);
    border-radius: 0 0 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--primary-color);
    z-index: 1;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-left: 60px;
    z-index: 1;
    position: relative;
    color: var(--text-main);
    min-height: 4rem;
    display: flex;
    align-items: flex-start;
}

.service-image {
    width: 100%;
    height: 220px; /* Increased height so before/after images are clear */
    object-fit: cover;
    object-position: center; /* Focus on the center */
    border-radius: 12px;
    margin-bottom: 1rem;
    z-index: 1;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.03); /* Subtle zoom to indicate it's clickable */
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    z-index: 1;
    position: relative;
}

.service-btn {
    align-self: flex-end;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.service-btn:hover {
    background-color: var(--text-main);
    color: var(--primary-color);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
    text-decoration: none;
}

.floating-whatsapp:hover {
    background-color: var(--text-main);
    color: var(--primary-color);
    transform: translateY(-5px);
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(28, 187, 194, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(28, 187, 194, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(28, 187, 194, 0);
    }
}


/* Native Gallery Navigation */
.native-gallery-nav {
    display: none;
    /* Hidden on desktop */
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.native-gallery-dots {
    display: flex;
    gap: 8px;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background-color: var(--accent-color);
    width: 25px;
    border-radius: 5px;
}

/* =========================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }

    .about-content-column {
        border-radius: 150px 150px 15px 15px;
        padding: 5rem 1.5rem 3rem;
    }

    .about-badge-icon {
        width: 65px;
        height: 75px;
        font-size: 1.8rem;
    }

    .about-title {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.8rem !important;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .native-gallery-nav {
        display: flex;
    }

    .hero-section {
        min-height: auto;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .main-title {
        font-size: 2.2rem !important;
        line-height: 1.4;
    }

    .description {
        font-size: 1.1rem;
    }

    .about-content-column {
        border-radius: 100px 100px 15px 15px;
        padding: 4.5rem 1rem 2rem;
    }

    .about-badge-icon {
        width: 55px;
        height: 65px;
        font-size: 1.5rem;
    }

    .about-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .about-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .about-footer {
        font-size: 0.75rem;
        width: 100%;
        letter-spacing: 2px;
    }

    .floating-whatsapp {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 1.8rem !important;
    }

    .section-title {
        font-size: 2.2rem !important;
    }

    .badge {
        font-size: 0.85rem !important;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-content-column {
        border-radius: 80px 80px 15px 15px;
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1rem;
        padding-bottom: 1.5rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
    }

    .gallery-grid::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome/Safari */
    }

    .gallery-grid .gallery-item {
        flex: 0 0 85%;
        scroll-snap-align: center;
    }
}

/* Footer Highlight Links */
.footer-highlight-link {
    color: var(--accent-color) !important;
    text-decoration: underline !important;
    text-underline-offset: 5px;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.6;
}

.footer-highlight-link:hover {
    color: var(--text-main) !important;
    transform: translateY(-2px);
    text-decoration-color: var(--text-main) !important;
}

/* Footer Social Links Enlargement */
.footer-col .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.footer-col .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--text-muted);
    border-radius: 50%;
    color: var(--text-main);
    font-size: 1.6rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-col .social-links a:hover {
    background-color: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(28, 187, 194, 0.3);
}

/* Services Tabs */
.services-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 5;
}

.services-tabs {
    display: flex;
    background-color: rgba(0, 0, 0, 0.25); /* Darker recessed track */
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.4); /* Inner shadow for depth */
    position: relative;
}

.tab-btn {
    background: transparent;
    border: none;
    padding: 0.8rem 2.5rem;
    border-radius: 40px;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.tab-btn i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.tab-btn:not(.active):hover {
    color: var(--text-main);
    background-color: var(--text-muted); /* Subtle hover for unselected */
}

.tab-btn:not(.active):hover i {
    transform: scale(1.1);
}

.tab-btn.active {
    background-color: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(28, 187, 194, 0.25);
    transform: scale(1.02); /* Slight pop out effect */
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 576px) {
    .services-tabs {
        flex-direction: column;
        border-radius: 20px;
        width: 100%;
        max-width: 300px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
}

/* Custom Dropdown Styling */
.form-group {
    position: relative;
}

.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
    font-family: 'Tajawal', sans-serif;
}

.dropdown-selected {
    background-color: transparent;
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    color: var(--text-main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.dropdown-selected:hover {
    border-color: var(--accent-color);
}

.custom-dropdown.open .dropdown-selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(28, 187, 194, 0.1);
}

.custom-dropdown.open .dropdown-selected i {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background-color: var(--primary-light);
    box-shadow: 0 10px 30px var(--border-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    z-index: 999;
    max-height: 320px;
    overflow-y: auto;
    display: none;
    padding: 0.5rem 0;
    transform-origin: top center;
}

.custom-dropdown.open .dropdown-options {
    display: block;
    animation: dropdownPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: scaleY(0.9);
    }

    to {
        opacity: 1;
        transform: scaleY(1);
    }
}

.dropdown-group-label {
    padding: 0.8rem 1.2rem;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    background-color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.dropdown-option {
    padding: 0.8rem 1.2rem 0.8rem 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    position: relative;
}

.dropdown-option:hover {
    background-color: rgba(28, 187, 194, 0.08);
    color: var(--accent-color);
    padding-right: 1.5rem;
}

.dropdown-option.selected {
    background-color: rgba(28, 187, 194, 0.15);
    color: var(--accent-color);
    font-weight: 700;
}

/* Custom Scrollbar for Dropdown */
.dropdown-options::-webkit-scrollbar {
    width: 6px;
}

.dropdown-options::-webkit-scrollbar-track {
    background: transparent;
}

.dropdown-options::-webkit-scrollbar-thumb {
    background-color: var(--text-muted);
    border-radius: 10px;
}

.dropdown-options::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}

/* Service Booking Button */
.book-service-btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Tajawal', sans-serif;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(28, 187, 194, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.book-service-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.book-service-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(28, 187, 194, 0.4);
    color: var(--primary-color);
}

.book-service-btn:hover::before {
    opacity: 1;
}

.book-service-btn i {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.book-service-btn:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* Mobile Form Layout Fix */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Display Utility Classes */
.d-mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .d-desktop-only {
        display: none !important;
    }

    .d-mobile-only {
        display: block !important;
    }

    .mobile-arch-image-container {
        width: 100%;
        max-width: 70%;
        margin: 0.5rem auto 1rem auto;
        position: relative;
        z-index: 2;
        border: none;
        background: transparent;
        overflow: visible;
    }

    .mobile-arch-image-container img {
        width: 100%;
        height: auto;
        display: block;
        /* Elegant Glow tracing the cutout */
        filter: drop-shadow(0 0 25px rgba(28, 187, 194, 0.5)) drop-shadow(0 15px 25px rgba(0, 0, 0, 0.4));
    }

    /* Footer Mobile Alignment Fixes */
    .footer-heading::after {
        right: 50%;
        transform: translateX(50%);
    }

    .footer-contact li {
        justify-content: center;
        text-align: center;
    }

    .footer-col .social-links {
        justify-content: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    /* Ultimate Mobile Form Fixes */
    .booking-section .container {
        padding: 0 0.2rem !important;
    }
    
    .booking-form-wrapper {
        padding: 2rem 0.8rem !important;
    }
    
    .form-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .form-group {
        width: 100% !important;
    }
    
    .form-group input,
    .form-group textarea,
    .dropdown-selected {
        padding: 1.25rem !important;
        font-size: 1rem !important;
    }
    
    .radio-group {
        gap: 0.8rem !important;
    }
    
    .radio-pill span {
        padding: 1.2rem 0.5rem !important;
        font-size: 1rem !important;
        white-space: nowrap;
    }
    
    .submit-btn {
        padding: 1.25rem !important;
    }
}

/* Service Modal Styles & Premium Button */
.btn-learn-more {
    margin-top: auto;
    width: 100%;
    border-radius: 30px;
    padding: 0.9rem 1.5rem;
    background: linear-gradient(135deg, rgba(28, 187, 194, 0.1), rgba(28, 187, 194, 0.02));
    color: var(--accent-color, var(--accent-color));
    border: 1px solid rgba(28, 187, 194, 0.4);
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(28, 187, 194, 0.2);
}
.btn-learn-more::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(28, 187, 194, 0.3), transparent);
    transition: all 0.6s ease;
}
.btn-learn-more:hover::before {
    left: 100%;
}
.btn-learn-more:hover {
    background: var(--accent-color, var(--accent-color));
    color: #1a1721;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(28, 187, 194, 0.4);
    border-color: var(--accent-color, var(--accent-color));
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 20, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    width: 92%;
    max-width: 550px;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), inset 0 0 0 1px var(--border-color);
    text-align: center;
}
/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 6px;
}
.modal-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.02);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(28, 187, 194, 0.3);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(28, 187, 194, 0.6);
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: var(--border-color);
    border: 1px solid rgba(28, 187, 194, 0.2);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}
.modal-close:hover {
    background: var(--accent-color, var(--accent-color));
    color: #1a1721;
    transform: rotate(90deg);
}
.modal-title {
    color: var(--text-main);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
}
.modal-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(28, 187, 194, 0.15), rgba(28, 187, 194, 0.05));
    color: var(--accent-color, var(--accent-color));
    padding: 0.7rem 2rem;
    border-radius: 12px;
    font-weight: 800;
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    border: 1px solid rgba(28, 187, 194, 0.4);
    box-shadow: 0 4px 15px rgba(28, 187, 194, 0.15);
}
.modal-price s {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-left: 0.8rem;
    font-weight: normal;
}
.modal-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}
.modal-details ul li {
    margin-bottom: 1.2rem;
    padding-right: 2.2rem;
    position: relative;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-10px);
    animation: fadeSlideIn 0.5s forwards ease-out;
}
/* Stagger list animations */
.modal-details ul li:nth-child(1) { animation-delay: 0.1s; }
.modal-details ul li:nth-child(2) { animation-delay: 0.2s; }
.modal-details ul li:nth-child(3) { animation-delay: 0.3s; }
.modal-details ul li:nth-child(4) { animation-delay: 0.4s; }
.modal-details ul li:nth-child(5) { animation-delay: 0.5s; }
.modal-details ul li:nth-child(6) { animation-delay: 0.6s; }
.modal-details ul li:nth-child(7) { animation-delay: 0.7s; }
.modal-details ul li:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeSlideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.modal-details ul li::before {
    content: '\f058'; /* Solid circle checkmark */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 2px;
    color: var(--accent-color, var(--accent-color));
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(28, 187, 194, 0.4));
}
.modal-ingredients {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(to right, rgba(28, 187, 194, 0.05), transparent);
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: right;
    border-right: 3px solid var(--accent-color, var(--accent-color));
    position: relative;
}
.modal-ingredients strong {
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

/* Image Lightbox Modal */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    transform: scale(0.85);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.lightbox-overlay.active .lightbox-content {
    transform: scale(1);
}
.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    border: 2px solid rgba(28, 187, 194, 0.4);
    object-fit: contain;
    display: block;
}
.lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: rgba(28, 187, 194, 0.2);
    border: 1px solid rgba(28, 187, 194, 0.3);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.lightbox-close:hover {
    background: var(--accent-color, var(--accent-color));
    transform: rotate(90deg);
}
/* Make service images clickable */
.service-image {
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
.service-image:hover {
    transform: scale(1.05) !important;
    z-index: 2;
    position: relative;
}

/* Pre-Footer Contact Section */
.pre-footer-contact {
    background-color: var(--primary-color, #1a1721);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
    border-bottom: 1px solid var(--border-color);
}
.pre-footer-content-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}
.contact-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    flex: 1;
}
.contact-box .icon-wrap {
    width: 70px;
    height: 70px;
    background: rgba(28, 187, 194, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color, var(--accent-color));
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    border: 1px dashed rgba(28, 187, 194, 0.4);
    transition: all 0.4s ease;
}
.contact-box:hover .icon-wrap {
    background: var(--accent-color, var(--accent-color));
    color: #1a1721;
    transform: scale(1.1);
    border-style: solid;
}
.contact-box h4 {
    color: var(--text-main);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}
.contact-address {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.action-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.gps-btn {
    background: rgba(28, 187, 194, 0.1);
    color: var(--accent-color, var(--accent-color));
    border: 1px solid rgba(28, 187, 194, 0.3);
}
.gps-btn:hover {
    background: var(--accent-color, var(--accent-color));
    color: #1a1721;
}
.call-btn {
    background: rgba(28, 187, 194, 0.1);
    color: var(--accent-color, var(--accent-color));
    border: 1px solid rgba(28, 187, 194, 0.3);
}
.call-btn:hover {
    background: var(--accent-color, var(--accent-color));
    color: #1a1721;
}
.pre-footer-contact .divider {
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 0, 0,0), rgba(209,176,107,0.3), rgba(0, 0, 0,0));
    margin: 2rem 0;
}
@media (max-width: 768px) {
    .pre-footer-content-wrap {
        flex-direction: column;
        gap: 1rem;
    }
    .pre-footer-contact .divider {
        width: 100%;
        height: 2px;
        background: linear-gradient(to right, rgba(0, 0, 0,0), rgba(209,176,107,0.3), rgba(0, 0, 0,0));
        margin: 1rem 0;
    }
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }
}
