/*
Theme Name: Legend Company
Theme URI: https://www.ahmedabdnasser.com
Author: ahmed abdelnasser
Author URI: https://www.ahmedabdnasser.com
Description: A premium WordPress theme for Legend Contracting Company - pioneers in construction and finishing. Features advanced GSAP animations, dynamic portfolio, testimonials, and contact management.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: legend-company
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ========================================
   ROOT VARIABLES & COLOR SCHEME
======================================== */
:root {
    /* Primary Colors - Dark Blue */
    --lc-primary: #1e3a5f;
    --lc-primary-light: #2a4d7a;
    --lc-primary-dark: #0d1f33;
    --lc-primary-rgb: 30, 58, 95;
    
    /* Accent Colors - Dark Blue */
    --lc-accent: #1e3a5f;
    --lc-accent-light: #2a4d7a;
    --lc-accent-dark: #0d1f33;
    --lc-accent-rgb: 30, 58, 95;
    
    /* Text Colors */
    --lc-text-white: #ffffff;
    --lc-text-light: #333333;
    --lc-text-muted: #666666;
    --lc-text-dark: #1e3a5f;
    
    /* Background Colors - White Theme */
    --lc-bg-dark: #f8f9fa;
    --lc-bg-gradient: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    --lc-bg-overlay: rgba(30, 58, 95, 0.85);
    
    /* Shadows */
    --lc-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --lc-shadow-md: 0 8px 30px rgba(0, 0, 0, 0.25);
    --lc-shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.35);
    --lc-shadow-glow: 0 0 30px rgba(var(--lc-accent-rgb), 0.3);
    
    /* Transitions */
    --lc-transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --lc-transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --lc-transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --lc-font-primary: 'Tajawal', 'Segoe UI', sans-serif;
    --lc-font-display: 'Tajawal', 'Segoe UI', sans-serif;
    
    /* Spacing */
    --lc-section-padding: 100px;
    --lc-container-max: 1400px;
    
    /* Border Radius */
    --lc-radius-sm: 8px;
    --lc-radius-md: 16px;
    --lc-radius-lg: 24px;
    --lc-radius-xl: 40px;
}

/* ========================================
   RESET & BASE STYLES
======================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--lc-font-primary);
    background: #ffffff;
    color: var(--lc-text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    direction: rtl;
}

/* Ensure main content is always visible */
.lc-main {
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure all sections are visible by default */
.lc-section {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure fade-up and animation classes start visible */
.lc-fade-up,
.lc-fade-right,
.lc-fade-left,
.lc-scale-up {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
    background: var(--lc-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--lc-primary-dark);
}

/* Selection */
::selection {
    background: var(--lc-primary);
    color: #ffffff;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--lc-font-display);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--lc-text-muted);
}

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

a:hover {
    color: var(--lc-accent-light);
}

/* ========================================
   LAYOUT UTILITIES
======================================== */
.lc-container {
    max-width: var(--lc-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.lc-section {
    padding: var(--lc-section-padding) 0;
    position: relative;
    overflow: hidden;
}

.lc-section--dark {
    background: var(--lc-primary-dark);
}

.lc-section--gradient {
    background: var(--lc-bg-gradient);
}

.lc-section--accent {
    background: var(--lc-accent);
    color: var(--lc-primary-dark);
}

/* ========================================
   SECTION HEADERS
======================================== */
.lc-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.lc-section-badge {
    display: inline-block;
    background: rgba(var(--lc-primary-rgb), 0.1);
    color: var(--lc-primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(var(--lc-primary-rgb), 0.2);
}

.lc-section-title {
    color: var(--lc-text-dark);
    margin-bottom: 20px;
    position: relative;
}

.lc-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--lc-primary);
    margin: 20px auto 0;
    border-radius: 2px;
}

.lc-section-title--right {
    text-align: right;
}

.lc-section-title--right::after {
    margin-right: 0;
    margin-left: auto;
}

.lc-section-desc {
    font-size: 1.1rem;
    color: var(--lc-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   BUTTONS
======================================== */
.lc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--lc-font-primary);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--lc-radius-sm);
    cursor: pointer;
    transition: all var(--lc-transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.lc-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: left 0.5s ease;
}

.lc-btn:hover::before {
    left: 100%;
}

.lc-btn--primary {
    background: linear-gradient(135deg, var(--lc-primary-dark) 0%, var(--lc-primary) 100%);
    color: #ffffff;
}

.lc-btn--primary:hover {
    background: linear-gradient(135deg, var(--lc-primary) 0%, var(--lc-primary-light) 100%);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: var(--lc-shadow-glow);
}

.lc-btn--outline {
    background: transparent;
    color: var(--lc-text-dark);
    border: 2px solid var(--lc-primary);
}

.lc-hero .lc-btn--outline {
    background: transparent;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.lc-hero .lc-btn--outline i {
    color: #ffffff !important;
}

.lc-hero .lc-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    border-color: #ffffff;
    transform: translateY(-3px);
}

.lc-hero .lc-btn--outline:hover i {
    color: #ffffff !important;
}

.lc-hero .lc-btn--primary i {
    color: #ffffff !important;
}

.lc-btn--outline:hover {
    background: var(--lc-primary);
    color: #ffffff;
    transform: translateY(-3px);
}

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

.lc-btn--white:hover {
    background: var(--lc-text-light);
    transform: translateY(-3px);
    box-shadow: var(--lc-shadow-md);
}

.lc-btn--lg {
    padding: 20px 48px;
    font-size: 1.1rem;
}

.lc-btn--sm {
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* ========================================
   CARDS
======================================== */
.lc-card {
    background: #ffffff;
    border-radius: var(--lc-radius-md);
    padding: 30px;
    transition: all var(--lc-transition-smooth);
    border: 1px solid rgba(30, 58, 95, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--lc-primary);
    transform: scaleX(0);
    transition: transform var(--lc-transition-smooth);
}

.lc-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--lc-shadow-lg);
    border-color: rgba(var(--lc-primary-rgb), 0.3);
}

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

.lc-card__icon {
    width: 70px;
    height: 70px;
    background: rgba(var(--lc-primary-rgb), 0.1);
    border-radius: var(--lc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--lc-primary);
    transition: all var(--lc-transition-smooth);
}

.lc-card:hover .lc-card__icon {
    background: var(--lc-primary);
    color: #ffffff;
    transform: rotateY(180deg);
}

.lc-card__title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--lc-text-dark);
}

