:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #0ea5e9;
    --bg-light: #f8fafc;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.9);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 10px 30px -5px rgba(0, 102, 204, 0.2);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 4rem;
    position: relative;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 15px auto;
    border-radius: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
    filter: brightness(1.1);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
    filter: brightness(1.1);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.4);
    filter: brightness(1.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 1rem 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 65px; /* Increased size for more impact */
    display: block;
    mix-blend-mode: multiply; /* Effectively removes solid white backgrounds */
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.nav-btns {
    display: flex;
    gap: 1rem;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Slider */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 70px;
}

.slider {
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s backwards;
}

/* Services */
.services {
    padding: 5rem 0;
}

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

.service-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

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

.service-img {
    height: 200px;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-info {
    padding: 2rem 2.5rem;
}

.service-info h3 {
    margin-bottom: 0.5rem;
}

.service-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Owner Section */
.owner {
    padding: 5rem 0;
    background: var(--white);
}

.owner-flex {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.owner-img {
    flex: 1;
    min-width: 300px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.owner-content {
    flex: 1.5;
    min-width: 300px;
}

/* Reviews */
.reviews {
    padding: 5rem 0;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2.5rem 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 65px;
    height: 65px;
    background: #e2e8f0;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reviewer-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.stars {
    color: #fbbc05;
    font-size: 0.9rem;
}

.verified-badge {
    color: #34a853;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Footer */
.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e293b;
}

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

/* Statistics Section */
.stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    border-radius: 40px;
    margin: 4rem 0;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
    transition: all 0.6s ease-out;
}

.stat-item:nth-child(2) { transition-delay: 0.1s; }
.stat-item:nth-child(3) { transition-delay: 0.2s; }
.stat-item:nth-child(4) { transition-delay: 0.3s; }

.stat-item i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Form Styles */
input, textarea, select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    background: #f8fafc;
    transition: var(--transition);
    outline: none;
    appearance: none; /* Modern look */
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2rem;
    padding-right: 3rem;
    cursor: pointer;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.contact-form {
    background: var(--white);
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

/* Mobile Responsiveness & Polish */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero {
        height: 70vh;
    }

    .slide-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0 !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: var(--transition);
        z-index: 1001;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #f1f5f9;
        padding: 1rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-btn {
        display: block;
        position: relative;
        z-index: 1002;
        padding: 10px;
    }

    .hero {
        height: 60vh;
        min-height: 450px;
    }

    .slide-content h1 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        line-height: 1.1;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        line-clamp: 4;
        overflow: hidden;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

    .btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }

    .owner-flex {
        gap: 2rem;
        text-align: center;
    }

    .section-title {
        margin-bottom: 2.5rem;
    }

    input, textarea {
        font-size: 16px; /* Prevents auto-zoom on iOS */
    }

    .footer-grid {
        text-align: center;
        gap: 2.5rem;
    }

    .contact-info li {
        justify-content: center;
    }

    .service-info {
        padding: 1.5rem !important;
    }

    .review-card {
        padding: 1.5rem 2rem !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .slide-content h1 {
        font-size: 1.7rem;
    }
}
/* RTL Overrides */
[dir="rtl"] .logo {
    flex-direction: row-reverse;
}

[dir="rtl"] .nav-links a:hover, [dir="rtl"] .footer-links a:hover {
    padding-left: 0;
    padding-right: 5px;
}

[dir="rtl"] .contact-info li i {
    margin-right: 0;
    margin-left: 10px;
}

[dir="rtl"] .form-group input, [dir="rtl"] .form-group textarea, [dir="rtl"] .form-group select {
    text-align: right;
}

[dir="rtl"] select {
    background-position: left 1rem center;
    padding-right: 1.2rem;
    padding-left: 3rem;
}

@media (max-width: 768px) {
    [dir="rtl"] .nav-links {
        right: auto;
        left: -100%;
        box-shadow: 10px 0 30px rgba(0,0,0,0.1);
    }

    [dir="rtl"] .nav-links.active {
        left: 0;
    }

    [dir="rtl"] .reveal-item {
        flex-direction: row;
    }
}
