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

:root {
    --primary: #1a3a52;
    --secondary: #2c5aa0;
    --accent: #ff6b35;
    --light: #f5f5f5;
    --dark: #222;
    --text: #333;
    --border: #ddd;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

/* HEADER & NAVIGATION */
.header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header .logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header .logo:hover {
    color: var(--accent);
    transition: color 0.3s ease;
}

.navbar {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.navbar a:hover {
    color: var(--accent);
}

.navbar a:hover::after {
    width: 100%;
}

.navbar a.active {
    color: var(--accent);
}

.navbar a.active::after {
    width: 100%;
}

/* HAMBURGER MENU */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.4rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* HOME SECTION */
.home {
    padding: 0;
}

.home .slide {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 600px;
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.home .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 58, 82, 0.4);
    z-index: 1;
}

.home .slide > * {
    position: relative;
    z-index: 2;
}

.home .slide img {
    width: 35%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    animation: slideInRight 0.8s ease;
}

.home .slide .content {
    flex: 1;
    max-width: 600px;
    padding-right: 2rem;
}

.home .slide .content span {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 1rem;
    font-weight: 300;
    animation: slideInLeft 0.6s ease;
}

.home .slide .content h3 {
    font-size: 3rem;
    color: white;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: bold;
    animation: slideInLeft 0.8s ease 0.1s both;
}

.home .slide .content .btn {
    display: inline-block;
    font-size: 1.1rem;
    color: white;
    background: var(--accent);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    animation: slideInLeft 1s ease 0.2s both;
}

.home .slide .content .btn:hover {
    background: #ff5722;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

/* ANIMATIONS */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FORM SECTION */
.form-container {
    max-width: 600px;
    margin: 3rem auto;
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.form-container .logo-img {
    display: block;
    margin: 0 auto 1.5rem;
    width: 120px;
    height: auto;
}

fieldset {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    background: white;
}

fieldset legend {
    padding: 0 1rem;
    color: var(--primary);
    font-weight: bold;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="number"],
.form-group input[type="date"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="number"]:focus,
.form-group input[type="date"]:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    cursor: pointer;
    font-weight: normal;
}

.radio-group input[type="radio"] {
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-submit {
    background: var(--accent);
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: #ff5722;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-reset {
    background: var(--border);
    color: var(--text);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reset:hover {
    background: #ccc;
}

/* CONTACT SECTION */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 3rem;
    gap: 3rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item-text h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.contact-item-text p {
    color: #666;
}

/* FOOTER */
footer {
    background: var(--primary);
    color: white;
    padding: 2rem;
    text-align: center;
    margin-top: 3rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .navbar {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--primary);
        padding: 1rem;
        gap: 0;
    }

    .navbar a {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .navbar.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .home .slide {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 2rem 1rem;
    }

    .home .slide img {
        width: 70%;
        max-width: 300px;
        margin-bottom: 2rem;
        order: -1;
    }

    .home .slide .content {
        padding-right: 0;
        max-width: 100%;
    }

    .home .slide .content span {
        font-size: 1.5rem;
    }

    .home .slide .content h3 {
        font-size: 1.8rem;
    }

    .contact-section {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .form-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    fieldset {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 1rem;
    }

    .header .logo {
        font-size: 1.4rem;
    }

    .home .slide .content h3 {
        font-size: 1.4rem;
    }

    .home .slide .content span {
        font-size: 1.2rem;
    }

    .form-container h2 {
        font-size: 1.5rem;
    }

    .radio-group {
        flex-direction: column;
        gap: 1rem;
    }
}
