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

:root {
    /* Color Palette - Extracted from design */
    --primary: #1B4D89;
    --secondary: #2B7CB3;
    --light: #4A9FCF;
    --accent: #6BB8E8;
    --dark: #1A3E5E;

    /* Service Icons */
    --icon: #0B5DAB;

    /* Greens for WhatsApp */
    --whatsapp-green: #25D366;
    --whatsapp-dark: #128C7E;

    /* Neutral Colors */
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E8ECF1;
    --text-gray: #5A6C7D;
    --dark-text: #1E2A3A;


    /* Shadows */
    --card-shadow: 0 4px 20px rgba(27, 77, 137, 0.1);
    --hover-shadow: 0 8px 30px rgba(27, 77, 137, 0.15);

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
}

body {
    font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* Navigation */
.navbar {
    background: var(--primary);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.logo-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width 0.3s ease;
}

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

.mobile-menu-toggle {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 50%, var(--gradient-to) 100%);
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--white);
    clip-path: ellipse(100% 100% at 50% 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(27, 77, 137, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 20px;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(27, 77, 137, 0.3);
}

.btn-primary:hover {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(27, 77, 137, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--whatsapp-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: var(--whatsapp-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Services Section */
.services {
    padding: var(--section-padding);
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

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

/* About Section */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

.about-card {
    background: var(--light-gray);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.doctor-avatar {
    margin-bottom: 20px;
}

.avatar-circle {
    width: 120px;
    height: 120px;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 700;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(11, 93, 171, 0.3);
}

.doctor-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.doctor-title {
    font-size: 16px;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
}

.doctor-bio {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.about-description {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-description p {
    font-size: 17px;
    color: var(--text-gray);
    line-height: 1.9;
    text-align: justify;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-item {
    background: var(--light-gray);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.stat-item:nth-child(1) {
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);
}

.stat-item:nth-child(2) {
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);

}

.stat-item:nth-child(3) {
    background: linear-gradient(135deg, var(--gradient-from) 0%, var(--gradient-to) 100%);

}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-gray);
    font-weight: 600;
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    display: flex;
    gap: 20px;
    align-items: start;
    transition: all 0.3s ease;
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.info-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.whatsapp-cards {
    flex-direction: column;
    gap: 15px;
}

.whatsapp-cards h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--whatsapp-green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    justify-content: center;
}

.whatsapp-btn:hover {
    background: var(--whatsapp-dark);
    transform: translateX(-5px);
}

.map-card {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, rgba(106, 184, 232, 0.05) 0%, rgba(74, 159, 207, 0.08) 100%);
    border: 2px dashed var(--light);
}

.map-card .map-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.map-card .map-icon-wrapper svg {
    width: 40px;
    height: 40px;
    color: var(--white);
}

.map-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.map-card p {
    text-align: center;
    font-size: 15px;
    color: var(--text-gray);
    margin-bottom: 0;
}

.map-btn {
    padding: 12px 32px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.map-btn:hover {
    background: var(--dark);
    transform: translateY(-2px);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

.contact-form h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 30px;
}

/* Alert Styles */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    animation: slideDown 0.3s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.1) 0%, rgba(37, 211, 102, 0.05) 100%);
    border: 2px solid rgba(37, 211, 102, 0.3);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(239, 68, 68, 0.05) 100%);
    border: 2px solid rgba(239, 68, 68, 0.3);
}

.alert-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-success .alert-icon {
    background: var(--whatsapp-green);
    color: var(--white);
}

.alert-error .alert-icon {
    background: #EF4444;
    color: var(--white);
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.alert-success .alert-title {
    color: var(--whatsapp-dark);
}

.alert-error .alert-title {
    color: #DC2626;
}

.alert-message {
    font-size: 15px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

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

.form-control {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--medium-gray);
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
    background: var(--light-gray);
    text-align: right;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(43, 124, 179, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
    background: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(27, 77, 137, 0.3);
}

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

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

.btn-submit .btn-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinner Animation */
.spinner {
    animation: rotate 1s linear infinite;
}

.spinner-circle {
    stroke-dasharray: 60;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }

    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }

    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 30px 0;
}

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

.footer-content p {
    font-size: 15px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 25px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .hero-title {
        font-size: 48px;
    }

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }

    .nav-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        flex-direction: column;
        align-items: flex-end;
        gap: 5px;
    }

    .logo-icon {
        width: 45px;
        height: 45px;
    }

    .logo-text {
        align-items: flex-end;
        text-align: right;
    }

    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--primary);
        flex-direction: column;
        padding: 40px 20px;
        gap: 25px;
        transition: right 0.3s ease;
        z-index: 999;
    }

    .nav-menu.mobile-active {
        right: 0;
    }

    .nav-link {
        font-size: 18px;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: 2px solid rgba(255, 255, 255, 0.8);
        padding: 8px 12px;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

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

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

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

    .hero {
        min-height: 500px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        justify-content: center;
    }

    .section-title {
        font-size: 32px;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .contact-form {
        padding: 25px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.about-card,
.stat-item,
.info-card {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .navbar,
    .footer {
        display: none;
    }
}


.service-icon img {
    width: 80px;
    height: 80px;
}



/* 404 Error Page Styles */
.error-404-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(27, 77, 137, 0.03) 0%, rgba(74, 159, 207, 0.05) 100%);
}

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

.error-illustration {
    position: relative;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.error-number {
    font-size: 140px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -5px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.error-icon {
    color: var(--light);
    animation: rotate-slow 20s linear infinite;
}

@keyframes rotate-slow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.error-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.3;
}

.error-subtitle {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-reasons {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    box-shadow: var(--card-shadow);
    margin-bottom: 40px;
    text-align: right;
}

.error-reasons h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.error-reasons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.error-reasons ul li {
    padding: 12px 0;
    padding-right: 30px;
    position: relative;
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
    border-bottom: 1px solid var(--medium-gray);
}

.error-reasons ul li:last-child {
    border-bottom: none;
}

.error-reasons ul li::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--light);
    border-radius: 50%;
}

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

.error-actions .btn {
    min-width: 200px;
    padding: 16px 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.error-actions .btn-primary {
    background: var(--primary);
    color: var(--white);
    border: 2px solid var(--primary);
}

.error-actions .btn-primary:hover {
    background: var(--dark);
    border-color: var(--dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(27, 77, 137, 0.3);
}

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

.error-actions .btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .error-404-section {
        padding: 60px 0;
        min-height: calc(100vh - 150px);
    }

    .error-number {
        font-size: 100px;
    }

    .error-icon svg {
        width: 80px;
        height: 80px;
    }

    .error-title {
        font-size: 32px;
    }

    .error-subtitle {
        font-size: 18px;
    }

    .error-reasons {
        padding: 25px;
        text-align: right;
    }

    .error-reasons h4 {
        font-size: 18px;
    }

    .error-reasons ul li {
        font-size: 15px;
        padding: 10px 0;
        padding-right: 25px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .error-number {
        font-size: 80px;
    }

    .error-title {
        font-size: 28px;
    }

    .error-subtitle {
        font-size: 16px;
    }
}

/* 500 Error Page Styles */
.error-500-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.03) 0%, rgba(220, 38, 38, 0.05) 100%);
}

