/* --- CSS Reset & Core Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    /*--brand-orange: #0A2540;
	--brand-blue: #00b4d8;*/
	--brand-navy: #0A2540;
	--brand-cyan: #00b4d8;
    --dark-green: #2D4330;
    --footer-bg: #00b4d8;
    --bg-light: #f9fafb;
    --text-main: #374151;
    --border-color: #f3f4f6;
    --banner-bkgr: #ffffff;
    --nfo-bkgr: #0A2540;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.5;
}
a {
    text-decoration: none;
    color: inherit;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* --- Global Layout Components --- */
.top-bar {
    background-color: var(--brand-navy);
    color: #00b4d8;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}
.main-header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}
.logo {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--brand-cyan);
    letter-spacing: 0.05em;
}
.logo span {
    display: block;
    font-size: 0.75rem;
    color: #006400;
    font-weight: 400;
}
.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-cyan);
}
.nav-links a:hover, .nav-links a.active {
    color: var(--brand-navy);
}

/* --- Global Buttons --- */
.btn {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    text-align: center;
    transition: background 0.2s, transform 0.2s;
}
.btn-orange {
    background-color: var(--brand-navy);
    color: #ffffff;
}
.btn-orange:hover {
    background-color: #00b4d8;
}
.btn-orange-home {
    background-color: #00b4d8;
    color: #ffffff;
}
/*.btn-orange-home:hover {
    background-color: #ffffff;
	color: #00b4d8;
}*/
.btn-outline {
    background-color: transparent;
    border: 1px solid var(--brand-navy);
    color: var(--brand-navy);
}
.btn-outline:hover {
    background-color: #fff7ed;
}
.btn-outline-home {
    background-color: transparent;
    border: 1px solid #ffffff;
    color: #ffffff;
}
/*.btn-outline-home:hover {
    background-color: #fff7ed;
}*/

/* --- Section Formatting --- */
.section-header {
    text-align: center;
    margin: 3rem 0 2rem 0;
}
.section-header h2 {
    font-size: 1.75rem;
    color: var(--brand-cyan);
    font-weight: 700;
}
.section-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* --- Contact Us Forms --- */
.form-section {
    color: #0A2540;
    padding: 0;
}
.form-wrapper {
    max-width: 48rem;
    margin: 0 auto;
    text-align: center;
}
.form-wrapper h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.grid-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
.grid-form input, .grid-form textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
}
.grid-form textarea {
    grid-column: span 2;
    resize: vertical;
    height: 100px;
}
.btn-submit {
    grid-column: span 2;
    margin: 0.5rem auto 0 auto;
    padding: 0.75rem 2.5rem;
}
.disclaimer-wrapper {
    grid-column: span 2;
    text-align: left;
    margin: 0.5rem 0;
}
.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #0A2540;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}
.checkbox-container input {
    width: auto !important;
    margin-top: 0.2rem;
    cursor: pointer;
}

/* --- Footer Elements --- */
.main-footer {
    background-color: var(--footer-bg);
    color: #0A2540;
    font-size: 0.75rem;
    padding: 3.5rem 1.5rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-bottom: 1px solid #1f2937;
    padding-bottom: 2rem;
    margin-bottom: 1.5rem;
}
.footer-col h4 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 0.5rem;
}
.footer-col ul li a:hover {
    color: #ffffff;
}
.footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Interactive Action Widgets --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128C7E;
}
.whatsapp-icon {
    width: 32px;
    height: 32px;
}
.call-widget-container {
    position: fixed;
    bottom: 105px;
    right: 30px;
    z-index: 9999;
    font-family: inherit;
}
.call-float-btn {
    width: 60px;
    height: 60px;
    background-color: #00b4d8;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.call-float-btn:hover {
    transform: scale(1.1);
}
.widget-icon {
    width: 26px;
    height: 26px;
}
.call-popup-card {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    padding: 1.5rem;
    display: none;
    transform-origin: bottom right;
    animation: popupScaleIn 0.25s ease-out;
}
@keyframes popupScaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}
.call-popup-content h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.05rem;
    color: #1f2937;
    font-weight: 700;
}
.call-popup-content p {
    margin: 0 0 1.25rem 0;
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.4;
}
.phone-display-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.7rem;
    border: 1.5px solid #1e3a8a;
    border-radius: 6px;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 0.95rem;
}
.phone-display-btn:hover {
    background-color: #f0f4ff;
}
.phone-inline-icon {
    width: 16px;
    height: 16px;
}

/* --- Layout Grid Elements --- */
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 3rem auto 5rem auto;
    align-items: start;
}
.info-column-stack {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.info-box, .form-column-box {
    background: #ffffff;
    padding: 2.5rem 2rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.form-column-box .form-wrapper h2 {
    font-size: 1.4rem;
    color: var(--brand-cyan);
    text-align: left;
    margin-bottom: 2rem;
}

/* --- Sticky Action Pill --- */
.signin-widget-container {
    position: fixed;
    bottom: 185px;
    right: 30px;
    z-index: 9999;
}
.signin-float-btn {
    display: flex;
    align-items: center;
    background-color: #0A2540;
    border: 2px solid #0A2540;
    border-radius: 30px;
    padding: 2px 2px 2px 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.signin-text-caption {
    color: #ffffff;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    margin-right: 12px;
    user-select: none;
}
.signin-circle-icon {
    width: 52px;
    height: 52px;
    background-color: #00b4d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.signin-float-btn:hover {
    transform: scale(1.05);
    background-color: #00b4d8;
    border-color: #00b4d8;
}
.signin-float-btn:hover .signin-circle-icon {
    background-color: #0A2540;
}

/* --- Combined Responsive Media Rules --- */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .contact-main-grid, .footer-grid, .grid-form {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .grid-form textarea, .btn-submit, .disclaimer-wrapper {
        grid-column: span 1;
    }
    .btn-submit {
        width: 100%;
    }
    .footer-meta {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    .whatsapp-float, .call-float-btn {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-icon {
        width: 26px;
        height: 26px;
    }
    .call-widget-container {
        bottom: 85px;
        right: 20px;
    }
    .widget-icon {
        width: 22px;
        height: 22px;
    }
    .call-popup-card {
        width: 250px;
        bottom: 65px;
    }
    .signin-widget-container {
        bottom: 150px;
        right: 20px;
    }
    .signin-text-caption {
        font-size: 0.8rem;
        margin-right: 8px;
    }
    .signin-circle-icon {
        width: 42px;
        height: 42px;
    }

    /* Fixed Portal Card: Adjusted for Mobile layout */
    .floating-portal-container {
        position: static; 
        margin: 2rem auto;
        max-width: 100%;
        width: calc(100% - 2rem);
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

    /* Fixed Sticky Note: Keeps it clean and viewable on mobile screens */
    .updates-sticky-container {
        position: static;
        margin: 2rem auto;
        top: auto;
        left: auto;
        width: calc(100% - 2rem);
        animation: none; 
    }
    .updates-card {
        width: 100%;
    }
	
	/* --- Fixes Hero Background Image Cut-off on Mobile --- */
    .hero-bg {
        background-size: contain !important; /* Forces the whole image to fit without cropping */
        background-position: center top !important; /* Keeps it centered */
        background-repeat: no-repeat !important; /* Prevents tiling */
        height: auto !important; /* Allows container to scale down */
        min-height: 250px; /* Gives it a baseline height on small screens */
    }
}