/* css/style.css */
/* Gravics Traders Limited - Premium Construction Website */

/* ============================================ */
/* DESIGN SYSTEM & CSS VARIABLES */
/* ============================================ */
:root {
    --navy-900: #0a1628;
    --navy-800: #0f2440;
    --navy-700: #152d52;
    --navy-600: #1a365d;
    --navy-500: #1f406e;
    --navy-400: #2a4d80;
    
    --orange-600: #c05621;
    --orange-500: #dd6b20;
    --orange-400: #ed8936;
    --orange-300: #f6ad55;
    --orange-200: #fbd38d;
    
    --white: #ffffff;
    --gray-50: #f7fafc;
    --gray-100: #edf2f7;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e0;
    --gray-400: #a0aec0;
    --gray-500: #718096;
    --gray-600: #4a5568;
    --gray-700: #2d3748;
    --gray-800: #1a202c;
    --gray-900: #171923;
    
    --success: #48bb78;
    --error: #f56565;
    --info: #4299e1;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-orange: 0 10px 25px -5px rgba(221, 107, 32, 0.3);
    --shadow-navy: 0 10px 25px -5px rgba(26, 54, 93, 0.3);
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 300ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --header-height: 80px;
    --container-max: 1280px;
    --container-padding: 24px;
}

/* ============================================ */
/* CSS RESET & BASE STYLES */
/* ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
}

::selection {
    background-color: var(--orange-500);
    color: var(--white);
}

:focus-visible {
    outline: 2px solid var(--orange-500);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--navy-600);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--orange-500);
}

/* ============================================ */
/* UTILITY CLASSES */
/* ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-center { text-align: center; }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--navy-900);
}

h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--gray-600);
}

a {
    color: var(--orange-500);
    text-decoration: none;
    transition: var(--transition-base);
}

a:hover {
    color: var(--orange-600);
}

/* ============================================ */
/* BUTTONS */
/* ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    gap: 8px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--orange-500);
    color: var(--white);
    box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
    background: var(--orange-600);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(221, 107, 32, 0.4);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--navy-600);
    border-color: var(--navy-600);
}

.btn-outline:hover {
    background: var(--navy-600);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--navy-600);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--gray-50);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* ============================================ */
/* NAVIGATION */
/* ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
    height: var(--header-height);
}

.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
    z-index: 1002;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text strong {
    color: var(--white);
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-text strong span {
    color: var(--orange-500);
}

.logo-text small {
    color: var(--gray-400);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
}

.nav-menu a {
    color: var(--gray-300);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-base);
    position: relative;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--orange-500);
    transition: var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 60%;
}

.nav-cta {
    background: var(--orange-500) !important;
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-lg) !important;
    font-weight: 600 !important;
    margin-left: 8px;
    box-shadow: var(--shadow-orange);
}

.nav-cta:hover {
    background: var(--orange-600) !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 25px -5px rgba(221, 107, 32, 0.4) !important;
}

/* Hamburger Button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1002;
    width: 44px;
    height: 44px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Menu - Slides in from Right */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        height: 100dvh;
        background: var(--navy-900);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        gap: 4px;
        overflow-y: auto;
        z-index: 1001;
        align-items: stretch;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        padding: 14px 20px;
        font-size: 16px;
        border-radius: var(--radius-md);
        display: block;
    }
    
    .nav-menu a::before {
        display: none;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 12px;
        text-align: center;
    }
}

/* ============================================ */
/* HERO SECTION */
/* ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, var(--navy-800) 12%, transparent 12.5%, transparent 87%, var(--navy-800) 87.5%, var(--navy-800) 100%),
        linear-gradient(150deg, var(--navy-800) 12%, transparent 12.5%, transparent 87%, var(--navy-800) 87.5%, var(--navy-800) 100%),
        linear-gradient(60deg, var(--navy-700) 25%, transparent 25.5%, transparent 75%, var(--navy-700) 75%, var(--navy-700) 100%);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px;
    opacity: 0.1;
}

.hero-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-line {
    position: absolute;
    background: var(--orange-500);
    opacity: 0.1;
}

.hero-line:nth-child(1) { width: 2px; height: 100%; left: 20%; animation: lineMove 8s infinite linear; }
.hero-line:nth-child(2) { width: 2px; height: 100%; left: 40%; animation: lineMove 6s infinite linear reverse; }
.hero-line:nth-child(3) { width: 100%; height: 2px; top: 30%; animation: lineMoveH 10s infinite linear; }
.hero-line:nth-child(4) { width: 100%; height: 2px; top: 60%; animation: lineMoveH 7s infinite linear reverse; }

@keyframes lineMove {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes lineMoveH {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
}

/* Hero Title - Animated Word by Word */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: wordReveal 0.6s ease-out forwards;
}

.hero-title .word:nth-child(1) { animation-delay: 0.1s; }
.hero-title .word:nth-child(2) { animation-delay: 0.2s; }
.hero-title .word:nth-child(3) { animation-delay: 0.3s; }
.hero-title .word:nth-child(4) { animation-delay: 0.4s; }
.hero-title .word:nth-child(5) { animation-delay: 0.5s; }

