/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #722F37;
    --primary-dark: #5a252c;
    --primary-light: #8a3a44;
    --secondary-color: #2D2D2D;
    --accent-color: #D4AF37;
    --text-light: #6B7280;
    --text-dark: #1F2937;
    --background-light: #F9FAFB;
    --white: #FFFFFF;
    --border-radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation - FIXED FOR CENTER ALIGNMENT */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.nav-logo .logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.nav-logo .logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    order: 3;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* ==================== */
/* LANGUAGE SWITCHER - LARGER SIZE AND CLOSER TO HAMBURGER */
/* ==================== */

.language-switcher {
    margin-left: auto;
    margin-right: 0.5rem; /* Reduced margin to move closer to hamburger */
    position: relative;
    order: 2;
}

.language-select {
    padding: 12px 20px;
    padding-right: 50px; /* Increased padding for larger dropdown arrow */
    border-radius: 10px; /* Slightly larger border radius */
    border: 2px solid #e5e7eb;
    background: var(--white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem; /* Increased font size */
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23722F37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 22px; /* Larger dropdown arrow */
    min-width: 150px; /* Increased minimum width */
    height: 52px; /* Increased height */
}

.language-select:hover {
    border-color: var(--primary-color);
    background-color: rgba(114, 47, 55, 0.05);
    transform: translateY(-2px); /* More pronounced hover effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15); /* Stronger shadow */
}

.language-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(114, 47, 55, 0.25); /* More prominent focus */
}

/* Style options with flags */
.language-select option {
    font-weight: 600;
    padding: 14px; /* Increased padding */
    font-size: 1.05rem; /* Slightly larger font */
}

.language-select option[value="en"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 640 480"><path fill="#012169" d="M0 0h640v480H0z"/><path fill="#FFF" d="m75 0 244 181L562 0h78v62L400 241l240 178v61h-80L320 301 81 480H0v-60l239-178L0 64V0h75z"/><path fill="#C8102E" d="m424 281 216 159v40L369 281h55zm-184 20 6 35L54 480H0l240-179zM640 0v3L391 191l2-44L590 0h50zM0 0l239 176h-60L0 42V0z"/><path fill="#FFF" d="M241 0v480h160V0H241zM0 160v160h640V160H0z"/><path fill="#C8102E" d="M0 193v96h640v-96H0zM273 0v480h96V0h-96z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 40px; /* Increased padding for flags */
}

.language-select option[value="fr"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 640 480"><path fill="#ED2939" d="M0 0h213.3v480H0z"/><path fill="#fff" d="M213.3 0h213.4v480H213.3z"/><path fill="#002395" d="M426.7 0H640v480H426.7z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 40px;
}

.language-select option[value="zh"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 640 480"><path fill="#de2910" d="M0 0h640v480H0z"/><path fill="#ffde00" d="m110 286.7 23.3-10.5 4.2 24.1 14.8-20.8 23.2 10.2-15.8-20.3 14.8-20.8-24.1 3.6-16-20.2-1 24.9-24.1 3.6 23 10.8zM375 192.7 23.3-10.5 4.2 24.1 14.8-20.8 23.2 10.2-15.8-20.3 14.8-20.8-24.1 3.6-16-20.2-1 24.9-24.1 3.6 23 10.8z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 40px;
}

.language-select option[value="ko"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 640 480"><path fill="#fff" d="M168 120c0 44.2 35.8 80 80 80s80-35.8 80-80-35.8-80-80-80-80 35.8-80 80zm224 0c0 44.2 35.8 80 80 80s80-35.8 80-80-35.8-80-80-80-80 35.8-80 80zM168 360c0 44.2 35.8 80 80 80s80-35.8 80-80-35.8-80-80-80-80 35.8-80 80zm224 0c0 44.2 35.8 80 80 80s80-35.8 80-80-35.8-80-80-80-80 35.8-80 80z"/><path fill="#cd2e3a" d="M320 200c66.3 0 120 53.7 120 120s-53.7 120-120 120-120-53.7-120-120 53.7-120 120-120zm0-40c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160z"/><path fill="#0047a0" d="M234.7 234.7c47.1-47.1 123.5-47.1 170.6 0s47.1 123.5 0 170.6-123.5 47.1-170.6 0-47.1-123.5 0-170.6z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 40px;
}

