:root {
   --color-primary: #00478F;
   --color-primary-text: #fff;

    --color-primary-light: #CADBFF;
    --color-primary-light-2: ;
    --color-primary-light-text: #1e1e1e;

    --color-accent: #E4572E;
    --color-accent-text: #fff;
    
}


body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    background: #fff;
}
.contact-hero {
    position: relative;
    width: 100vw;
    height: 80vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-hero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.image-gradient{
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: linear-gradient(135deg, rgba(0, 71, 143, 0.5) 50%, rgba(0, 71, 143, 0.5) 100%);
    z-index: 2;
}


.contact-hero-overlay {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 90vw;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease-out 0.3s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-hero-overlay h1,
.contact-hero-overlay p,
.contact-hero-overlay .contact-btn {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1.2s ease-out forwards;
}

.contact-hero-overlay h1 {
    animation-delay: 0.4s;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

.contact-hero-overlay p {
    animation-delay: 0.6s;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.contact-hero-overlay .contact-btn {
    animation-delay: 0.8s;
    padding: 0.8em 2em;
    font-size: 1.1rem;
    background: var(--color-accent);
    color: var(--color-accent-text);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: background 0.2s;
}

.contact-hero-overlay .contact-btn:hover {
    background: #e65c00;
}

.company-contact {
    position: relative;
    width: 90vw;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);

    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 2.5rem 2rem;
    transform: translateY(-20%);
    z-index: 3;
}

.contact-form-column {
    flex: 1;
    justify-content: center;

    padding: 24px 24px; 
}

 .contact-details-column {
    flex: 1;
    display: flex;
    align-self: center;
    justify-content: space-around;

    flex-direction: column;
    
    margin: 0 0 0 24px;
    border-radius: 16px;
    
    height: 500px;

    background: linear-gradient(135deg, var(--color-primary) 50%, #514ae2 100%);
    color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    
}

.contact-form-column form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-form-column label {
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.contact-form-column input,
.contact-form-column textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    resize: none;
    width: 80%;
}
.contact-form-column textarea {
    min-height: 80px;
}
.contact-form-column button {
    background: #222;
    color: #fff;
    border: none;
    padding: 12px 0;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
}
.contact-form-column button:hover {
    background: #444;
}



.contact-details-column h3 {
    margin-top: 0;
    margin-bottom: 0.7rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.contact-details-column p {
    margin-bottom: 1.5rem;
    color: #e0e7ff;
    font-size: 1.05rem;
}

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

.contact-details .detail {
    display: flex;
    align-items: center;
    font-size: 1.08rem;
    gap: 0.7em;
}

.contact-details .detail i {
    font-size: 1.2em;
    color: #fff;
    opacity: 0.85;
    text-decoration: none;
}

.social-media-icons {
    display: flex;
    gap: 0.7em;
    margin-left: 0.5em;
    
}

.social-media-icons a {
    color: #fff;
    background: rgba(255,255,255,0.13);
    border-radius: 50%;
    width: 2.2em;
    height: 2.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    font-size: 1.1em;

    text-decoration: none;
}

.social-media-icons a:hover {
    background: #fff;
    color: var(--color-accent);
}

@media (max-width: 900px) {

    .contact-hero{
        height: 90vh;
        
    }

    .contact-form-column{
        width: 100%;
        padding: 0px;
        margin: 0px;
    }

    .contact-form-column input,
    .contact-form-column textarea {
        padding: 10px;
        width: 93%;
    }

    

    .company-contact {
        flex-direction: column;
        gap: 1.5rem;
        padding: 16px 24px;
        width: 80vw;
        transform: translateY(0%);
        box-shadow: 0 0px 0px rgba(0,0,0,0.15);
    }

    .contact-details-column {
    margin-top: 1.5rem;
    width: 90%;
    margin-bottom: 0px;
    }
    .history-item {
        margin-bottom: 0.5rem;
    }

    .form-input{
        width: 90%;
    }

    .contact-section{
        margin-top: 0px;
    }


.contact-details-column {
    flex: 1;
    display: flex;
    align-self: center;
    justify-content: space-around;

    flex-direction: column;
    
    margin: 24px 0px;
    padding: 8px;
    border-radius: 16px;
    

    background: linear-gradient(135deg, var(--color-primary) 50%, #514ae2 100%);
    color: #fff;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    
}

.social-media-icons{
    margin: 24px 0px;
}

}


.map-contact-section {
    padding: 64px;
    background: #f9f9f9;
    margin: 0px;
    display: flex;
    flex-direction: column;
}
.section-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 64px;
    text-align: center;
}
.locations {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 36px;
}
.location-title {
    padding: 12px 24px;
    border-radius: 6px;
    background: #e0e0e0;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}
.location-title.active {
    background: var(--color-primary);
    color: #fff;
}
.map-container {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
@media (max-width: 900px) {
    
    .map-contact-section{
        padding: 24px;
    }
    
    .locations {
        flex-direction: column;
        gap: 12px;
    }
    .map-container {
        height: 250px;
    }
}