/* ============================================
   MONTEROS DEL SUR - Estilos CSS
   Tema: Arquitectura Especializada Técnica
   ============================================ */

/* Variables CSS */
:root {
    /* Colores principales - Technical Architecture */
    --primary-red: #FF5733;
    --dark-blue: #2C3E50;
    --bright-blue: #3498DB;
    --orange: #E67E22;
    --steel-gray: #34495E;
    
    /* Colores secundarios */
    --concrete: #95A5A6;
    --silver: #BDC3C7;
    --clouds: #ECF0F1;
    --midnight: #1A252F;
    --emerald: #2ECC71;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #FF5733 0%, #E67E22 100%);
    --gradient-blue: linear-gradient(135deg, #3498DB 0%, #2C3E50 100%);
    --gradient-steel: linear-gradient(135deg, #34495E 0%, #1A252F 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(26, 37, 47, 0.9) 0%, rgba(52, 73, 94, 0.7) 100%);
    
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(255, 87, 51, 0.3);
    
    /* Fuentes */
    --font-oswald: 'Oswald', sans-serif;
    --font-raleway: 'Raleway', sans-serif;
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-raleway);
    font-size: 16px;
    line-height: 1.6;
    color: var(--steel-gray);
    background: var(--clouds);
    overflow-x: hidden;
}

/* Architectural Background */
.arch-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.blueprint-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(52, 152, 219, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 152, 219, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    opacity: 0.95;
}

#structureCanvas {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-oswald);
    font-weight: 600;
    line-height: 1.2;
    color: var(--dark-blue);
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--bright-blue);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-red);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--midnight);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.structure-build {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.beam {
    position: absolute;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-glow);
}

.beam-1 {
    width: 60px;
    height: 8px;
    top: 20px;
    left: 20px;
    animation: buildBeam1 1.5s ease-in-out infinite;
}

.beam-2 {
    width: 8px;
    height: 60px;
    top: 20px;
    left: 20px;
    animation: buildBeam2 1.5s ease-in-out infinite;
}

.beam-3 {
    width: 8px;
    height: 60px;
    top: 20px;
    right: 20px;
    animation: buildBeam3 1.5s ease-in-out infinite;
}

.beam-4 {
    width: 60px;
    height: 8px;
    bottom: 20px;
    left: 20px;
    animation: buildBeam4 1.5s ease-in-out infinite;
}

.cornerstone {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--gradient-blue);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    animation: rotateCube 2s linear infinite;
}

@keyframes buildBeam1 {
    0%, 100% { width: 0; opacity: 0; }
    25%, 75% { width: 60px; opacity: 1; }
}

@keyframes buildBeam2 {
    0%, 100% { height: 0; opacity: 0; }
    35%, 65% { height: 60px; opacity: 1; }
}

@keyframes buildBeam3 {
    0%, 100% { height: 0; opacity: 0; }
    45%, 55% { height: 60px; opacity: 1; }
}

@keyframes buildBeam4 {
    0%, 100% { width: 0; opacity: 0; }
    55%, 45% { width: 60px; opacity: 1; }
}

@keyframes rotateCube {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.loading-text span {
    font-family: var(--font-oswald);
    font-size: 1.5rem;
    color: var(--clouds);
    letter-spacing: 3px;
}

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

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    animation: progressLoad 2s ease-in-out infinite;
}

@keyframes progressLoad {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.98);
}

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

.logo-specialized {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.1));
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-main {
    font-family: var(--font-oswald);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    letter-spacing: 2px;
}

.brand-sub {
    font-family: var(--font-oswald);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-red);
    letter-spacing: 1px;
    margin-top: -5px;
}

.brand-tag {
    font-size: 0.7rem;
    color: var(--concrete);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
}

.nav-link {
    font-family: var(--font-raleway);
    font-weight: 600;
    color: var(--steel-gray);
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-red);
}

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

.nav-link.btn-contact {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 25px;
    border-radius: 5px;
    box-shadow: var(--shadow-md);
}

.nav-link.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.nav-toggle span {
    width: 30px;
    height: 3px;
    background: var(--dark-blue);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(236, 240, 241, 0.9) 100%);
}

.structural-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        linear-gradient(45deg, var(--primary-red) 2px, transparent 2px),
        linear-gradient(-45deg, var(--bright-blue) 2px, transparent 2px);
    background-size: 100px 100px;
    animation: structureFlow 10s linear infinite;
}

@keyframes structureFlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 0); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 87, 51, 0.1);
    border: 2px solid var(--primary-red);
    padding: 10px 20px;
    border-radius: 5px;
    margin-bottom: 30px;
}

.hero-badge i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.hero-badge span {
    color: var(--dark-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

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

.title-pre {
    display: block;
    font-size: 1.2rem;
    color: var(--concrete);
    letter-spacing: 5px;
}

.title-main {
    display: block;
    font-size: clamp(3rem, 8vw, 5rem);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    margin: 10px 0;
}

.title-highlight {
    display: block;
    font-size: 1.5rem;
    color: var(--dark-blue);
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--steel-gray);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.8;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    max-width: 600px;
}

.stat-item {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-oswald);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-red);
}

.stat-unit {
    color: var(--bright-blue);
    font-size: 1.2rem;
    margin-left: 2px;
}

