/* ======================= RESET & BASE ======================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background: #fafbfb;
    color: #2e2e2e;
    overflow-x: hidden;
}

/* ======================= HEADER & NAV ======================= */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav a.active, nav a:hover {
    color: #7c3aed;
}

.btn-contact-nav {
    background: #f6edff;
    color: #7c3aed;
    border: 1.5px solid #b193f6;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Hamburger */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px; height: 3px; background: #333; border-radius: 2px;
}

/* ======================= MAIN CARD & HERO ======================= */
.full-main {
    padding: 20px 5%;
}

.main-card {
    background: #fff;
    border: 2px solid #4094ff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-nav-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    background: #fdfdfd;
}

.card-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #49416d;
}

.card-profile img { width: 40px; border-radius: 50%; }

.card-nav {
    display: flex;
    list-style: none;
    gap: 20px;
}

.card-nav a { text-decoration: none; color: #7c3aed; font-weight: 600; font-size: 0.9rem; }

/* Hero Section */
.hero-section {
    display: flex;
    padding: 60px 5%;
    align-items: center;
    gap: 50px;
}

.hero-txt { flex: 1.2; }
.hero-txt h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.1; color: #1a1a1a; }
.accent { color: #fdcb4c; }
.hero-txt p { margin: 25px 0; font-size: 1.1rem; color: #555; max-width: 600px; }

/* الأزرار المعدلة */
.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn-yellow {
    background: #fdcb4c;
    color: #000;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    border: 2px solid #fdcb4c;
    transition: 0.3s;
}

.btn-outline-yellow {
    border: 2px solid #fdcb4c;
    color: #fdcb4c;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.3s;
}

.btn-yellow:hover { background: #e5b845; }
.btn-outline-yellow:hover { background: #fdcb4c; color: #000; }

/* Stats */
.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item { display: flex; flex-direction: column; }
.stat-big { font-size: 2rem; font-weight: 900; color: #7c3aed; }
.stat-desc { font-size: 0.75rem; color: #888; text-transform: uppercase; font-weight: 700; }

.hero-img-holder { flex: 0.8; }
.hero-img-holder img { width: 100%; border-radius: 20px; filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1)); }

/* ======================= ABOUT SECTION ======================= */
.aboutme-section { padding: 80px 5%; background: #fffbe610; }
.about-flex { display: flex; gap: 60px; align-items: center; }
.about-txt { flex: 1.2; }
.about-lbl { background: #fffbe6; color: #d4a017; padding: 5px 15px; border-radius: 8px; font-weight: 700; margin-bottom: 15px; display: inline-block; }
.about-quote { background: #35374b; color: #fff; padding: 30px; border-radius: 20px; margin: 30px 0; font-style: italic; line-height: 1.8; }
.about-quote-author { display: block; margin-top: 15px; color: #fdcb4c; font-weight: 700; font-style: normal; }
.about-tags-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.about-tag { background: #f3f4f6; padding: 12px; border-radius: 10px; font-size: 0.85rem; font-weight: 600; color: #444; }

.about-img-side { flex: 0.8; }
.about-img-side img { width: 100%; border-radius: 30px; border: 8px solid #4094ff; box-shadow: 20px 20px 0 rgba(64,148,255,0.1); }

/* ======================= TESTIMONIALS ======================= */
.testimonials-section { padding: 80px 5%; text-align: center; }
.testi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.testi-card { background: #35374b; color: #fff; padding: 35px; border-radius: 20px; text-align: left; }
.testi-rating { color: #fdcb4c; margin-bottom: 20px; }
.testi-client { margin-top: 20px; font-weight: 700; font-size: 0.9rem; }
.testi-client span { color: #fdcb4c; font-weight: 400; font-size: 0.8rem; }

/* ======================= CONTACT SECTION ======================= */
.contactcard-section { display: flex; padding: 80px 5%; gap: 60px; background: #fff; }
.contactcard-left { flex: 1; }
.contact-list { list-style: none; margin-top: 30px; }
.contact-list li { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; font-size: 1.1rem; font-weight: 600; }
.contact-icon { font-size: 1.4rem; }

.contact-form { background: #35374b; padding: 40px; border-radius: 25px; color: #fff; width: 100%; }
.contact-form h4 { margin-bottom: 25px; font-size: 1.5rem; }
.form-row { display: flex; gap: 15px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; margin-bottom: 15px; border-radius: 10px; border: none; font-size: 0.9rem; }
.contact-form textarea { height: 120px; resize: none; }
.form-btn { width: 100%; background: #fdcb4c; color: #000; padding: 18px; border-radius: 10px; border: none; font-weight: 800; cursor: pointer; transition: 0.3s; }
.form-btn:hover { background: #fff; }

/* ======================= FOOTER ======================= */
.footer { background: #f6f6ff; padding: 80px 5% 40px; border-radius: 60px 60px 0 0; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.footer-brand h3 { color: #7c3aed; font-size: 1.8rem; margin-bottom: 15px; }
.footer-links h4 { margin-bottom: 20px; color: #49416d; }
.footer-links a { display: block; text-decoration: none; color: #666; margin-bottom: 10px; font-size: 0.9rem; }
.footer-bottom { text-align: center; margin-top: 60px; padding-top: 30px; border-top: 1px solid #ddd; color: #888; font-size: 0.85rem; }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 1024px) {
    .hero-txt h1 { font-size: 2.8rem; }
    .testi-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav { 
        display: none; position: absolute; top: 100%; left: 0; width: 100%; 
        background: #fff; flex-direction: column; padding: 30px; border-bottom: 1px solid #eee;
    }
    nav.active { display: flex; }
    
    .hero-section, .about-flex, .contactcard-section, .footer-container { flex-direction: column; text-align: center; }
    .hero-actions { justify-content: center; flex-direction: column; width: 100%; }
    .btn-yellow, .btn-outline-yellow { width: 100%; }
    
    .hero-stats { justify-content: center; gap: 20px; }
    .testi-row { grid-template-columns: 1fr; }
    .about-tags-wrap { grid-template-columns: 1fr; }
    .form-row { flex-direction: column; gap: 0; }
    .hero-img-holder { order: -1; } 
}

@media (max-width: 768px) {
    
    .hamburger { display: flex; z-index: 1001; }

    .btn-contact-nav { display: none; }

    nav { 
    
        display: none; 
        flex-direction: column;
        align-items: center;     
        justify-content: center;   
        
        position: absolute; 
        top: 75px; 
        right: 5%; 
        left: auto;
        
        width: 190px; 
        background: #fff; 
        
     
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.15);
        z-index: 1000;
        padding: 20px 0; 
    }

    /* لما المنيو تفتح */
    nav.active { 
        display: flex; /* تأكد إنها flex مش block */
    }

    nav a {
        display: block;
        width: 100%;
        text-align: center; 
        padding: 12px 0;
        margin: 0 !important; 
        font-size: 16px;
        font-weight: 700;
        color: #444;
        text-decoration: none;
    }

   
    nav li {
        list-style: none;
        width: 100%;
        text-align: center;
    }
}



/* ================= CARD NAV RESPONSIVE ================= */

@media (max-width:768px){

    .card-nav-row{
        flex-direction: column;
        gap:15px;
        align-items: center;
        text-align:center;
        padding:20px;
    }

    .card-profile{
        justify-content:center;
    }

    .card-nav{
        flex-wrap: wrap;
        justify-content:center;
        gap:12px;
    }

   .card-nav a{
    background:#f3f4f6;
    padding:6px 12px;
    border-radius:20px;
}
}

