/* ========================================
   Moraya Engineering Solutions - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-color: #1e3a5f;
    --primary-dark: #152a45;
    --primary-light: #2a4d7a;
    
    /* Secondary Colors */
    --secondary-color: #f39c12;
    --secondary-dark: #d68910;
    --secondary-light: #f5b041;
    
    /* Accent Colors */
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --info-color: #3498db;
    
    /* Neutral Colors */
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #e9ecef;
    --gray: #6c757d;
    --dark-gray: #495057;
    --dark: #212529;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-light) 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    
    /* Typography */
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 15px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 5px 25px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
}

/* ========================================
   Reset & Base Styles
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark);
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.875rem; }

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

.section-padding {
    padding: var(--section-padding);
}

.bg-light {
    background-color: var(--off-white);
}

.bg-dark {
    background-color: var(--dark);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--secondary-color);
    margin-bottom: 15px;
    position: relative;
    padding-left: 50px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.section-subtitle.light {
    color: var(--secondary-color);
}

.section-subtitle.light::before {
    background: var(--secondary-color);
}

.text-center .section-subtitle {
    padding-left: 0;
}

.text-center .section-subtitle::before {
    display: none;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.section-title.light {
    color: var(--white);
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Row & Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.align-items-center {
    align-items: center;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--white);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--off-white);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1rem;
}

.btn i {
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.btn:hover i {
    transform: translateX(5px);
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
    color: var(--white);
}

.gear-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.gear {
    position: absolute;
    color: var(--secondary-color);
}

.gear-1 {
    font-size: 60px;
    top: 0;
    left: 10px;
    animation: rotate 2s linear infinite;
}

.gear-2 {
    font-size: 40px;
    bottom: 10px;
    right: 10px;
    animation: rotate-reverse 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.loader p {
    font-size: 1.1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* ========================================
   Navigation
   ======================================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-normal);
}

#header.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

#header.scrolled .nav-link {
    color: var(--dark);
}

.navbar {
    padding: 20px 0;
    transition: var(--transition-normal);
}

#header.scrolled .navbar {
    padding: 15px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(12px, 2vw, 24px);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(100%, 560px);
    text-decoration: none;
    color: inherit;
}

.logo-symbol {
    --logo-mark-size: 52px;
    height: var(--logo-mark-size);
    width: var(--logo-mark-size);
    min-width: var(--logo-mark-size);
    flex-shrink: 0;
    display: block;
    border-radius: 12px;
    object-fit: contain;
    object-position: center;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(255, 255, 255, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: box-shadow var(--transition-normal), transform var(--transition-fast);
}

.logo:hover .logo-symbol {
    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 235, 59, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

#header.scrolled .logo-symbol {
    box-shadow:
        0 3px 14px rgba(30, 58, 95, 0.18),
        0 0 0 1px rgba(30, 58, 95, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

#header.scrolled .logo:hover .logo-symbol {
    box-shadow:
        0 5px 18px rgba(30, 58, 95, 0.24),
        0 0 0 1px rgba(243, 156, 18, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.logo-full-name {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: clamp(0.88rem, 2.5vw, 1.28rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35em;
    min-width: 0;
}

.logo-full-name .ln-m {
    color: #ffeb3b;
}

.logo-full-name .ln-e {
    color: #ffc107;
}

.logo-full-name .ln-s {
    color: #fff8e1;
}

#header.scrolled .logo-full-name .ln-m {
    color: #c49000;
}

#header.scrolled .logo-full-name .ln-e {
    color: var(--primary-color);
}

#header.scrolled .logo-full-name .ln-s {
    color: var(--secondary-dark);
}

@media (prefers-reduced-motion: reduce) {
    .logo:hover .logo-symbol {
        transform: none;
    }
}

/* Keep full company name on one line in the header when the bar is wide enough (clearer brand lockup) */
@media (min-width: 1100px) {
    .logo-full-name {
        flex-wrap: nowrap;
    }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: var(--transition-normal);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform var(--transition-normal);
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--dark-gray);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
}

.dropdown-menu a:hover {
    background: var(--off-white);
    color: var(--primary-color);
    padding-left: 30px;
}

.nav-cta {
    padding: 12px 25px;
    font-size: 0.85rem;
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

#header.scrolled .nav-toggle span {
    background: var(--dark);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slider .slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.9) 0%, rgba(21, 42, 69, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding-top: 100px;
}

.hero-text {
    max-width: 700px;
}

.hero-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-title .hero-title-accent {
    color: var(--secondary-color);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.hero-scroll a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.wheel {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll-wheel 1.5s ease infinite;
}

@keyframes scroll-wheel {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* ========================================
   About Preview Section
   ======================================== */
.about-preview {
    background: var(--white);
}

.about-images {
    position: relative;
    padding: 30px;
}

.image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.main-image {
    width: 80%;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.secondary-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border: 5px solid var(--white);
}

.secondary-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    top: 0;
    right: 50px;
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 25px 30px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    margin-top: 5px;
}

.about-content {
    padding-left: 50px;
}

.about-content .section-title {
    font-size: 2.5rem;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--success-color);
    font-size: 1.2rem;
}