.lc-card__text {
    color: var(--lc-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
}

/* ========================================
   HEADER STYLES
======================================== */
.lc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--lc-transition-smooth);
    background: transparent;
}

.lc-header--transparent {
    background: transparent;
}

.lc-header--scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--lc-shadow-md);
}

/* Header logo scrolled state - defined in header.php to avoid conflicts */

.lc-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    gap: 20px;
}

/* Logo - Right side (RTL) */
.lc-header__logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10002;
    position: relative;
}

/* Navigation - Centered */
.lc-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.lc-nav__list {
    display: flex;
    align-items: center;
    gap: 35px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Social Icons - Left side (RTL) */
.lc-header__social {
    flex-shrink: 0;
    display: flex;
    gap: 12px;
    align-items: center;
    z-index: 2;
}

.lc-header__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: #ffffff !important;
    transition: all var(--lc-transition-fast);
}

.lc-header__social a i {
    font-size: 1.2rem;
    color: #ffffff !important;
    transition: color var(--lc-transition-fast);
}

.lc-header__social a:hover {
    color: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
}

.lc-header__social a:hover i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.lc-header--scrolled .lc-header__social a {
    color: var(--lc-primary) !important;
}

.lc-header--scrolled .lc-header__social a i {
    color: var(--lc-primary) !important;
}

.lc-header--scrolled .lc-header__social a:hover {
    color: var(--lc-accent-light) !important;
}

.lc-header--scrolled .lc-header__social a:hover i {
    color: var(--lc-accent-light) !important;
}

/* Mobile Toggle - Hidden on desktop */
.lc-header__toggle {
    display: none;
    flex-shrink: 0;
    z-index: 10003;
    position: relative;
}

@media (max-width: 992px) {
    .lc-header__inner {
        gap: 15px;
    }
    
    .lc-nav {
        position: static;
        flex: 0;
    }
    
    .lc-header__social {
        display: none;
    }
    
    .lc-header__toggle {
        display: flex;
    }
}

/* Header logo styles - consolidated in header.php to avoid conflicts */

/* Header logo hover - consolidated in header.php to avoid conflicts */

.lc-header__logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
}

.lc-header--scrolled .lc-header__logo-text {
    color: var(--lc-text-dark);
}

.lc-header__logo-text span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.lc-header--scrolled .lc-header__logo-text span {
    color: var(--lc-primary);
}

/* Navigation styles moved above to avoid duplication */

.lc-nav__link {
    color: #ffffff !important;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: color var(--lc-transition-fast);
}

.lc-header--scrolled .lc-nav__link {
    color: var(--lc-text-dark) !important;
}

.lc-nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: #ffffff !important;
    transition: width var(--lc-transition-smooth);
}

.lc-header--scrolled .lc-nav__link::after {
    background: var(--lc-primary) !important;
}

.lc-nav__link:hover,
.lc-nav__link--active {
    color: rgba(255, 255, 255, 0.9) !important;
}

.lc-nav__link i {
    color: inherit;
    transition: color var(--lc-transition-fast);
}