.error-500-section .error-number {
    font-size: 140px;
    font-weight: 800;
    color: #DC2626;
    line-height: 1;
    letter-spacing: -5px;
    background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse-error 2s ease-in-out infinite;
}

@keyframes pulse-error {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

.error-500-section .error-icon {
    color: #EF4444;
    animation: shake 3s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(-5px) rotate(-5deg);
    }

    75% {
        transform: translateX(5px) rotate(5deg);
    }
}

.error-500-section .error-title {
    color: #DC2626;
}

.error-500-section .error-reasons {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(239, 68, 68, 0.02) 100%);
    border: 2px solid rgba(239, 68, 68, 0.2);
}

.error-500-section .error-reasons h4 {
    color: #DC2626;
}

.error-500-section .error-reasons .error-description {
    font-size: 16px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--medium-gray);
}

.error-500-section .error-reasons ul li::before {
    background: #EF4444;
}

.error-500-section .error-actions .btn-primary {
    background: #DC2626;
    border-color: #DC2626;
}

.error-500-section .error-actions .btn-primary:hover {
    background: #B91C1C;
    border-color: #B91C1C;
    box-shadow: 0 6px 25px rgba(220, 38, 38, 0.3);
}

.error-500-section .error-actions .btn-secondary {
    color: #DC2626;
    border-color: #DC2626;
}

