:root {
    --primary: #0e133b;
    --secondary: #bc862c;
    --secondary-hover: #a37324;
    --text: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --accent: #2c1d16;
    --whatsapp: #25d366;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: none;
    font-size: 1rem;
}

.btn-gold {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-gold:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
}

.btn-green {
    background-color: var(--whatsapp);
    color: var(--white);
}

.btn-green:hover {
    background-color: #1ebe57;
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
}

.full-width {
    width: 100%;
}

.section-title {
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-title h2 {
    color: var(--primary);
    font-size: 2rem;
}

/* Navbar */
.navbar {
    background-color: var(--primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i {
    color: var(--secondary);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--secondary);
}

.mobile-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 80px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    background-color: var(--primary);
    /* Fallback */
    overflow: hidden;
    /* Ensure zoomed images don't overflow */
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: zoomFade 18s infinite;
}

.slide:nth-child(1) {
    animation-delay: 0s;
}

.slide:nth-child(2) {
    animation-delay: 6s;
}

.slide:nth-child(3) {
    animation-delay: 12s;
}

@keyframes zoomFade {
    0% {
        opacity: 0;
        transform: scale(1);
        animation-timing-function: ease-in;
    }

    5% {
        opacity: 1;
    }

    30% {
        opacity: 1;
        transform: scale(1.1);
    }

    40% {
        opacity: 0;
        transform: scale(1.15);
    }

    100% {
        opacity: 0;
    }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 19, 59, 0.7);
    /* Dark blue overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    color: var(--white);
    min-width: 300px;
}

.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Hero Form */
.hero-form-card {
    flex: 0 0 400px;
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top: 5px solid var(--secondary);
}

.hero-form-card h3 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    outline: none;
    background: var(--white);
}

textarea {
    resize: none;
}

/* Video Section */
.video-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.video-placeholder {
    width: 100%;
    height: 400px;
    background-color: #bd9b78;
    /* Brownish gold from image */
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    /* Text color inside video box */
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.play-button i {
    font-size: 2rem;
    color: var(--primary);
}

/* Services */
.services {
    padding: 60px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-img {
    height: 200px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.1);
}

.service-info {
    padding: 20px;
}

.service-info h3 {
    color: var(--primary);
    margin-bottom: 10px;
}

.service-info p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features */
.features {
    background-color: var(--primary);
    color: var(--white);
    padding: 80px 0;
}

.features-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.features-text {
    flex: 1;
    min-width: 300px;
}

.features-text h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--white);
}

.features-list li {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features-list li i {
    color: var(--secondary);
}

.features-image {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.features-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--secondary);
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.badge span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--primary);
    /* Blue cards */
    color: var(--white);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.client-info img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--secondary);
}

.client-info h4 {
    margin-bottom: 5px;
    color: var(--secondary);
}

.stars {
    margin-top: 15px;
    color: var(--secondary);
}

/* Floating Actions */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    /* RTL, so might want left? Usually WhatsApp is on the right though. */
    background: var(--whatsapp);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    z-index: 100;
    font-weight: bold;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {

    .nav-links,
    .btn-gold.nav-btn {
        display: none;
        /* Simplify for now, JS toggles */
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-form-card {
        width: 100%;
        flex: auto;
    }

    .features-container {
        flex-direction: column-reverse;
    }

    .hero-text h1 {
        font-size: 2rem;
    }
}

/* Audio Progress Bar */
.audio-track {
    width: 100%;
    height: 4px;
    background: #e0e0e0;
    border-radius: 10px;
    margin: 10px 0 5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.audio-progress {
    height: 100%;
    background: var(--secondary);
    width: 0%;
    border-radius: 10px;
    transition: width 0.1s linear;
}

/* Image Reviews Grid */
.image-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}

.image-review-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    background: #fff;
    border: 5px solid var(--secondary);
    padding: 10px;
}

.image-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.image-review-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.image-review-card:hover img {
    transform: scale(1.02);
}

/* Modal for Image Preview */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.image-modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    animation: zoomIn 0.3s;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary);
    text-decoration: none;
    cursor: pointer;
}

@keyframes zoomIn {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}