/* RESET AND BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    /* Using system fonts as exact font is unclear */
    line-height: 1.6;
    color: #000;
    background-color: #fbfbfc;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 38px;
}

/* ================= PAGE WRAPPER ================= */
.page-wrapper {
    max-width: 1600px;
    margin: 0 auto;
    background: #fbfbfc;
    /* same as body */
}

/* HEADER SECTION */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 130px;
    background-color: #fbfbfc;
}



.logo img {
    height: 80px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a90e2;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #4a90e2;
    transform: translateY(-2px);
}

/* CONTACT SECTION */
.contact-section {
    padding: 0px 0 0px 0px
}

/* Make container full-width within contact so form can reach the red-line boundary */
.contact-section .container {
    max-width: 100%;
    padding: 0 38px;
}

/* TOP AREA */
.contact-header {
    max-width: 1050px;
    padding: 40px 0px 10px 75px;
}

.contact-title {
    font-size: 72px;
    font-weight: 700;
    color: #FF9800;
    margin-bottom: 10px;
    margin-left: 125px;
}

.contact-description {
    font-size: 30px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 500;
    margin-left: 125px;
}

/* BOTTOM AREA */
.contact-body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-bottom: 80px;
    max-width: 100%;
    justify-content: space-evenly;
    padding-right: 60px;
    padding-left: 75px;
}

/* CONTACT DETAILS */
.contact-info {
    flex: 1;
    max-width: 400px;
}

/* ONLY rows that need alignment */
.detail-align {
    display: grid;
    grid-template-columns: 120px 10px auto;
    /* 🔑 aligns colons */
    align-items: start;
    font-size: 18px;
    margin-bottom: 10px;
}

/* Label text */
.label {
    font-weight: 500;
}

/* Colon column */
.colon {
    text-align: center;
}

/* Link style */
.email-link {
    color: #FF9800;
    text-decoration: none;
    margin-left: 10PX;
}

/* Location remains exactly the same */
.detail-item {
    font-size: 18px;
    margin-bottom: 10px;
}

.location-div {
    margin-top: 25px;
}

.location-text {
    font-size: 18px;
    line-height: 1;
    font-weight: 500;
}

/* FORM */
/* OUTER BORDER */
.contact-form-wrapper {
    border: 1px solid #000;
    background: #fff;
    padding: 40px 35px;
    width: 480px;
    max-width: 480px;
    flex-shrink: 0;
    box-sizing: border-box;
}

/* FORM */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* EACH FIELD */
.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #000;
}

.form-group input,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #000;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    background: #fff;
    font-family: inherit;
}

/* SUBMIT BUTTON */
.submit-btn {
    margin-top: 25px;
    padding: 12px;
    width: 100%;
    border: 1px solid #000;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #000;
    color: #fff;
}


/* FOOTER SECTION */

footer {
    background-color: #3C3C3C;
    color: #fff;
    padding: 60px 150px 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 28px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
    font-size: 16px;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #666;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.footer-bottom-right {
    display: flex;
    gap: 20px;
}

.work-footer {
    margin-top: 115px;
}

.social-cont {
    margin-top: 15px;
    margin-left: -5px;
}



.social-icon {
    height: 60px;
    width: 60px;
}

.footer-list {
    text-decoration: none;
    color: white;
}

.footer-list:hover {
    color: #5c83e6;
}

.contact {
    display: flex;
}

.label {
    width: 60px;
}

.value {
    white-space: nowrap;
}

/* Footer bottom Privacy & Terms links */
.footer-bottom-right a {
    color: #fff;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-bottom-right a:hover {
    color: #5c83e6;
}

/* RESPONSIVE DESIGN */