.error-500-section .error-actions .btn-secondary:hover {
    background: #DC2626;
    color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .error-500-section {
        padding: 60px 0;
        min-height: calc(100vh - 150px);
    }

    .error-500-section .error-number {
        font-size: 100px;
    }

    .error-500-section .error-icon svg {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .error-500-section .error-number {
        font-size: 80px;
    }
}


.avatar-image {
    width: 70%;
}

.map-icon-wrapper img {
    width: 80px;
    height: 80px;
}



/* Instagram Button */
.btn-instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

.btn-instagram:hover {
    background: linear-gradient(45deg, #e08323 0%, #d5582c 25%, #cc1733 50%, #bc1356 75%, #ac0878 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(225, 48, 108, 0.4);
}

/* TikTok Button */
.btn-tiktok {
    background: #000000;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-tiktok::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #69C9D0 0%, #EE1D52 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-tiktok:hover::before {
    opacity: 1;
}

.btn-tiktok:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.btn-tiktok svg,
.btn-tiktok span {
    position: relative;
    z-index: 1;
}

/* Social Buttons Group Styling */
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for social buttons */
@media (max-width: 768px) {

    .btn-instagram,
    .btn-tiktok {
        min-width: auto;
    }
}



/* Offers Section */
.offers-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg,
            rgba(255, 215, 0, 0.03) 0%,
            rgba(255, 165, 0, 0.05) 50%,
            rgba(255, 69, 0, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.offers-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    position: relative;
    z-index: 2;
}

/* Offer Card */
.offer-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
    border: 3px solid transparent;
}

.offer-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 165, 0, 0.25);
    border-color: rgba(255, 165, 0, 0.3);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ribbon Badge */
.offer-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--white);
    padding: 8px 45px;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
    z-index: 10;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.offer-ribbon svg {
    width: 16px;
    height: 16px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

/* Offer Image */
.offer-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    /* 4:3 Aspect Ratio */
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    border-radius: 20px 20px 0 0;
}

.offer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Changed from cover to contain */
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--white);
}

.offer-card:hover .offer-image {
    transform: scale(1.08);
    /* Reduced scale for contain */
}

.offer-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    opacity: 0.3;
}

.offer-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.offer-card:hover .offer-image-overlay {
    opacity: 1;
}

/* Offer Content */
.offer-content {
    padding: 30px;
    position: relative;
}

.offer-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 66px;
}

.offer-description {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 81px;
}

/* Offer Button */
.offer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 28px;
    background: linear-gradient(135deg, var(--whatsapp-green) 0%, var(--whatsapp-dark) 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    position: relative;
    overflow: hidden;
}

.offer-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.offer-btn:hover::before {
    width: 300px;
    height: 300px;
}

.offer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, var(--whatsapp-dark) 0%, #0d7a5f 100%);
}

.offer-btn svg,
.offer-btn span {
    position: relative;
    z-index: 1;
}

.offer-btn svg {
    transition: transform 0.3s ease;
}

.offer-btn:hover svg {
    transform: scale(1.2) rotate(15deg);
}

/* Special Offer Highlights */
.offer-card:nth-child(1) {
    animation-delay: 0.1s;
}

.offer-card:nth-child(2) {
    animation-delay: 0.2s;
}

.offer-card:nth-child(3) {
    animation-delay: 0.3s;
}

.offer-card:nth-child(4) {
    animation-delay: 0.4s;
}

/* Shimmer Effect on Hover */
.offer-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.5s;
}

.offer-card:hover::after {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        opacity: 0;
        transform: translateX(-100%) rotate(45deg);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translateX(100%) rotate(45deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .offers-section {
        padding: 60px 0;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .offer-card {
        border-radius: 15px;
    }

    .offer-image-wrapper {
        padding-top: 75%;
        /* Maintain 4:3 ratio */
        border-radius: 15px 15px 0 0;
    }

    .offer-content {
        padding: 25px;
    }

    .offer-name {
        font-size: 22px;
        min-height: auto;
    }

    .offer-description {
        font-size: 14px;
        min-height: auto;
        -webkit-line-clamp: 2;
    }

    .offer-ribbon {
        font-size: 11px;
        padding: 6px 40px;
        top: 15px;
        right: -38px;
    }

    .offer-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .offer-image-wrapper {
        padding-top: 75%;
        /* Maintain 4:3 ratio */
    }

    .offer-content {
        padding: 20px;
    }

    .offer-name {
        font-size: 20px;
    }

    .offer-description {
        font-size: 13px;
        margin-bottom: 20px;
    }
}

/* Empty State */
.offers-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

.offers-empty svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.offers-empty h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.offers-empty p {
    font-size: 16px;
}

/* Offers Button (Hero Section) */
.btn-offers {
    background-color: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-offers::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-offers:hover::before {
    width: 300px;
    height: 300px;
}

.btn-offers:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.4);
}

.btn-offers svg {
    animation: star-pulse 2s ease-in-out infinite;
}

@keyframes star-pulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }

    50% {
        transform: scale(1.2) rotate(180deg);
    }
}

/* Ensure button text and icon are above the ripple effect */
.btn-offers svg,
.btn-offers span {
    position: relative;
    z-index: 1;
}

/* Showcase Section */
.showcase-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg,
            var(--white) 0%,
            rgba(27, 77, 137, 0.03) 50%,
            var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.showcase-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
}

