* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 50%, #e8f4fd 100%);
    color: #333;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page {
    min-height: 100vh;
    width: 100vw;
    display: flex;
    padding: 0;
    margin: 0;
}

.container-wrapper {
    width: 100%;
    min-height: 100vh;
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
    padding-top: 100px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    padding: 1rem 5%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(13, 71, 161, 0.15);
    transition: all 0.3s ease;
    border-bottom: 2px solid rgba(13, 71, 161, 0.1);
}

.nav {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.nav a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #0D47A1;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    color: #0D47A1;
}

.logo {
    font-weight: bold;
    color: #0D47A1;
    margin-left: auto;
}

.logo-img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

/* Contact Hero */
.contact-hero {
    text-align: center;
    padding: 60px 0 40px;
    animation: fadeInUp 0.8s ease;
}

.contact-hero h1 {
    font-size: 3rem;
    color: #0D47A1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    color: #546e7a;
    font-weight: 400;
}

/* Form Container */
.form-container {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(13, 71, 161, 0.08);
    margin: 40px 0;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.info-box {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 40px;
    border-left: 5px solid #0D47A1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.info-box i {
    font-size: 1.5rem;
    color: #0D47A1;
}

.info-box p {
    color: #0D47A1;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 25px;
}

label {
    display: block;
    color: #0D47A1;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

label .required {
    color: #e74c3c;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #0D47A1;
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

textarea {
    resize: vertical;
    min-height: 130px;
}

/* Submit Button */
.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #0D47A1 0%, #1976D2 100%);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.2);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #083c8a 0%, #1565C0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

/* Contact Info Section */
.contact-info {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.contact-info h3 {
    color: #0D47A1;
    font-size: 1.3rem;
    margin-bottom: 30px;
    font-weight: 600;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #546e7a;
    font-size: 0.95rem;
}

.contact-method i {
    color: #0D47A1;
    font-size: 1.3rem;
}

/* Back Button */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0D47A1;
    text-decoration: none;
    font-size: 0.95rem;
    margin-top: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-back:hover {
    transform: translateX(-5px);
    color: #083c8a;
}

/* Footer */
.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 2px solid rgba(13, 71, 161, 0.1);
    font-size: 0.95rem;
    color: #546e7a;
    font-weight: 500;
}

.footer div {
    transition: all 0.3s ease;
}

.footer div:hover {
    color: #0D47A1;
    transform: translateY(-2px);
}

/* Custom Select Styles */
.custom-select {
    position: relative;
    display: block;
    width: 100%;
}

.custom-select select {
    display: none;
}

.select-selected {
    background: white;
    color: #2c3e50;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-selected:hover {
    border-color: #bdbdbd;
}

.select-selected.active {
    border-color: #0D47A1;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1);
}

.select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #0D47A1;
    transition: transform 0.3s ease;
}

.select-selected.active .select-arrow {
    transform: rotate(180deg);
}

.select-items {
    position: absolute;
    background: white;
    top: 100%;
    left: 0;
    right: 0;
    border: 2px solid #0D47A1;
    border-top: none;
    border-radius: 0 0 10px 10px;
    z-index: 99;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.1);
}

.select-items.active {
    max-height: 300px;
    overflow-y: auto;
}

.select-items.active::-webkit-scrollbar {
    width: 8px;
}

.select-items.active::-webkit-scrollbar-track {
    background: #f5f7fa;
}

.select-items.active::-webkit-scrollbar-thumb {
    background: #0D47A1;
    border-radius: 4px;
}

.select-item {
    padding: 12px 18px;
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    color: #546e7a;
    font-weight: 500;
    transition: all 0.2s ease;
}

.select-item:hover {
    background: #e3f2fd;
    color: #0D47A1;
    font-weight: 600;
}

.select-item.selected {
    background: #0D47A1;
    color: white;
    font-weight: 700;
}

.select-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 1rem 3%;
    }

    .nav {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .logo-img {
        height: 35px;
    }

    .content-container {
        padding: 0 5%;
        padding-top: 90px;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .form-container {
        padding: 35px 25px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .contact-methods {
        gap: 25px;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        gap: 0.5rem;
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .logo-img {
        height: 30px;
    }

    .content-container {
        padding: 0 4%;
        padding-top: 80px;
    }

    .contact-hero {
        padding: 40px 0 30px;
    }

    .contact-hero h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .form-container {
        padding: 25px 20px;
    }

    .info-box {
        padding: 15px 18px;
        flex-direction: column;
        text-align: center;
    }

    .info-box p {
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        padding: 12px 15px;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 14px;
        font-size: 1rem;
    }

    .contact-info h3 {
        font-size: 1.1rem;
    }

    .contact-methods {
        flex-direction: column;
        gap: 20px;
    }

    .contact-method {
        justify-content: center;
    }
}