:root {
    --primary-color: #693d21;
    --secondary-color: #c79557;
    --text-color: #000000;
    --light-color: #4EA84E;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.95);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.underline {
    height: 4px;
    width: 70px;
    background: var(--secondary-color);
    margin: 0 auto;
    position: relative;
}

.underline::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 4px;
    background: var(--primary-color);
    top: 0;
    right: -20px;
    border-radius: 2px;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 5px 0 0 0;
    transition: var(--transition);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(78, 168, 78, 0.3);
}

.logo img {
    width: 200px;
    height: 180px;
}

nav ul {
    display: flex;
    gap: 30px;
}

.nav-btn {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-btn:hover {
    color: white;
}

.nav-btn:hover::before {
    width: 100%;
    right: auto;
    left: 0;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding-top: 250px;
    padding-bottom: 120px;
    background: linear-gradient(135deg, #693d21 0%, #c79557 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 600px;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ffff;
}

.cta-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
    z-index: -1;
}

.cta-btn:hover {
    transform: translateY(-3px);
}

.cta-btn:hover::before {
    width: 100%;
    right: auto;
    left: 0;
}

.hero-shape {
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 225, 55, 0.2) 0%, transparent 100%);
    border-radius: 50%;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 225, 55, 0.2), transparent 100%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 225, 55, 0.15) 0%, transparent 100%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

/* About Section */
.about {
    background-color: white;
    position: relative;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.about-image {
    flex: 1;
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: blob-animation 6s ease-in-out infinite;
    position: relative;
    box-shadow: 0 10px 30px rgba(255, 225, 55, 0.4);
}

@keyframes blob-animation {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

/* Services Section */
.services {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 225, 55, 0.15) 0%, transparent 100%);
    border-radius: 50%;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 0 5px 20px rgba(255, 225, 55, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: height 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 225, 55, 0.15);
}

.service-card:hover::before {
    height: 100%;
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 225, 55, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.8rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(255, 225, 55, 0.4);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.service-card ul {
    padding-right: 20px;
}

.service-card ul li {
    margin-bottom: 10px;
    position: relative;
    padding-right: 20px;
}

.service-card ul li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    background-color: white;
    position: relative;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
    background-color: var(--secondary-color);
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(255, 225, 55, 0.2);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: white;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.info-item i {
    font-size: 1.5rem;
    margin-left: 15px;
    min-width: 30px;
    display: flex;
    justify-content: center;
}

.info-item p {
    margin-bottom: 0;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 225, 55, 0.15);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1.5;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 225, 55, 0.2);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 225, 55, 0.3);
    font-family: 'Tajawal', sans-serif;
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 225, 55, 0.4);
}

/* Footer Section */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 70px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-links h3,
.footer-services h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: #94a3b8;
    transition: var(--transition);
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--secondary-color);
    padding-right: 5px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #94a3b8;
}

.footer-contact p i {
    margin-left: 10px;
    color: var(--secondary-color);
    min-width: 20px;
    display: flex;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 { font-size: 2.5rem; }
    .about-content, .contact-content { flex-direction: column; }
}

@media (max-width: 768px) and (max-device-width: 768px) {
    .menu-toggle { display: none; }
    nav ul { gap: 10px; }
    .nav-btn { font-size: 0.9rem; padding: 5px 8px; }
    .logo img { width: 120px; height: 120px; }
    .hero-content { text-align: center; margin: 0 auto; }
    .hero-content h1 { font-size: 2rem; }
    .services-grid, .footer-content { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .menu-toggle { display: block; }
    nav {
        position: fixed; top: 0; right: -80%; width: 80%; height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px);
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1); transition: var(--transition);
        z-index: 999; display: flex; flex-direction: column;
        justify-content: center; align-items: center;
    }
    nav.active { right: 0; }
    nav::before {
        content: "سَهب"; font-size: 3rem; font-weight: 800;
        color: var(--primary-color); margin-bottom: 40px;
        text-shadow: 0 0 10px rgba(105, 61, 33, 0.3);
    }
    nav ul { flex-direction: column; gap: 30px; align-items: center; }
    nav ul li { transform: translateY(20px); opacity: 0; transition: all 0.3s ease; }
    nav.active ul li { transform: translateY(0); opacity: 1; }
    nav.active ul li:nth-child(1) { transition-delay: 0.1s; }
    nav.active ul li:nth-child(2) { transition-delay: 0.2s; }
    nav.active ul li:nth-child(3) { transition-delay: 0.3s; }
    .nav-btn {
        font-size: 1.3rem; padding: 15px 25px; border-radius: 12px;
        background-color: rgba(105, 61, 33, 0.1); transition: all 0.3s ease;
        min-width: 200px; text-align: center;
    }
    .nav-btn:hover {
        background-color: var(--primary-color); color: white; transform: scale(1.05);
    }
}

/* Body scroll lock and overlay */
body.menu-open { overflow: hidden; position: fixed; width: 100%; }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 20%; height: 100vh;
    background-color: rgba(0, 0, 0, 0.3); z-index: 998;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* Animations */
@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.05); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes float {
    0% { transform: translateY(0) translateX(0); }
    25% { transform: translateY(-15px) translateX(15px); }
    50% { transform: translateY(0) translateX(0); }
    75% { transform: translateY(15px) translateX(-15px); }
    100% { transform: translateY(0) translateX(0); }
}