.showcase-slider-container {
    overflow: hidden;
    position: relative;
}

/* Slider Container */
.showcase-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.showcase-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Image Container */
.showcase-image-container {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    max-height: 600px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.showcase-image-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.showcase-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    display: block;
    object-fit: contain;
    background: var(--white);
}

.showcase-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    color: var(--text-gray);
    opacity: 0.3;
}

/* Navigation Arrows */
.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.showcase-nav:hover {
    background: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(27, 77, 137, 0.3);
}

.showcase-nav svg {
    color: var(--primary);
    transition: color 0.3s ease;
}

.showcase-nav:hover svg {
    color: var(--white);
}

.showcase-prev {
    left: 0;
}

.showcase-next {
    right: 0;
}

/* Dots Navigation */
.showcase-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.showcase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--light-gray);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.showcase-dot:hover {
    background: var(--primary);
    transform: scale(1.2);
}

.showcase-dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

/* Loading Animation */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.showcase-slide {
    animation: slideIn 0.6s ease-out;
}

/* Empty State */
.showcase-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

.showcase-empty svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
    color: var(--primary);
}

.showcase-empty h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.showcase-empty p {
    font-size: 16px;
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .showcase-section {
        padding: 60px 0;
    }

    .showcase-slider-wrapper {
        padding: 0 50px;
    }

    .showcase-image-container {
        max-height: 500px;
    }

    .showcase-image {
        max-height: 500px;
    }

    .showcase-nav {
        width: 40px;
        height: 40px;
    }

    .showcase-nav svg {
        width: 20px;
        height: 20px;
    }

    .showcase-dots {
        margin-top: 30px;
        gap: 10px;
    }

    .showcase-dot {
        width: 10px;
        height: 10px;
    }

    .showcase-dot.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .showcase-slider-wrapper {
        padding: 0 40px;
    }

    .showcase-image-container {
        max-height: 400px;
    }

    .showcase-image {
        max-height: 400px;
    }

    .showcase-nav {
        width: 35px;
        height: 35px;
    }

    .showcase-prev {
        left: -5px;
    }

    .showcase-next {
        right: -5px;
    }

    .showcase-image-container {
        border-radius: 15px;
    }

    .showcase-dots {
        margin-top: 25px;
    }
}

/* RTL Support */
[dir="rtl"] .showcase-prev {
    left: auto;
    right: 0;
}

[dir="rtl"] .showcase-next {
    right: auto;
    left: 0;
}

[dir="rtl"] .showcase-slider {
    direction: ltr;
}

/* Accessibility */
.showcase-nav:focus,
.showcase-dot:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth transitions */
.showcase-image-container,
.showcase-nav,
.showcase-dot {
    will-change: transform;
}

