/* Custom CSS for Software Company Website */

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

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* English Language Support */
body[dir="ltr"] {
    font-family: 'Roboto', sans-serif;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0.5rem 0; /* Reduced vertical padding */
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: white !important;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand i {
    margin-left: 10px;
    margin-right: 10px;
    color: #ffd700;
    font-size: 1.8rem;
}

.navbar-nav {
    align-items: center;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 10px; /* Adjusted horizontal margin */
    padding: 6px 12px !important; /* Reduced vertical padding */
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: capitalize;
    white-space: nowrap; /* Ensure text is on one line */
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #333 !important;
    background: rgba(255, 215, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 5px;
    margin: 0 10px; /* Adjusted horizontal margin */
}

.lang-switcher .btn {
    padding: 4px 10px; /* Reduced padding */
    font-size: 0.8rem; /* Slightly reduced font size */
    font-weight: 600;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: white;
    transition: all 0.3s ease;
    min-width: 40px; /* Adjusted min-width */
}

.lang-switcher .btn:hover,
.lang-switcher .btn.active {
    background: #ffd700;
    color: #333;
    border-color: #ffd700;
    transform: scale(1.1);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.1)" points="0,1000 1000,0 1000,1000"/><circle fill="rgba(255,255,255,0.05)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.03)" cx="800" cy="300" r="150"/></svg>');
    background-size: cover;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.3s both;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(45deg, #ffd700, #ffed4e);
    border: none;
    color: #333;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: fadeInUp 1s ease 0.6s both;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
}
.btn-nav{
    padding: 10px 8px !important;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    color: #333;
    background: linear-gradient(45deg, #ffed4e, #ffd700);
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    line-height: 1.6;
}

/* Feature Cards */
.features-section {
    background: #f8f9fa;
}

.feature-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.4s ease;
    position: relative;
}

.feature-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon::after {
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
    100% { transform: scale(1); opacity: 0.3; }
}

.feature-icon i {
    font-size: 2.2rem;
    color: white;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotateY(360deg);
}

.feature-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
}

/* About Section */
.about-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.about-image img {
    transition: all 0.4s ease;
}

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

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

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

.service-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-image::after {
    opacity: 1;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

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

.service-content h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.service-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.7rem 0;
    color: #555;
    position: relative;
    padding-right: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-features li:hover {
    color: #667eea;
    transform: translateX(5px);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #667eea;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Statistics Section */
.stats-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.1)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.05)" cx="800" cy="300" r="150"/><circle fill="rgba(255,255,255,0.1)" cx="400" cy="700" r="80"/><polygon fill="rgba(255,255,255,0.05)" points="600,100 700,300 500,300"/></svg>');
    animation: float 8s ease-in-out infinite;
}

.stats-section .stat-item {
    position: relative;
    z-index: 1;
}

.stats-section .stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: block;
}

.stats-section .stat-label {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.95);
    margin: 0;
    font-weight: 500;
}

/* Testimonial Cards */
.testimonials-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
}

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

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -15px;
    right: 25px;
    font-size: 5rem;
    color: #667eea;
    opacity: 0.2;
    font-family: serif;
    line-height: 1;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.testimonial-author h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.testimonial-author span {
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Section */
.contact-info {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-5px);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.contact-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: all 0.3s ease;
}

