/*----------------------------------------------
*
* [Default Stylesheet]
*
* Theme    : NEXGEN
* Version  : 1.0
* Author   : Codings
* Support  : codings.dev
* 
----------------------------------------------*/

/*----------------------------------------------

[ALL CONTENTS]

1. Root
2. Button
3. Effect

----------------------------------------------*/

/*----------------------------------------------
1. Root
----------------------------------------------*/

/* #region Root */

:root {
    --h1-font: 'Poppins', sans-serif;
    --h1-size: 4.5rem;
    --h1-weight: 900;
    
    --h2-font: 'Poppins', sans-serif;
    --h2-size: 3rem;
    --h2-weight: 700;
    
    --p-font: 'Montserrat', sans-serif;
    --p-size: 1rem;
    --p-weight: 400;

    /* BD Advertising theme - dark blue & orange */
    --header-bg-color: #1e3a5f;
    --nav-top-bg-color: #1e3a5f;
    --nav-sub-bg-color: #1e3a5f;
    --nav-holder-bg-color: #1e3a5f;
    --nav-brand-height: 35px;
    --nav-item-color: #ffffff;
    --hero-bg-color: #0d1f2d;
    --footer-brand-height: 80px;

    /* Primary: vibrant orange (accent), Secondary: dark blue */
    --primary-color: #E86B2C;
    --secondary-color: #1e3a5f;
    
    /* Green palette for hero/classifieds feel */
    --accent-green: #2d8b7c;
    --accent-green-light: #4db6a6;
    --accent-green-dark: #1a5c52;
    
    --white-color: #ffffff;
    --black-color: #000007;
    --dark-grey-color: #1a1a24;

    --primary-t-color: #21333e;
    --secondary-t-color: #ffffff; 
    --primary-p-color: #4a5568;
    --secondary-p-color: #c0c3d0;
    --primary-b-color: #ffffff;
    --primary-l-color: rgba(0, 0, 0, .25);
    --secondary-l-color: rgba(255, 255, 255, 0.35);

    --valid-color: #007a4d;
    --invalid-color: #e34f4f;

    --primary-bg-color: #ffffff;
    --primary-bg-color-2: #f7fafc;
    --primary-bg-color-3: rgba(232, 107, 44, 0.15);

    --secondary-bg-color: #1a1a24;
    --secondary-bg-color-2: #0d1117;
    --secondary-bg-color-3: #252530;

    --card-bg-color: #ffffff;

    --footer-bg-color: #080d10;
}

/* #endregion Root */

/*----------------------------------------------
2. Button
----------------------------------------------*/

/* #region Button */

.primary-button, .primary-button:visited, .primary-button:active {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    background-color: var(--primary-color);
    border-radius: 4px;
    border: 1px solid;
    border-color: var(--primary-color);
    color: var(--primary-b-color);
    font-weight: 500;
    -webkit-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
}

.primary-button:hover, .primary-button:focus {
    background-color: #d95a22;
    border-color: #d95a22;
    color: var(--white-color);
}

.outline-button, .outline-button:visited, .outline-button:active {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    background-color: transparent;
    border-radius: 4px;
    border: 1px solid;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    -webkit-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
}

.odd .outline-button, .odd .outline-button:visited, .odd .outline-button:active {
    position: relative;
    z-index: 2;
    padding: 10px 25px;
    background-color: var(--accent-green);
    border-radius: 4px;
    border: 1px solid;
    border-color: var(--accent-green);
    color: var(--white-color);
    font-weight: 500;
    -webkit-transition: all .4s ease-out 0s;
    -o-transition: all .4s ease-out 0s;
    -moz-transition: all .4s ease-out 0s;
    transition: all .4s ease-out 0s;
}