/* TABLET VIEW (max-width: 1024px) */
@media screen and (max-width: 1024px) {

    /* Header */
    header {
        padding: 18px 50px;
    }

    .logo img {
        height: 70px;
    }

    nav ul {
        gap: 22px;
    }

    nav ul li a {
        font-size: 16px;
    }

    /* Container */
    .container {
        padding: 0 30px;
    }

    /* Contact header */
    .contact-header {
        padding: 30px 0 15px 0;
    }

    .contact-title {
        font-size: 56px;
        margin-left: 0;
    }

    .contact-description {
        font-size: 22px;
        margin-left: 0;
    }

    /* Contact body — side by side, fit within tablet width */
    .contact-body {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 30px;
        margin-bottom: 80px;
        padding: 0;
        align-items: flex-start;
    }

    /* Contact info — fixed size */
    .contact-info {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .detail-align {
        grid-template-columns: 105px 10px auto;
        font-size: 15px;
    }

    .detail-item {
        font-size: 15px;
    }

    .location-text {
        font-size: 15px;
    }

    /* Form — takes remaining space, neat visible box */
    .contact-form-wrapper {
        flex: 1;
        width: auto;
        max-width: 400px;
        padding: 28px 22px;
        margin: 0;
        box-sizing: border-box;
        border: 1.5px solid #000;
        background: #fff;
        box-shadow: 0 2px 12px rgba(0,0,0,0.10);
    }

    .contact-form {
        gap: 16px;
    }

    .form-group label {
        font-size: 14px;
    }

    /* Footer */
    footer {
        padding: 50px 50px 30px;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 2fr 1fr 1.5fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-section h4 {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .footer-section ul li,
    .footer-section p {
        font-size: 14px;
    }

    .work-footer {
        margin-top: 125px !important;
        padding-top: 0 !important;
    }

    .footer-logo img {
        height: 44px;
        margin-bottom: 30px;
    }

    .social-cont {
        margin-top: 12px;
    }

    .footer-bottom {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Header becomes stacked on mobile */
    .header .container {
        flex-direction: column;
        gap: 20px;
    }

    .navigation {
        gap: 20px;
        font-size: 13px;
    }

    /* Contact section stacks vertically */
    .contact-body {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        max-width: 100%;
    }

    .contact-title {
        font-size: 42px;
        margin-left: 0;
    }

    .contact-description {
        font-size: 20px;
        margin-bottom: 30px;
        margin-left: 0;
    }

    .contact-form-wrapper {
        flex: 1 1 auto;
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    /* Footer grid becomes 2 columns */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* Mobile View */
@media screen and (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .navigation {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-description {
        font-size: 18px;
    }

    .contact-form-wrapper {
        padding: 25px 20px;
    }

    /* Footer becomes single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-heading {
        font-size: 18px;
    }

    .copyright {
        font-size: 11px;
    }

    .footer-links {
        font-size: 11px;
    }
}


/* MOBILE VIEW (max-width: 480px) */

@media (max-width: 480px) {

    /* Header - stack vertically */
    header {
        padding: 15px 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .logo img {
        height: 60px;
        /* Reduced from 80px */
    }

    /* Navigation - mobile friendly */
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav ul li a {
        font-size: 16px;
        /* Reduced from 18px */
    }

    /* Container - minimal padding */
    .container {
        padding: 0 20px;
    }

    /* Contact section */
    .contact-section {
        padding: 0;
    }

    /* Contact header - mobile optimization */
    .contact-header {
        max-width: 100%;
        padding: 0px 0 10px 0;
    }

    .contact-title {
        font-size: 40px;
        /* Reduced from 72px */
        margin-bottom: 0px;
        margin-left: 0;
    }

    .btm-email {
        margin-top: -5px;
    }

    .contact-description {
        font-size: 20px;
        /* Reduced from 30px */
        line-height: 1.5;
        margin-bottom: 0px;
        margin-left: 0;
    }

    /* Contact body - stack vertically */
    .contact-body {
        flex-direction: column;
        /* Stack info and form */
        gap: 20px;
        margin-bottom: 80px;
        padding-right: 0;
    }

    /* Contact info - full width */
    .contact-info {
        flex: 1;
        max-width: 100%;
        order: 1;
        /* Info first */
    }

    /* Detail items - adjust grid for mobile */
    .detail-align {
        grid-template-columns: 90px 10px auto;
        /* Reduced from 120px */
        font-size: 16px;
        margin-bottom: 15px;
    }

    .btm-loc {
        margin-top: -5px;
    }

    .label {
        font-weight: 500;
    }

    .email-link {
        margin-left: 5px;
        /* Reduced from 10px */
        font-size: 16px;
    }

    /* Location section */
    .detail-item {
        font-size: 16px;
        /* margin-bottom: 15px; */
    }

    .location-div {
        margin-top: 20px;
    }

    .location-text {
        font-size: 16px;
        line-height: 1.4;
    }

    /* Form wrapper - full width */
    .contact-form-wrapper {
        width: 100%;
        /* Full width instead of fixed 520px */
        max-width: 100%;
        padding: 30px 20px;
        /* Reduced padding for mobile */
        order: 2;
        /* Form second */
    }

    /* Form fields */
    .contact-form {
        gap: 18px;
    }

    .form-group {
        width: 100%;
    }

    .form-group label {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    /* Textarea specific */
    textarea {
        border: 1px solid #000;
        padding: 10px 12px;
        font-size: 14px;
        outline: none;
        font-family: Arial, sans-serif;
    }

    /* Submit button */
    .submit-btn {
        margin-top: 20px;
        padding: 14px;
        font-size: 15px;
        width: 100%;
    }

    /* Footer mobile styles → see footer-mobile.css */

}

/* SMALL MOBILE (max-width: 380px) */

@media (max-width: 380px) {

    /* Extra small screens - prevent overflow */
    .contact-title {
        font-size: 36px;
    }

    .contact-description {
        font-size: 18px;
    }

    /* Detail alignment - smaller grid */
    .detail-align {
        grid-template-columns: 80px 8px auto;
        /* Further reduced */
        font-size: 15px;
    }

    .detail-item {
        font-size: 15px;
    }

    .location-text {
        font-size: 15px;
    }

    /* Form wrapper - tighter padding */
    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .form-group label {
        font-size: 14px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 14px;
        padding: 10px;
    }
}