.hero-title .highlight {
    color: var(--orange-500);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--orange-500);
    opacity: 0.3;
    border-radius: var(--radius-full);
}

@keyframes wordReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: var(--gray-300);
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 650px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out 0.6s forwards;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideUp 0.8s ease-out 0.8s forwards;
}

/* ============================================ */
/* SECTION STYLES */
/* ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    color: var(--orange-500);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy-900);
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--gray-500);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-gray {
    background: var(--gray-50);
}

/* ============================================ */
/* STATS SECTION */
/* ============================================ */
.stats-section {
    background: var(--navy-600);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover;
    opacity: 0.05;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: var(--transition-base);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--orange-500);
    margin-bottom: 16px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    color: var(--gray-300);
    font-weight: 600;
    font-size: 1rem;
}

.stat-sublabel {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ============================================ */
/* SERVICES GRID */
/* ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    border: 1px solid var(--gray-100);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--orange-200);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-body {
    padding: 24px;
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-600));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    margin-top: -40px;
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-orange);
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.6;
}

.service-link {
    color: var(--orange-500);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-base);
}

.service-link:hover {
    gap: 10px;
    color: var(--orange-600);
}

/* ============================================ */
/* WHY CHOOSE US */
/* ============================================ */
.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-image-wrapper {
    position: relative;
}

.why-us-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-2xl);
}

.why-us-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--navy-600);
    color: var(--white);
    padding: 24px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.why-us-badge h4 {
    font-size: 2.5rem;
    color: var(--orange-500);
    font-weight: 800;
    line-height: 1;
}

.why-us-badge p {
    color: var(--gray-300);
    margin: 4px 0 0;
    font-size: 0.9rem;
}

.why-us-content h2 {
    margin-bottom: 16px;
}

.why-us-content > p {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
}

.feature-item:hover {
    background: var(--gray-50);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--success);
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 0.95rem;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin: 0;
}

/* ============================================ */
/* PROJECTS GRID */
/* ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-base);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(10, 22, 40, 0.6) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: var(--transition-base);
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--orange-500);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    width: fit-content;
}

.project-overlay h3 {
    color: var(--white);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.project-overlay p {
    color: var(--gray-300);
    font-size: 0.9rem;
    margin: 0;
}

/* ============================================ */
/* TESTIMONIALS */
/* ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    transition: var(--transition-base);
    position: relative;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 24px;
    font-size: 5rem;
    color: var(--orange-200);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1rem;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.testimonial-text {
    color: var(--gray-700);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--navy-600);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.testimonial-author h5 {
    color: var(--navy-900);
    font-size: 0.95rem;
}

.testimonial-author small {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* ============================================ */
/* CTA SECTION */
/* ============================================ */
.cta-section {
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--orange-500);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    opacity: 0.1;
}

.cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--orange-500);
    border-radius: 50%;
    bottom: -150px;
    left: -50px;
    opacity: 0.1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-300);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================ */
/* FOOTER */
/* ============================================ */
.footer {
    background: var(--navy-900);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand p {
    color: var(--gray-400);
    margin: 20px 0;
    line-height: 1.7;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--orange-500);
    color: var(--white);
    border-color: var(--orange-500);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-base);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-links a:hover {
    color: var(--orange-500);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: var(--gray-400);
    font-size: 0.95rem;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--orange-500);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-newsletter p {
    color: var(--gray-400);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    outline: none;
    font-size: 0.95rem;
    transition: var(--transition-base);
}

.newsletter-form input:focus {
    border-color: var(--orange-500);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
    padding: 12px 20px;
    background: var(--orange-500);
    border: none;
    color: var(--white);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    cursor: pointer;
    transition: var(--transition-base);
    font-size: 1rem;
}

.newsletter-form button:hover {
    background: var(--orange-600);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: var(--gray-500);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--orange-500);
}

/* ============================================ */
/* FLOATING ELEMENTS */
/* ============================================ */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 998;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    font-size: 1.8rem;
    text-decoration: none;
    transition: var(--transition-bounce);
    animation: whatsappPulse 2s infinite;
}

.floating-whatsapp a:hover {
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 8px 35px rgba(37, 211, 102, 0.7); }
    100% { box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); }
}

.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 997;
    width: 45px;
    height: 45px;
    background: var(--navy-600);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--orange-500);
    transform: translateY(-3px);
    box-shadow: var(--shadow-orange);
}

/* ============================================ */
/* FORM FIELD ERROR STYLES */
/* ============================================ */
input.error, textarea.error, select.error {
    border-color: var(--error) !important;
    box-shadow: 0 0 0 2px rgba(245, 101, 101, 0.1) !important;
}

.field-error {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 4px;
    display: block;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(100px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(100px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* RESPONSIVE DESIGN */
/* ============================================ */
@media (max-width: 1200px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .feature-list { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .why-us-grid { grid-template-columns: 1fr; gap: 40px; }
    .why-us-badge { bottom: -20px; right: -20px; padding: 16px 24px; }
    .why-us-badge h4 { font-size: 2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .hero-buttons { flex-direction: column; }
    .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-title { font-size: 1.8rem; }
}