/* Variables */
:root {
    --primary-blue: #2596BE;   /* أزرق رئيسي */
    --primary-pink: #c22999;   /* قرمزي */
    --primary-color: #2596BE;  /* اللون الرئيسي الجديد (أزرق) */
    --secondary-color: #176B87; /* لون ثانوي أزرق غامق */
    --light-gray: #f5f5f5;     /* خلفيات فاتحة */
    --dark-text: #333;         /* نص غامق */
    --white: #ffffff;          /* أبيض */
    --transition-speed: 0.3s;
}
/* Dark Mode */
[data-theme="dark"] {
    --white: #121212;
    --light-gray: #1e1e1e;
    --dark-text: #fff;
    --primary-blue: #3B82F6;
    --primary-pink: #BE2596;
    --primary-color: #3B82F6;  /* اللون الرئيسي الجديد للوضع المظلم */
    --secondary-color: #176B87; /* لون ثانوي أزرق غامق للوضع المظلم */
}

body[data-theme="dark"],
[data-theme="dark"] body,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] p,
[data-theme="dark"] a,
[data-theme="dark"] li,
[data-theme="dark"] label,
[data-theme="dark"] span,
[data-theme="dark"] .nav-link,
[data-theme="dark"] .footer-title,
[data-theme="dark"] .footer-text,
[data-theme="dark"] .footer-contact li,
[data-theme="dark"] .footer-social,
[data-theme="dark"] .copyright {
    color: #fff !important;
}

/* Add smooth transitions for theme switching */
body, .card, .main-header, .main-footer, .nav-link, .btn, input, textarea {
    transition: background-color var(--transition-speed) ease,
                color var(--transition-speed) ease,
                border-color var(--transition-speed) ease;
}

[data-theme="dark"] .card {
    background: var(--dark-card-bg);
    border: 1px solid var(--dark-border);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

[data-theme="dark"] .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

[data-theme="dark"] .hero-section {
    background-color: var(--dark-bg);
}

[data-theme="dark"] .hero-title,
[data-theme="dark"] .hero-subtitle,
[data-theme="dark"] .hero-info-item {
    color: var(--dark-text);
}

[data-theme="dark"] .main-header {
    background-color: var(--dark-bg);
    border-bottom: 1px solid var(--dark-border);
}

[data-theme="dark"] .nav-link {
    color: var(--dark-text);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--primary-color);
}

[data-theme="dark"] .main-footer {
    background-color: var(--dark-bg);
    border-top: 1px solid var(--dark-border);
}

[data-theme="dark"] .footer-bottom {
    background-color: var(--dark-card-bg);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: var(--dark-card-bg);
    border: 1px solid var(--dark-border);
    color: var(--dark-text);
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 150, 190, 0.2);
}

[data-theme="dark"] .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(23,107,135,0.10);
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(23,107,135,0.18);
    outline: none;
    transform: translateY(-2px) scale(1.03);
}

[data-theme="dark"] .theme-toggle i {
    color: var(--dark-text);
}

[data-theme="dark"] .theme-toggle:hover i {
    color: var(--primary-color);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background-color: var(--white);
}

/* Hero Section */
.hero-section {
    background-color: var(--white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 2rem;
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: #4a5a6a;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

[data-theme="dark"] .hero-description {
    color: #b0b8c9;
}

.hero-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--gray-dark);
}

.hero-info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-dark);
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(23,107,135,0.10);
    letter-spacing: 0.5px;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 4px 16px rgba(23,107,135,0.18);
    outline: none;
    transform: translateY(-2px) scale(1.03);
}