.stat-label {
    color: var(--concrete);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 5px;
    font-family: var(--font-raleway);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--dark-blue);
    border: 2px solid var(--dark-blue);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.hero-visual {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    opacity: 0.1;
}

.building-iso {
    width: 100%;
    height: 100%;
    position: relative;
}

.floor {
    position: absolute;
    background: var(--gradient-blue);
    transform-style: preserve-3d;
}

/* Section Commons */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 87, 51, 0.1);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--dark-blue);
}

.section-title span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about-section {
    background: linear-gradient(180deg, #ffffff 0%, #ECF0F1 100%);
}

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

.company-card {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.company-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-primary);
}

.company-card h3 {
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.info-list {
    list-style: none;
    margin-bottom: 30px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--clouds);
}

.info-list i {
    width: 40px;
    height: 40px;
    background: rgba(255, 87, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    font-size: 1.2rem;
}

.info-list strong {
    color: var(--dark-blue);
    min-width: 100px;
}

.about-image {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.iso-building {
    width: 300px;
    height: 300px;
    position: relative;
    transform: rotateX(30deg) rotateY(-45deg);
}

/* Specialties Section */
.specialties-section {
    background: var(--clouds);
}

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

.specialty-card {
    padding: 35px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.specialty-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

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

.specialty-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 87, 51, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.specialty-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

.specialty-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.percentage-badge {
    display: inline-block;
    padding: 5px 15px;
    background: var(--gradient-blue);
    color: white;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.specialty-list {
    list-style: none;
    color: var(--steel-gray);
}

.specialty-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
}

.specialty-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--bright-blue);
}

/* Capabilities/Alcances Section */
.capabilities-section {
    background: white;
    padding: 100px 0;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.capability-card {
    padding: 40px 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border-top: 3px solid var(--primary-red);
}

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

.capability-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.capability-icon i {
    font-size: 2rem;
    color: white;
}

.capability-card h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.capability-card p {
    color: var(--concrete);
    margin-bottom: 20px;
    line-height: 1.7;
}

.capability-list {
    list-style: none;
}

.capability-list li {
    padding: 8px 0;
    color: var(--concrete);
    position: relative;
    padding-left: 25px;
}

.capability-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
}

.achievements-summary {
    text-align: center;
    padding: 60px 30px;
    background: var(--clouds);
    border-radius: 20px;
    margin-top: 40px;
}

.achievements-summary h3 {
    color: var(--dark-blue);
    margin-bottom: 40px;
    font-size: 2rem;
}

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

.stat-item {
    padding: 20px;
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}

.stat-label {
    color: var(--concrete);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Projects Section - Legacy styles kept for compatibility */
.projects-section {
    background: white;
}

.projects-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.project-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    background: white;
}

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

.project-image {
    height: 250px;
    background: var(--gradient-blue);
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

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

.view-project {
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.view-project:hover {
    transform: scale(1.05);
}

.project-info {
    padding: 30px;
}

.project-category {
    color: var(--bright-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.project-info h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.project-details {
    display: flex;
    gap: 30px;
    margin-top: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--concrete);
}

.detail-item i {
    color: var(--primary-red);
}

/* Process Section */
.process-section {
    background: var(--clouds);
}

.process-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
}

.process-step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.process-step:nth-child(odd) .step-content {
    margin-right: 50px;
}

.process-step:nth-child(even) .step-content {
    margin-left: 50px;
}

.step-number {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-oswald);
    font-size: 1.5rem;
    font-weight: 700;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.step-content h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.step-content p {
    color: var(--steel-gray);
    line-height: 1.8;
}

/* Certifications Section */
.certifications-section {
    background: white;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.cert-item {
    text-align: center;
    padding: 30px;
    background: var(--clouds);
    border-radius: 10px;
    transition: var(--transition);
}

.cert-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    background: white;
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-icon i {
    font-size: 2.5rem;
    color: white;
}

.cert-item h4 {
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.cert-item p {
    color: var(--concrete);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(180deg, var(--clouds) 0%, white 100%);
}

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

.contact-info {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.contact-details {
    list-style: none;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--clouds);
}

.contact-details li:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 87, 51, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

.contact-form {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    color: var(--dark-blue);
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: var(--steel-gray);
    font-weight: 600;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--clouds);
    border-radius: 5px;
    font-family: var(--font-raleway);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bright-blue);
    background: rgba(52, 152, 219, 0.05);
}

.form-group textarea {
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Footer */
.footer {
    background: var(--midnight);
    color: var(--clouds);
    padding: 60px 0 20px;
}

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

.footer-brand h3 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.footer-brand p {
    color: var(--silver);
    line-height: 1.8;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clouds);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
}

.footer-column h4 {
    color: var(--clouds);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: var(--silver);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--silver);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-visual {
        display: none;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step,
    .process-step:nth-child(even) {
        flex-direction: column;
    }
    
    .process-step:nth-child(odd) .step-content,
    .process-step:nth-child(even) .step-content {
        margin: 0;
        margin-top: 40px;
    }
    
    .timeline-line {
        display: none;
    }
    
    .step-number {
        position: relative;
        left: 0;
        transform: none;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 100px 30px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .specialties-grid {
        grid-template-columns: 1fr;
    }
    
    .projects-showcase {
        grid-template-columns: 1fr;
    }
    
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Loading Animation */
.loading {
    pointer-events: none;
    opacity: 0.6;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid transparent;
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