.contact-info:hover .contact-icon::after {
    opacity: 0.3;
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-info h5 {
    color: #333;
    font-weight: 600;
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.contact-info p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 15px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
    background: white;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle fill="rgba(255,255,255,0.03)" cx="200" cy="200" r="100"/><circle fill="rgba(255,255,255,0.02)" cx="800" cy="300" r="150"/></svg>');
}

.footer .container {
    position: relative;
    z-index: 1;
}

.social-links a {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    text-align: center;
    line-height: 45px;
    transition: all 0.3s ease;
    margin: 0 8px;
    position: relative;
    overflow: hidden;
    color: #ffeb3b !important;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: all 0.6s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: #ffd700;
    color: #333 !important;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }
    
    .lang-switcher {
        justify-content: center;
        margin: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .stats-section .stat-number {
        font-size: 2.8rem;
    }
    
    .feature-card,
    .service-card,
    .testimonial-card {
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    
    .feature-icon i {
        font-size: 1.8rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

/* Hover Effects */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

/* Language Direction Support */
[dir="ltr"] .navbar-brand i {
    margin-left: 0;
    margin-right: 10px;
}

[dir="rtl"] .navbar-brand i {
    margin-left: 10px;
    margin-right: 0;
}

[dir="ltr"] .navbar-nav .nav-link {
    margin: 0 10px;
}

[dir="rtl"] .navbar-nav .nav-link {
    margin: 0 10px;
}

[dir="ltr"] .lang-switcher {
    margin-left: 15px;
    margin-right: 0;
}

[dir="rtl"] .lang-switcher {
    margin-left: 0;
    margin-right: 15px;
}

[dir="ltr"] .service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    right: auto;
}

[dir="rtl"] .service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    left: auto;
}

[dir="ltr"] .service-features li {
    padding-left: 30px;
    padding-right: 0;
}

[dir="rtl"] .service-features li {
    padding-right: 30px;
    padding-left: 0;
}

[dir="ltr"] .testimonial-card::before {
    left: 25px;
    right: auto;
}

[dir="rtl"] .testimonial-card::before {
    right: 25px;
    left: auto;
}

[dir="ltr"] .contact-info-section .contact-item .contact-icon {
    margin-right: 15px;
    margin-left: 0;
}

[dir="rtl"] .contact-info-section .contact-item .contact-icon {
    margin-left: 15px;
    margin-right: 0;
}

.contact-info-section .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-info-section .contact-item .contact-details h5 {
    margin-bottom: 0.2rem;
}

.contact-info-section .contact-item .contact-details p {
    margin-bottom: 0;
}

.contact-info-section .contact-item .contact-icon {
    flex-shrink: 0;
}

.contact-info-section .social-icons .social-icon {
    margin: 0 5px;
}

.contact-info-section .social-icons {
    display: flex;
    justify-content: flex-start;
}

[dir="ltr"] .contact-info-section .social-icons {
    justify-content: flex-start;
}

[dir="rtl"] .contact-info-section .social-icons {
    justify-content: flex-end;
}

.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding-top: 120px; /* Adjust for fixed navbar */
    padding-bottom: 60px;
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.why-choose-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.why-choose-icon {
    font-size: 2.5rem;
    color: #667eea;
    margin-left: 20px; /* For RTL */
    flex-shrink: 0;
}

[dir="ltr"] .why-choose-icon {
    margin-right: 20px;
    margin-left: 0;
}

[dir="rtl"] .why-choose-icon {
    margin-left: 20px;
    margin-right: 0;
}

.why-choose-content h4 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.why-choose-content p {
    color: #666;
    line-height: 1.7;
}

.team-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

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

.team-image {
    height: 250px;
    overflow: hidden;
}

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

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

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-info .team-position {
    color: #667eea;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
}

.vision-card, .mission-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

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

.vision-icon, .mission-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1.5rem;
}

.vision-card h3, .mission-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.vision-card p, .mission-card p {
    color: #666;
    line-height: 1.7;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.value-icon {
    font-size: 2.5rem;
    color: #764ba2;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

.faq-section .card {
    border: none;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.faq-section .card-header {
    background-color: #fff;
    border-bottom: none;
    padding: 0;
}

.faq-section .card-header h5 button {
    width: 100%;
    text-align: right;
    padding: 15px 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

[dir="ltr"] .faq-section .card-header h5 button {
    text-align: left;
}

.faq-section .card-header h5 button:hover {
    color: #667eea;
}

.faq-section .card-header h5 button::after {
    content: '\f078'; /* Chevron down icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

[dir="ltr"] .faq-section .card-header h5 button::after {
    left: auto;
    right: 20px;
}

.faq-section .card-header h5 button.collapsed::after {
    transform: translateY(-50%) rotate(-90deg);
}

.faq-section .card-body {
    padding: 20px;
    border-top: 1px solid #eee;
    color: #555;
    line-height: 1.7;
}

.cta-section.bg-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
}

.cta-section .btn-light {
    background-color: #fff !important;
    color: #667eea !important;
    border: none;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.cta-section .btn-outline-light {
    border: 2px solid #fff;
    color: #fff !important;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    background-color: #fff !important;
    color: #667eea !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* Ensure brand and nav links are aligned */
.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse {
    flex-grow: 1;
    justify-content: flex-end; /* Push nav items to the right */
}

.navbar-nav {
    flex-direction: row; /* Ensure nav items are in a row */
    flex-wrap: nowrap; /* Prevent wrapping */
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        justify-content: center; /* Center nav items on smaller screens */
    }
    .navbar-nav {
        flex-direction: column; /* Stack nav items on smaller screens */
        flex-wrap: wrap;
    }
    .navbar-nav .nav-link {
        margin: 5px 0; /* Adjust margin for stacked items */
    }
    .lang-switcher {
        margin: 10px 0;
    }
    .navbar-brand {
        margin-bottom: 10px;
    }
}


