/* Base Variables */
:root {
    --primary-color: #F05A28; /* Brand Orange */
    --primary-dark: #d04516;
    --secondary-color: #1E293B; /* Brand Slate / Dark Navy */
    --secondary-dark: #0f172a;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --text-main: #334155;
    --text-muted: #64748b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --duration-fast: 180ms;
    --duration-normal: 420ms;
    --duration-slow: 800ms;
    --ease-out-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
    --page-gutter: clamp(1rem, 4vw, 2rem);
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
}

.page-progress {
    position: fixed;
    inset-block-start: 0;
    inset-inline-start: 0;
    z-index: 1200;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left center;
    pointer-events: none;
    will-change: transform;
}

.water-ripple-canvas {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: .48;
    mix-blend-mode: normal;
    filter: sepia(1) saturate(5.2) hue-rotate(330deg) contrast(1.16);
}

.hero > .container {
    z-index: 3 !important;
}

.hero .carousel-controls,
.hero .carousel-dots {
    z-index: 4;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
    .water-ripple-canvas { display: none; }
}

html[dir="rtl"] .page-progress { transform-origin: right center; }

.form-group label {
    display: block;
    margin-block-end: .45rem;
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
}

.contact-form-wrapper > h3,
.contact-form .form-privacy {
    color: #fff;
}

.profile-button {
    border-color: rgba(255,255,255,.7);
    color: #fff;
}

.btn-profile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.42);
    backdrop-filter: blur(8px);
}

.btn-profile:hover {
    color: #fff;
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.7);
    transform: translateY(-2px);
}

.form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
}

.form-row .form-group { min-width: 0; }

@media (max-width: 560px) {
    .form-row { grid-template-columns: 1fr; }
}

.contact-info a:not(.btn) { text-underline-offset: 4px; }
.contact-info a:not(.btn):hover { color: #ffb08f; }

.carousel { touch-action: pan-y pinch-zoom; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .carousel-item { transform: none !important; }
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

body {
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body { overflow-x: hidden; }
}

img,
video,
canvas,
svg {
    max-width: 100%;
}

main,
section,
header,
nav,
footer {
    max-width: 100%;
}

/* For English Language Toggle */
html[dir="ltr"] body {
    font-family: 'IBM Plex Sans', sans-serif;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Amiri', serif;
    color: var(--secondary-color);
    line-height: 1.2;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: calc(1200px + (2 * var(--page-gutter)));
    margin: 0 auto;
    padding-left: max(var(--page-gutter), var(--safe-left));
    padding-right: max(var(--page-gutter), var(--safe-right));
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--secondary-dark);
}

.text-center {
    text-align: center;
}

.text-white, .text-white h2, .text-white h3, .text-white h4, .text-white p {
    color: var(--text-light);
}

/* Utilities */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-primary-sm {
    background-color: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
}

.btn-primary-sm:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

.btn-block {
    display: block;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.title-underline {
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    margin-bottom: 2rem;
    border-radius: 2px;
}

.center-underline {
    margin: 0 auto 3rem auto;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-normal);
    padding: calc(1rem + var(--safe-top)) 0 1rem;
}

.navbar.scrolled {
    padding: calc(0.5rem + var(--safe-top)) 0 0.5rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: height var(--transition-normal);
}

.navbar.scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--secondary-color);
    position: relative;
}

.nav-links a:not(.btn-primary-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-links a:not(.btn-primary-sm):hover::after {
    width: 100%;
}

html[dir="ltr"] .nav-links a:not(.btn-primary-sm)::after {
    left: auto;
    right: 0;
}

html[dir="ltr"] .nav-links a:not(.btn-primary-sm):hover::after {
    left: 0;
    right: auto;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    color: var(--secondary-color);
    transition: var(--transition-fast);
}

.lang-btn:hover {
    background-color: var(--bg-light);
    border-color: var(--secondary-color);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    height: 100dvh;
    background-color: white;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    z-index: 1001;
    padding: calc(5rem + var(--safe-top)) max(2rem, calc(var(--safe-right) + 1rem)) calc(2rem + var(--safe-bottom)) max(2rem, calc(var(--safe-left) + 1rem));
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: translateX(105%);
    transition: transform var(--transition-normal);
}

html[dir="ltr"] .mobile-menu {
    right: auto;
    left: 0;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transform: translateX(-105%);
    transition: transform var(--transition-normal);
}

.mobile-menu.active {
    transform: translateX(0);
}

html[dir="ltr"] .mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-close {
    position: absolute;
    top: calc(1.5rem + var(--safe-top));
    right: max(1.5rem, var(--safe-right));
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--secondary-color);
}