/* Prevent image dragging */
.showcase-image {
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Video Section */
.video-section {
    padding: var(--section-padding);
    background: var(--white);
    position: relative;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Video Card */
.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(27, 77, 137, 0.15);
}

/* Video Thumbnail */
.video-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: linear-gradient(135deg, #1B4D89 0%, #2563eb 100%);
    overflow: hidden;
}

.video-thumb-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .video-thumb-img {
    transform: scale(1.1);
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Play Button Overlay */
.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-button-overlay {
    opacity: 1;
}

.play-button {
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-card:hover .play-button {
    transform: scale(1);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Video Title */
.video-title {
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 75px;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10000;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.video-modal.active .video-modal-content {
    transform: scale(1);
}

/* Video Player Wrapper */
.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

#videoPlayerContainer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#videoPlayerContainer iframe,
#videoPlayerContainer video {
    width: 100%;
    height: 100%;
    border: none;
}

/* Modal Title */
.video-modal-title {
    color: var(--white);
    font-size: 24px;
    font-weight: 700;
    margin-top: 0px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Close Button */
.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-modal-close:hover {
    background: var(--white);
    color: var(--primary);
    transform: rotate(90deg);
}

/* Navigation Arrows */
.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.video-nav:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.video-nav-prev {
    left: -70px;
}

.video-nav-next {
    right: -70px;
}

/* Empty State */
.video-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

.video-empty svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
    color: var(--primary);
}

.video-empty h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 10px;
}

.video-empty p {
    font-size: 16px;
    color: var(--text-gray);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }

    .video-nav-prev {
        left: -60px;
    }

    .video-nav-next {
        right: -60px;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }

    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .video-title {
        font-size: 16px;
        padding: 15px;
        min-height: 65px;
    }

    .video-modal-content {
        width: 95%;
    }

    .video-modal-title {
        font-size: 20px;
        margin-top: 15px;
    }

    .video-nav {
        width: 40px;
        height: 40px;
    }

    .video-nav-prev {
        left: 10px;
    }

    .video-nav-next {
        right: 10px;
    }

    .video-modal-close {
        top: -45px;
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .video-card {
        border-radius: 12px;
    }

    .video-title {
        font-size: 15px;
        padding: 12px;
        min-height: auto;
    }

    .video-modal-content {
        width: 100%;
        padding: 0 15px;
    }

    .video-modal-title {
        font-size: 18px;
    }

    .video-nav {
        width: 35px;
        height: 35px;
    }

    .video-nav svg {
        width: 20px;
        height: 20px;
    }

    .video-nav-prev {
        left: 5px;
    }

    .video-nav-next {
        right: 5px;
    }
}

/* Loading State */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
}

/* Accessibility */
.video-card:focus,
.video-nav:focus,
.video-modal-close:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Smooth Transitions */
.video-card,
.play-button,
.video-modal,
.video-modal-content,
.video-nav,
.video-modal-close {
    will-change: transform, opacity;
}


/* Hero Buttons - Updated with Custom Color Support */

/* Base button styles - colors now come from inline styles */
.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    white-space: nowrap;
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn svg {
    flex-shrink: 0;
    color: var(--button-text-color, currentColor);
}

/* Primary Button - uses inline colors */
.btn-primary {
    box-shadow: 0 4px 15px rgba(27, 77, 137, 0.3);
}

/* Secondary Button - uses inline colors */
.btn-secondary {
    border-color: currentColor;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
}

/* WhatsApp Button - uses inline colors */
.btn-whatsapp {
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

/* Instagram Button - uses inline colors */
.btn-instagram {
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.3);
}

/* TikTok Button - uses inline colors */
.btn-tiktok {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Offers Button - uses inline colors */
.btn-offers {
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-offers svg {
    animation: star-pulse 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-buttons .btn {
        padding: 14px 28px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-buttons .btn {
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }
}
/* Team Section */
.team-section {
    padding: var(--section-padding);
    background: linear-gradient(180deg,
        var(--white) 0%,
        var(--light-gray) 50%,
        var(--white) 100%);
    position: relative;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Team Card */
.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* Team Photo */
.team-photo {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    overflow: hidden;
}

.team-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Placeholder for no photo */
.team-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg,
        rgba(27, 77, 137, 0.05) 0%,
        rgba(74, 159, 207, 0.08) 100%);
}

.team-placeholder svg {
    width: 80px;
    height: 80px;
}

/* Overlay */
.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(27, 77, 137, 0.9) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

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

.team-overlay-content {
    width: 100%;
}

.team-overlay-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.team-card:hover .team-overlay-title {
    transform: translateY(0);
}

/* Team Info */
.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.team-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--secondary-blue);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-description {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Empty State */
.team-empty {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-gray);
}

.team-empty svg {
    width: 80px;
    height: 80px;
    opacity: 0.3;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.team-empty h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.team-empty p {
    font-size: 16px;
    color: var(--text-gray);
}

/* Alternative: Hexagon Photo Style */
.team-card.style-hexagon .team-photo {
    border-radius: 0;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    padding-top: 115%; /* Adjusted for hexagon */
}

/* Alternative: Circle Photo Style */
.team-card.style-circle .team-photo {
    border-radius: 50%;
    padding-top: 100%;
    margin: 20px;
    width: calc(100% - 40px);
}

/* Alternative: Minimal Style */
.team-card.style-minimal {
    box-shadow: none;
    border: 2px solid var(--medium-gray);
}

.team-card.style-minimal:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 25px rgba(27, 77, 137, 0.1);
}

/* Alternative: With Badge */
.team-card .team-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-blue);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(27, 77, 137, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }

    .team-info {
        padding: 20px;
    }

    .team-name {
        font-size: 20px;
    }

    .team-title {
        font-size: 14px;
    }

    .team-description {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .team-card {
        max-width: 350px;
        margin: 0 auto;
    }

    .team-name {
        font-size: 18px;
    }
}

/* Animation: Staggered Entry */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.6s ease-out;
}

.team-card:nth-child(1) {
    animation-delay: 0.1s;
}

.team-card:nth-child(2) {
    animation-delay: 0.2s;
}

.team-card:nth-child(3) {
    animation-delay: 0.3s;
}

.team-card:nth-child(4) {
    animation-delay: 0.4s;
}

.team-card:nth-child(5) {
    animation-delay: 0.5s;
}

.team-card:nth-child(6) {
    animation-delay: 0.6s;
}

/* Accessibility */
.team-card:focus-within {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
}

/* Print Styles */
@media print {
    .team-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }

    .team-overlay {
        display: none;
    }
}

