/* GSX Company Design System */
:root {
    --primary-blue: #1e60ad;
    --primary-blue-dark: #154a8a;
    --primary-blue-light: #3b7bc9;
    --accent-gold: #D4AF37;
    --accent-gold-light: #f0d065;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1rem;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-gold {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
}

.btn-gold:hover {
    background-color: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.section-padding {
    padding: 5rem 0;
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--bg-white);
}

.text-gold {
    color: var(--accent-gold);
}

.text-blue {
    color: var(--primary-blue);
}

.text-gray {
    color: var(--text-gray);
}

/* Header */
header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--primary-blue);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-gold);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--primary-blue);
    cursor: pointer;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-left: 2rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.lang-btn:hover {
    background: var(--primary-blue);
    color: var(--bg-white);
}

.lang-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 100;
}

.lang-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.lang-dropdown a:hover {
    background: var(--bg-light);
    color: var(--primary-blue);
}

.lang-dropdown a:first-child {
    border-radius: 10px 10px 0 0;
}

.lang-dropdown a:last-child {
    border-radius: 0 0 10px 10px;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 51, 102, 0.7), rgba(0, 51, 102, 0.7)), url('assets/facade.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--bg-white);
    margin-top: 70px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 span {
    color: var(--accent-gold);
}

/* Trusted By */
.trusted-by {
    background-color: var(--bg-light);
    padding: 3rem 0;
}

.trusted-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.7;
}

.trusted-logos a {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-gray);
}

.trusted-logos a:hover {
    color: var(--primary-blue);
    opacity: 1;
}

/* Stats */
.stats {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item h3 {
    font-size: 3rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--accent-gold);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--accent-gold);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: 0;
    background-color: var(--bg-white);
    border: 4px solid var(--primary-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    transform: translateX(50%);
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
}

.left::after {
    right: 0;
    transform: translateX(50%);
}

.right::after {
    left: 0;
    transform: translateX(-50%);
}

.content {
    padding: 20px 30px;
    background-color: var(--bg-white);
    position: relative;
    border-radius: 6px;
    box-shadow: var(--shadow-md);
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.member-img {
    height: 250px;
    background-color: #ddd;
    width: 100%;
    object-fit: cover;
}

.member-info {
    padding: 1.5rem;
}

.member-role {
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Contact */
.contact {
    background-color: var(--primary-blue);
    color: var(--bg-white);
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-family: inherit;
}

/* Footer */
footer {
    background-color: var(--primary-blue-dark);
    color: var(--bg-white);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .lang-switcher {
        margin-left: 1rem;
    }

    .lang-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::after {
        left: 21px;
        transform: none;
    }

    .left::after,
    .right::after {
        left: 21px;
        transform: none;
    }

    .right {
        left: 0%;
    }

    .left {
        text-align: left;
    }
}