html[dir="ltr"] .mobile-menu-close {
    right: auto;
    left: max(1.5rem, var(--safe-left));
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.9) 0%, rgba(30, 41, 59, 0.5) 100%);
}

html[dir="ltr"] .overlay {
    background: linear-gradient(90deg, rgba(30, 41, 59, 0.5) 0%, rgba(30, 41, 59, 0.9) 100%);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    right: 5%;
    z-index: 3;
    display: flex;
    gap: 10px;
}

html[dir="ltr"] .carousel-controls {
    right: auto;
    left: 5%;
    flex-direction: row-reverse;
}

.carousel-controls button {
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.carousel-controls button:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 600px;
    text-align: left;
}
html[dir="rtl"] .hero-content {
    text-align: right;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    white-space: nowrap;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* About Us Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
}

.mv-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 8px;
    border-right: 4px solid var(--primary-color);
    transition: transform var(--transition-fast);
}

html[dir="ltr"] .mv-box {
    border-right: none;
    border-left: 4px solid var(--primary-color);
}

.mv-box:hover {
    transform: translateY(-5px);
}

.mv-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-image {
    padding: 10px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition-normal);
}

html[dir="ltr"] .service-card::before {
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-list li {
    margin-bottom: 0.5rem;
    color: var(--text-main);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-list i {
    color: var(--primary-color);
    margin-top: 5px;
}

/* Why Us Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-box {
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    position: relative;
    transition: all var(--transition-normal);
}

.feature-box:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.feature-number {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

html[dir="ltr"] .feature-number {
    right: auto;
    left: 20px;
}

.feature-box h3 {
    margin-top: 10px;
    margin-bottom: 1rem;
}

.feature-box p {
    color: var(--text-muted);
}

/* Sectors Section */
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.sector-item {
    background: white;
    padding: 2rem 1rem;
    text-align: center;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    cursor: default;
}

.sector-item:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
    color: white;
}

.sector-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: block;
    transition: color var(--transition-fast);
}

.sector-item:hover i {
    color: white;
}

.sector-item span {
    font-weight: 600;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--bg-light);
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: #e2e8f0;
}