/* Pink Theme Overrides */
[data-theme="pink"] .team-name {
    color: var(--primary-pink);
}

[data-theme="pink"] .team-title {
    color: var(--secondary-pink);
}

[data-theme="pink"] .team-overlay {
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(127, 48, 52, 0.9) 100%);
}

[data-theme="pink"] .team-placeholder {
    background: linear-gradient(135deg,
        rgba(127, 48, 52, 0.05) 0%,
        rgba(240, 162, 169, 0.08) 100%);
}

[data-theme="pink"] .team-empty svg {
    color: var(--primary-pink);
}

[data-theme="pink"] .team-empty h3 {
    color: var(--primary-pink);
}

[data-theme="pink"] .team-card:hover {
    box-shadow: 0 15px 40px rgba(127, 48, 52, 0.15);
}

[data-theme="pink"] .team-badge {
    background: var(--primary-pink);
}


/* Service Detail Shortcodes - Enhanced Beautiful Styles */

/* Content Blocks - Modern Cards */
.content-block {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(127, 48, 52, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(240, 162, 169, 0.15);
}

.content-block:hover {
    box-shadow: 0 8px 30px rgba(127, 48, 52, 0.12);
    transform: translateY(-3px);
}

/* Content Header - Beautiful Gradient Background */
.content-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(to right, rgba(127, 48, 52, 0.08) 0%, transparent 100%);
    border-radius: 10px;
}

.content-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(127, 48, 52, 0.3);
}

.content-title {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.content-body {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 17px;
}

/* Benefits Grid - Beautiful Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(251, 233, 234, 0.5) 0%, rgba(240, 162, 169, 0.08) 100%);
    border-radius: 15px;
    border: 2px solid rgba(240, 162, 169, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(240, 162, 169, 0.15) 0%, rgba(237, 183, 191, 0.1) 100%);
    border-color: rgba(127, 48, 52, 0.3);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(127, 48, 52, 0.1);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(127, 48, 52, 0.3);
}

.benefit-text {
    margin: 0;
    color: var(--dark-text);
    font-weight: 600;
    line-height: 1.7;
    font-size: 16px;
}

/* Process Timeline - Modern */
.process-timeline {
    position: relative;
    padding-left: 60px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #7F3034 0%, #B8776F 50%, #F0A2A9 100%);
    border-radius: 10px;
}

.process-step {
    position: relative;
    padding: 25px 0 25px 30px;
    margin-bottom: 25px;
}

.step-number {
    position: absolute;
    left: 0;
    top: 25px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(127, 48, 52, 0.4);
    border: 4px solid var(--white);
}

.step-content {
    background: linear-gradient(135deg, rgba(251, 233, 234, 0.6) 0%, rgba(240, 162, 169, 0.1) 100%);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #7F3034;
    box-shadow: 0 3px 15px rgba(127, 48, 52, 0.08);
    transition: all 0.3s ease;
}

.process-step:hover .step-content {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(127, 48, 52, 0.12);
}

.step-title {
    font-size: 22px;
    font-weight: 700;
    color: #7F3034;
    margin: 0 0 12px 0;
}

.step-text {
    margin: 0;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Gallery - Pinterest Style */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(127, 48, 52, 0.15);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(127, 48, 52, 0.25);
}

.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: linear-gradient(180deg, transparent 0%, rgba(127, 48, 52, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-zoom {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: #7F3034;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gallery-zoom:hover {
    transform: scale(1.15) rotate(90deg);
}

/* FAQ - Modern Cards */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    border: 2px solid rgba(240, 162, 169, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(127, 48, 52, 0.08);
}

.faq-item.active {
    border-color: #B8776F;
    box-shadow: 0 6px 25px rgba(127, 48, 52, 0.15);
}

.faq-question {
    width: 100%;
    background: linear-gradient(135deg, rgba(251, 233, 234, 0.5) 0%, rgba(240, 162, 169, 0.08) 100%);
    border: none;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 19px;
    font-weight: 700;
    color: var(--dark-text);
    text-align: right;
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    color: var(--white);
}

.faq-question svg {
    transition: transform 0.4s ease;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 25px 30px;
    margin: 0;
    color: var(--text-gray);
    line-height: 1.9;
}

/* Info Cards - Beautiful Gradients */
.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.quick-info-card {
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
}

.quick-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(127, 48, 52, 0.2);
}

.quick-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.quick-info-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-gray);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.quick-info-value {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}







.content-overview {
    position: relative;
}

.overview-container {
    display: grid;
    gap: 40px;
    align-items: center;
}

/* Layout Variations */
.content-overview.layout-right .overview-container {
    grid-template-columns: 1fr 450px;
}

.content-overview.layout-left .overview-container {
    grid-template-columns: 450px 1fr;
}

.content-overview.layout-left .overview-image {
    order: -1;
}

.content-overview.layout-top .overview-container {
    grid-template-columns: 1fr;
}

/* Image Wrapper - Beautiful Design */
.overview-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(127, 48, 52, 0.2);
    transition: all 0.4s ease;
}