.lc-nav__link--active,
.lc-nav__link--active i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.lc-nav__link:hover i {
    color: rgba(255, 255, 255, 0.9) !important;
}

.lc-header--scrolled .lc-nav__link:hover,
.lc-header--scrolled .lc-nav__link--active {
    color: var(--lc-primary) !important;
}

.lc-header--scrolled .lc-nav__link--active i,
.lc-header--scrolled .lc-nav__link:hover i {
    color: var(--lc-primary) !important;
}

.lc-nav__link:hover::after,
.lc-nav__link--active::after {
    width: 100%;
}

.lc-nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    z-index: 10003;
    position: relative;
    background: transparent;
    border: none;
    -webkit-tap-highlight-color: transparent;
}

.lc-nav__toggle span {
    width: 28px;
    height: 3px;
    background: #ffffff !important;
    border-radius: 3px;
    transition: all var(--lc-transition-smooth);
    position: relative;
}

.lc-header--scrolled .lc-nav__toggle span {
    background: var(--lc-text-dark) !important;
}

/* Toggle button active state */
.lc-nav__toggle--active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.lc-nav__toggle--active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.lc-nav__toggle--active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO SECTION
======================================== */
.lc-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.lc-hero__slider {
    position: absolute;
    inset: 0;
}

.lc-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.lc-hero__slide--active {
    opacity: 1;
    visibility: visible;
}

.lc-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.lc-hero__slide--active .lc-hero__bg {
    transform: scale(1);
}

.lc-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.7) 0%, rgba(13, 31, 51, 0.85) 100%);
}

.lc-hero__content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.lc-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.lc-hero__title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    max-width: 900px;
    color: #ffffff !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.lc-hero__title span {
    color: rgba(255, 255, 255, 0.9) !important;
}

.lc-hero__desc {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95) !important;
    max-width: 700px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.lc-hero__buttons {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: center;
}

.lc-hero__nav {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
}

.lc-hero__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--lc-transition-smooth);
    border: 2px solid transparent;
}

.lc-hero__dot--active,
.lc-hero__dot:hover {
    background: #ffffff;
    border-color: #ffffff;
    transform: scale(1.2);
}

.lc-hero__scroll {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: lc-bounce 2s infinite;
}

.lc-hero__scroll i {
    font-size: 2.5rem;
    color: #ffffff;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.lc-hero__scroll:hover i {
    opacity: 1;
}

@keyframes lc-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ========================================
   ABOUT SECTION
======================================== */
.lc-about {
    background: #ffffff;
}

.lc-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lc-about__image {
    position: relative;
}

.lc-about__img {
    width: 100%;
    border-radius: var(--lc-radius-lg);
    box-shadow: var(--lc-shadow-lg);
}

.lc-about__float {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--lc-primary);
    color: #ffffff;
    padding: 30px;
    border-radius: var(--lc-radius-md);
    text-align: center;
    box-shadow: var(--lc-shadow-glow);
}

.lc-about__float-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.lc-about__float-text {
    font-size: 1rem;
    font-weight: 600;
}

.lc-about__content {
    padding-right: 40px;
}

.lc-about__badge {
    display: inline-block;
    background: rgba(var(--lc-primary-rgb), 0.1);
    color: var(--lc-primary);
    padding: 8px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.lc-about__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 25px;
}

.lc-about__text {
    color: var(--lc-text-muted);
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.9;
}

.lc-about__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.lc-about__feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

.lc-about__feature i {
    font-size: 1.5rem;
    color: var(--lc-primary);
}

.lc-about__feature span {
    font-weight: 500;
}

/* ========================================
   CEO MESSAGE SECTION
======================================== */
.lc-ceo {
    background: #f8f9fa;
    position: relative;
}

.lc-ceo::before {
    content: '"';
    position: absolute;
    top: 50px;
    right: 50px;
    font-size: 20rem;
    color: rgba(var(--lc-accent-rgb), 0.05);
    font-family: Georgia, serif;
    line-height: 1;
}

.lc-ceo__grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.lc-ceo__image {
    position: relative;
    height: 100%;
}

.lc-ceo__img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: var(--lc-radius-lg);
    box-shadow: var(--lc-shadow-lg);
    border: 4px solid var(--lc-primary);
}

.lc-ceo__content {
    position: relative;
    z-index: 1;
}

.lc-ceo__quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--lc-text-dark);
    line-height: 2;
    margin-bottom: 30px;
    position: relative;
    padding-right: 30px;
    border-right: 4px solid var(--lc-primary);
}

.lc-ceo__name {
    font-size: 1.5rem;
    color: var(--lc-primary);
    margin-bottom: 5px;
}

.lc-ceo__position {
    color: var(--lc-text-muted);
    font-size: 1rem;
}

/* ========================================
   SERVICES SECTION
======================================== */
.lc-services {
    background: #ffffff;
}

