@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0f172a;
    --primary-hover: #1e293b;
    --accent: #3b82f6;
    --text: #0f172a;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --border: #e2e8f0;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --container-width: 1200px;
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--bg);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

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

button {
    background-color: #eef2ff;
    color: #1e293b;
    border: none;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: 0.025em;
}

button:hover {
    background-color: #e0e7ff;
    transform: translateY(-1px);
}

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

header {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-height);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-logo img {
    height: 60px;
    width: auto;
}

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

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text);
    font-weight: 600;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    padding: 8px 0;
    position: relative;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: var(--transition);
}

main {
    flex: 1;
}

.hero-section {
    background: linear-gradient(rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.15)), url('/assets/images/pexels-david-iglesias-13602331-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 180px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.05em;
    line-height: 1;
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-subhead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-section button {
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 16px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
    transition: all 0.4s cubic-bezier(0.76, 0, 0.24, 1);
}

.hero-section button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
}

.services-section {
    padding: 80px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--text);
}

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

.service-card {
    background-color: var(--bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-content {
    padding: 25px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
    text-transform: uppercase;
}

.service-description {
    color: var(--text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.why-choose-section {
    padding: 80px 0;
    background-color: var(--bg-secondary);
}

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

.why-choose-item {
    text-align: center;
    padding: 30px;
    background-color: var(--bg);
    border-radius: 10px;
}

.why-choose-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text);
    text-transform: uppercase;
}

.why-choose-item hr {
    width: 60px;
    height: 2px;
    background-color: var(--primary);
    border: none;
    margin: 0 auto 15px;
}

.why-choose-item p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.about-section {
    padding: 80px 0;
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
}

.links-section {
    padding: 40px 0;
    text-align: center;
    background-color: var(--bg-accent);
}

.links-section p {
    margin-bottom: 10px;
}

.links-section a {
    color: var(--text);
    font-weight: 500;
}

.links-section a:hover {
    color: var(--primary);
}

.page-content {
    padding: 60px 0;
}

.page-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.page-content h2 {
    font-size: 1.75rem;
    margin-top: 40px;
    margin-bottom: 15px;
    color: var(--text);
}

.page-content h3 {
    font-size: 1.375rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--text);
}

.page-content h4 {
    font-size: 1.125rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--text);
}

.page-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--text-light);
}

.page-content ul,
.page-content ol {
    margin-left: 30px;
    margin-bottom: 15px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-light);
}

footer {
    background-color: var(--text);
    color: white;
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin: 0;
    font-size: 0.9375rem;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    padding: 0;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    :root {
        --header-height: 65px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--bg);
        box-shadow: var(--shadow);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav.active {
        max-height: 300px;
    }

    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }

    nav li {
        border-bottom: 1px solid var(--border);
    }

    nav li:last-child {
        border-bottom: none;
    }

    nav a {
        display: block;
        padding: 12px 0;
    }

    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 40px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-image {
        height: 180px;
    }

    .why-choose-grid {
        gap: 20px;
    }

    .page-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    button {
        padding: 10px 24px;
        font-size: 14px;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}