.language-select option[value="ja"] {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 640 480"><path fill="#fff" d="M0 0h640v480H0z"/><circle cx="320" cy="240" r="105.6" fill="#bc002d"/></svg>');
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 40px;
}

/* For better flag display */
.language-select:after {
    content: '';
    position: absolute;
    right: 15px; /* Adjusted position */
    top: 50%;
    transform: translateY(-50%);
    width: 24px; /* Larger icon area */
    height: 24px;
    pointer-events: none;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: -2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2074&q=80') center/cover;
    opacity: 0.2;
    z-index: -1;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: #e6b82e;
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 15px 30px;
    border: 2px solid var(--white);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: var(--background-light);
}

.trust-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.trust-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
}

.trust-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.trust-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-icon i {
    font-size: 3.5rem;
}

.trust-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.trust-card p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: var(--white);
}

.services-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 3.5rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.coming-soon-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.services-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Corporate Section */
.corporate-section {
    padding: 100px 0;
    background: var(--background-light);
}

.corporate-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.corporate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.corporate-logo {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    min-height: 160px;
}

.corporate-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.corporate-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
    object-fit: contain;
}

.corporate-logo:hover img {
    transform: scale(1.05);
}

/* Partners Sections */
.partners-section, .tech-partners-section {
    padding: 80px 0;
    background: var(--white);
}

.tech-partners-section {
    background: var(--background-light);
}

.partners-section h2, .tech-partners-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-logo {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    min-height: 160px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    transition: all 0.3s ease;
    object-fit: contain;
}

.partner-logo:hover img {
    transform: scale(1.05);
}

.tech-partners .partner-logo {
    height: 140px;
    padding: 2rem;
    min-height: 140px;
}

.tech-partners .partner-logo img {
    max-height: 80px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: 80px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-section p i {
    margin-top: 4px;
    flex-shrink: 0;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-section a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Page Hero Sections */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* About Section */
.about-section {
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background: var(--background-light);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.value-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.value-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.value-card ul {
    list-style: none;
}

.value-card ul li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.value-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Branches Section */
.branches-section {
    padding: 80px 0;
}

.branches-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.branch-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.branch-card h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.branch-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    align-items: flex-start;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-info h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.method-info p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-contact h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.social-contact-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--background-light);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.social-contact-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Branches Map */
.branches-map {
    padding: 80px 0;
    background: var(--background-light);
}

.branches-map h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
}

.map-placeholder {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.map-placeholder h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.map-frame {
    margin-top: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Services Detail */
.detailed-services {
    padding: 80px 0;
}

.service-detail {
    margin-bottom: 6rem;
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail-content.reverse {
    direction: rtl;
}

.service-detail-content.reverse > * {
    direction: ltr;
}

.service-detail-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-detail-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.service-detail-text ul {
    list-style: none;
    margin-bottom: 2.5rem;
}

.service-detail-text ul li {
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
}

.service-detail-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-detail-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

/* Services CTA */
.services-cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.services-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-cta-section p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.95;
}

/* Policy Pages */
.policy-section {
    padding: 80px 0;
    max-width: 800px;
    margin: 0 auto;
}

.policy-content {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.policy-content h1 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: 2.5rem;
}

.policy-content h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    font-size: 1.5rem;
}

.policy-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 0.5rem;
    font-size: 1.2rem;
}

.policy-content p, .policy-content li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.policy-content ul {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.policy-content strong {
    color: var(--secondary-color);
}

/* Custom airplane bullet points for Important Key Points */
.airplane-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.airplane-list li {
    margin-bottom: 1.5rem;
    padding-left: 3rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
}

.airplane-list li::before {
    content: '\f072'; /* Font Awesome airplane icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    width: 2rem;
    text-align: center;
    color: var(--primary-color);
}

/* =========================== */
/* UPDATED STYLES FOR CERTIFICATE PAGE */
/* =========================== */

.certificates-section {
    padding: 80px 0;
}

.certificate-main {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    margin-bottom: 3rem;
    border-left: 6px solid var(--accent-color);
}

.certificate-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.certificate-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.certificate-title h2 {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.certificate-title p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.certificate-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.certificate-image-large {
    position: relative;
}

.certificate-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    border: 3px solid var(--primary-light);
    object-fit: contain;
    max-height: 500px;
    background-color: #f8f9fa;
}

.certificate-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-color);
    color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.certificate-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.certificate-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--background-light);
    padding: 12px 20px;
    border-radius: var(--border-radius);
    border: 1px solid #e5e7eb;
}