.lc-services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.lc-service-card {
    background: #ffffff;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--lc-radius-md);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--lc-transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lc-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(var(--lc-accent-rgb), 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--lc-transition-smooth);
}

.lc-service-card:hover {
    transform: translateY(-15px);
    border-color: rgba(var(--lc-accent-rgb), 0.3);
    box-shadow: var(--lc-shadow-lg);
}

.lc-service-card:hover::before {
    opacity: 1;
}

.lc-service-card__icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--lc-primary-dark) 0%, var(--lc-primary) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: #ffffff;
    position: relative;
    z-index: 1;
    transition: all var(--lc-transition-smooth);
}

.lc-service-card:hover .lc-service-card__icon {
    transform: scale(1.1) rotateZ(10deg);
    box-shadow: var(--lc-shadow-glow);
}

.lc-service-card__title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--lc-primary) !important;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.lc-service-card__text {
    color: var(--lc-text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* ========================================
   PROJECTS SECTION
======================================== */
.lc-projects {
    background: #f8f9fa;
}

.lc-projects__tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.lc-projects__tab {
    background: transparent;
    border: 2px solid rgba(30, 58, 95, 0.2);
    color: var(--lc-text-dark);
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--lc-font-primary);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--lc-transition-smooth);
}

.lc-projects__tab:hover {
    border-color: var(--lc-primary);
    color: var(--lc-primary);
}

.lc-projects__tab--active {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: #ffffff;
}

.lc-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Portfolio Media Grid (6 columns desktop) */
.lc-portfolio-media-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.lc-project-card {
    position: relative;
    border-radius: var(--lc-radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}

.lc-project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--lc-transition-slow);
}

.lc-project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(30, 58, 95, 0.95) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: opacity var(--lc-transition-smooth);
}

.lc-project-card:hover .lc-project-card__img {
    transform: scale(1.1);
}

.lc-project-card:hover .lc-project-card__overlay {
    opacity: 1;
}

.lc-project-card__category {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 8px;
    font-weight: 600;
}

.lc-project-card__title {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 5px;
}

.lc-project-card__client {
    font-size: 0.9rem;
    color: var(--lc-text-muted);
}

.lc-projects__more {
    text-align: center;
    margin-top: 50px;
}

/* Mobile Projects Carousel */
.lc-projects__carousel {
    display: none;
}

/* ========================================
   PARTNERS SECTION
======================================== */
.lc-partners {
    background: #ffffff;
    padding: 80px 0;
}

.lc-partners__slider {
    overflow: hidden;
    position: relative;
}

/* Partners slider now uses Swiper - see front-page.php for styles */
.lc-partners__slider {
    padding: 20px 0;
}

.lc-partner-item {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    background: #ffffff;
    border-radius: var(--lc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all var(--lc-transition-smooth);
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.lc-partner-item:hover {
    background: #f8f9fa;
    border-color: var(--lc-primary);
    transform: scale(1.05);
}

.lc-partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all var(--lc-transition-smooth);
}

.lc-partner-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   WHY US SECTION
======================================== */
.lc-why {
    background: #ffffff;
}

.lc-why__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.lc-why-card {
    background: #ffffff;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--lc-radius-md);
    padding: 40px 25px;
    text-align: center;
    transition: all var(--lc-transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lc-why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--lc-primary);
    transform: scaleX(0);
    transition: transform var(--lc-transition-smooth);
}

.lc-why-card:hover {
    transform: translateY(-10px);
    border-color: var(--lc-primary);
    box-shadow: var(--lc-shadow-glow);
}

.lc-why-card:hover::after {
    transform: scaleX(1);
}

.lc-why-card__icon {
    font-size: 3rem;
    color: var(--lc-primary);
    margin-bottom: 20px;
}

.lc-why-card__title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--lc-text-dark);
}

.lc-why-card__text {
    color: var(--lc-text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ========================================
   CTA SECTION
======================================== */
.lc-cta {
    background: linear-gradient(135deg, var(--lc-primary-dark) 0%, var(--lc-primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.lc-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.lc-cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.lc-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.lc-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 20px;
}

.lc-cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.lc-cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   MAP SECTION (PREFOOTER)
======================================== */
.lc-map-section {
    width: 100%;
    height: 450px;
    margin: 0;
    padding: 0;
    border: none;
    background: #f8f9fa;
}

.lc-map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

@media (max-width: 768px) {
    .lc-map-section {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .lc-map-section {
        height: 400px;
    }
}

/* ========================================
   MAP & CTA GRID SECTION
======================================== */
.lc-map-cta-section {
    width: 100%;
    padding: 0;
    margin: 0;
}

.lc-map-cta__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    min-height: 500px;
}

.lc-map-cta__map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
}

.lc-map-cta__map iframe {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: absolute;
    top: 0;
    left: 0;
    border: 0;
    display: block;
}

.lc-map-cta__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--lc-primary-dark) 0%, var(--lc-primary) 100%);
    position: relative;
    overflow: hidden;
}