.faq-question h4 {
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    padding-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.detail-item h4 {
    color: white;
    margin-bottom: 0.3rem;
}

.detail-item p {
    color: #cbd5e1;
}

.profile-download {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.contact-form-wrapper {
    padding: 3rem;
}

.contact-form-wrapper h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255,255,255,0.9);
    border: 1px solid transparent;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

/* Footer */
.footer {
    background: #0b1120;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 10px;
    filter: brightness(0) invert(1);
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    margin-left: 10px;
}

html[dir="ltr"] .footer-social a {
    margin-left: 0;
    margin-right: 10px;
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-copyright {
    width: 100%;
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: max(30px, calc(var(--safe-bottom) + 18px));
    left: max(30px, calc(var(--safe-left) + 18px));
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform var(--transition-fast);
}

html[dir="ltr"] .whatsapp-btn {
    left: auto;
    right: max(30px, calc(var(--safe-right) + 18px));
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-container, .contact-container {
        grid-template-columns: 1fr;
    }
    
    .mission-vision {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-icon {
        display: block;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    html[dir="ltr"] .footer-social a {
        margin: 0 5px;
    }
    html[dir="rtl"] .footer-social a {
        margin: 0 5px;
    }
}

/* =========================================================
   Professional motion, trust and accessibility enhancements
   ========================================================= */
:root {
    --primary-soft: rgba(240, 90, 40, 0.12);
    --primary-glow: rgba(240, 90, 40, 0.28);
    --surface-raised: rgba(255, 255, 255, 0.96);
    --shadow-card: 0 18px 45px -24px rgba(15, 23, 42, 0.35);
    --shadow-premium: 0 28px 70px -32px rgba(15, 23, 42, 0.55);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --nav-height: 86px;
}

html {
    scroll-padding-top: calc(var(--nav-height) + 20px);
}

body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--primary-color);
    color: #fff;
}

.skip-link {
    position: fixed;
    top: 12px;
    inset-inline-start: 12px;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    background: var(--secondary-dark);
    color: #fff;
    transform: translateY(-150%);
    transition: transform 180ms ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 3px solid rgba(240, 90, 40, 0.42);
    outline-offset: 3px;
}

.section {
    position: relative;
    padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.section-header {
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.025em;
}

.title-underline {
    position: relative;
    overflow: hidden;
    width: 72px;
    height: 5px;
    box-shadow: 0 5px 15px var(--primary-glow);
}

.title-underline::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    transform: translateX(-120%);
    animation: underlineShine 4s var(--ease-premium) infinite;
}

@keyframes underlineShine {
    0%, 60% { transform: translateX(-120%); }
    82%, 100% { transform: translateX(160%); }
}

.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 48px;
    border-radius: 8px;
    transition: transform 280ms var(--ease-premium), box-shadow 280ms var(--ease-premium), background-color 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    inset-inline-start: -45%;
    width: 32%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
    transform: skewX(-18deg);
    transition: inset-inline-start 650ms var(--ease-premium);
}

.btn:hover::before {
    inset-inline-start: 120%;
}

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

.btn:active {
    transform: translateY(-1px) scale(0.99);
}

.btn-primary {
    box-shadow: 0 10px 30px -14px rgba(240, 90, 40, 0.75);
}

.btn-outline {
    border-color: rgba(255,255,255,.78);
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(8px);
}

/* Navbar */
.navbar {
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 8px 30px -24px rgba(15, 23, 42, 0.45);
    transition: padding 320ms var(--ease-premium), background-color 320ms ease, box-shadow 320ms ease, transform 320ms var(--ease-premium);
}

.navbar.scrolled {
    background: rgba(255,255,255,.94);
    box-shadow: 0 14px 42px -28px rgba(15, 23, 42, 0.6);
}

.logo img {
    display: block;
    width: auto;
    object-fit: contain;
}

.nav-links a:not(.btn-primary-sm)::after {
    height: 3px;
    border-radius: 99px;
    transition: width 320ms var(--ease-premium);
}

.nav-links a.active:not(.btn-primary-sm) {
    color: var(--primary-color);
}

.nav-links a.active:not(.btn-primary-sm)::after {
    width: 100%;
}

.btn-primary-sm,
.lang-btn {
    transition: transform 220ms var(--ease-premium), box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.btn-primary-sm:hover,
.lang-btn:hover {
    transform: translateY(-2px);
}

.lang-btn {
    border-radius: 7px;
    background: rgba(248,250,252,.75);
}

.mobile-menu-icon,
.mobile-menu-close {
    border: 0;
    background: transparent;
    font-family: inherit;
}

.mobile-menu-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    transition: background-color 180ms ease, transform 220ms var(--ease-premium);
}

.mobile-menu-icon:hover {
    background: var(--bg-light);
    transform: scale(1.04);
}

.menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 320ms ease, visibility 320ms ease;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    width: min(86%, 360px);
    max-width: 360px;
    padding: calc(5.5rem + var(--safe-top)) max(2rem, calc(var(--safe-right) + 1rem)) calc(2rem + var(--safe-bottom)) max(2rem, calc(var(--safe-left) + 1rem));
    border-inline-start: 1px solid rgba(226, 232, 240, 0.8);
    transition: transform 420ms var(--ease-premium), box-shadow 420ms ease;
}

.mobile-menu.active {
    box-shadow: -24px 0 70px -30px rgba(15, 23, 42, .55);
}

.mobile-menu-close {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: transform 250ms var(--ease-premium), background 200ms ease;
}

.mobile-menu-close:hover {
    background: var(--bg-light);
    transform: rotate(90deg);
}

.mobile-link {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 180ms ease, padding-inline-start 260ms var(--ease-premium);
}

.mobile-link:hover {
    color: var(--primary-color);
    padding-inline-start: 8px;
}

/* Hero */
.hero {
    min-height: max(680px, 100svh);
    isolation: isolate;
    background: var(--secondary-dark);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 15% 28%, rgba(240, 90, 40, .17), transparent 28%),
        linear-gradient(to bottom, transparent 72%, rgba(15, 23, 42, .35));
}

.carousel-item {
    transform: scale(1.055);
    filter: saturate(.92) contrast(1.03);
    transition: opacity 1.15s ease, transform 7.5s linear, filter 1.15s ease;
    will-change: opacity, transform;
}

.carousel-item.active {
    transform: scale(1);
    filter: saturate(1) contrast(1.04);
}

.overlay {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.28) 100%);
}

html[dir="ltr"] .overlay {
    background:
        linear-gradient(90deg, rgba(15, 23, 42, 0.28) 0%, rgba(15, 23, 42, 0.72) 58%, rgba(15, 23, 42, 0.94) 100%);
}

.hero-content {
    max-width: 720px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    margin-bottom: 1.2rem;
    padding: .58rem .9rem;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    color: #fff;
    font-size: .92rem;
    font-weight: 600;
    animation: fadeInUp .9s var(--ease-premium) both;
}

.hero-eyebrow i {
    color: var(--primary-color);
}

