/* ==========================================================================
   1. SYSTEM RESET & BALANCED BASE STYLES
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

:root {
    /* Your Exact Color Palette */
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --accent: #2039dd;
    --dark: #2d3748;
    --light: #f7fafc;
    --white: #ffffff;
    --gray: #718096;
    --header-dark: #1a202c;
    
    /* Perfect Symmetry Tokens */
    --max-width: 1200px;
    --radius: 8px;
    --radius-sm: 4px;
    --transition: all 0.25s ease-in-out;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 25px rgba(26, 54, 93, 0.06);
    --shadow-lg: 0 15px 35px rgba(26, 54, 93, 0.1);
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
    background-color: var(--light);
}

body {
    color: var(--dark);
    line-height: 1.75; 
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Symmetrical Section Wrappers */
.section-wrapper, #about, #services, #contact {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 100px 24px;
}

#services {
    background: #edf2f7;
    max-width: 100%; 
}
.services-container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Prevent text overflow layout breaks */
span, a, p, h1, h2, h3 {
    word-break: break-word;
    hyphens: auto;
}

/* ==========================================================================
   2. STICKY NAVIGATION HEADER (PERFECTLY ALIGNED)
   ========================================================================== */
header {
    background: var(--header-dark);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
}

.brand-block {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 14px;
}

.company-logo {
    height: 56px;
    width: 56px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1.1;
}

.brand-subtitle {
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #e2e8f0;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-light);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-light);
    transition: transform 0.2s ease-in-out;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.lang-dropdown {
    background-color: #2d3748;
    color: var(--white);
    border: 1px solid #4a5568;
    padding: 8px 32px 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23ffffff' d='M0 0l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* ==========================================================================
   3. CENTRIC HERO SECTION
   ========================================================================== */
#hero {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.96), rgba(43, 108, 176, 0.92)), 
                url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=2070') no-repeat center center/cover;
    color: var(--white);
    padding: 160px 24px 130px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

#hero h1 {
    font-size: 52px;
    margin-bottom: 24px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

#hero p {
    font-size: 19px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 700px; 
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 14px 38px;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(32, 57, 221, 0.2);
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--primary-light);
    box-shadow: 0 6px 20px rgba(43, 108, 176, 0.3);
}

/* Balanced Section Titles */
.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin: 0 auto 60px auto;
    font-weight: 800;
    letter-spacing: -0.5px;
    max-width: 850px;       
    text-wrap: balance;     
    line-height: 1.35;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ==========================================================================
   4. WIDESCREEN ABOUT SECTION (EXPANSIVE EDITORIAL STACK)
   Stretches cleanly across the site's full grid width for an open feel.
   ========================================================================== */
.about-grid {
    display: flex;
    flex-direction: column;
    gap: 45px;
    width: 100%;
    max-width: var(--max-width); /* Opened up completely to standard layout boundaries */
    margin: 0 auto;         
}

.about-text {
    text-align: left;       /* Swapped to left-aligned for natural reading across wide space */
}

.about-text p {
    margin-bottom: 24px;
    color: var(--gray);
    font-size: 16.5px;
    line-height: 1.8;
    text-wrap: pretty;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* Expansive full-width structural quote bar */
.quote-box {
    background: var(--white);
    border-left: 5px solid var(--accent);
    padding: 40px;
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    font-style: italic;
    font-size: 16.5px;
    color: var(--dark);
    line-height: 1.75;
    text-align: left;       
    width: 100%;
}

/* ==========================================================================
   5. SERVICES GRID (UNIFORM COMPONENT HEIGHTS)
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: stretch; 
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 45px 35px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column; 
    border-top: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--accent);
}

.service-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 14px;
    font-weight: 700;
    text-wrap: balance;
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    margin-bottom: 24px;
}

.service-list {
    list-style: none;
    margin-top: auto; 
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.service-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--dark);
}

.service-list li:last-child {
    margin-bottom: 0;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ==========================================================================
   6. CONTACT SECTION (BALANCED SIDE-BY-SIDE GRID)
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 40px;
    align-items: stretch; 
}

.contact-info {
    background: var(--primary);
    color: var(--white);
    padding: 45px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    margin-bottom: 30px;
    font-size: 26px;
    font-weight: 700;
}

.info-item {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.info-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.info-item strong {
    display: block;
    color: var(--primary-light);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 15px;
    opacity: 0.95;
}

.contact-form {
    background: var(--white);
    padding: 45px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr; 
    gap: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 13px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input, select, textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #cbd5e0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    color: var(--dark);
    background-color: var(--white);
    outline: none;
    transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

button[type="submit"] {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    margin-top: 10px;
}

button[type="submit"]:hover {
    background: var(--primary-light);
}

/* ==========================================================================
   7. ANIMATIONS & FOOTER
   ========================================================================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    animation: smoothFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }

@keyframes smoothFadeIn {
    to { opacity: 1; transform: translateY(0); }
}

.class-scroll-animate {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.class-scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background: #1a202c;
    color: var(--gray);
    padding: 45px 24px;
    text-align: center;
    font-size: 14px;
    border-top: 1px solid #2d3748;
}

/* ==========================================================================
   8. RESPONSIVE BREAKPOINTS (FLUID DOWNSCALING)
   ========================================================================== */
/* Hide the mobile menu button by default on desktop screens */
.mobile-menu-toggle {
    display: none;
}
   @media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; 
        gap: 40px;
    }
    .section-title {
        font-size: 30px;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    .section-wrapper, #about, #services, #contact {
        padding: 70px 20px;
    }

    #hero {
        padding: 120px 20px 90px;
    }
    
    #hero h1 {
        font-size: 34px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .class-scroll-animate {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Mobile Menu Drawer Layout Mechanics */
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 26px;
        height: 18px;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu-toggle .bar {
        height: 2.5px;
        width: 100%;
        background-color: var(--white);
        border-radius: var(--radius);
        transition: var(--transition);
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-dark);
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        gap: 0;
        max-height: 0;
        opacity: 0;
        overflow: hidden !important; 
        transition: all 0.35s ease-in-out;
        display: flex; 
    }

    .nav-links.active {
        max-height: 400px;
        padding: 24px 0;
        opacity: 1;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        display: block;
        padding: 12px 0;
    }

    .nav-links .lang-dropdown {
        margin: 12px 0 4px;
    }

    .mobile-menu-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Prevent Language Shifts */
[data-i18n^="nav-"] {
    white-space: nowrap !important;
}
.decoy-buffer-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}





.footer-social-container {
  display: flex;
  gap: 12px;
  justify-content: center; 
  align-items: center;
  padding: 15px 20px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%; /* Perfect circles */
  color: #ffffff !important;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-btn:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

/* Facebook Blue */
.facebook-btn {
  background-color: #1877F2; 
}

/* Instagram Gradient */
.instagram-btn {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Google Maps Multi-Color Gradient */
.maps-btn {
  background: linear-gradient(135deg, 
    #4285F4 0%, /* Google Blue */
    #EA4335 35%, /* Google Red */
    #FBBC05 65%, /* Google Yellow */
    #34A853 100% /* Google Green */
  );
}