.lc-map-cta__cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.lc-map-cta__cta::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.lc-map-cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.lc-map-cta__title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.lc-map-cta__text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.8;
}

.lc-map-cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.lc-btn--outline-white {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.lc-btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

@media (max-width: 992px) {
    .lc-map-cta__grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .lc-map-cta__map {
        min-height: 400px;
    }
    
    .lc-map-cta__map iframe {
        min-height: 400px;
    }
    
    .lc-map-cta__cta {
        padding: 50px 30px;
    }
}

@media (max-width: 576px) {
    .lc-map-cta__map {
        min-height: 350px;
    }
    
    .lc-map-cta__map iframe {
        min-height: 350px;
    }
    
    .lc-map-cta__cta {
        padding: 40px 20px;
    }
    
    .lc-map-cta__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .lc-map-cta__buttons .lc-btn {
        width: 100%;
    }
}

/* ========================================
   STAT LABELS
======================================== */
.lc-stat-label {
    color: var(--lc-primary) !important;
    font-weight: 600;
}

/* ========================================
   FOOTER STYLES
======================================== */
.lc-footer {
    background: #ffffff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.lc-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1920&q=80');
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    opacity: 0.08;
    z-index: 0;
    pointer-events: none;
}

.lc-footer > .lc-container {
    position: relative;
    z-index: 2;
}

.lc-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(30, 58, 95, 0.1);
}

.lc-footer__brand {
    max-width: 350px;
}

.lc-footer__logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

/* Footer logo styles - consolidated in footer.php to avoid conflicts */

/* Footer logo hover - consolidated in footer.php to avoid conflicts */

.lc-footer__logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lc-text-dark);
}

.lc-footer__logo-text span {
    color: var(--lc-primary);
}

.lc-footer__desc {
    color: var(--lc-text-muted);
    margin-bottom: 25px;
    line-height: 1.8;
}

.lc-footer__text {
    color: var(--lc-text-muted);
}

.lc-footer__subtitle {
    color: var(--lc-text-dark);
    font-size: 1.1rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.lc-footer__social {
    display: flex;
    gap: 15px;
}

.lc-footer__social a {
    width: 45px;
    height: 45px;
    background: #ffffff;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--lc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lc-text-dark);
    font-size: 1.2rem;
    transition: all var(--lc-transition-smooth);
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.lc-footer__social a i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.lc-footer__social a:hover {
    background: var(--lc-primary);
    border-color: var(--lc-primary);
    color: #ffffff;
    transform: translateY(-5px);
}

.lc-footer__title {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--lc-text-dark);
    position: relative;
    padding-bottom: 15px;
}

.lc-footer__title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 3px;
    background: var(--lc-primary);
    border-radius: 2px;
}

.lc-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lc-footer__links li {
    margin-bottom: 15px;
}

.lc-footer__links a {
    color: var(--lc-text-muted);
    transition: all var(--lc-transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lc-footer__links a::before {
    content: '←';
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--lc-transition-fast);
}

.lc-footer__links a:hover {
    color: var(--lc-accent);
    padding-right: 10px;
}

.lc-footer__links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.lc-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: var(--lc-text-muted);
}

.lc-footer__contact i {
    color: var(--lc-primary);
    font-size: 1.2rem;
    margin-top: 3px;
}

.lc-footer__bottom {
    padding: 25px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 15px;
}

.lc-footer__copyright {
    color: var(--lc-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.lc-footer__developer {
    color: var(--lc-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.lc-footer__copyright a,
.lc-footer__developer a {
    color: var(--lc-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.lc-footer__copyright a:hover,
.lc-footer__developer a:hover {
    color: var(--lc-accent);
    text-decoration: underline;
    opacity: 0.8;
}

/* ========================================
   FLOATING BUTTONS
======================================== */
.lc-floating {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.lc-floating__btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--lc-text-white);
    transition: all var(--lc-transition-smooth);
    box-shadow: var(--lc-shadow-md);
    position: relative;
    overflow: hidden;
}

.lc-floating__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0);
    border-radius: 50%;
    transition: transform var(--lc-transition-smooth);
}

.lc-floating__btn:hover::before {
    transform: scale(1);
}

.lc-floating__btn:hover {
    transform: scale(1.15) translateY(-5px);
}

.lc-floating__btn--whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.lc-floating__btn--call {
    background: linear-gradient(135deg, var(--lc-accent) 0%, var(--lc-accent-dark) 100%);
}

.lc-floating__pulse {
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid currentColor;
    animation: lc-pulse 2s infinite;
}

@keyframes lc-pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */
.lc-testimonials {
    background: #ffffff;
}

.lc-testimonials__slider {
    position: relative;
    overflow: hidden;
}

.lc-testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--lc-radius-lg);
    padding: 40px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lc-testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 6rem;
    color: rgba(var(--lc-accent-rgb), 0.15);
    font-family: Georgia, serif;
    line-height: 1;
}

.lc-testimonial-card__text {
    font-size: 1.1rem;
    color: var(--lc-text-dark);
    line-height: 1.9;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.lc-testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lc-testimonial-card__avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--lc-primary);
}

