/* Base Styles */
:root {
    --primary-color: #0D5C92;
    --primary-light: #0882D9;
    --primary-dark: #074270;
    --accent-color: #FFB100;
    --accent-light: #FFCB45;
    --accent-dark: #E79C00;
    --background-light: #F9FCFF;
    --background-dark: #051C2C;
    --text-light: #FFFFFF;
    --text-dark: #333333;
    --text-gray: #777777;
    --shadow: 0 4px 12px rgba(13, 92, 146, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px */
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 3.2rem;
}

h3 {
    font-size: 2.4rem;
}

p {
    margin-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 0.4rem;
    background: var(--accent-color);
    border-radius: 0.2rem;
}

/* Layout */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 2rem;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--background-light);
    box-shadow: var(--shadow);
    padding: 1.5rem 3rem;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    width: 5rem;
    height: 5rem;
}

.logo h1 {
    font-size: 2rem;
    color: var(--primary-color);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 3rem;
}

.nav-menu a {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.2rem;
    background-color: var(--accent-color);
    transition: var(--transition);
}

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

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    display: block;
    width: 2.5rem;
    height: 0.3rem;
    margin: 0.5rem 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 15rem;
    padding-bottom: 8rem;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    flex: 1;
    padding-right: 5rem;
}

.hero-content h2 {
    font-size: 4.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.hero-content h2 span {
    position: relative;
    color: var(--accent-color);
    z-index: 1;
}

.hero-content h2 span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.3rem;
    width: 100%;
    height: 0.8rem;
    background-color: rgba(255, 177, 0, 0.2);
    z-index: -1;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 4rem;
    color: var(--text-gray);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.5rem 3rem;
    border-radius: 5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.6rem;
    letter-spacing: 0.1rem;
    transition: var(--transition);
    margin-right: 1.5rem;
}

.btn:last-child {
    margin-right: 0;
}

.primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    box-shadow: 0 0.4rem 1.5rem rgba(255, 177, 0, 0.3);
}

.primary:hover {
    background-color: var(--accent-light);
    transform: translateY(-0.3rem);
    box-shadow: 0 0.8rem 2rem rgba(255, 177, 0, 0.4);
}

.secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 0.2rem solid var(--primary-color);
}

.secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-0.3rem);
    box-shadow: 0 0.8rem 2rem rgba(13, 92, 146, 0.2);
}

.large {
    padding: 1.8rem 3.6rem;
    font-size: 1.8rem;
}

/* Features Section */
.features {
    background-color: var(--text-light);
    position: relative;
}

.feature-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.feature-card {
    flex: 1;
    min-width: 30rem;
    max-width: 40rem;
    background-color: var(--background-light);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-1rem);
    box-shadow: 0 1rem 3rem rgba(13, 92, 146, 0.2);
}

.feature-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-gray);
    font-size: 1.6rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
}

.gallery .section-title {
    color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.3);
}

.gallery-image {
    display: block;
    width: 100%;
    height: auto;
}

.gallery-action {
    text-align: center;
}

.gallery .btn.primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

/* About Section */
.about {
    background-color: var(--background-light);
}

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

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

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
    text-align: center;
    padding: 8rem 2rem;
}

.cta-content {
    max-width: 80rem;
    margin: 0 auto;
}

.cta h2 {
    font-size: 3.6rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.cta p {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 4rem;
    opacity: 0.9;
}

.cta .btn {
    margin-right: 0;
}

.cta .primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0.5rem 1.5rem rgba(13, 92, 146, 0.3);
}

.cta .primary:hover {
    background-color: var(--primary-dark);
}

/* Footer */
footer {
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 6rem 3rem 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    gap: 6rem;
}

.footer-column h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 4rem;
    height: 0.2rem;
    background-color: var(--accent-color);
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
    padding-left: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 0.1rem solid rgba(255, 255, 255, 0.1);
}

.copyright p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 12rem;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 5rem;
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .btn {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    header {
        padding: 1.5rem 2rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 8rem;
        right: -100%;
        flex-direction: column;
        background-color: var(--text-light);
        width: 80%;
        max-width: 35rem;
        height: calc(100vh - 8rem);
        padding: 4rem 2rem;
        transition: var(--transition);
        box-shadow: -0.5rem 0 2rem rgba(0, 0, 0, 0.1);
        align-items: center;
        gap: 2rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .feature-card {
        min-width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 50%;
    }
    
    section {
        padding: 6rem 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 3.6rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 3rem;
    }
}

/* Animation for menu toggle */
.menu-toggle.active span:first-child {
    transform: translateY(0.8rem) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:last-child {
    transform: translateY(-0.8rem) rotate(-45deg);
}
