/* CSS Variables */
:root {
    /* Color Palette */
    --dark-blue: #0b1a30;
    --dark-blue-light: #152744;
    --gold: #c5a059;
    --gold-light: #dfb974;
    --gold-dark: #a88543;
    --white: #ffffff;
    --gray-light: #f5f7fa;
    --gray-medium: #e0e5ec;
    --text-dark: #333333;
    --text-light: #f4f4f4;
    --text-muted: #777777;

    /* Typography */
    --font-primary: 'Inter', sans-serif;

    /* Spacing & Utilities */
    --transition-speed: 0.3s;
    --section-padding: 80px 0;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.text-white {
    color: var(--white);
}

.text-gold {
    color: var(--gold);
}

.text-large {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-4 {
    margin-bottom: 2rem;
}

.d-block {
    display: block;
}

.font-weight-bold {
    font-weight: 600;
}

.justify-center {
    justify-content: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark-blue);
}

h2.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--gold);
}

.bg-dark h2.section-title::after {
    left: 50%;
}

.about-content h2.section-title::after,
.contact-form-container h2.section-title::after {
    left: 0;
    transform: none;
}

/* Backgrounds */
.bg-light {
    background-color: var(--gray-light);
}

.bg-dark {
    background-color: var(--dark-blue);
}

.bg-blue {
    background-color: var(--dark-blue-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(197, 160, 89, 0.3);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.btn-secondary:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gold);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-gold-solid {
    background-color: var(--gold);
    color: var(--dark-blue);
}

.btn-gold-solid:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-content {
    opacity: 0;
    animation: fadeInGlow 1.5s ease forwards;
}

.loading-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.4));
}

.loading-text-logo {
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 2px;
}

@keyframes fadeInGlow {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(197, 160, 89, 0.8));
    }
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
    background-color: transparent;
}

.header.scrolled {
    background-color: var(--dark-blue);
    padding: 5px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo {
    max-width: 250px;
    height: auto;
    transition: max-width 0.4s ease;
}

.header.scrolled .header-logo {
    max-width: 120px;
}

.header-text-logo {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color var(--transition-speed) ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--gold);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    align-items: center;
    color: var(--white);
    font-size: 0.9rem;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-weight: 600;
    transition: color var(--transition-speed);
}

.lang-btn.active {
    color: var(--gold);
}

.lang-btn:hover {
    color: var(--white);
}

.lang-separator {
    margin: 0 5px;
    color: rgba(255, 255, 255, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections General */
.section {
    padding: var(--section-padding);
}

/* Hero Section */
.hero-bogota {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('bogota.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(11, 26, 48, 0.8), rgba(11, 26, 48, 0.9));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    color: var(--white);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Who We Support */
.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.support-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    border-bottom: 3px solid transparent;
}

.support-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--gold);
}

.support-icon {
    width: 80px;
    height: 80px;
    background-color: var(--gray-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--dark-blue);
    font-size: 2rem;
    transition: background-color 0.3s, color 0.3s;
}

.support-card:hover .support-icon {
    background-color: var(--dark-blue);
    color: var(--gold);
}

.support-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.support-card p {
    color: var(--text-muted);
}

/* Services */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 60px;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-image-col,
.service-text-col {
    flex: 1;
}

.service-img {
    height: 400px;
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background-size: cover;
    background-position: center;
}

.placeholder-img {
    /* Subtle geometric/abstract patterns for services */
    background-color: var(--gray-light);
}

.img-1 {
    /* Representation & Management */
    background-image: url('https://images.unsplash.com/photo-1516321497487-e288fb19713f?auto=format&fit=crop&q=80&w=1000');
}

.img-2 {
    /* Pensions & Social Security */
    background-image: url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c?auto=format&fit=crop&q=80&w=1000');
}

.img-3 {
    /* Immigration */
    background-image: url('https://images.unsplash.com/photo-1436450412740-6b988f486c6b?q=80&w=1000&auto=format&fit=crop');
}

.img-4 {
    /* Accounting */
    background-image: url('https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&q=80&w=1000');
}

.img-5 {
    /* Visa Services */
    background-image: url('visa.jpg');
}

.service-text-col h3 {
    font-size: 2rem;
    margin-bottom: 25px;
}

.service-items {
    list-style: none;
    margin-bottom: 20px;
}

.service-items li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.service-items li i {
    margin-top: 5px;
    font-size: 0.9rem;
}

/* Timeline */
.timeline-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    padding-bottom: 40px;
}

.timeline-line {
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 0 15px;
}

.step-num {
    width: 60px;
    height: 60px;
    background-color: var(--dark-blue);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    transition: all 0.3s ease;
}

.step:hover .step-num {
    background-color: var(--gold);
    color: var(--dark-blue);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.step h4 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* About Us */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-card {
    background-color: var(--gray-light);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
    transition: transform 0.3s ease;
}

.mission-card:hover {
    transform: translateX(10px);
}

.card-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 15px;
}

.mission-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Final CTA */
.final-cta {
    padding: 100px 0;
}

.display-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.contact-info-card {
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-list i {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-list a:hover {
    color: var(--gold);
}

/* Footer */
.footer {
    background-color: #081324;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    max-width: 250px;
    height: auto;
}

.footer-tagline {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
}

.footer h5 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icons a:hover {
    background-color: var(--gold);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-legal .separator {
    margin: 0 10px;
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .service-image-col {
        width: 100%;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .timeline-container {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 30px;
    }

    .timeline-line {
        top: 0;
        bottom: 0;
        left: 28px;
        width: 2px;
        height: 100%;
    }

    .step {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 30px;
        width: 100%;
        text-align: left;
    }

    .step-num {
        margin: 0 0 15px 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .display-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

    .header-logo {
        max-width: 180px;
    }

    .header-actions {
        gap: 10px;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--dark-blue);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}