.lc-testimonial-card__name {
    font-size: 1.1rem;
    color: var(--lc-text-dark);
    margin-bottom: 5px;
}

.lc-testimonial-card__position {
    color: var(--lc-primary);
    font-size: 0.9rem;
}

.lc-testimonial-card__rating {
    color: var(--lc-primary);
    margin-top: 8px;
}

/* ========================================
   CONTACT PAGE
======================================== */
.lc-contact-page {
    padding-top: 120px;
}

.lc-contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.lc-contact__info {
    background: #ffffff;
    border-radius: var(--lc-radius-lg);
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lc-contact__info-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.lc-contact__info-text {
    color: var(--lc-text-muted);
    margin-bottom: 40px;
}

.lc-contact__info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.lc-contact__info-icon {
    width: 55px;
    height: 55px;
    background: rgba(var(--lc-primary-rgb), 0.1);
    border-radius: var(--lc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--lc-primary);
    flex-shrink: 0;
}

.lc-contact__info-label {
    font-size: 0.9rem;
    color: var(--lc-text-muted);
    margin-bottom: 5px;
}

.lc-contact__info-value {
    font-size: 1.1rem;
    color: var(--lc-text-dark);
}

.lc-contact__form {
    background: #ffffff;
    border-radius: var(--lc-radius-lg);
    padding: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.lc-form__group {
    margin-bottom: 25px;
}

.lc-form__label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--lc-text-dark);
}

.lc-form__input,
.lc-form__textarea {
    width: 100%;
    padding: 16px 20px;
    background: #ffffff;
    border: 2px solid rgba(30, 58, 95, 0.1);
    border-radius: var(--lc-radius-sm);
    color: var(--lc-text-dark);
    font-family: var(--lc-font-primary);
    font-size: 1rem;
    transition: all var(--lc-transition-fast);
}

.lc-form__input:focus,
.lc-form__textarea:focus {
    outline: none;
    border-color: var(--lc-primary);
    background: rgba(var(--lc-primary-rgb), 0.02);
}

.lc-form__input::placeholder,
.lc-form__textarea::placeholder {
    color: var(--lc-text-muted);
}

.lc-form__textarea {
    min-height: 150px;
    resize: vertical;
}

.lc-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ========================================
   PORTFOLIO PAGE
======================================== */
.lc-portfolio-page {
    padding-top: 120px;
}

.lc-portfolio__filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.lc-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* ========================================
   BLOG STYLES
======================================== */
.lc-blog-page {
    padding-top: 120px;
}

.lc-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.lc-blog-card {
    background: #ffffff;
    border-radius: var(--lc-radius-md);
    overflow: hidden;
    transition: all var(--lc-transition-smooth);
    border: 1px solid rgba(30, 58, 95, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.lc-blog-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.lc-blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--lc-transition-slow);
}

.lc-blog-card:hover .lc-blog-card__img {
    transform: scale(1.1);
}

.lc-blog-card__content {
    padding: 25px;
}

.lc-blog-card__meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--lc-text-muted);
}

.lc-blog-card__meta i {
    color: var(--lc-accent);
    margin-left: 5px;
}

.lc-blog-card__title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

.lc-blog-card__title a {
    color: var(--lc-text-dark);
    transition: color var(--lc-transition-fast);
}

.lc-blog-card__title a:hover {
    color: var(--lc-primary);
}

.lc-blog-card__excerpt {
    color: var(--lc-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.lc-blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--lc-primary);
    font-weight: 600;
    transition: gap var(--lc-transition-fast);
}

.lc-blog-card__link:hover {
    gap: 15px;
}

/* Single Post */
.lc-single {
    padding-top: 120px;
}

.lc-single__header {
    text-align: center;
    margin-bottom: 50px;
}

.lc-single__category {
    display: inline-block;
    background: rgba(var(--lc-primary-rgb), 0.1);
    color: var(--lc-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.lc-single__title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 25px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.lc-single__meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: var(--lc-text-muted);
}

.lc-single__featured {
    margin-bottom: 50px;
    border-radius: var(--lc-radius-lg);
    overflow: hidden;
}

.lc-single__featured img {
    width: 100%;
    height: auto;
}

.lc-single__content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.9;
}