/* Cards */
.card {
    background: linear-gradient(145deg, var(--white), #f8f8f8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(128,0,128,0.05));
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

/* Founder Section */
.founder-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.founder-profile {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 4rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.founder-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    /* margin-left: -3rem; */ /* This was causing the alignment issue */
}

.founder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.founder-image:hover img {
    transform: scale(1.05);
}

.founder-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.founder-name {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.founder-role {
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.founder-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.expertise-section {
    margin-bottom: 4rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.expertise-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.expertise-item:hover {
    transform: translateY(-5px);
}

.expertise-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.expertise-item h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.expertise-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.achievements-section {
    margin-bottom: 4rem;
}

.achievements-list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}

.achievements-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.achievements-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.achievements-list span {
    font-size: 1.1rem;
    color: var(--text-color);
}

.contact-section {
    text-align: center;
    padding: 3rem;
    background-color: var(--card-bg);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

/* Dark Mode Adjustments */
[data-theme="dark"] .founder-profile,
[data-theme="dark"] .expertise-item,
[data-theme="dark"] .achievements-list li,
[data-theme="dark"] .contact-section {
    background-color: var(--dark-card-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .founder-profile {
        grid-template-columns: 1fr;
    }

    .founder-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .founder-name {
        font-size: 2rem;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
[dir="rtl"] .achievements-list i {
    margin-right: 0;
    margin-left: 1rem;
}

[dir="rtl"] .founder-profile {
    direction: rtl;
}

[dir="rtl"] .founder-image {
    margin-left: 0;
    /* margin-right: -3rem; */ /* This was causing the alignment issue */
}

/* Consultation Section */
.consultation-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.consultation-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.consultation-form {
    background: linear-gradient(145deg, var(--white), #f8f8f8);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 2rem;
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(128,0,128,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.consultation-form .btn-primary {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(37,150,190,0.3);
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.consultation-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37,150,190,0.4);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
}

.consultation-form .btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(37,150,190,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .consultation-form {
        padding: 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.5rem;
    }

    .consultation-form .btn-primary {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

.founder-image {
    flex: 0 0 25%;
    max-width: 250px;
    margin-right: 0;
}

.founder-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.founder-image img:hover {
    transform: scale(1.02);
}

.founder-info {
    flex: 1;
}

.founder-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 1rem 0;
}

.founder-bio {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: var(--gray-dark);
}

.founder-achievements {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.founder-achievements h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.founder-achievements ul {
    list-style: none;
    padding: 0;
}

.founder-achievements li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
}

.founder-achievements li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.card:hover::before {
    transform: translateX(0);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-header {
    margin-bottom: 1.5rem;
}

.card-title {
    color: var(--gray-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.card-content {
    position: relative;
    z-index: 1;
}

.card-text {
    color: #555;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.card-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Card Variants */
.card-primary {
    background: linear-gradient(145deg, var(--white), #f8f8f8);
    border-color: rgba(128,0,128,0.1);
}

.card-primary .card-title {
    color: var(--primary-color);
}

.card-primary::before {
    background: linear-gradient(45deg, transparent, rgba(128,0,128,0.1));
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Card Image */
.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.card:hover .card-image {
    transform: scale(1.05);
}

/* Sections */
.section {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* Footer */
.main-footer {
    background-color: var(--gray-light);
    padding: 3rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.footer-title {
    color: var(--gray-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-text {
    color: var(--gray-dark);
    line-height: 1.6;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-dark);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    background-color: var(--white);
    padding: 1rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.copyright {
    color: var(--gray-dark);
}

.dashboard-link {
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-list {
        display: none;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

/* About Page Styles */
.about-section {
    padding: 4rem 0;
    background-color: var(--bg-color);
}

.about-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    text-align: center;
}

.about-intro p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
}

.expertise-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.stat-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.approach-section {
    margin-bottom: 4rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.approach-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.approach-item:hover {
    transform: translateY(-5px);
}

.approach-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.approach-item h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.approach-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.why-choose-section {
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .stat-item,
[data-theme="dark"] .approach-item,
[data-theme="dark"] .feature-item {
    background-color: var(--dark-card-bg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-intro {
        padding: 0 1rem;
    }

    .about-intro p {
        font-size: 1.1rem;
    }

    .expertise-stats,
    .approach-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* RTL Support */
[dir="rtl"] .about-intro {
    direction: rtl;
}

[dir="rtl"] .stat-item,
[dir="rtl"] .approach-item,
[dir="rtl"] .feature-item {
    direction: rtl;
}

[dir="rtl"] .header-actions {
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

[dir="rtl"] .theme-toggle,
[dir="rtl"] .language-toggle,
[dir="rtl"] .menu-toggle {
    margin: 0;
    padding: 3px;
}

/* === NEW MODERN NAVBAR STYLES === */

/* Main Header */
.new-main-header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 30px rgba(13, 110, 253, 0.1); /* Subtle blue shadow */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 72px;
}

.new-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
}

/* Logo */
.new-logo {
    display: flex;
    align-items: center;
}
.new-logo-img {
    height: 48px;
    width: auto;
    transition: height 0.3s;
}

/* Navigation */
.new-main-nav {
    display: flex;
    justify-content: center;
}
.new-nav-list {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}
.new-nav-link {
    font-weight: 600;
    font-size: 1rem;
    color: var(--dark-text);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}
.new-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s;
}
.new-nav-link:hover,
.new-nav-link.active {
    color: var(--primary-blue);
}
.new-nav-link:hover::after,
.new-nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.new-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}
.new-action-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 1.1rem;
    transition: all 0.3s;
}
.new-action-btn:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
}
.menu-toggle {
    display: none;
}

/* RTL Support */
[dir="rtl"] .new-header-content {
    flex-direction: row-reverse;
}

/* Responsive (Mobile) & Off-canvas menu */
@media (max-width: 900px) {
    .new-header-content { padding: 0 1rem; }
    .menu-toggle { display: flex; }
    .new-logo-img { height: 40px; }

    /* The .new-main-nav is no longer set to display:none, allowing the child .new-nav-list to appear */
    .new-nav-list {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        padding: 4rem 2rem;
        gap: 1.5rem;
        align-items: flex-start;
        z-index: 2000;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .new-nav-list.active {
        right: 0;
    }
    .new-nav-link {
        font-size: 1.2rem;
    }
    .new-nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.4);
        z-index: 1999;
    }
    .new-nav-overlay.active {
        display: block;
    }
    [data-theme="dark"] .new-nav-list {
        background: #181f2a !important;
        box-shadow: -4px 0 20px rgba(0,0,0,0.4);
    }
    [data-theme="dark"] .new-nav-link {
        color: #fff !important;
    }
    [data-theme="dark"] .new-nav-link:hover,
    [data-theme="dark"] .new-nav-link.active {
        color: var(--primary-blue) !important;
    }
    [data-theme="dark"] .new-nav-link::after {
        background-color: var(--primary-blue) !important;
    }
}

[data-theme="dark"] .consultation-section {
    background-color: var(--dark-bg, #181f2a);
}
[data-theme="dark"] .consultation-form {
    background: linear-gradient(135deg, #232b3b 80%, #181f2a 100%);
    box-shadow: 0 8px 32px rgba(0,0,0,0.45);
    border: 1px solid var(--dark-border, #223);
}
[data-theme="dark"] .consultation-form .form-title,
[data-theme="dark"] .consultation-form label {
    color: var(--white, #fff);
}
[data-theme="dark"] .consultation-form input,
[data-theme="dark"] .consultation-form textarea,
[data-theme="dark"] .consultation-form select {
    background-color: #232b3b;
    color: var(--white, #fff);
    border: 1.5px solid #2a8db8;
}
[data-theme="dark"] .consultation-form input:focus,
[data-theme="dark"] .consultation-form textarea:focus,
[data-theme="dark"] .consultation-form select:focus {
    border-color: var(--primary-blue, #3B82F6);
    box-shadow: 0 0 0 2px rgba(59,130,246,0.18);
}
[data-theme="dark"] .consultation-form ::placeholder {
    color: #b0b8c9;
    opacity: 1;
}
[data-theme="dark"] .consultation-benefits {
    background: linear-gradient(120deg, #232b3b 70%, #181f2a 100%);
    box-shadow: 0 6px 32px rgba(0,0,0,0.25);
}
[data-theme="dark"] .benefit-item {
    background: #181f2a;
    border: 1.5px solid #26344a;
    color: #e0e6f0;
}
[data-theme="dark"] .benefit-item i {
    background: #232b3b;
    color: var(--primary-blue);
    box-shadow: 0 2px 8px rgba(59,130,246,0.10);
}
[data-theme="dark"] .benefit-item h3 {
    color: var(--primary-blue);
}
[data-theme="dark"] .benefit-item p {
    color: #b0b8c9;
}

.consultation-benefits {
    background: linear-gradient(120deg, #fafdff 70%, #e6f2fa 100%);
    border-radius: 16px;
    box-shadow: 0 6px 32px rgba(37,150,190,0.08);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    transition: background 0.3s;
}
.benefits-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
    letter-spacing: 1px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.benefit-item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(37,150,190,0.07);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1.5px solid #e3eaf3;
    position: relative;
}
.benefit-item:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 32px rgba(37,150,190,0.13);
    border-color: var(--primary-blue);
}
.benefit-item i {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    background: #e6f2fa;
    border-radius: 50%;
    padding: 0.7rem;
    box-shadow: 0 2px 8px rgba(37,150,190,0.08);
    display: inline-block;
}
.benefit-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    margin-top: 0.5rem;
}
.benefit-item p {
    color: #4a5a6a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 700px) {
    .consultation-benefits {
        padding: 1.2rem 0.5rem;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

.consultation-intro {
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 2.2rem;
    color: #4a5a6a;
}
[data-theme="dark"] .consultation-intro {
    color: #b0b8c9;
}
.section-subtitle {
    text-align: center;

}
