/* ==========================================================================
   1. GLOBAL RE-STRUCTURE & PARALLAX BRAND BACKDROP
   ========================================================================== */
body, html {
    margin: 0;
    padding: 0;
    font-family: "Urbanist", sans-serif;
    color: #333333;
    background-color: #f3f8fc;
    
    background-image: 
        linear-gradient(to bottom, rgba(243, 248, 252, 0.85), rgba(243, 248, 252, 0.92)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='250' viewBox='0 0 160 200'%3E%3Cpath d='M20 20 C 50 20, 110 180, 140 180 M140 20 C 110 20, 50 180, 20 180' stroke='rgba(43, 76, 126, 0.05)' stroke-width='2' fill='none'/%3E%3Ccircle cx='20' cy='20' r='4' fill='rgba(124, 168, 82, 0.08)'/%3E%3Ccircle cx='140' cy='20' r='4' fill='rgba(43, 76, 126, 0.08)'/%3E%3Ccircle cx='80' cy='100' r='3.5' fill='rgba(29, 68, 119, 0.06)'/%3E%3Ccircle cx='20' cy='180' r='4' fill='rgba(43, 76, 126, 0.08)'/%3E%3Ccircle cx='140' cy='180' r='4' fill='rgba(124, 168, 82, 0.08)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-attachment: fixed;
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
    font-family: "Urbanist", sans-serif;
}

/* ==========================================================================
   2. NAVBAR COMPONENT STRUCTURAL SYNC
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    box-shadow: none;
    padding: 0 80px;
    z-index: 1000;
    transition: background-color 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                box-shadow 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.navbar.scrolled {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.logo-container {
    display: flex;
    align-items: center;
}

#colab-logo {
    width: 150px;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: #2b4c7e; 
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #7ca852 !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2b4c7e;
    margin: 3px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ==========================================================================
   3. TYPOGRAPHY SPACE HEADING ZONE
   ========================================================================== */
.contact-text {
    margin-top: 160px;
    text-align: center;
    padding: 0 20px;
}

.contact-text h1 {
    font-size: 42px;
    font-weight: 800;
    color: #1d4477;
    margin: 0 0 15px 0;
}

.green-highlight {
    color: #7ca852;
}

.science-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.science-divider .line {
    width: 50px;
    height: 1.5px;
    background-color: #cbd5e1;
}

.science-divider i {
    color: #7ca852;
    font-size: 14px;
}

.contact-text p {
    font-size: 17px;
    line-height: 1.6;
    color: #666666;
    font-weight: 500;
    margin: 0;
}

/* ==========================================================================
   4. CENTRAL GLASS CONTEXT APPLICATION CONTAINER FORM
   ========================================================================== */
.contact-container {
    width: 90%;
    max-width: 820px;
    margin: 50px auto 100px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.appointment-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #f0f7ff;
    border: 1px solid #e1effe;
    padding: 14px;
    border-radius: 10px;
    margin-bottom: 35px;
    color: #1c5298;
    font-weight: 600;
    font-size: 14.5px;
}

.appointment-notice i {
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 25px;
    margin-bottom: 5px;
}

.floating-group {
    position: relative;
    flex: 1;
    margin-bottom: 25px;
}

.icon-input .field-icon {
    position: absolute;
    left: 14px;
    top: 15px;
    color: #94a3b8;
    font-size: 15px;
    transition: color 0.3s;
    z-index: 5;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 14px 16px 14px 42px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    font-size: 14.5px;
    color: #333333;
    background-color: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form textarea {
    padding-top: 14px;
    resize: none;
}

.floating-group label {
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    padding: 0 4px;
    color: #94a3b8;
    font-size: 14.5px;
    font-weight: 500;
    pointer-events: none;
    transition: 0.2s ease all;
}

.textarea-group label {
    top: 24px;
}

.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group textarea:focus ~ label,
.floating-group textarea:not(:placeholder-shown) ~ label {
    top: 0;
    left: 15px;
    font-size: 11.5px;
    color: #2b4c7e;
    font-weight: 700;
    background-color: #ffffff;
}

.floating-group input:focus,
.floating-group textarea:focus {
    border-color: #2b4c7e;
    box-shadow: 0 0 0 3px rgba(43, 76, 126, 0.08);
}

.floating-group input:focus ~ .field-icon,
.floating-group textarea:focus ~ .field-icon {
    color: #2b4c7e;
}

.form-action-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    border-top: 1px solid #f1f5f9;
    padding-top: 25px;
    flex-wrap: wrap;
    gap: 20px;
}

.upload-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 12px 20px;
    border-radius: 8px;
    flex: 1;
    max-width: 480px;
}