.feature i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.feature span {
    color: var(--secondary-color);
    font-weight: 500;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.certificate-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.certificate-card-header {
    padding: 1.5rem;
    background: var(--background-light);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certificate-card-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.certificate-card-header h3 {
    color: var(--secondary-color);
    font-size: 1.3rem;
    margin: 0;
}

.certificate-card-image {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.certificate-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background-color: #f8f9fa;
    padding: 10px;
}

.certificate-card:hover .certificate-card-image img {
    transform: scale(1.05);
}

.certificate-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.certificate-card-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.certificate-issuer {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
    color: var(--text-light);
    font-size: 0.9rem;
}

.certificate-issuer i {
    color: var(--primary-color);
}

/* Special styles for vertical certificates */
.certificate-card.vertical-certificate .certificate-card-image {
    height: 350px; /* Taller for vertical certificates */
}

.certificate-card.vertical-certificate .certificate-card-image img {
    object-fit: contain;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    margin: 0 auto;
    display: block;
}

.certificate-trust {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
    border: 2px dashed var(--primary-light);
}

.trust-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.certificate-trust h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.certificate-trust p {
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* =========================== */
/* UPDATED STYLES FOR SPONSORSHIP PAGE */
/* =========================== */

.sponsorship-intro {
    padding: 80px 0;
    background: var(--background-light);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.mission-statement {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--accent-color);
    display: flex;
    gap: 1.5rem;
}

.mission-statement i {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.mission-statement p {
    margin: 0;
    color: var(--secondary-color);
    font-style: italic;
}

.intro-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
}

.event-section {
    padding: 80px 0;
}

.event-header {
    text-align: center;
    margin-bottom: 3rem;
}

.event-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.event-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.event-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
}

.event-description p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.event-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.highlight {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.highlight i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.highlight p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.event-gallery {
    margin: 4rem 0;
}

.event-gallery h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 0.5rem;
}

.gallery-subtitle {
    color: var(--text-light);
    text-align: center;
    margin-bottom: 3rem;
}

/* NEW SLIDESHOW/CAROUSEL STYLES */
.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    height: 500px;
}

.slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

/* Navigation buttons */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slideshow-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.slideshow-nav.prev {
    left: 20px;
}

.slideshow-nav.next {
    right: 20px;
}

.slideshow-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Slide indicators */
.slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--primary-color);
    transform: scale(1.2);
    border-color: white;
}

/* Impact Statement */
.impact-statement {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 3rem;
    margin: 3rem 0;
    text-align: center;
}

.impact-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.impact-statement h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.impact-statement p {
    color: var(--text-light);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
}

.future-initiatives {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    text-align: left;
}

.future-initiatives h4 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.future-initiatives ul {
    list-style: none;
}

.future-initiatives li {
    color: var(--text-light);
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
    line-height: 1.6;
}

