:root {
    --primary-color: #1a3a5f;
    --secondary-color: #c5a059;
    --accent-color: #25d366;
    --text-color: #333;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 0;
    text-align: center;
    border-bottom: 4px solid var(--secondary-color);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .logo-container {
        flex-direction: row;
        justify-content: center;
        text-align: right;
        gap: 20px;
    }
}

.main-logo {
    height: 120px;
    width: auto;
    border-radius: 12px;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    font-weight: 700;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a5298 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(197, 160, 89, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.cta-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    transform: translateY(-3px);
}

.btn-call {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-call:hover {
    background-color: #b38e4a;
    transform: translateY(-3px);
}

/* Features */
.features {
    padding: 60px 0;
    background-color: var(--white);
}

.features h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
}

/* Conditions */
.conditions {
    padding: 60px 0;
}

.conditions h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.conditions-list {
    list-style: none;
    max-width: 700px;
    margin: 0 auto;
}

.conditions-list li {
    background: var(--white);
    margin-bottom: 15px;
    padding: 15px 25px;
    border-right: 5px solid var(--secondary-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    font-size: 1.1rem;
}

/* Apply Section */
.apply {
    padding: 60px 0;
    background-color: var(--white);
}

.apply h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.apply p {
    text-align: center;
    margin-bottom: 30px;
}

.contact-box {
    max-width: 500px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.phone-display {
    background: var(--white);
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border: 1px solid #ddd;
}

#phone-number {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

#copy-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    transition: var(--transition);
}

#copy-btn:hover {
    background-color: #122a46;
}

#copy-btn.copied {
    background-color: var(--accent-color);
}

.cta-buttons {
    display: flex;
    gap: 10px;
}

.btn-whatsapp-large,
.btn-call-large {
    flex: 1;
    padding: 15px;
    border-radius: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.btn-whatsapp-large {
    background-color: var(--accent-color);
}

.btn-call-large {
    background-color: var(--secondary-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-links {
    margin-top: 15px;
    font-size: 0.8rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.7;
    margin: 0 5px;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Our Work / Gallery Grid */
.our-work {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.our-work h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* Slideshow Container */
.slideshow-container {
    max-width: 900px;
    position: relative;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.slide {
    display: none;
}

.slide img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Next & previous buttons */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.3);
}

.next {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    right: 0;
    border-radius: 0 3px 3px 0;
}

.prev:hover,
.next:hover {
    background-color: var(--secondary-color);
}

/* Dots */
.dot-container {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    position: absolute;
    bottom: 0;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: var(--secondary-color);
}

/* Fading animation */
.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: .4
    }

    to {
        opacity: 1
    }
}

/* Modal Zoom Styling */
.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);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px;
    border-radius: 10px;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {
        transform: scale(0.1)
    }

    to {
        transform: scale(1)
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--secondary-color);
    text-decoration: none;
    cursor: pointer;
}

#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
    font-size: 1.2rem;
}

.slide img {
    cursor: zoom-in;
}

@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }
}

/* About Us */
.about-us {
    padding: 60px 0;
    text-align: center;
    background: var(--white);
}

.about-us h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-us p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #666;
}

/* Contact Info */
.contact-info {
    padding: 60px 0;
    background: var(--bg-light);
    border-top: 1px solid #ddd;
}

.contact-info h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.contact-item strong {
    display: block;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-item span {
    color: #666;
}

/* Responsiveness update */
@media (max-width: 768px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 50px 0;
    }

    .feature-card {
        padding: 20px;
    }

    .slide img {
        height: 350px;
    }
}