.hero-content h1 {
    font-size: clamp(2.65rem, 6vw, 4.7rem);
    letter-spacing: -0.035em;
    white-space: nowrap;
    text-shadow: 0 8px 30px rgba(0,0,0,.22);
    animation: fadeInUp .95s var(--ease-premium) .08s both;
}

.hero-content p {
    max-width: 620px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    animation: fadeInUp .95s var(--ease-premium) .18s both;
}

.hero-btns {
    flex-wrap: wrap;
    animation: fadeInUp .95s var(--ease-premium) .3s both;
}

.carousel-controls {
    align-items: center;
    bottom: 42px;
}

.carousel-controls button {
    width: 46px;
    height: 46px;
    backdrop-filter: blur(10px);
    transition: transform 240ms var(--ease-premium), background 200ms ease, border-color 200ms ease;
}

.carousel-controls button:hover {
    transform: translateY(-3px) scale(1.03);
}

.carousel-dots {
    position: absolute;
    z-index: 4;
    bottom: 44px;
    left: 50%;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.carousel-dot {
    position: relative;
    width: 34px;
    height: 4px;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 99px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
}

.carousel-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #fff;
    transform: scaleX(0);
    transform-origin: left;
}

.carousel-dot.active::after {
    animation: carouselProgress var(--slide-duration, 6500ms) linear forwards;
}

.carousel.is-paused .carousel-dot.active::after {
    animation-play-state: paused;
}

html[dir="rtl"] .carousel-dot::after {
    transform-origin: right;
}

@keyframes carouselProgress {
    to { transform: scaleX(1); }
}

/* Trust strip */
.trust-strip {
    position: relative;
    z-index: 5;
    margin-top: -1px;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    box-shadow: 0 16px 40px -36px rgba(15,23,42,.5);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 112px;
    padding: 1.5rem 2rem;
    border-inline-end: 1px solid var(--border-color);
}

.trust-item:last-child {
    border-inline-end: 0;
}

.trust-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary-soft);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.trust-item div {
    display: grid;
    gap: .15rem;
}

.trust-item strong {
    color: var(--secondary-color);
    font-size: 1rem;
}

.trust-item span:last-child {
    color: var(--text-muted);
    font-size: .9rem;
}

/* Content cards */
.about-image {
    position: relative;
    padding: 8px;
    overflow: hidden;
}

.about-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(240,90,40,.2), rgba(30,41,59,.08));
}

.about-image img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 850ms var(--ease-premium), filter 500ms ease;
}

.about-image:hover img {
    transform: scale(1.035);
    filter: saturate(1.04);
}

.mv-box,
.service-card,
.feature-box,
.sector-item,
.faq-item {
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(226, 232, 240, .86);
}

.mv-box {
    background: linear-gradient(145deg, #fff, #f8fafc);
    border-inline-start: 4px solid var(--primary-color);
    border-inline-end: 1px solid rgba(226,232,240,.86);
    transition: transform 320ms var(--ease-premium), box-shadow 320ms ease;
}

html[dir="rtl"] .mv-box,
html[dir="ltr"] .mv-box {
    border-right: 1px solid rgba(226,232,240,.86);
    border-left: 1px solid rgba(226,232,240,.86);
    border-inline-start: 4px solid var(--primary-color);
}

.mv-box:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-premium);
}

.service-card {
    min-height: 100%;
    border-radius: 16px;
    box-shadow: 0 14px 36px -28px rgba(15,23,42,.45);
    transition: transform 420ms var(--ease-premium), box-shadow 420ms ease, border-color 300ms ease;
}

.service-card::before {
    height: 5px;
    transition: transform 420ms var(--ease-premium);
}

.service-card::after {
    content: "";
    position: absolute;
    top: -90px;
    inset-inline-end: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary-soft), transparent 68%);
    opacity: 0;
    transition: opacity 350ms ease, transform 500ms var(--ease-premium);
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(240,90,40,.22);
    box-shadow: var(--shadow-premium);
}

.service-card:hover::after {
    opacity: 1;
    transform: scale(1.18);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 18px;
    background: var(--primary-soft);
    font-size: 2rem;
    transition: transform 380ms var(--ease-premium), background 300ms ease;
}

.service-card:hover .service-icon {
    transform: translateY(-4px) rotate(-3deg);
    background: rgba(240,90,40,.17);
}

.feature-box {
    overflow: visible;
    min-height: 190px;
    border-radius: 14px;
    background: #fff;
    transition: transform 360ms var(--ease-premium), box-shadow 360ms ease, border-color 260ms ease;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
}

.feature-number {
    border-radius: 0 0 0 14px;
    box-shadow: none;
    transition: background 260ms ease, transform 320ms var(--ease-premium);
}

