/* Base Styles */
:root {
    --primary-color: #2D3B45;
    --secondary-color: #4E5151;
    --accent-color: #BA5838;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gray-color: #6c757d;
    --light-gray: #e9ecef;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

p {
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-family: var(--font-primary);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

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

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

.btn-text {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.btn-text i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-text:hover i {
    transform: translateX(5px);
}

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

.section-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.separator {
    width: 80px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
}

/* Language Selector */
.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    overflow: hidden;
}

.language-selector button {
    border: none;
    background: none;
    padding: 8px 16px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.language-selector button.active {
    background-color: var(--primary-color);
    color: white;
}

/* Language Display */
.lang-en, .lang-es {
    display: none;
}

html[lang="en"] .lang-en {
    display: inline-block;
}

html[lang="es"] .lang-es {
    display: inline-block;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 10px 0;
}

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

.logo img {
    height: 50px;
    transition: all 0.3s ease;
}

.header.scrolled .logo img {
    height: 40px;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 16px;
    color: var(--dark-color);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

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

.contact-btn {
    margin-left: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    background: linear-gradient(rgba(45, 59, 69, 0.8), rgba(45, 59, 69, 0.8)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 28px;
    color: var(--primary-color);
}

.about-text .subtitle {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.mission-values {
    margin-top: 30px;
}

.mission, .values {
    margin-bottom: 20px;
}

.mission h4, .values h4 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.values ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.values li {
    display: flex;
    align-items: center;
}

.values li i {
    color: var(--accent-color);
    margin-right: 10px;
    font-size: 18px;
}

/* Services Section */
.services {
    background-color: var(--light-gray);
}

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

.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(45, 59, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

/* SIITECH Feature Section */
.siitech-feature {
    background-color: white;
}

.siitech-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.siitech-info {
    flex: 1;
}

.siitech-info h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.features-list i {
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 18px;
}

.siitech-image {
    flex: 1;
}

.siitech-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Why Choose Us Section */
.why-choose-us {
    background-color: var(--primary-color);
    color: white;
}

.why-choose-us .section-header h2 {
    color: white;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.reason-card {
    text-align: center;
    padding: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-10px);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.reason-icon i {
    font-size: 36px;
    color: white;
}

.reason-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: white;
}

/* Work Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-gray);
    z-index: 1;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
    flex: 1;
    padding: 0 15px;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-weight: 700;
    margin: 0 auto 20px;
}

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

.step-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

.process-step h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Contact Section */
.contact {
    background-color: var(--light-gray);
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-item i {
    font-size: 24px;
    color: var(--accent-color);
    margin-right: 20px;
    margin-top: 5px;
}

.info-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.contact-form {
    flex: 2;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-secondary);
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo {
    flex: 1;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    flex: 1;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: white;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    flex: 1;
}

.footer-contact p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-contact i {
    margin-right: 10px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
    color: white;
}

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

.footer-social a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .section-header h2 {
        font-size: 32px;
    }
    
    .about-content,
    .siitech-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .siitech-image {
        margin-bottom: 30px;
    }
    
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-steps::before {
        display: none;
    }
    
    .process-step {
        flex: 0 0 50%;
        margin-bottom: 40px;
    }
    
    .footer-content {
        flex-wrap: wrap;
    }
    
    .footer-logo,
    .footer-links,
    .footer-contact {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 99;
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .nav-links li {
        margin: 10px 0;
    }
    
    .contact-btn {
        margin: 10px 0 0;
        width: 100%;
        text-align: center;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .values ul {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 15px;
    }
}

@media (max-width: 576px) {
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero h1 {
        font-size: 30px;
    }
    
    .about-text h3 {
        font-size: 24px;
    }
}