.future-initiatives li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.sponsorship-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Responsive Design - UPDATED FOR LARGER LANGUAGE SWITCHER */
@media (max-width: 1024px) {
    .nav-menu {
        gap: 2rem;
    }
    
    .language-switcher {
        margin-right: 0.5rem; /* Reduced margin */
    }
    
    .language-select {
        min-width: 140px; /* Slightly smaller on tablet */
        height: 48px;
    }
    
    /* Updated slideshow for tablet */
    .slideshow-container {
        height: 400px;
    }
    
    /* Certificate grid for tablet */
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        transform: none;
        left: 0;
        display: none;
    }

    .nav-menu.active {
        display: flex;
        left: 0;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    /* Language switcher mobile positioning - LARGER SIZE AND CLOSER TO HAMBURGER */
    .language-switcher {
        order: 2;
        margin: 0;
        margin-left: auto;
        margin-right: 0.75rem; /* Reduced margin to bring closer to hamburger */
        width: auto;
        text-align: center;
        display: block !important; /* Force display */
    }
    
    .language-select {
        min-width: 130px;
        margin: 0;
        height: 48px; /* Larger on mobile */
        padding: 10px 12px;
        padding-right: 42px;
        font-size: 1rem; /* Maintain readable font size */
        border-radius: 8px;
    }
    
    .nav-container {
        flex-wrap: nowrap;
        justify-content: space-between;
        height: 80px;
        padding: 0 15px;
    }
    
    .nav-logo {
        order: 1;
    }
    
    .language-switcher {
        order: 2;
    }
    
    .hamburger {
        order: 3;
        margin-left: 0; /* Remove left margin to bring hamburger closer */
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .hero-buttons, .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .trust-section h2,
    .services-section h2,
    .partners-section h2,
    .corporate-section h2 {
        font-size: 2rem;
    }

    .trust-grid,
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .partners-grid,
    .corporate-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .about-content,
    .contact-grid,
    .values-grid,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-detail-content.reverse {
        direction: ltr;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }

    .about-text h2,
    .contact-info h2 {
        font-size: 2rem;
    }

    .value-card,
    .contact-form,
    .policy-content {
        padding: 2rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
    }

    .method-icon {
        align-self: center;
    }

    .social-contact-links {
        flex-direction: column;
    }

    .branches-grid {
        grid-template-columns: 1fr;
    }

    .partner-logo,
    .corporate-logo {
        height: 140px;
        min-height: 140px;
        padding: 2rem;
    }

    .partner-logo img,
    .corporate-logo img {
        max-height: 90px;
    }

    .tech-partners .partner-logo {
        height: 120px;
        min-height: 120px;
        padding: 1.5rem;
    }

    .tech-partners .partner-logo img {
        max-height: 70px;
    }

    .airplane-list li {
        padding-left: 2.5rem;
    }

    .airplane-list li::before {
        width: 1.5rem;
        font-size: 1rem;
    }
    
    /* Certificate Page Mobile Styles */
    .certificate-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .certificate-main,
    .certificate-trust {
        padding: 2rem;
    }
    
    .certificate-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .certificate-features {
        justify-content: center;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    /* Special mobile styles for vertical certificates */
    .certificate-card.vertical-certificate .certificate-card-image {
        height: 400px; /* Even taller on mobile for better visibility */
    }
    
    /* Sponsorship Page Mobile Styles */
    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .mission-statement {
        flex-direction: column;
        text-align: center;
    }
    
    .event-highlights {
        grid-template-columns: 1fr;
    }
    
    /* Updated slideshow for mobile */
    .slideshow-container {
        height: 350px;
    }
    
    .slideshow-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .slideshow-nav.prev {
        left: 10px;
    }
    
    .slideshow-nav.next {
        right: 10px;
    }
    
    .slide img {
        padding: 15px;
    }
    
    .impact-statement {
        padding: 2rem;
    }
    
    .future-initiatives {
        padding: 1.5rem;
    }
    
    /* Ensure images are fully visible on mobile */
    .certificate-card-image img,
    .slide img {
        object-fit: contain !important;
        background-color: #f8f9fa;
    }
    
    /* Main certificate image on mobile */
    .certificate-img {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 150px 0 80px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .footer-section p {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .partner-logo,
    .corporate-logo {
        min-height: 120px;
        padding: 1.5rem;
        height: 120px;
    }

    .partners-grid,
    .corporate-grid {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 1rem;
    }

    .partner-logo img,
    .corporate-logo img {
        max-height: 80px;
    }

    .tech-partners .partner-logo {
        height: 100px;
        min-height: 100px;
        padding: 1rem;
    }

    .tech-partners .partner-logo img {
        max-height: 60px;
    }

    .airplane-list li {
        padding-left: 2rem;
    }

    .airplane-list li::before {
        width: 1.2rem;
        font-size: 0.9rem;
    }
    
    /* Make language switcher more compact on very small screens but still visible and close to hamburger */
    .language-switcher {
        margin-right: 0.5rem;
    }
    
    .language-select {
        min-width: 120px;
        font-size: 0.95rem;
        padding: 8px 10px;
        padding-right: 38px;
        height: 44px;
        border-radius: 6px;
    }
    
    /* Certificate Page Small Mobile */
    .certificate-title h2 {
        font-size: 1.8rem;
    }
    
    .certificate-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature {
        width: 100%;
        justify-content: center;
    }
    
    /* Slideshow on small mobile */
    .slideshow-container {
        height: 300px;
    }
    
    .slideshow-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Vertical certificates on small mobile */
    .certificate-card.vertical-certificate .certificate-card-image {
        height: 350px;
    }
    
    .cta-content h3 {
        font-size: 1.8rem;
    }
}