:root {
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #000000;
    --text-main: #111111;
    --text-muted: #666666;
    --text-light: #ffffff;
    --accent: #222222;
    --border-color: #eaeaea;
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --border-radius: 4px;
}

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

html {
    scroll-behavior: smooth;
    font-family: var(--font-stack);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
}

/* Typography Base definitions */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Translucent Minimalist Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
}

.brand-logo {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.05em;
}

.icon-img {
    width: 1.25rem;
    height: 1.25rem;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    margin: 0px 5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-contact {
    background: var(--bg-dark);
    padding: 5px 10px;
    border-radius: var(--border-radius);
    color: var(--text-light);
}

/* Navigation link item styling adjustments */
.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
}

/* Hide the icon indicators on desktop environments */
.nav-link-icon {
    display: none;
    font-size: 1.25rem;
}

/* Language Selection Layer Layout */
.lang-selector {
    position: relative;
    display: inline-block;
}

.lang-trigger {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.lang-trigger:hover {
    background: #f0f0f0;
}

.chevron-icon {
    transition: transform 0.2s ease;
}

.lang-selector.open .chevron-icon {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    z-index: 1100;
    display: flex;
    flex-direction: column;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

.lang-selector.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Sticky Search Wrapper inside Dropdown */
.lang-search-wrapper {
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

.lang-search-input {
    width: 100%;
    padding: 6px 10px;
    font-family: var(--font-stack);
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    outline: none;
    background: var(--bg-gray);
}

.lang-search-input:focus {
    border-color: var(--accent);
    background: var(--bg-white);
}

/* Scrollable Container Layer for Items */
.lang-items-container {
    height: 320px;
    max-height: calc(100vh - 160px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background: var(--bg-gray);
}

.dropdown-item.active {
    font-weight: 600;
    background: #eaeaea;
}

/* Hero Section Graphics Panel overlay */
.hero-section {
    height: 85vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-top: 70px;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    padding: 0 48px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--text-light);
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 0.15em;
}

/* Sections Global Structure */
.section {
    padding: 100px 0;
}

.section-white { background-color: var(--bg-white); }
.section-gray { background-color: var(--bg-gray); }
.section-dark { 
    background-color: var(--bg-dark); 
    color: var(--text-light);
}

.section-title {
    font-size: 1.75rem;
    letter-spacing: 0.05em;
    margin-bottom: 48px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-top: -36px;
    margin-bottom: 48px;
    font-weight: 300;
}

.center { text-align: center; }

/* Horizontal Experience Carousel Grid layout */
.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 16px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.carousel-card {
    position: relative;
    height: 240px;
    width: 280px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
    scroll-snap-align: start;
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-card:hover img {
    transform: scale(1.04);
}

.card-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 16px 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Split About Layout Row */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
    align-items: start;
}

.about-slogan {
    font-size: 2.2rem;
    line-height: 1.2;
    color: var(--text-main);
}

.about-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    font-weight: 300;
}

/* Accordion Component Tree */
.services-accordion {
    border-top: 1px solid var(--border-color);
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.accordion-title {
    font-size: 1.05rem;
    font-weight: 600;
}

.accordion-icon {
    transition: transform 0.2s ease;
    color: var(--text-muted);
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content p {
    padding-bottom: 20px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

/* Certification Cards Gallery */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.cert-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.01);
}

.cert-icon-wrapper {
    font-size: 2rem;
    margin-bottom: 16px;
}

.cert-card-title {
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.cert-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

/* Minimal Testimonial Card Matrices */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px;
    border-radius: 4px;
    border-left: 3px solid var(--accent);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.testimonial-author {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    font-weight: 600;
}

/* Booking Section CTA Elements */
.contact-container {
    max-width: 800px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

/* Global Buttons Matrix */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 4px;
    transition: background 0.2s, transform 0.1s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--bg-white);
    color: var(--bg-dark);
}

.btn-primary:hover { background-color: #e6e6e6; }

.btn-secondary {
    background-color: #111111;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-secondary:hover { background-color: #222222; }

.btn-outline {
    background: transparent;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    width: 100%;
}

.btn-outline:hover {
    background: var(--text-main);
    color: var(--text-light);
}

.calendly-wrapper {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
}

/* Footer Section */
.main-footer {
    background-color: var(--bg-dark);
    color: #444444;
    padding: 40px 0;
    border-top: 1px solid #111111;
    font-size: 0.8rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.disclaimer {
    max-width: 500px;
    text-align: center;
}

/* --- Booking Modal Styling Architecture --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: var(--bg-white);
    color: var(--text-main);
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-20px);
    transition: transform 0.25s ease;
}

.modal-overlay.open .modal-box {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.modal-close-x {
    background: transparent;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    line-height: 1;
    color: var(--text-muted);
    transition: color 0.2s;
}

.modal-close-x:hover {
    color: var(--text-main);
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input {
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 0.95rem;
    background: var(--bg-white);
    color: var(--text-main);
}

.form-group input:focus {
    outline: none;
    border-color: #111111;
}

/* Minimalist Error Banner Styling */
.form-error-msg {
    background: #fff5f5;
    border: 1px solid #ffc9c9;
    color: #cc5c5c;
    padding: 10px 14px;
    border-radius: var(--border-radius);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
}

.modal-footer-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.btn-modal-close {
    background: var(--bg-gray);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}
.btn-modal-close:hover { background: #eef0f1; }

.btn-modal-send {
    background: var(--bg-dark);
    color: var(--text-light);
}
.btn-modal-send:hover { background: #222222; }

/* Mirror alignments cleanly for RTL context environments */
[dir="rtl"] .modal-header { text-align: right; }
[dir="rtl"] .form-group { text-align: right; }
[dir="rtl"] .modal-footer-actions { justify-content: flex-start; }

/* Mobile Responsiveness Matrices */
@media (max-width: 992px) {
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .certifications-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-menu {
        gap: 16px;
    }

    .nav-about {
        display: none !important;
    }

    .nav-contact .nav-link-text {
        display: none;
    }

    .nav-contact .nav-link-icon {
        display: inline-block;
        font-size: 1.2rem;
    }

    .lang-trigger {
        padding: 6px 8px;
    }
    .lang-trigger .lang-label {
        display: none;
    }

    .carousel-track { 
        overflow-x: auto;
        grid-template-columns: repeat(4, 280px);
    }
    
    /* Override scroll dimensions for the item block explicitly */
    .lang-items-container {
        max-height: calc(100vh - 190px);
    }
}