/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Strictly following requirements */
    --deep-blue: #0A2463;
    --deep-blue-light: #1E3A8A;
    --eco-green: #2E8B57;
    --eco-green-light: #3CB371;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #E9ECEF;
    --dark-gray: #6C757D;
    --text-dark: #343A40;
    
    /* Typography */
    --font-heading: 'Source Serif Pro', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 5rem 1.5rem;
    --container-max: 1200px;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--deep-blue);
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--deep-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--deep-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 36, 99, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--deep-blue);
    border-color: var(--deep-blue);
}

.btn-secondary:hover {
    background-color: var(--deep-blue);
    color: var(--white);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}
.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* تعديل ليكون اللوجو في البداية */
}

.logo-img {
    height: 100px; /* ضبط ارتفاع اللوجو حسب الحاجة */
    width: auto; /* الحفاظ على التناسب */
   
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-blue);
}

.logo-tagline {
    font-size: 0.7rem;
    color: var(--eco-green);
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--deep-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--eco-green);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--deep-blue);
    transition: var(--transition-fast);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.8) 0%, rgba(233, 236, 239, 0.6) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    opacity: 0.3;
}

.science-visual {
    position: relative;
    width: 100%;
    height: 100%;
}

.molecule {
    position: absolute;
    background: var(--eco-green);
    border-radius: 50%;
    opacity: 0.3;
}

.molecule:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 10%;
    background: var(--deep-blue);
}

.molecule:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    background: var(--eco-green);
}

.molecule:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 70%;
    right: 30%;
}