html[dir="ltr"] .feature-number {
    border-radius: 0 0 14px 0;
}

.feature-box:hover .feature-number {
    background: var(--primary-color);
    transform: scale(1.08);
}

.sector-item {
    border-radius: 14px;
    box-shadow: 0 12px 28px -24px rgba(15,23,42,.45);
    transition: transform 340ms var(--ease-premium), background-color 280ms ease, color 280ms ease, box-shadow 340ms ease;
}

.sector-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px -28px rgba(240,90,40,.65);
}

.sector-item i {
    transition: color 240ms ease, transform 340ms var(--ease-premium);
}

.sector-item:hover i {
    transform: translateY(-3px) scale(1.06);
}

/* FAQ */
.faq-item {
    border-radius: 12px;
    box-shadow: 0 8px 25px -24px rgba(15,23,42,.4);
    transition: border-color 240ms ease, box-shadow 300ms ease, transform 300ms var(--ease-premium);
}

.faq-item:hover,
.faq-item.active {
    border-color: rgba(240,90,40,.3);
    box-shadow: var(--shadow-card);
}

.faq-item.active {
    transform: translateY(-2px);
}

.faq-question {
    gap: 1rem;
    background: #fff;
    transition: background-color 220ms ease;
}

.faq-question:hover,
.faq-item.active .faq-question {
    background: #fff8f5;
}

.faq-question i {
    flex: 0 0 auto;
    transition: transform 320ms var(--ease-premium);
}

.faq-answer {
    opacity: 0;
    transition: max-height 420ms var(--ease-premium), padding 420ms var(--ease-premium), opacity 260ms ease;
}

.faq-item.active .faq-answer {
    max-height: 420px;
    opacity: 1;
}

/* Contact and form */
.contact {
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 22%, rgba(240,90,40,.13), transparent 27%),
        radial-gradient(circle at 88% 84%, rgba(255,255,255,.06), transparent 28%),
        var(--secondary-dark);
}

.contact::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 80%, transparent);
}

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

.detail-item {
    padding: .85rem 0;
}

.detail-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(240,90,40,.13);
}

.contact-form-wrapper {
    border-color: rgba(255,255,255,.16);
    border-radius: 18px;
    background: rgba(255,255,255,.1);
    box-shadow: 0 30px 70px -35px rgba(0,0,0,.65);
}

.form-group input,
.form-group select,
.form-group textarea {
    border-radius: 9px;
    border-color: rgba(255,255,255,.2);
    box-shadow: 0 8px 24px -24px rgba(15,23,42,.55);
    transition: border-color 200ms ease, box-shadow 220ms ease, transform 220ms var(--ease-premium), background-color 200ms ease;
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: rgba(240,90,40,.32);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    transform: translateY(-1px);
    box-shadow: 0 0 0 4px rgba(240,90,40,.14), 0 12px 28px -24px rgba(15,23,42,.5);
}

.form-group input:user-invalid,
.form-group select:user-invalid,
.form-group textarea:user-invalid {
    border-color: #dc2626;
}

.contact-form button.is-loading .btn-label {
    opacity: .72;
}

.btn-spinner {
    display: none;
    width: 18px;
    height: 18px;
    margin-inline-start: .55rem;
    vertical-align: middle;
    border: 2px solid rgba(255,255,255,.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

.contact-form button.is-loading .btn-spinner {
    display: inline-block;
}

@keyframes spin { to { transform: rotate(360deg); } }

.form-privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    margin-top: 1rem;
    color: #cbd5e1;
    font-size: .82rem;
}

.form-privacy i {
    color: #86efac;
}

.form-status {
    display: none;
    margin-top: 1rem;
    padding: .9rem 1rem;
    border-radius: 8px;
    font-size: .92rem;
}

.form-status.success,
.form-status.error {
    display: block;
}

.form-status.success {
    color: #dcfce7;
    border: 1px solid rgba(34,197,94,.35);
    background: rgba(22,101,52,.26);
}

.form-status.error {
    color: #fee2e2;
    border: 1px solid rgba(239,68,68,.35);
    background: rgba(127,29,29,.28);
}

/* Footer and floating controls */
.footer-social a {
    transition: transform 260ms var(--ease-premium), background-color 220ms ease, box-shadow 260ms ease;
}

.footer-social a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -14px rgba(240,90,40,.7);
}

.whatsapp-btn {
    width: 58px;
    height: 58px;
    box-shadow: 0 16px 35px -18px rgba(37,211,102,.8);
    transition: transform 280ms var(--ease-premium), box-shadow 280ms ease;
}

