/* ========================================
   IEBC - Premium Landing Page Styles
   Industrial Luxury Aesthetic
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #0274be;
    --color-primary-dark: #015a94;
    --color-primary-light: #0388db;
    --color-secondary: #0a1628;
    --color-accent: #c9a962;
    --color-accent-light: #dfc88a;
    --color-dark: #0b0b0b;
    --color-gray-900: #1a1a1a;
    --color-gray-800: #2d2d2d;
    --color-gray-700: #3a3a3a;
    --color-gray-600: #4a4a4a;
    --color-gray-400: #888888;
    --color-gray-300: #b0b0b0;
    --color-gray-100: #f5f5f5;
    --color-white: #ffffff;

    --font-display: 'Archivo Black', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-accent: 'Playfair Display', serif;

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(2, 116, 190, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
}

body.loading {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   PRELOADER
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-secondary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.blueprint-grid {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background-image:
        linear-gradient(rgba(2, 116, 190, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 116, 190, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    animation: gridPulse 2s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.loader-text {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 30px;
}

.loader-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--color-white);
    opacity: 0;
    transform: translateY(30px);
    animation: letterReveal 0.6s forwards;
}

.loader-letter:nth-child(1) { animation-delay: 0.1s; }
.loader-letter:nth-child(2) { animation-delay: 0.2s; }
.loader-letter:nth-child(3) { animation-delay: 0.3s; }
.loader-letter:nth-child(4) { animation-delay: 0.4s; }

@keyframes letterReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 20px;
    overflow: hidden;
    border-radius: 2px;
}

.loader-progress {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    animation: loadProgress 2s ease-out forwards;
    animation-delay: 0.5s;
}

@keyframes loadProgress {
    to { width: 100%; }
}

.loader-tagline {
    font-family: var(--font-accent);
    font-size: 1rem;
    color: var(--color-gray-400);
    font-style: italic;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
    animation-delay: 0.8s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-base);
}

.nav.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 48px;
    width: auto;
    border-radius: 6px;
    transition: var(--transition-base);
}

.nav.scrolled .logo-img {
    height: 40px;
}

.nav-logo:hover .logo-img {
    transform: scale(1.02);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition-base);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

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

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(10, 22, 40, 0.8) 50%,
        rgba(2, 116, 190, 0.4) 100%
    );
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(201, 169, 98, 0.15);
    border: 1px solid rgba(201, 169, 98, 0.3);
    padding: 12px 24px;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s forwards;
    animation-delay: 0.3s;
}

.badge-year {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-accent);
}

.badge-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    margin-bottom: 30px;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--color-white);
    line-height: 1.05;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(60px);
    animation: slideUp 1s forwards;
}

.title-line:nth-child(1) { animation-delay: 0.4s; }
.title-line:nth-child(2) { animation-delay: 0.5s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.title-accent {
    color: transparent;
    -webkit-text-stroke: 2px var(--color-accent);
    text-stroke: 2px var(--color-accent);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 0.8s;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 18px 36px;
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 20px;
    height: 20px;
    transition: var(--transition-base);
}

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

.btn-primary::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-primary:hover::before {
    left: 100%;
}

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

.btn-primary:hover svg {
    transform: translateX(4px);
}

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

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

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

.btn-dark:hover {
    background: var(--color-gray-900);
    transform: translateY(-2px);
}

.btn-dark:hover svg {
    transform: translateX(4px);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1.5s;
}

.hero-scroll span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 3px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 40px;
    opacity: 0;
    animation: fadeIn 1s forwards;
    animation-delay: 1.2s;
}

.stat-item {
    text-align: right;
    padding-right: 20px;
    border-right: 2px solid var(--color-accent);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-white);
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SECTION STYLING
   ======================================== */
.section-header {
    margin-bottom: 60px;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    position: relative;
    padding-left: 50px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 35px;
    height: 2px;
    background: var(--color-accent);
}

.section-tag-light {
    color: var(--color-accent);
}

.section-tag-light::before {
    background: rgba(255, 255, 255, 0.3);
}

.section-header-center .section-tag {
    padding-left: 0;
}

.section-header-center .section-tag::before {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-secondary);
    line-height: 1.15;
    letter-spacing: -1px;
}

.section-title span {
    color: var(--color-primary);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-gray-100) 100%);
}

.about-bg-text {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    font-family: var(--font-display);
    font-size: 25vw;
    color: var(--color-gray-100);
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-lead {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-gray-600);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.value-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.value-item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    border-radius: 8px;
}

.value-icon svg {
    width: 26px;
    height: 26px;
    color: var(--color-white);
}

.value-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 6px;
}

