* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3a52;
    --secondary-color: #2c5f7e;
    --accent-color: #d4af37;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --spacing-unit: 8px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 calc(var(--spacing-unit) * 3);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--spacing-unit) * 2) 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: calc(var(--spacing-unit) * 4);
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-cta {
    padding: calc(var(--spacing-unit) * 1.5) calc(var(--spacing-unit) * 3);
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: calc(var(--spacing-unit) * 0.75);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 0.75);
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    background-image: url('https://images.pexels.com/photos/380768/pexels-photo-380768.jpeg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 58, 82, 0.9) 0%, rgba(44, 95, 126, 0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--text-white);
    padding-top: calc(var(--spacing-unit) * 10);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(30px);
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 2);
    letter-spacing: -1px;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-tagline {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--accent-color);
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto calc(var(--spacing-unit) * 5);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-cta {
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 5);
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: calc(var(--spacing-unit) * 0.75);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    animation: fadeInUp 1s ease 0.8s forwards;
    opacity: 0;
}

.hero-cta:hover {
    background-color: #c29d2e;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.scroll-indicator {
    position: absolute;
    bottom: calc(var(--spacing-unit) * 5);
    left: 50%;
    transform: translateX(-50%);
    animation: fadeInUp 1s ease 1s forwards;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 13px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-50%) translateY(12px);
        opacity: 0;
    }
}

.section-label {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

h2 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: calc(var(--spacing-unit) * 3);
    line-height: 1.2;
}

.about {
    padding: calc(var(--spacing-unit) * 15) 0;
    background-color: var(--bg-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 8);
    align-items: center;
}

.about-text {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-text.visible {
    opacity: 1;
    transform: translateX(0);
}

.about-description {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.about-highlights {
    list-style: none;
    margin-top: calc(var(--spacing-unit) * 4);
}

.about-highlights li {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-size: 1.05rem;
    font-weight: 500;
}

.about-highlights svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.about-image {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-image.visible {
    opacity: 1;
    transform: translateX(0);
}

.image-placeholder {
    width: 100%;
    height: 500px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: calc(var(--spacing-unit) * 2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: var(--shadow-xl);
}

.services {
    padding: calc(var(--spacing-unit) * 15) 0;
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto calc(var(--spacing-unit) * 8);
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
}

.service-card {
    background-color: var(--bg-white);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: calc(var(--spacing-unit) * 2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: calc(var(--spacing-unit) * 10);
    height: calc(var(--spacing-unit) * 10);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: calc(var(--spacing-unit) * 1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: calc(var(--spacing-unit) * 3);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
}

.service-icon svg {
    color: var(--text-white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 2);
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
    display: inline-block;
}

.testimonials {
    padding: calc(var(--spacing-unit) * 15) 0;
    background-color: var(--bg-white);
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    overflow: hidden;
    margin-bottom: calc(var(--spacing-unit) * 10);
}

.testimonials-track {
    display: flex;
    gap: calc(var(--spacing-unit) * 4);
    animation: scroll-testimonials 30s linear infinite;
}

@keyframes scroll-testimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    flex: 0 0 500px;
    background-color: var(--bg-light);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: calc(var(--spacing-unit) * 2);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.quote-icon {
    font-size: 4rem;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: calc(var(--spacing-unit) * 2);
    font-family: Georgia, serif;
}

.testimonial-content p {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
}

.author-avatar {
    width: calc(var(--spacing-unit) * 7);
    height: calc(var(--spacing-unit) * 7);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    color: var(--text-dark);
}

.testimonial-author p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.clients-section {
    text-align: center;
}

.clients-section h3 {
    font-size: 1.5rem;
    margin-bottom: calc(var(--spacing-unit) * 5);
    color: var(--text-dark);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: calc(var(--spacing-unit) * 4);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.clients-grid.visible {
    opacity: 1;
    transform: translateY(0);
}

.client-logo {
    padding: calc(var(--spacing-unit) * 4);
    background-color: var(--bg-light);
    border-radius: calc(var(--spacing-unit) * 1.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-light);
    transition: var(--transition);
}

.client-logo:hover {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.contact {
    padding: calc(var(--spacing-unit) * 15) 0;
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--spacing-unit) * 10);
}

.contact-info {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-info.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-description {
    color: var(--text-light);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 4);
}

.contact-item {
    display: flex;
    gap: calc(var(--spacing-unit) * 3);
}

.contact-item svg {
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
    line-height: 1.7;
}

.contact-form-wrapper {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-form-wrapper.visible {
    opacity: 1;
    transform: translateX(0);
}

.contact-form {
    background-color: var(--bg-white);
    padding: calc(var(--spacing-unit) * 5);
    border-radius: calc(var(--spacing-unit) * 2);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.form-group label {
    display: block;
    margin-bottom: calc(var(--spacing-unit) * 1);
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 1.5);
    border: 2px solid var(--border-color);
    border-radius: calc(var(--spacing-unit) * 0.75);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 58, 82, 0.1);
}

.submit-btn {
    width: 100%;
    padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
    background-color: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: calc(var(--spacing-unit) * 0.75);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.footer {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: calc(var(--spacing-unit) * 10) 0 calc(var(--spacing-unit) * 4);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: calc(var(--spacing-unit) * 6);
    margin-bottom: calc(var(--spacing-unit) * 6);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-column p {
    line-height: 1.7;
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.social-links {
    display: flex;
    gap: calc(var(--spacing-unit) * 2);
}

.social-links a {
    width: calc(var(--spacing-unit) * 5);
    height: calc(var(--spacing-unit) * 5);
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: calc(var(--spacing-unit) * 3);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: calc(var(--spacing-unit) * 1);
}

.footer-bottom {
    text-align: center;
    padding-top: calc(var(--spacing-unit) * 4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-to-top {
    position: fixed;
    bottom: calc(var(--spacing-unit) * 4);
    right: calc(var(--spacing-unit) * 4);
    width: calc(var(--spacing-unit) * 6);
    height: calc(var(--spacing-unit) * 6);
    background-color: var(--accent-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #c29d2e;
    transform: translateY(-3px);
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-tagline {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 5);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: calc(var(--spacing-unit) * 6);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: calc(var(--spacing-unit) * 5);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        flex: 0 0 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 calc(var(--spacing-unit) * 2);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .testimonial-card {
        flex: 0 0 300px;
    }
}