.image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(127, 48, 52, 0.3);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

/* Image Overlay */
.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(127, 48, 52, 0.1) 0%,
        rgba(184, 119, 111, 0.05) 50%,
        transparent 100%
    );
    pointer-events: none;
}

/* Decorative Elements */
.image-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(240, 162, 169, 0.4) 0%, rgba(237, 183, 191, 0.2) 100%);
    filter: blur(30px);
}

.decoration-1 {
    width: 150px;
    height: 150px;
    top: -30px;
    right: -30px;
}

.decoration-2 {
    width: 120px;
    height: 120px;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(135deg, rgba(127, 48, 52, 0.3) 0%, rgba(184, 119, 111, 0.15) 100%);
}

/* Content Area */
.overview-content {
    position: relative;
}

.content-text {
    color: var(--text-gray);
    line-height: 1.9;
    font-size: 17px;
}

.content-text p {
    margin-bottom: 15px;
}

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

/* For Top Layout - Make Image Larger */
.content-overview.layout-top .image-wrapper {
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Add a subtle border effect */
.image-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 50%, #F0A2A9 100%);
    border-radius: 27px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-wrapper:hover::before {
    opacity: 1;
}

/* Stats or Info Badge (Optional) */
.overview-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(127, 48, 52, 0.4);
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-overview.layout-right .overview-container,
    .content-overview.layout-left .overview-container {
        grid-template-columns: 1fr;
    }

    .content-overview.layout-left .overview-image {
        order: 0;
    }
}

@media (max-width: 768px) {
    .overview-container {
        gap: 25px;
    }

    .image-wrapper {
        border-radius: 20px;
    }

    .content-text {
        font-size: 16px;
    }

    .decoration {
        display: none;
    }
}

/* Animation on Load */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.content-overview.layout-right .overview-image {
    animation: slideInRight 0.8s ease-out;
}

.content-overview.layout-left .overview-image {
    animation: slideInLeft 0.8s ease-out;
}

.overview-content {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Service Info Cards - Enhanced with Custom Images */

.service-quick-info {
    padding: 50px 0;
    margin-bottom: 40px;
}

.quick-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.quick-info-card {
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-info-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.quick-info-card:hover::before {
    top: 100%;
}

.quick-info-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 45px rgba(127, 48, 52, 0.25);
}

/* Icon Container - Updated for Images */
.quick-info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.quick-info-card:hover .quick-info-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Image Styling */
.quick-info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* SVG Icon Styling (fallback) */
.quick-info-icon svg {
    width: 40px;
    height: 40px;
}

/* Glow Effect */
.quick-info-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    opacity: 0.4;
    filter: blur(20px);
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Title and Value */
.quick-info-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-gray);
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-info-value {
    font-size: 26px;
    font-weight: 800;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
}

/* Different Card Styles - Optional Variations */
.quick-info-card.style-square .quick-info-icon {
    border-radius: 20px;
}