.lc-single__content h2,
.lc-single__content h3,
.lc-single__content h4 {
    margin-top: 40px;
    margin-bottom: 20px;
}

.lc-single__content p {
    margin-bottom: 25px;
}

.lc-single__content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--lc-radius-md);
    margin: 30px 0;
}

/* ========================================
   404 PAGE
======================================== */
.lc-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
}

.lc-404__number {
    font-size: clamp(8rem, 20vw, 15rem);
    font-weight: 900;
    color: var(--lc-primary);
    line-height: 1;
    text-shadow: 0 10px 50px rgba(var(--lc-primary-rgb), 0.3);
}

.lc-404__title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 20px;
}

.lc-404__text {
    color: var(--lc-text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* ========================================
   ANIMATIONS
======================================== */
.lc-fade-up {
    /* Default visible - GSAP will handle animation */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fallback: If GSAP sets opacity 0, show after short delay */
.lc-fade-up[style*="opacity: 0"] {
    animation: fadeInFallback 0.5s 0.3s forwards;
}

@keyframes fadeInFallback {
    to {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

.lc-fade-right {
    opacity: 0;
    transform: translateX(-40px);
}

.lc-fade-right.lc-animated {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-fade-left {
    opacity: 0;
    transform: translateX(40px);
}

.lc-fade-left.lc-animated {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-scale-up {
    /* Default visible - GSAP will handle animation */
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fallback: If GSAP sets opacity 0, show after short delay */
.lc-scale-up[style*="opacity: 0"] {
    animation: scaleInFallback 0.5s 0.3s forwards;
}

@keyframes scaleInFallback {
    to {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
}

/* Stagger animations */
.lc-stagger > * {
    /* Default visible - GSAP will handle animation */
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Fallback: If GSAP sets opacity 0, show after short delay */
.lc-stagger > *[style*="opacity: 0"] {
    animation: fadeInFallback 0.5s 0.5s forwards;
}

.lc-stagger.lc-animated > *:nth-child(1) { transition-delay: 0.1s; }
.lc-stagger.lc-animated > *:nth-child(2) { transition-delay: 0.2s; }
.lc-stagger.lc-animated > *:nth-child(3) { transition-delay: 0.3s; }
.lc-stagger.lc-animated > *:nth-child(4) { transition-delay: 0.4s; }
.lc-stagger.lc-animated > *:nth-child(5) { transition-delay: 0.5s; }
.lc-stagger.lc-animated > *:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   RESPONSIVE STYLES
======================================== */
@media (max-width: 1200px) {
    .lc-projects__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portfolio Media Grid - 2 columns on tablet */
    .lc-portfolio-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .lc-why__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .lc-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    :root {
        --lc-section-padding: 70px;
    }
    
    /* Mobile Menu - Clean Implementation */
    .lc-nav__list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 85vw;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 80px 30px 30px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
        z-index: 10001;
        -webkit-overflow-scrolling: touch;
    }
    
    .lc-nav__list--open {
        right: 0;
    }
    
    .lc-nav__list li {
        border-bottom: 1px solid rgba(var(--lc-primary-rgb), 0.08);
        opacity: 1;
        transform: none;
        transition: background 0.2s ease;
    }
    
    .lc-nav__list li:last-child {
        border-bottom: none;
    }
    
    .lc-nav__list li:active {
        background: rgba(var(--lc-primary-rgb), 0.05);
    }
    
    .lc-nav__list .lc-nav__link {
        display: block;
        padding: 18px 20px;
        font-size: 1.1rem;
        color: var(--lc-text-dark) !important;
        text-decoration: none;
        transition: all 0.2s ease;
        position: relative;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }
    
    .lc-nav__list .lc-nav__link::before {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 0;
        background: var(--lc-primary);
        transition: height 0.2s ease;
    }
    
    .lc-nav__list .lc-nav__link:hover,
    .lc-nav__list .lc-nav__link:focus {
        color: var(--lc-primary) !important;
        background: rgba(var(--lc-primary-rgb), 0.05);
        padding-right: 25px;
    }
    
    .lc-nav__list .lc-nav__link:hover::before,
    .lc-nav__list .lc-nav__link--active::before {
        height: 60%;
    }
    
    .lc-nav__list .lc-nav__link--active {
        color: var(--lc-primary) !important;
        font-weight: 600;
    }
    
    .lc-nav__list .lc-nav__link--active i {
        color: var(--lc-primary);
    }
    
    .lc-nav__list .lc-nav__link::after {
        display: none;
    }
    
    /* Ensure logo stays above menu */
    .lc-header__logo {
        z-index: 10002 !important;
        position: relative;
    }
    
    .lc-nav__toggle {
        display: flex;
    }
    
    .lc-nav__toggle span {
        width: 28px;
        height: 3px;
        background: var(--lc-text-dark);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }
    
    .lc-nav__toggle--active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .lc-nav__toggle--active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .lc-nav__toggle--active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .lc-about__grid,
    .lc-ceo__grid,
    .lc-contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .lc-ceo__grid {
        text-align: center;
    }
    
    .lc-ceo__img {
        height: 400px;
        max-width: 100%;
    }
    
    .lc-ceo__image {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .lc-ceo__quote {
        border-right: none;
        padding-right: 0;
        border-top: 4px solid var(--lc-primary);
        padding-top: 30px;
    }
    
    .lc-about__content {
        padding-right: 0;
    }
    
    .lc-blog__grid,
    .lc-portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --lc-section-padding: 50px;
    }
    
    .lc-hero__title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    
    .lc-hero__buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
        gap: 10px;
        justify-content: center;
        align-items: center;
    }
    
    .lc-hero__buttons .lc-btn {
        padding: 14px 16px;
        font-size: 0.85rem;
        flex: 1 1 auto;
        min-width: 0;
        white-space: nowrap;
    }
    
    .lc-hero__nav {
        bottom: 110px;
    }
    
    .lc-hero__scroll {
        bottom: 50px;
    }
    
    /* Portfolio Media Grid - 2 columns on mobile/tablet */
    .lc-portfolio-media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .lc-projects__carousel {
        display: none;
    }
    
    .lc-why__grid {
        grid-template-columns: 1fr;
    }
    
    .lc-about__features {
        grid-template-columns: 1fr;
    }
    
    .lc-about__float {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 20px;
    }
    
    /* Footer grid - 2 columns on tablet/mobile */
    .lc-footer__grid {
        grid-template-columns: 1fr 1fr;
        text-align: right;
        gap: 30px;
    }
    
    .lc-footer__brand {
        grid-column: 1 / -1;
        text-align: center;
    }
    
    .lc-footer__title::after {
        right: 0;
        left: auto;
        transform: none;
    }
    
    .lc-footer__social {
        justify-content: center;
    }
    
    .lc-footer__links a::before {
        display: none;
    }
    
    .lc-footer__contact li {
        justify-content: flex-start;
    }
    
    .lc-footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .lc-form__row {
        grid-template-columns: 1fr;
    }
    
    .lc-blog__grid,
    .lc-portfolio__grid {
        grid-template-columns: 1fr;
    }
    
    .lc-floating {
        bottom: 20px;
        left: 20px;
    }
    
    .lc-floating__btn {
        width: 55px;
        height: 55px;
    }
}

@media (max-width: 480px) {
    .lc-hero {
        min-height: 600px;
    }
    
    .lc-hero__buttons {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .lc-hero__buttons .lc-btn {
        padding: 12px 14px;
        font-size: 0.8rem;
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
        white-space: nowrap;
    }
    
    .lc-section-header {
        margin-bottom: 40px;
    }
    
    .lc-card,
    .lc-service-card,
    .lc-contact__info,
    .lc-contact__form {
        padding: 25px 20px;
    }
    
    .lc-testimonial-card {
        padding: 30px 20px;
    }
    
    .lc-projects__tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .lc-projects__tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .lc-footer__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .lc-footer__contact li {
        justify-content: center;
    }
}

/* Mobile Navigation Overlay - Disabled to prevent black overlay issue */
.lc-nav-overlay {
    display: none !important;
}

.lc-nav-overlay--active {
    display: none !important;
}

/* Header CTA Button (Desktop) */
.lc-header__cta {
    margin-right: auto;
}

@media (max-width: 992px) {
    .lc-header__cta {
        display: none;
    }
}

/* ========================================
   LOADING STATES
======================================== */
.lc-loading {
    position: fixed;
    inset: 0;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lc-loading--hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: none !important;
}

/* Fallback: Hide loading screen after 1 second if JS fails */
.lc-loading:not(.lc-loading--hidden) {
    animation: hideLoadingAfterDelay 1s forwards;
}

@keyframes hideLoadingAfterDelay {
    0%, 95% {
        opacity: 1;
        visibility: visible;
    }
    100% {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        display: none;
    }
}

.lc-loading__spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(var(--lc-primary-rgb), 0.2);
    border-top-color: var(--lc-primary);
    border-radius: 50%;
    animation: lc-spin 1s linear infinite;
}

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

/* ========================================
   SWIPER CUSTOMIZATION
======================================== */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.4);
    opacity: 0.6;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.7);
    opacity: 0.9;
    transform: scale(1.2);
}

.swiper-pagination-bullet-active {
    background: var(--lc-primary);
    opacity: 1;
    border-color: var(--lc-primary);
    width: 30px;
    border-radius: 5px;
    transform: scale(1);
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--lc-primary);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all var(--lc-transition-smooth);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--lc-primary);
    color: #ffffff;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.2rem;
}