.value-content p {
    font-size: 0.95rem;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-accent);
    z-index: -1;
}

.about-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: grayscale(20%);
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-image {
    filter: grayscale(0%);
    transform: scale(1.03);
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent);
}

.about-experience {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: var(--color-secondary);
    padding: 30px 40px;
    text-align: center;
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-accent);
    line-height: 1;
}

.exp-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.4;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: 140px 0;
    background: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.services-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(2, 116, 190, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(201, 169, 98, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.services .section-title {
    color: var(--color-white);
}

.services .section-title span {
    color: var(--color-accent);
}

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

.service-card {
    position: relative;
    padding: 50px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-slow);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-base);
}

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

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 30px;
    position: relative;
}

.service-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
    transition: var(--transition-base);
}

.service-card:hover .service-icon svg {
    color: var(--color-accent);
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

.service-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.service-number {
    position: absolute;
    top: 30px;
    right: 30px;
    font-family: var(--font-display);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    transition: var(--transition-base);
}

.service-card:hover .service-number {
    color: rgba(201, 169, 98, 0.2);
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-primary);
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.stats-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.stats-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.stats-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.stat-block {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.stat-block:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.02);
}

.stat-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.counter {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-accent);
}

.stat-name {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    padding: 140px 0;
    background: var(--color-gray-100);
}

.projects-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-gray-600);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    padding: 12px 28px;
    cursor: pointer;
    transition: var(--transition-base);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-secondary);
    color: var(--color-white);
    border-color: var(--color-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.project-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    cursor: pointer;
}

.project-card-large {
    grid-column: span 2;
    height: 400px;
}

.project-image {
    width: 100%;
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(10, 22, 40, 0.95) 0%,
        rgba(10, 22, 40, 0.4) 50%,
        transparent 100%
    );
    transition: var(--transition-base);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    background: linear-gradient(
        to top,
        rgba(2, 116, 190, 0.95) 0%,
        rgba(2, 116, 190, 0.6) 50%,
        rgba(2, 116, 190, 0.3) 100%
    );
}

.project-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    transform: translateY(20px);
    transition: var(--transition-base);
}

.project-card:hover .project-content {
    transform: translateY(0);
}

.project-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.project-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}

.project-location {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transition: var(--transition-base);
}

.project-card:hover .project-location {
    opacity: 1;
}

.projects-cta {
    text-align: center;
    margin-top: 50px;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: 140px 0;
    background: var(--color-white);
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 40px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.testimonial-card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.testimonial-quote {
    width: 60px;
    height: 60px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-gray-100);
    border-radius: 50%;
}

.testimonial-quote svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.testimonial-text {
    font-family: var(--font-accent);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-secondary);
}

.author-role {
    font-size: 0.9rem;
    color: var(--color-gray-400);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid var(--color-gray-300);
    background: transparent;
    cursor: pointer;
    transition: var(--transition-base);
}

.dot:hover,
.dot.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: 140px 0;
    background: var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 116, 190, 0.1) 0%, transparent 70%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--color-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 116, 190, 0.2);
    border-radius: 8px;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 1rem;
    color: var(--color-white);
    line-height: 1.5;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-group-full {
    grid-column: span 2;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    outline: none;
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group label {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: var(--transition-base);
}

.form-group textarea + label {
    top: 20px;
    transform: none;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -10px;
    left: 16px;
    font-size: 0.75rem;
    color: var(--color-primary);
    background: var(--color-secondary);
    padding: 0 6px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--color-secondary);
    color: var(--color-white);
}

.contact-form .btn {
    grid-column: span 2;
    margin-top: 10px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--color-dark);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    height: 56px;
    width: auto;
    border-radius: 8px;
    transition: var(--transition-base);
}

.footer-logo:hover .footer-logo-img {
    transform: scale(1.02);
    opacity: 0.9;
}

.footer-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-top: 20px;
    margin-bottom: 30px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-base);
}

.social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--color-white);
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bolsa {
    font-style: italic;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero-stats {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-card-large {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-visual {
        order: -1;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: var(--color-secondary);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: var(--transition-base);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

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

    .hero-cta {
        flex-direction: column;
    }

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

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

    .project-card,
    .project-card-large {
        grid-column: span 1;
        height: 300px;
    }

    .stats-numbers {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-group-full {
        grid-column: span 1;
    }

    .contact-form .btn {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        padding: 10px 16px;
    }

    .badge-year {
        font-size: 1.5rem;
    }

    .btn {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .section-tag {
        padding-left: 40px;
    }

    .section-tag::before {
        width: 25px;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }
}

/* Animations for scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

::-webkit-scrollbar-track {
    background: var(--color-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
}

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