:root {
    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --accent: #fbbf24;
    --dark: #0a0f1e;
    --card: #151c2e;
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --border: rgba(16, 185, 129, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* This ensures links don't hide behind the header */
    scroll-padding-top: 90px;
}

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

body[dir="ltr"] {
    font-family: 'Poppins', sans-serif;
}

/* Background Slideshow */
.bg-slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 15, 30, 0.92), rgba(10, 15, 30, 0.88));
}

.slide.active {
    opacity: 1;
}

/* Container */
.container {
    width: min(1280px, 90%);
    margin: 0 auto;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: rgba(10, 15, 30, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 0;
    transition: all 0.3s;
}

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

.logo-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.logo-text h1 {
    font-size: 1.2rem;
    font-weight: 800;
    background: linear-gradient(120deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-text span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: -2px;
}

/* Navigation Menu */
.nav-menu ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

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

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lang-btn {
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero */
.hero {
    padding: 4rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.12);
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    border: 1px solid var(--border);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    display: block;
}

.gradient-text {
    background: linear-gradient(120deg, var(--primary), var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-item strong {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
}

.hero-visual {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.float-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* Section Common */
.services,
.about,
.gallery,
.contact {
    padding: 3.5rem 0;
}

.sec-head {
    text-align: center;
    margin-bottom: 3rem;
}

.sec-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    background: linear-gradient(120deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.8rem;
}

.sec-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.service-box {
    background: linear-gradient(145deg, rgba(21, 28, 46, 0.6), rgba(10, 15, 30, 0.7));
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.35s ease;
    position: relative;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s;
}

.service-box:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.25);
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
    filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.4));
}

.service-box h3 {
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-bottom: 0.7rem;
    font-weight: 800;
}

.service-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.service-tags span {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border);
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.img-frame {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.img-frame img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s;
}

.img-frame:hover img {
    transform: scale(1.08);
}

.year-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    padding: 0.9rem 1.4rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    padding: 0.7rem 0;
    color: var(--text);
    font-weight: 600;
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-card {
    background: var(--card);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 260px;
    position: relative;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: rgba(10, 15, 30, 0.9);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(4px);
}

.gallery-info span {
    font-size: 1.4rem;
}

.gallery-info p {
    font-weight: 700;
    font-size: 1rem;
    color: white;
    margin: 0;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    background: rgba(21, 28, 46, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.3);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-light);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 800;
}

.contact-card a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin: 0.4rem 0;
    transition: color 0.3s;
    font-size: 1rem;
}

.contact-card a:hover {
    color: var(--primary);
}

.hours-box {
    background: rgba(21, 28, 46, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
}

.hours-icon {
    font-size: 3rem;
}

.hours-content {
    flex: 1;
}

.hours-content h4 {
    color: var(--primary-light);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
    color: var(--text-muted);
}

.hours-row:last-child {
    border-bottom: none;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, rgba(10, 15, 30, 0.9), #000);
    border-top: 1px solid var(--border);
    padding: 4rem 0 1.5rem;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid var(--primary);
}

.footer-logo h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
}

.footer-logo p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.footer-col h5 {
    color: var(--primary-light);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.footer-col a,
.footer-col p {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    margin: 0.6rem 0;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary);
    padding-inline-start: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.08);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating Elements */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s;
    animation: pulse 2s infinite;
    text-decoration: none;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 968px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(10, 15, 30, 0.98);
        border-bottom: 1px solid var(--border);
        padding: 2rem;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    .nav-menu.active {
        clip-path: circle(150% at 100% 0);
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .hero-grid,
    .about-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-visual {
        order: 1;
        max-width: 280px;
        margin: 0 auto 2rem;
    }

    .hero-btns, .hero-stats {
        justify-content: center;
    }

    .hero-tag {
        margin: 0 auto 1.5rem;
    }

    .hours-box {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    .whatsapp-float {
        bottom: 1.5rem;
        left: 1.5rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .scroll-top {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    /* Update social-icon sizes */
    .social-icon {
        width: 44px;
        height: 44px;
    }

    .social-icon svg {
        width: 26px;
        height: 26px;
    }

    /* If still small, add this override */
    .footer .social-icon svg {
        width: 26px;
        height: 26px;
    }

}