/* Video Section */
.video-section {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.company-video {
    width: 100%;
    display: block;
    background-color: var(--medium-gray);
    min-height: 450px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 36, 99, 0.1);
    transition: var(--transition-fast);
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: var(--eco-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.play-button i {
    color: var(--white);
    font-size: 2rem;
    margin-left: 5px;
}

.play-button:hover {
    background-color: var(--eco-green-light);
    transform: scale(1.1);
}


/* Team Section Styles */
.team-section {
    background-color: #ffffff;
    padding: 80px 0;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-mission {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
}

.about-details {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.mission, .vision {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--eco-green);
}

.mission h3, .vision h3 {
    color: var(--deep-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission h3 i, .vision h3 i {
    color: var(--eco-green);
}
.team-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.team-section .section-header h2 {
    font-size: 2.5rem;
    color: var(--deep-blue);
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.team-section .section-header p {
    color: var(--dark-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Slider */
.team-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    padding: 0 50px;
}

.team-slider-container {
    display: flex;
    transition: transform 0.5s ease;
}

.team-member-card {
    min-width: 100%;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
}

.member-image {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid var(--eco-green);
    background-color: var(--light-gray);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    color: var(--deep-blue);
    margin-bottom: 8px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.member-position {
    font-size: 1.1rem;
    color: var(--eco-green);
    margin-bottom: 15px;
    font-weight: 500;
}

.member-bio {
    color: var(--dark-gray);
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(10, 36, 99, 0.8);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background-color: var(--deep-blue);
    transform: translateY(-50%) scale(1.1);
}

.arrow-left {
    right: 0;
}

.arrow-right {
    left: 0;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background-color: var(--deep-blue);
    transform: scale(1.2);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .team-slider {
        padding: 0 60px;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 60px 0;
    }
    
    .team-section .section-header h2 {
        font-size: 2rem;
    }
    
    .team-slider {
        padding: 0 50px;
    }
    
    .team-member-card {
        padding: 15px;
    }
    
    .member-image {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-position {
        font-size: 1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .arrow-left {
        right: 5px;
    }
    
    .arrow-right {
        left: 5px;
    }
}

@media (max-width: 480px) {
    .team-slider {
        padding: 0 40px;
    }
    
    .member-image {
        width: 130px;
        height: 130px;
    }
    
    .member-name {
        font-size: 1.2rem;
    }
    
    .member-bio {
        font-size: 0.95rem;
    }
    
    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
}

@media (max-width: 360px) {
    .team-slider {
        padding: 0 35px;
    }
    
    .member-image {
        width: 110px;
        height: 110px;
    }
}

/* Problem Section */
.problem {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.problem-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
    text-align: center;
}

.problem-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.problem-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
}

.problem-icon i {
    font-size: 2rem;
    color: var(--deep-blue);
}

/* Solution Section */
.solution {
    padding: var(--section-padding);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
/* 
.solution-image {
    position: relative;
    height: 400px;
}

.hydrogel-visual {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--medium-gray) 100%);
    border-radius: 8px;
    overflow: hidden;
}


.water-molecule, .polymer-chain {
    position: absolute;
    border-radius: 50%;
    background-color: var(--deep-blue);
    opacity: 0.3;
}

.water-molecule {
    width: 50px;
    height: 50px;
    top: 30%;
    left: 30%;
    animation: float 6s ease-in-out infinite;
}

.polymer-chain {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
    background-color: var(--eco-green);
    opacity: 0.2;
} */
 .product-image {
    width: 100%;
    height: 400px;
    /* object-fit: cover; */
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
     object-fit: contain; /* يعرض الصورة كاملة مع خلفية */
    background-color: var(--light-gray); /* لون خلفية */
}

.product-image:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* 3. تأكد من أن .solution-image له الأبعاد المناسبة: */
.solution-image {
    position: relative;
    height: 400px;
    border-radius: 8px;
    overflow: hidden; /* لإخفاء الزوايا المتجاوزة */
}

/* 4. لجعل الصورة أكثر تفاعلية، أضف overlay للمعلومة: */
.solution-image {
    position: relative;
}

.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 36, 99, 0.8), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: var(--transition-fast);
}

.solution-image:hover .product-overlay {
    transform: translateY(0);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.solution-features {
    list-style: none;
    margin-top: 1.5rem;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.solution-features i {
    color: var(--eco-green);
}

/* Process Section */
.process {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    align-items: start;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    position: relative;
    transition: var(--transition-fast);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--deep-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.step-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--deep-blue);
    font-size: 1.5rem;
}

/* Impact Section */
.impact {
    padding: var(--section-padding);
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
    transition: var(--transition-fast);
}

.stat:hover {
    background-color: var(--medium-gray);
    transform: scale(1.05);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 500;
}

.timeline {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.milestone {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.milestone-date {
    background-color: var(--eco-green);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

/* Advantages Section */
.advantages {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition-fast);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.eco-icon {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--eco-green);
}

.cost-icon {
    background-color: rgba(10, 36, 99, 0.1);
    color: var(--deep-blue);
}

.local-icon {
    background-color: rgba(46, 139, 87, 0.1);
    color: var(--eco-green);
}

.science-icon {
    background-color: rgba(10, 36, 99, 0.1);
    color: var(--deep-blue);
}

/* Research Section */
.research {
    padding: var(--section-padding);
}

.research-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.research-highlights {
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.highlight i {
    color: var(--eco-green);
    font-size: 1.2rem;
}

.data-visualization {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2rem;
    height: 300px;
    padding: 2rem;
    background-color: var(--light-gray);
    border-radius: 8px;
}

.data-point {
    width: 40px;
    background-color: var(--deep-blue);
    border-radius: 4px 4px 0 0;
    transition: var(--transition-fast);
}

.data-point:hover {
    background-color: var(--eco-green);
}

/* Contact Section */
.contact {
    padding: var(--section-padding);
    background-color: var(--light-gray);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--deep-blue);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--deep-blue);
    box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
    min-height: 1.25rem;
}

.success-message {
    background-color: var(--eco-green);
    color: var(--white);
    padding: 1rem;
    border-radius: 4px;
    margin-top: 1rem;
    display: none;
}

.contact-info {
    padding: 2rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.info-item i {
    color: var(--eco-green);
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-item strong {
    color: var(--deep-blue);
    display: block;
    margin-bottom: 0.25rem;
}

/* Footer */
.footer {
    background-color: var(--deep-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-about p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links h4,
.footer-social h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--eco-green);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--eco-green);
    transform: translateY(-3px);
}

.newsletter-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.newsletter {
    display: flex;
}

.newsletter input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 4px 0 0 4px;
    font-family: var(--font-body);
}

.newsletter button {
    background-color: var(--eco-green);
    color: var(--white);
    border: none;
    padding: 0 1.5rem;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter button:hover {
    background-color: var(--eco-green-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .about-content,
    .solution-content,
    .research-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, auto);
    }
    
    .step-arrow:nth-child(2),
    .step-arrow:nth-child(6) {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }
       .logo-img {
        height: 35px; /* ارتفاع أقل للموبايل */
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero {
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .step-arrow {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 4rem 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        width: 100%;
    }
    
    .impact-stats {
        grid-template-columns: 1fr;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .milestone {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

}

