/* contact.css */

:root {
    --navy-blue: #002B5B;
    --orange: #FF5C00;
    --light-orange: #FFAA5A;
    --light-gray: #f5f5f7;
    --dark-gray: #333333;
    --white: #ffffff;
    --ink: #0f2740;
    --muted: #5f7084;
    --panel: #f8fbff;
    --border: #dbe4ee;
    --shadow-soft: 0 20px 45px rgba(8, 31, 58, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--dark-gray);
}

.contact-page {
    max-width: 1240px;
    margin: 0 auto;
    padding: 48px 20px 72px;
}

header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--navy-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.4px;
}

.logo img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
}

.header-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    transition: 0.2s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hero {
    background: linear-gradient(135deg, var(--navy-blue), #0b4e72);
    color: #fff;
    padding: 46px 18px;
}

.hero-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    font-weight: 700;
}

.hero h1 {
    margin: 14px 0 10px;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    line-height: 1.15;
    color: #fff;
}

.hero p {
    margin: 0;
    max-width: 900px;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.65;
}

/* Main heading styles */
.contact-page h1 {
    font-size: 2.9rem;
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.05;
}

/* Contact section layout */
.contact-container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 44px;
    align-items: center;
    margin-top: 24px;
}

.contact-left {
    min-width: 0;
}

.contact-right {
    min-width: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-image {
    width: min(100%, 470px);
    aspect-ratio: 4 / 4.6;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #eef5fb 0%, #dfeaf6 100%);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 43, 91, 0.08);
    position: relative;
    z-index: 2;
}

.contact-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    padding: 18px;
}

/* Introduction text */
.intro-text {
    margin-bottom: 34px;
    max-width: 620px;
}

.intro-text p {
    font-size: 1.03rem;
    line-height: 1.8;
    color: var(--muted);
}

/* Contact options styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-option {
    min-width: 0;
    background-color: var(--white);
    padding: 26px 22px;
    text-align: center;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(12, 35, 64, 0.06);
    border: 1px solid rgba(0, 43, 91, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-option h3 {
    font-size: 1.1rem;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.contact-option .icon {
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-blue);
    font-size: 1.5rem;
}

.contact-option .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.contact-option .btn:hover {
    background-color: var(--light-orange);
}

/* Contact form styles */
.contact-form {
    background-color: var(--white);
    max-width: 760px;
    margin: 52px auto 0;
    padding: 36px;
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 43, 91, 0.08);
}

.contact-form h2 {
    color: var(--navy-blue);
    margin-bottom: 28px;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 22px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--ink);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 14px;
    font-size: 1rem;
    background: var(--panel);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 92, 0, 0.08);
}

.submit-button {
    background-color: var(--orange);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-button:hover {
    background-color: var(--light-orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 92, 0, 0.22);
}

/* Contact info styles */
.contact-info {
    margin-top: 52px;
    text-align: center;
}

.contact-info h2 {
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info i {
    color: var(--orange);
    margin-right: 10px;
    width: 20px;
}

/* Map section styles */
.map-section {
    margin-top: 52px;
}

.map-section h2 {
    color: var(--navy-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.map-section iframe {
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

/* Circular pie chart graphic in header */
.circle-graphic {
    width: 210px;
    height: 210px;
    position: absolute;
    top: -24px;
    right: 14px;
    background: conic-gradient(
        var(--orange) 0% 25%, 
        var(--light-orange) 25% 50%, 
        #FFC48C 50% 75%, 
        #FFE0C2 75% 100%
    );
    border-radius: 50%;
    z-index: 1;
    opacity: 0.95;
}

.section-heading {
    text-align: center;
}

/* Phone number display */
.phone-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--navy-blue);
    margin-top: 5px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    
    .contact-right {
        order: -1;
    }
    
    .contact-option {
        min-width: 100%;
    }
    
    .circle-graphic {
        display: none;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px 18px;
        margin-top: 40px;
    }

    .contact-page h1 {
        font-size: 2.2rem;
        text-align: center;
    }

    .intro-text {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .header-link span {
        display: none;
    }
}