.feature-item span {
    font-weight: 500;
    color: var(--dark);
}

/* ========================================
   Services Section
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: var(--shadow-md);
}

.service-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.service-card:hover .service-icon i {
    color: var(--secondary-color);
    transform: scale(1.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-card h3,
.service-card p,
.service-card a {
    padding: 0 25px;
}

.service-title {
    font-size: 1.25rem;
    margin-top: 25px;
    margin-bottom: 15px;
}

.service-description {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.service-link i {
    font-size: 0.8rem;
    transition: transform var(--transition-normal);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   Vision Section
   ======================================== */
.vision {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    /* scroll: fixed attachment breaks layout with 3D/CSS transforms (bg detaches, white gaps) */
    background-attachment: scroll;
}

.vision .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.95) 0%, rgba(21, 42, 69, 0.9) 100%);
}

.vision-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.vision-quote {
    margin: 30px 0;
}

.vision-quote p {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--white);
    font-style: italic;
    line-height: 1.6;
}

.quote-author {
    margin-top: 30px;
}

.quote-author p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.quote-author span {
    color: var(--secondary-color);
    font-weight: 600;
}

/* ========================================
   Why Choose Us Section
   ======================================== */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.expertise-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.expertise-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.expertise-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: var(--transition-normal);
}

.expertise-icon i {
    font-size: 2rem;
    color: var(--white);
}

.expertise-card:hover .expertise-icon {
    background: var(--gradient-secondary);
    transform: rotateY(180deg);
}

.expertise-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.expertise-card p {
    font-size: 0.85rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* ========================================
   Industries Section
   ======================================== */
.industries-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.industry-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.industry-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.industry-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-gray) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-normal);
}

.industry-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition-normal);
}

.industry-item:hover .industry-icon {
    background: var(--gradient-primary);
}

.industry-item:hover .industry-icon i {
    color: var(--white);
    transform: scale(1.1);
}

.industry-item h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.industry-item p {
    color: var(--gray);
    margin-bottom: 0;
}

/* ========================================
   CTA Section
   ======================================== */
.cta {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.cta-text h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 500px;
    margin-bottom: 0;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--dark);
    color: var(--white);
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
}

.footer-logo-symbol {
    --footer-logo-size: 56px;
    height: var(--footer-logo-size);
    width: var(--footer-logo-size);
    min-width: var(--footer-logo-size);
    flex-shrink: 0;
    display: block;
    border-radius: 14px;
    object-fit: contain;
    object-position: center;
    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition: box-shadow var(--transition-normal), transform var(--transition-fast);
}

.footer-logo:hover .footer-logo-symbol {
    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(243, 156, 18, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.footer-full-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin: 0;
    line-height: 1.2;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35em;
}

.footer-full-name .ln-m {
    color: #ffeb3b;
}

.footer-full-name .ln-e {
    color: #ffc107;
}

.footer-full-name .ln-s {
    color: #fff8e1;
}

@media (prefers-reduced-motion: reduce) {
    .footer-logo:hover .footer-logo-symbol {
        transform: none;
    }
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.social-link.social-link-whatsapp:hover {
    background: #25d366;
    color: var(--white);
}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-normal);
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--secondary-color);
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
}

.contact-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    flex-shrink: 0;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

.contact-item p a {
    color: inherit;
}

.contact-item p a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.footer-bottom i.fa-heart {
    color: var(--accent-color);
}

/* ========================================
   Home — Contact strip (phone & email)
   ======================================== */
.home-contact-strip {
    background: #2a2a2a;
    padding: 48px 0;
}

.home-contact-strip-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 28px;
    text-align: center;
    font-family: var(--font-secondary);
}

.home-contact-strip-list {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.home-contact-strip-row {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    transition: opacity var(--transition-normal);
}

.home-contact-strip-row:hover {
    opacity: 0.92;
}

.home-contact-strip-row:hover .home-contact-strip-text {
    color: var(--secondary-light);
}

.home-contact-strip-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: var(--radius-full);
    background: #3d3d3d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.05rem;
}

.home-contact-strip-text {
    font-size: 1.05rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.01em;
}

@media (max-width: 575px) {
    .home-contact-strip {
        padding: 36px 0;
    }

    .home-contact-strip-text {
        font-size: 0.95rem;
        word-break: break-word;
    }
}

/* ========================================
   Back to Top Button
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gradient-secondary);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu .nav-link {
        color: var(--dark);
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        padding: 0 0 0 20px;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-cta {
        display: none;
    }
    
    .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-content {
        padding-left: 0;
        margin-top: 60px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .logo {
        max-width: calc(100% - 56px);
    }
    
    .logo-symbol {
        --logo-mark-size: 44px;
    }
    
    .logo-full-name {
        font-size: 0.76rem;
    }
    
    .footer-logo-symbol {
        --footer-logo-size: 48px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-slider {
        grid-template-columns: 1fr;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        padding: 15px;
    }
    
    .main-image {
        width: 100%;
    }
    
    .secondary-image {
        display: none;
    }
    
    .experience-badge {
        right: 15px;
        top: 15px;
        padding: 15px 20px;
    }
    
    .badge-number {
        font-size: 2rem;
    }
}