.whatsapp-btn::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 1px solid rgba(37,211,102,.55);
    border-radius: 50%;
    animation: whatsappPulse 2.4s ease-out infinite;
}

@keyframes whatsappPulse {
    0% { opacity: .7; transform: scale(.88); }
    75%,100% { opacity: 0; transform: scale(1.35); }
}

.back-to-top {
    position: fixed;
    right: max(30px, calc(var(--safe-right) + 18px));
    bottom: max(30px, calc(var(--safe-bottom) + 18px));
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: var(--secondary-color);
    color: #fff;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 240ms ease, visibility 240ms ease, transform 320ms var(--ease-premium), background-color 200ms ease;
}

html[dir="ltr"] .back-to-top {
    right: auto;
    left: max(30px, calc(var(--safe-left) + 18px));
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

/* Scroll-reveal system */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 760ms var(--ease-premium), transform 760ms var(--ease-premium);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal.reveal-left {
    transform: translateX(42px);
}

.reveal.reveal-right {
    transform: translateX(-42px);
}

html[dir="ltr"] .reveal.reveal-left {
    transform: translateX(-42px);
}

html[dir="ltr"] .reveal.reveal-right {
    transform: translateX(42px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Responsive refinements */
@media (max-width: 992px) {
    .trust-item {
        padding-inline: 1.2rem;
    }

    .contact-form-wrapper {
        max-width: 760px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root { --nav-height: 76px; }

    .reveal.reveal-left,
    .reveal.reveal-right,
    html[dir="ltr"] .reveal.reveal-left,
    html[dir="ltr"] .reveal.reveal-right {
        transform: translateY(24px);
    }

    .reveal.is-visible {
        transform: translate(0, 0);
    }

    .navbar {
        padding: calc(.72rem + var(--safe-top)) 0 .72rem;
    }

    .logo img {
        max-width: 190px;
        height: 44px;
    }

    .mobile-menu-icon {
        display: inline-flex;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
        height: auto;
        padding: calc(7.25rem + var(--safe-top)) 0 calc(6.25rem + var(--safe-bottom));
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-content h1 {
        font-size: clamp(2.5rem, 11vw, 3.35rem);
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.12;
    }

    .hero-btns .btn {
        flex: 1 1 180px;
    }

    .hero-btns {
        width: 100%;
        gap: .75rem;
    }

    .mobile-menu {
        width: min(88vw, 360px);
    }

    .about-image img {
        width: 100%;
        height: auto;
        max-height: 480px;
        object-fit: cover;
    }

    input,
    select,
    textarea {
        max-width: 100%;
        font-size: 16px;
    }

    .carousel-controls {
        bottom: 28px;
    }

    .carousel-dots {
        bottom: 32px;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        min-height: auto;
        padding: 1.2rem .4rem;
        border-inline-end: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .trust-item:last-child {
        border-bottom: 0;
    }

    .contact-form-wrapper {
        padding: 2rem 1.25rem;
    }

    .whatsapp-btn {
        bottom: max(20px, calc(var(--safe-bottom) + 12px));
        left: max(20px, calc(var(--safe-left) + 12px));
        width: 54px;
        height: 54px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(16px);
        transition: opacity 240ms ease, visibility 240ms ease, transform 320ms var(--ease-premium);
    }

    .whatsapp-btn.visible {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    html[dir="ltr"] .whatsapp-btn {
        right: max(20px, calc(var(--safe-right) + 12px));
    }

    .back-to-top {
        right: max(20px, calc(var(--safe-right) + 12px));
        bottom: max(84px, calc(var(--safe-bottom) + 76px));
        width: 44px;
        height: 44px;
    }

    html[dir="ltr"] .back-to-top {
        left: max(20px, calc(var(--safe-left) + 12px));
    }
}

@media (max-width: 520px) {
    .container { width: 100%; }
    .section { padding: 4.25rem 0; }
    .hero-eyebrow { font-size: .8rem; }
    .hero {
        min-height: 100vh;
        min-height: 100svh;
        padding-block: calc(7rem + var(--safe-top)) calc(5.75rem + var(--safe-bottom));
    }
    .hero-content h1 { font-size: clamp(2.15rem, 12vw, 2.8rem); }
    .hero-content p { font-size: .98rem; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn {
        flex: 0 0 auto;
        width: 100%;
        min-height: 50px;
    }
    .carousel-controls { display: none; }
    .carousel-dots { bottom: 26px; }
    .services-grid, .features-grid { grid-template-columns: 1fr; }
    .service-card, .feature-box { padding: 1.55rem; }
    .sectors-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sector-item {
        min-width: 0;
        padding-inline: .75rem;
        overflow-wrap: anywhere;
    }
    .contact-form-wrapper { padding: 1.5rem 1rem; }
    .contact-details .detail-item { align-items: flex-start; }
    .footer-logo img { max-width: min(210px, 80vw); }
}

@media (max-width: 350px) {
    .container { width: 100%; }
    .logo img { max-width: 155px; }
    .hero { min-height: 100vh; min-height: 100svh; }
    .hero-eyebrow { padding-inline: .7rem; }
    .sectors-grid { grid-template-columns: 1fr; }
    .mobile-menu { width: 92vw; }
}

/* ============================================================
   FRAMER-STYLE INTERACTION LAYER
   Spring motion, masked reveals and tactile micro-interactions
   ============================================================ */
:root {
    --ease-spring: linear(0, .009, .035 2.1%, .141 4.4%, .723 12.9%, .938 16.7%, 1.017 20.4%, 1.042 23.9%, 1.038 27.8%, 1.007 36.1%, .997 40%, 1);
}

.btn,
.btn-primary-sm,
.lang-btn,
.carousel-controls button {
    translate: var(--magnetic-x, 0) var(--magnetic-y, 0);
    transition-property: translate, transform, background-color, border-color, color, box-shadow;
    transition-duration: 520ms;
    transition-timing-function: var(--ease-spring);
    will-change: translate;
}

.btn i,
.btn svg {
    transition: transform var(--duration-normal) var(--ease-out-premium);
}

.btn:hover i,
.btn:hover svg {
    transform: translateX(-3px);
}

html[dir="ltr"] .btn:hover i,
html[dir="ltr"] .btn:hover svg {
    transform: translateX(3px);
}

.service-card,
.sector-item,
.mv-box {
    isolation: isolate;
    overflow: hidden;
}

.feature-box {
    isolation: isolate;
    overflow: visible;
}

.feature-box::after {
    border-radius: inherit;
    clip-path: inset(0 round 14px);
}

.feature-number {
    z-index: 3;
}

.service-card::after,
.feature-box::after,
.sector-item::after,
.mv-box::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(260px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(240, 90, 40, .13), transparent 68%);
    transition: opacity var(--duration-normal) var(--ease-standard);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover::after,
    .feature-box:hover::after,
    .sector-item:hover::after,
    .mv-box:hover::after {
        opacity: 1;
    }
}

.reveal {
    transition-duration: 760ms;
    transition-timing-function: var(--ease-spring);
}

.section-header.reveal .section-title,
.about-text.reveal .section-title,
.contact-info.reveal .section-title {
    opacity: 0;
    transform: translateY(24px);
    clip-path: inset(0 0 100% 0);
    transition: opacity 650ms var(--ease-out-premium),
                transform 780ms var(--ease-spring),
                clip-path 780ms var(--ease-out-premium);
}

.section-header.reveal.is-visible .section-title,
.about-text.reveal.is-visible .section-title,
.contact-info.reveal.is-visible .section-title {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
}

.service-card.reveal,
.feature-box.reveal,
.sector-item.reveal {
    transform: translateY(28px) scale(.975);
}

.service-card.reveal.is-visible,
.feature-box.reveal.is-visible,
.sector-item.reveal.is-visible {
    transform: translateY(0) scale(1);
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 520ms var(--ease-out-premium), opacity 320ms ease;
}

.faq-answer > * { overflow: hidden; }
.faq-item.active .faq-answer { grid-template-rows: 1fr; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .section-title,
    .service-card,
    .feature-box,
    .sector-item {
        clip-path: none !important;
        translate: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .carousel-item { transform: none; }
}

/* ============================================================
   SECTION COLOR VARIETY — Brand Palette
   Primary  #F05A28  |  Accent #1a365d  |  Secondary #27576c
   Neutral  #e5eff7  |  White  #ffffff
   ============================================================ */

/* Trust Strip — warm cream with orange top stripe */
.trust-strip {
    background: linear-gradient(135deg, #fff8f5 0%, #fff3ee 100%);
    border-top: 3px solid #F05A28;
    border-bottom: 1px solid rgba(240,90,40,.15);
}
.trust-item {
    border-inline-end-color: rgba(240,90,40,.15) !important;
}
.trust-icon {
    background: rgba(240,90,40,.12) !important;
    color: #F05A28 !important;
}
.trust-item strong {
    color: #1a365d !important;
}

/* About — clean white */
#about.section {
    background: #ffffff;
}

/* Services — deep accent navy */
#services.section {
    background: linear-gradient(160deg, #1a365d 0%, #0f2540 100%) !important;
}
#services .section-title {
    color: #ffffff !important;
}
#services .title-underline {
    background: #F05A28 !important;
}
#services .service-card {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
}
#services .service-card h3 {
    color: #ffffff !important;
}
#services .service-card p {
    color: #a8c1dc !important;
}
#services .service-icon {
    color: #F05A28 !important;
}
#services .service-list li {
    color: #c8ddef !important;
}
#services .service-list i {
    color: #F05A28 !important;
}
#services .service-card:hover {
    background: rgba(240,90,40,.18) !important;
    border-color: rgba(240,90,40,.55) !important;
}