.outline-button:hover, .outline-button:focus {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* #endregion Button */

/* #region Effect */

@-webkit-keyframes pulse {
    0% {
        -webkit-box-shadow: 0 0 0 0 var(--secondary-color);
        background-color: var(--secondary-color);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        background-color: rgba(204,169,44, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        background-color: rgba(204,169,44, 0);
    }
}
  
@keyframes pulse {
    0% {
        -moz-box-shadow: 0 0 0 0 var(--secondary-color);
        box-shadow: 0 0 0 0 var(--secondary-color);
        background-color: var(--secondary-color);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        box-shadow: 0 0 0 10px rgba(204,169,44, 0);
        background-color: rgba(204,169,44, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        box-shadow: 0 0 0 0 rgba(204,169,44, 0);
        background-color: rgba(204,169,44, 0);
    }
}

/* #endregion Effect */

/*----------------------------------------------
Get in Touch - Contact Section UI
----------------------------------------------*/

#contact.contact-section-improved {
    padding: 100px 0;
}

#contact .contact-wrapper {
    align-items: stretch;
}

#contact .contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 48px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
}

#contact .contact-form-card .pre-title {
    color: var(--primary-color) !important;
    font-weight: 600;
    letter-spacing: 1px;
}

#contact .contact-form-card h2 {
    color: #21333e !important;
}

#contact .contact-form-card h2 .featured span {
    color: var(--primary-color) !important;
}

#contact .contact-form-card p,
#contact .contact-intro-text {
    color: #4a5568 !important;
    font-size: 0.95rem;
}

#contact .contact-intro-text {
    margin-bottom: 28px;
}

#contact .contact-form .form-control {
    background: #f8fafc !important;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    color: #21333e !important;
    transition: all 0.2s ease;
}

#contact .contact-form .form-control:focus {
    background: #ffffff !important;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(232, 107, 44, 0.15);
    color: #21333e !important;
}

#contact .contact-form .form-control::placeholder {
    color: #94a3b8;
}

#contact .contact-form textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

#contact .contact-form .btn-send {
    padding: 14px 32px;
    font-size: 0.95rem;
    color: #ffffff !important;
}

#contact .contact-msg-box {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
}

#contact .contact-msg-box.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

#contact .contact-msg-box.error {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

#contact .contact-info-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px 32px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

#contact .contact-info-card h4 {
    color: #1a1a1a !important;
    font-size: 1.5rem;
    margin-bottom: 6px;
}

#contact .contact-tagline {
    color: #4a5568 !important;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

#contact .contact-list {
    flex-direction: column;
}

#contact .contact-item {
    display: flex;
    align-items: flex-start;
    padding: 16px 0 !important;
    border-bottom: 1px solid #e2e8f0 !important;
    color: #1a1a1a !important;
    transition: color 0.2s;
}

#contact .contact-item:last-of-type {
    border-bottom: none !important;
}

#contact .contact-item:hover {
    color: var(--primary-color) !important;
}

#contact .contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(232, 107, 44, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.1rem;
    color: var(--primary-color);
}

#contact .contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#contact .contact-details span {
    color: #1a1a1a !important;
}

#contact .contact-item:hover .contact-details span {
    color: var(--primary-color) !important;
}

#contact .contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b !important;
}

#contact .btn-view-map {
    margin-top: 8px;
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: #ffffff !important;
}

#contact .btn-view-map:hover {
    background-color: #d95a22 !important;
    border-color: #d95a22 !important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    #contact .contact-form-card {
        margin-bottom: 24px;
    }
}

/*----------------------------------------------
Footer - ensure text is visible on dark background
----------------------------------------------*/

footer,
#footer {
    color: rgba(255, 255, 255, 0.9);
}

footer .navbar-nav .nav-link,
footer .nav-item .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer .navbar-nav .nav-link:hover,
footer .nav-item .nav-link:hover {
    color: var(--primary-color) !important;
}

footer .card h4 {
    color: #ffffff !important;
}

footer .card a {
    color: rgba(255, 255, 255, 0.85) !important;
}

footer .card a:hover {
    color: var(--primary-color) !important;
}

footer p {
    color: rgba(255, 255, 255, 0.9) !important;
}

footer .copyright {
    background-color: rgba(0, 0, 0, 0.3) !important;
}

footer .copyright p {
    color: rgba(255, 255, 255, 0.85) !important;
}