.quick-info-card.style-square .quick-info-icon img {
    border-radius: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .quick-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .quick-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .quick-info-card {
        padding: 25px 20px;
    }

    .quick-info-icon {
        width: 70px;
        height: 70px;
    }

    .quick-info-title {
        font-size: 14px;
    }

    .quick-info-value {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .quick-info-grid {
        grid-template-columns: 1fr;
    }

    .quick-info-card {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* Staggered Animation */
.quick-info-card {
    animation: fadeInUp 0.6s ease-out both;
}

.quick-info-card:nth-child(1) { animation-delay: 0.1s; }
.quick-info-card:nth-child(2) { animation-delay: 0.2s; }
.quick-info-card:nth-child(3) { animation-delay: 0.3s; }
.quick-info-card:nth-child(4) { animation-delay: 0.4s; }
.quick-info-card:nth-child(5) { animation-delay: 0.5s; }
.quick-info-card:nth-child(6) { animation-delay: 0.6s; }

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

/* Gallery Grid - Modern Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(127, 48, 52, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(127, 48, 52, 0.25);
}

.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 */
.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(127, 48, 52, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.gallery-zoom {
    width: 60px;
    height: 60px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    color: #7F3034;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

/* Gallery Modal */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 20, 20, 0.98);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal Image */
.gallery-modal-image {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
    object-fit: contain;
    transition: opacity 0.2s ease;
    animation: zoomIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.gallery-close {
    position: absolute;
    top: 30px;
    right: 50px;
    color: #fff;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100001;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
}

.gallery-close:hover {
    color: #F0A2A9;
    transform: rotate(90deg);
    background: rgba(240, 162, 169, 0.2);
}

/* Navigation Buttons */
.gallery-prev,
.gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 100001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-prev:hover,
.gallery-next:hover {
    background: rgba(240, 162, 169, 0.3);
    border-color: #F0A2A9;
    transform: translateY(-50%) scale(1.15);
}

.gallery-prev {
    left: 40px;
}

.gallery-next {
    right: 40px;
}

/* Image Counter */
.gallery-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    z-index: 100001;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .gallery-close {
        top: 20px;
        right: 20px;
        font-size: 50px;
        width: 50px;
        height: 50px;
    }

    .gallery-prev,
    .gallery-next {
        width: 50px;
        height: 50px;
        padding: 12px;
    }

    .gallery-prev {
        left: 15px;
    }

    .gallery-next {
        right: 15px;
    }

    .gallery-modal-image {
        max-width: 95%;
        max-height: 80vh;
    }

    .gallery-counter {
        bottom: 20px;
        padding: 10px 25px;
        font-size: 16px;
    }
}

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

    .gallery-prev,
    .gallery-next {
        width: 45px;
        height: 45px;
        padding: 10px;
    }

    .gallery-prev svg,
    .gallery-next svg {
        width: 24px;
        height: 24px;
    }

    .gallery-close {
        font-size: 40px;
        width: 45px;
        height: 45px;
    }
}


/* Benefits Section - Enhanced Mobile Responsive */

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

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(251, 233, 234, 0.5) 0%, rgba(240, 162, 169, 0.08) 100%);
    border-radius: 15px;
    border: 2px solid rgba(240, 162, 169, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.benefit-item:hover {
    background: linear-gradient(135deg, rgba(240, 162, 169, 0.15) 0%, rgba(237, 183, 191, 0.1) 100%);
    border-color: rgba(127, 48, 52, 0.3);
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(127, 48, 52, 0.1);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #7F3034 0%, #B8776F 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(127, 48, 52, 0.3);
}

.benefit-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.benefit-text {
    margin: 0;
    color: var(--dark-text);
    font-weight: 600;
    line-height: 1.7;
    font-size: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 18px;
    }

    .benefit-item {
        padding: 18px;
    }

    .benefit-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
    }

    .benefit-text {
        font-size: 15px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .benefit-item {
        padding: 18px 15px;
        border-radius: 12px;
        gap: 12px;
    }

    .benefit-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }

    .benefit-icon svg {
        width: 18px;
        height: 18px;
    }

    .benefit-text {
        font-size: 15px;
        line-height: 1.6;
    }

    .benefit-item:hover {
        transform: translateX(5px);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .benefits-grid {
        gap: 12px;
    }

    .benefit-item {
        padding: 15px 12px;
        gap: 12px;
    }

    .benefit-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
    }

    .benefit-icon svg {
        width: 16px;
        height: 16px;
    }

    .benefit-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* Extra Small Screens */
@media (max-width: 360px) {
    .benefit-item {
        padding: 12px 10px;
        gap: 10px;
    }

    .benefit-icon {
        width: 32px;
        height: 32px;
        min-width: 32px;
    }

    .benefit-text {
        font-size: 13px;
    }
}

/* RTL Support for Arabic */
.benefit-item {
    direction: rtl;
    text-align: right;
}

/* Animation */
.benefit-item {
    animation: slideInRight 0.5s ease-out both;
}

.benefit-item:nth-child(1) { animation-delay: 0.1s; }
.benefit-item:nth-child(2) { animation-delay: 0.2s; }
.benefit-item:nth-child(3) { animation-delay: 0.3s; }
.benefit-item:nth-child(4) { animation-delay: 0.4s; }
.benefit-item:nth-child(5) { animation-delay: 0.5s; }
.benefit-item:nth-child(6) { animation-delay: 0.6s; }
.benefit-item:nth-child(7) { animation-delay: 0.7s; }
.benefit-item:nth-child(8) { animation-delay: 0.8s; }

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

/* Prevent text overflow */
.benefit-text {
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
}

/* Better hover on mobile (touch devices) */
@media (hover: none) and (pointer: coarse) {
    .benefit-item:hover {
        transform: none;
        box-shadow: none;
    }

    .benefit-item:active {
        transform: scale(0.98);
        background: linear-gradient(135deg, rgba(240, 162, 169, 0.2) 0%, rgba(237, 183, 191, 0.15) 100%);
    }
}

.service-card{
    cursor: pointer !important;
}