/* Services — restrained Apple-style frosted glass */
#services.section {
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 20%, rgba(240,90,40,.16), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(115,164,205,.14), transparent 30%),
        linear-gradient(155deg, #1a365d 0%, #0d223b 100%) !important;
}

#services .service-card {
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.055)) !important;
    border: 1px solid rgba(255,255,255,.22) !important;
    border-top-color: rgba(255,255,255,.38) !important;
    border-radius: 22px;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.16),
        0 28px 70px -38px rgba(0,0,0,.72);
    backdrop-filter: blur(22px) saturate(135%);
    -webkit-backdrop-filter: blur(22px) saturate(135%);
    transition: transform var(--duration-normal) var(--ease-out-premium),
                background var(--duration-normal) ease,
                border-color var(--duration-normal) ease,
                box-shadow var(--duration-normal) ease;
}

#services .service-card::before {
    inset: 0 18%;
    width: auto;
    height: 1px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent);
    transform: none;
    opacity: .72;
}

#services .service-card::after {
    width: 170px;
    height: 170px;
    top: -105px;
    inset-inline-end: -90px;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 68%);
    opacity: .45;
}

#services .service-icon {
    color: #ff7547 !important;
    background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.07));
    border: 1px solid rgba(255,255,255,.2);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 25px -18px #000;
}