.clip-icon {
    font-size: 20px;
    color: #64748b;
}

.upload-text-wrapper {
    display: flex;
    flex-direction: column;
}

.custom-file-label {
    font-size: 13.5px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
}

#myfile {
    margin-top: 5px;
    font-size: 12px;
    color: #64748b;
}

.submit-button {
    padding: 14px 35px;
    font-size: 15px;
    font-weight: 700;
    background-color: #2b4c7e;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(43, 76, 126, 0.15);
    transition: background-color 0.2s, transform 0.2s;
}

.submit-button:hover {
    background-color: #1d4477;
    transform: translateY(-1px);
}

/* ==========================================================================
   5. HOUSING INTERN MAP BLOCK SECTION CARD
   ========================================================================== */
.map-section {
    display: flex;
    justify-content: center;
    padding: 0 20px 100px 20px;
}

.map-card-wrapper {
    display: flex;
    width: 100%;
    max-width: 1150px;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.parallax-overlay {
    background-color: #2b4c7e;
    color: #ffffff;
    padding: 50px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.parallax-overlay h3 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0 0 15px 0;
}

.accent-bar {
    width: 45px;
    height: 3px;
    background-color: #7ca852;
    border-radius: 2px;
    margin-bottom: 40px;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.meta-row.alignment-top {
    align-items: flex-start;
}

.meta-row i {
    font-size: 18px;
    color: #7ca852;
    margin-top: 2px;
}

.meta-row p, .meta-row a {
    font-size: 15px;
    line-height: 1.6;
    color: #e2e8f0;
    margin: 0;
    text-decoration: none;
    font-weight: 500;
}

.meta-row a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.map-container {
    flex: 1.8;
    height: 500px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   6. SUB-FOOTER UNIFORM SYNC
   ========================================================================== */
.sub-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fafafa;
    padding: 80px 40px;
    gap: 50px;
    border-top: 1px solid #eeeeee;
}

.footer-logo-side img {
    width: 240px;
    height: auto;
}

.footer-divider {
    width: 1px;
    height: 140px;
    background-color: #dddddd;
}

.foot-info-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 650px;
}

.info-row {
    display: flex;
    align-items: center;
    color: #444444;
}

.info-row p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}

.address-row {
    align-items: flex-start;
    gap: 12px;
}

.icon-marker {
    color: #333333;
    font-size: 20px;
    margin-top: 2px;
}

.connect-row {
    gap: 40px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 24px;
    color: #111111;
    transition: color 0.2s;
}

.social-icon:hover {
    color: #1d4477;
}

.mail-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-mail {
    color: #555555;
    font-size: 18px;
}

.phones-row {
    gap: 30px;
}

.phones-row p {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon-phone, .icon-globe {
    color: #2b4c7e;
    font-size: 16px;
}

footer {
    background-color: #1a4273;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
}

/* ==========================================================================
   7. SEAMLESS RESPONSIVE INTERFACES BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .navbar { padding: 0 40px; }
    .map-card-wrapper { max-width: 90%; }
    .parallax-overlay { padding: 35px; }
}

@media (max-width: 768px) {
    .navbar { height: 80px; padding: 0 20px; }
    #colab-logo { width: 120px; }
    
    .hamburger { display: flex; }
    
    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        gap: 30px;
        padding-top: 60px;
        transition: right 0.3s ease;
        box-shadow: -4px 10px 15px rgba(0, 0, 0, 0.05);
    }
    
    .nav-links.active { right: 0; }
    .nav-links a { color: #2b4c7e !important; font-size: 16px; }
    
    .contact-text h1 { font-size: 32px; }
    .contact-text p { font-size: 15px; }
    
    .contact-container { padding: 25px; width: 92%; }
    .form-row { flex-direction: column; gap: 0; }
    .form-action-row { flex-direction: column; align-items: stretch; }
    .upload-container { max-width: 100%; }
    .submit-button { justify-content: center; }
    
    .map-card-wrapper { flex-direction: column; max-width: 92%; }
    .map-container { height: 350px; }
    
    .sub-footer { flex-direction: column; text-align: center; padding: 50px 24px; gap: 30px; }
    .footer-divider { display: none; }
    .foot-info-side { align-items: center; }
    .info-row { flex-direction: column; align-items: center; gap: 10px; }
    .connect-row, .phones-row { gap: 20px; }
}