/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* RTL Support */
[dir="rtl"] {
    font-family: 'Noto Kufi Arabic', 'Inter', ui-sans-serif, system-ui, sans-serif;
}

[dir="ltr"] {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* Base styles */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Hero gradient */
.bg-gradient-hero {
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(38, 53, 151, 0.61) 98.916%),
                      linear-gradient(90deg, rgba(38, 53, 151, 0.21) 0%, rgba(38, 53, 151, 0.21) 100%),
                      linear-gradient(-90deg, rgba(0, 0, 0, 0) 34.948%, rgba(0, 0, 0, 0.6) 100%);
}

/* Navigation */
.nav-link {
    color: #c4c4c4;
    transition: color 0.3s;
    font-size: 18px;
    font-weight: 500;
}

.nav-link:hover {
    color: white;
}

.nav-link-active {
    color: white;
}

/* Team Section */
.team-section {
    padding-top: 48px;
    padding-bottom: 64px;
    background-color: white;
    overflow-x: hidden;
}

.team-section-title {
    font-size: 40px;
    font-weight: 600;
    color: #263597;
    line-height: 1;
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 60px;
}

.team-desktop-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.team-consultation-box {
    flex-shrink: 0;
    width: 40%;
    padding-top: 60px;
    padding-right: 20px;
}

.team-cards-container {
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    width: 60%;
}

.team-consultation-title {
    color: #263597;
    font-size: 40px;
    font-weight: 600;
    line-height: 62px;
    letter-spacing: 0.8px;
    margin-bottom: 0;
}

.team-consultation-subtitle {
    color: #263597;
    font-size: 20px;
    font-weight: 600;
    line-height: 3.6;
    letter-spacing: 0.8px;
    margin-bottom: 40px;
}

.team-card {
    flex: 1;
    max-width: 220px;
}

.team-card-image {
    width: 100%;
    height: auto;
}

.team-card-info {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.team-card-name {
    color: #263597;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.09px;
    line-height: 21px;
}

.team-card-position {
    color: #263597;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.04px;
    line-height: 18px;
    margin-top: 5px;
}

.team-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #263597;
    color: white;
    padding: 10px 22px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
    height: 40px;
}

.team-book-btn:hover {
    background-color: rgba(38, 53, 151, 0.9);
}

/* Team Section Responsive */
@media (max-width: 1400px) {
    .team-cards-container { gap: 20px; }
    .team-card { width: 220px; }
    .team-consultation-title { font-size: 32px; line-height: 1.3; }
    .team-consultation-subtitle { font-size: 22px; line-height: 1.4; }
}

@media (max-width: 1200px) {
    .team-cards-container { gap: 15px; }
    .team-card { width: 200px; }
}

@media (max-width: 1024px) {
    .team-desktop-layout { flex-wrap: wrap; justify-content: center; gap: 40px; }
    .team-consultation-box { width: 100%; text-align: center; padding-top: 0; padding-right: 0; }
    .team-cards-container { justify-content: center; width: 100%; }
    .team-card { width: 220px; }
}

@media (max-width: 768px) {
    .team-section { padding-top: 32px; padding-bottom: 48px; }
    .team-section-title { font-size: 28px; margin-bottom: 32px; }
    .team-cards-container { flex-wrap: wrap; gap: 30px; }
    .team-consultation-title { font-size: 28px; }
    .team-consultation-subtitle { font-size: 20px; margin-bottom: 24px; }
}

@media (max-width: 480px) {
    .team-section-title { font-size: 24px; }
    .team-card { width: 100%; max-width: 277px; }
}

/* Why Choose MSAN Section */
.why-choose-section { padding: 50px 0; }
.why-choose-section-mobile { padding: 30px; }
.why-choose-image-container { width: 55%; flex-shrink: 0; }
.why-choose-image { height: 550px; width: 100%; object-fit: cover; border-radius: 15px; }
.why-choose-card { width: 55%; margin-left: -100px; position: relative; }
.why-choose-card-bg { width: 100%; height: 450px; }
.why-choose-content { padding: 40px; padding-left: 60px; }
.why-choose-title { font-size: 36px; font-weight: 600; color: #263597; margin-bottom: 30px; line-height: 1; letter-spacing: -0.5px; }
.why-choose-list-item { font-size: 24px; font-weight: 500; }

[dir="rtl"] .why-choose-card { margin-left: 0; margin-right: -150px; }
[dir="rtl"] .why-choose-content { padding-left: 40px; padding-right: 60px; }

/* Client logos slider animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll 25s linear infinite;
}

.client-track:hover { animation-play-state: paused; }
.client-logo { flex-shrink: 0; margin: 0 40px; }
.client-logo img { height: 40px; max-width: 180px; width: auto; object-fit: contain; }
[dir="rtl"] .client-track { animation-direction: reverse; }

/* Form input placeholder */
.contact-form-input::placeholder { color: #6270cc !important; opacity: 1; }

/* Custom Checkbox */
.custom-checkbox { display: block; position: relative; cursor: pointer; width: 40px; height: 40px; }
.custom-checkbox input { position: absolute; opacity: 0; cursor: pointer; width: 100%; height: 100%; z-index: 1; margin: 0; }
.custom-checkbox .checkmark { position: absolute; top: 0; left: 0; width: 40px; height: 40px; background-color: #263597; border: 1px solid white; border-radius: 4px; }
.custom-checkbox input:checked ~ .checkmark:after { content: ""; position: absolute; left: 14px; top: 8px; width: 10px; height: 18px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); }

/* Footer Styles */
.footer { background-color: #263597; }
.footer-container { padding-top: 40px; padding-bottom: 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; }
.footer-col-1 { flex: 1; max-width: 300px; }
.footer-col-2 { flex: 0 0 150px; }
.footer-col-3 { flex: 0 0 150px; }
.footer-col-4 { flex: 0 0 150px; display: flex; flex-direction: column; justify-content: flex-end; align-self: flex-end; }
.footer-logo { height: 50px; width: auto; display: block; }
.footer-description { color: #8595fe; font-size: 14px; line-height: 1.6; letter-spacing: 0.04px; margin-top: 20px; }
.footer-heading { color: white; font-size: 16px; font-weight: 500; margin: 0 0 17px 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 17px; }
.footer-links li:last-child { margin-bottom: 0; }
.footer-links a { color: #8595fe; font-size: 16px; text-decoration: none; letter-spacing: 0.04px; transition: color 0.3s; }
.footer-links a:hover { color: white; }
.footer-social { display: flex; gap: 24px; }
.footer-social a { color: white; transition: color 0.3s; }
.footer-social a:hover { color: #8595fe; }
.footer-social svg { width: 24px; height: 24px; }
.footer-divider img { width: 100%; max-height: 2px; object-fit: cover; display: block; }
.footer-copyright { color: #8595fe; font-size: 16px; text-align: center; padding: 24px 20px; letter-spacing: 0.04px; margin: 0; }

@media (max-width: 1024px) {
    .footer-top { flex-wrap: wrap; gap: 40px; }
    .footer-col-1, .footer-col-2, .footer-col-3, .footer-col-4 { width: 100%; flex: none; }
    .footer-col-4 { justify-content: flex-start; align-self: flex-start; }
    .footer-description { margin-top: 24px; }
}