#services .service-card:hover {
    transform: translateY(-7px);
    background: linear-gradient(145deg, rgba(255,255,255,.18), rgba(255,255,255,.075)) !important;
    border-color: rgba(255,255,255,.34) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.2),
        0 34px 78px -38px rgba(0,0,0,.8);
}

#services .service-card:hover .service-icon {
    transform: translateY(-3px) scale(1.025);
    background: linear-gradient(145deg, rgba(240,90,40,.24), rgba(255,255,255,.08));
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    #services .service-card { background: rgba(38,67,101,.96) !important; }
}

@media (max-width: 768px) {
    #services .service-card {
        border-radius: 18px;
        backdrop-filter: blur(14px) saturate(125%);
        -webkit-backdrop-filter: blur(14px) saturate(125%);
    }
}

@media (prefers-reduced-motion: reduce) {
    #services .service-card:hover,
    #services .service-card:hover .service-icon { transform: none; }
}

/* Why Us — light blue neutral */
#why-us.section {
    background: linear-gradient(160deg, #e5eff7 0%, #d8e8f4 100%);
}
#why-us .section-title {
    color: #1a365d !important;
}
#why-us .feature-box {
    background: #ffffff;
    border-color: #c2d9ee;
}
#why-us .feature-box:hover {
    border-color: #F05A28;
    box-shadow: 0 12px 35px rgba(240,90,40,.15);
}
#why-us .feature-number {
    background: #1a365d !important;
}

/* Sectors — same deep navy as Services */
#sectors.section {
    background: linear-gradient(160deg, #1a365d 0%, #0f2540 100%) !important;
}
#sectors .section-title {
    color: #ffffff !important;
}
#sectors .title-underline {
    background: #F05A28 !important;
}
#sectors .sector-item {
    background: rgba(255,255,255,0.08) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;
    color: #e5eff7 !important;
}
#sectors .sector-item i {
    color: #F05A28 !important;
}
#sectors .sector-item span {
    color: #e5eff7 !important;
}
#sectors .sector-item:hover {
    background: #F05A28 !important;
    border-color: #F05A28 !important;
}
#sectors .sector-item:hover i,
#sectors .sector-item:hover span {
    color: #ffffff !important;
}

/* FAQ — warm off-white */
.faq.section {
    background: linear-gradient(160deg, #fdf6f2 0%, #ffffff 100%);
}
.faq .faq-item {
    border-color: rgba(240,90,40,.2) !important;
}
.faq .faq-question {
    background: #ffffff !important;
}
.faq .faq-question:hover,
.faq .faq-item.active .faq-question {
    background: #fff3ee !important;
}
.faq .faq-question i {
    color: #F05A28 !important;
}
