/* =============================================
   Century Gothic – Universal Font Override
   ============================================= */

/* Apply Century Gothic to all text elements (NOT ::before/::after which FA uses for icons) */
*,
body, html,
h1, h2, h3, h4, h5, h6,
p, a, span, li, ul, ol,
button, input, textarea, select,
label, th, td, caption,
blockquote, pre, code,
.nav-links a, .glass-nav a,
.mobile-dropdown a, .btn,
div, section, header, footer, nav, article, aside {
    font-family: "Century Gothic", CenturyGothic, AppleGothic, "Gill Sans", "Gill Sans MT", Calibri, sans-serif !important;
}

/* ── Restore Font Awesome icon fonts on <i> elements ── */
i[class*="fa-"],
i.fas, i.far, i.fal, i.fad, i.fab, i.fa,
i.fa-solid, i.fa-regular, i.fa-light,
i.fa-brands, i.fa-duotone, i.fa-thin,
span[class*="fa-"], i.flaticon, span.flaticon {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free",
                 "Font Awesome 5 Pro", "Font Awesome 5 Free",
                 "Font Awesome 6 Brands", "Font Awesome 5 Brands",
                 "Font Awesome 5 Duotone", "FontAwesome",
                 "flaticon" !important;
}

/* ── Restore FA font on ::before / ::after pseudo-elements of icon tags ── */
i[class*="fa-"]::before, i[class*="fa-"]::after,
i.fas::before, i.far::before, i.fal::before,
i.fab::before, i.fad::before, i.fa::before,
i.fa-solid::before, i.fa-regular::before,
i.fa-light::before, i.fa-brands::before,
i.fa-duotone::before, i.fa-thin::before,
i.flaticon::before, i.flaticon::after,
span[class*="fa-"]::before, span[class*="fa-"]::after,
span.flaticon::before, span.flaticon::after {
    font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free",
                 "Font Awesome 5 Pro", "Font Awesome 5 Free",
                 "Font Awesome 6 Brands", "Font Awesome 5 Brands",
                 "Font Awesome 5 Duotone", "FontAwesome",
                 "flaticon" !important;
}

h1, h2, h3, h4:not(.custom-footer-title), h5, h6 {
    margin: 0px;
    padding: 0;
    color: #000 !important;
}

.simple-btn-white a {
    text-transform: capitalize !important;
    font-weight: 500 !important;
}

/* ── Shift logo near the left edge of the navbar, with a small inset ── */
.header-section .header-3 .logo {
    margin-left: 24px !important;
}
.header-section .header-3 .mega-menu-wrapper {
    margin: 0 !important;
}

/* ── Navbar Size Adjustments & Responsive Fit ── */
.header-section .header-3 .header-left {
    margin-left: 20px !important;
}
.header-section .header-3 .main-menu > nav > ul,
.header-section .header-3 .main-menu > ul {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}
.header-section .header-3 .main-menu > nav > ul > li,
.header-section .header-3 .main-menu > ul > li {
    margin-inline-end: 14px !important;
    flex-shrink: 0 !important;
    position: relative !important;
}
.header-section .header-3 .main-menu > nav > ul > li:last-child,
.header-section .header-3 .main-menu > ul > li:last-child {
    margin-inline-end: 0 !important;
}
.header-section .header-3 .main-menu > nav > ul > li > a,
.header-section .header-3 .main-menu > ul > li > a {
    font-size: 14px !important;
    white-space: nowrap !important;
}
@media (min-width: 1400px) {
    .header-section .header-3 .header-left {
        margin-left: 28px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li,
    .header-section .header-3 .main-menu > ul > li {
        margin-inline-end: 18px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li > a,
    .header-section .header-3 .main-menu > ul > li > a {
        font-size: 15px !important;
    }
}
@media (min-width: 1600px) {
    .header-section .header-3 .main-menu > nav > ul > li,
    .header-section .header-3 .main-menu > ul > li {
        margin-inline-end: 22px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li > a,
    .header-section .header-3 .main-menu > ul > li > a {
        font-size: 16px !important;
    }
}
@media (max-width: 1399px) {
    .header-section .header-3 .header-left {
        margin-left: 14px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li,
    .header-section .header-3 .main-menu > ul > li {
        margin-inline-end: 12px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li > a,
    .header-section .header-3 .main-menu > ul > li > a {
        font-size: 13.5px !important;
    }
}
@media (max-width: 1199px) {
    .header-section .header-3 .header-left {
        margin-left: 10px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li,
    .header-section .header-3 .main-menu > ul > li {
        margin-inline-end: 10px !important;
    }
    .header-section .header-3 .main-menu > nav > ul > li > a,
    .header-section .header-3 .main-menu > ul > li > a {
        font-size: 13px !important;
    }
}

/* ── Dropdown Submenu Styling & Hover Behavior Fix ── */
.header-section .header-3 .main-menu .submenu {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 250px !important;
    background-color: #111111 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 6px !important;
    padding: 10px 0 !important;
    z-index: 99999 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(10px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease !important;
}

.header-section .header-3 .main-menu li:hover > .submenu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.header-section .header-3 .main-menu .submenu li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.header-section .header-3 .main-menu .submenu li a {
    display: block !important;
    padding: 9px 20px !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-transform: none !important;
    white-space: nowrap !important;
    line-height: 1.5 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.2s ease !important;
}

.header-section .header-3 .main-menu .submenu li:last-child a {
    border-bottom: none !important;
}

.header-section .header-3 .main-menu .submenu li a:hover {
    background-color: rgba(201, 243, 29, 0.15) !important;
    color: #C9F31D !important;
    padding-left: 24px !important;
}

/* Download Profile Button Navbar Override */
.header-section .header-3 .main-menu ul li a[download] {
    padding: 7px 14px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    border: 1px solid #C9F31D !important;
    color: #C9F31D !important;
    border-radius: 4px !important;
    margin-left: 0 !important;
    white-space: nowrap !important;
    display: inline-block !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    transition: all 0.3s ease !important;
}

.header-section .header-3 .main-menu ul li a[download]:hover {
    background-color: #C9F31D !important;
    color: #000000 !important;
}

/* Black variant for requested inner pages */
.header-section .header-3 .main-menu ul li a[download].btn-download-black,
.main-menu ul li a[download].btn-download-black {
    border: 1px solid #000000 !important;
    color: #000000 !important;
}

.header-section .header-3 .main-menu ul li a[download].btn-download-black:hover,
.main-menu ul li a[download].btn-download-black:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

/* On sticky dark header, keep readable */
.sticky .header-section .header-3 .main-menu ul li a[download].btn-download-black,
#header-sticky.sticky .main-menu ul li a[download].btn-download-black {
    border-color: #C9F31D !important;
    color: #C9F31D !important;
}

.sticky .header-section .header-3 .main-menu ul li a[download].btn-download-black:hover,
#header-sticky.sticky .main-menu ul li a[download].btn-download-black:hover {
    background-color: #C9F31D !important;
    color: #000000 !important;
}
/* ── Universal Responsive Logo Sizing & Aspect-Ratio Preservation ── */

/* Ensure logo wrappers never collapse or squeeze in flex layouts */
.header-section .logo,
.header-main .logo,
.header-3 .logo,
.offcanvas__logo,
.footer-logo,
.tn-logo,
.mob-logo {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Master Header Logo Rules (All header styles: .header-1, .header-2, .header-3, .header-4) */
.header-section .logo img,
.header-main .logo img,
.header-logo img,
.header-logo-2 img,
.header-3 .logo img,
.tn-logo img {
    height: 44px !important;
    max-height: 44px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
    transition: height 0.3s ease, max-height 0.3s ease !important;
}

/* Sticky Header Logo Sizing (Compact & smooth) */
.sticky .logo img,
.sticky.header-3 .logo img,
.sticky.header-1 .logo img,
.sticky.header-2 .logo img,
.sticky.header-4 .logo img,
.sticky .header-logo-2 img,
.sticky .header-logo img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
}

/* Offcanvas Mobile Menu Logo */
.offcanvas__logo img,
.mob-logo img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Footer Logo Sizing */
.footer-logo img,
footer img[alt="logo"],
footer .logo img,
.custom-footer-bg img {
    height: 38px !important;
    max-height: 38px !important;
    width: auto !important;
    object-fit: contain !important;
}

/* Responsive Resolution & Zoom Level Scaling (100%, 80% zoom, 4K, 1080p, Laptops, Mobile) */
@media (min-width: 1400px) {
    .header-section .logo img,
    .header-main .logo img,
    .header-3 .logo img {
        height: 46px !important;
        max-height: 46px !important;
    }
    .sticky .logo img,
    .sticky.header-3 .logo img {
        height: 40px !important;
        max-height: 40px !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .header-section .logo img,
    .header-main .logo img,
    .header-3 .logo img {
        height: 40px !important;
        max-height: 40px !important;
    }
    .sticky .logo img,
    .sticky.header-3 .logo img {
        height: 36px !important;
        max-height: 36px !important;
    }
}

@media (max-width: 991px) and (min-width: 576px) {
    .header-section .logo img,
    .header-main .logo img,
    .header-3 .logo img {
        height: 38px !important;
        max-height: 38px !important;
    }
    .sticky .logo img,
    .sticky.header-3 .logo img {
        height: 34px !important;
        max-height: 34px !important;
    }
}

@media (max-width: 575px) {
    .header-section .logo img,
    .header-main .logo img,
    .header-3 .logo img {
        height: 34px !important;
        max-height: 34px !important;
    }
    .sticky .logo img,
    .sticky.header-3 .logo img {
        height: 32px !important;
        max-height: 32px !important;
    }
}


/* ── Footer: visible headings + brand social icons on dark background ── */
.custom-footer-container h4.custom-footer-title,
h4.custom-footer-title {
    color: #C9F31D !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    margin-bottom: 22px !important;
}

/* Footer social: dark bars with green accent + brand icons */
a.custom-social-btn,
a.custom-social-btn.w-100 {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 200px !important;
    max-width: 200px !important;
    padding: 12px 16px !important;
    margin-bottom: 12px !important;
    border-left: 2px solid #C9F31D !important;
    background: #222 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-align: left !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

a.custom-social-btn .social-icon {
    flex-shrink: 0;
    width: 18px;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}

a.custom-social-btn .social-icon--fb {
    color: #1877F2 !important;
}

a.custom-social-btn .social-icon--linkedin {
    color: #0A66C2 !important;
}

a.custom-social-btn .social-icon--instagram {
    color: #E4405F !important;
}

a.custom-social-btn .social-icon--youtube {
    color: #FF0000 !important;
}

a.custom-social-btn span {
    color: #fff !important;
}

a.custom-social-btn:hover {
    background: #2a2a2a !important;
    color: #fff !important;
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* ── Hero Title Adjustments ── */
@media (min-width: 1200px) {
    .hero-area-four .hero-wrapper .hero-main-content .section-title .title {
        font-size: 72px !important;
        line-height: 82px !important;
        letter-spacing: -1.5px !important;
    }
}

/* ── Green Theme Highlight ── */
.green-highlight {
    color: #C9F31D !important;
    font-weight: bold;
}

/* ── How We Do / Process Flow Sizing ── */
.service-area-four .service-wrapper .service-right-content .text {
    font-size: 18px !important;
    line-height: 1.8 !important;
}
.service-area-four .service-wrapper .service-right-content ul li {
    font-size: 18px !important;
    line-height: 2 !important;
    color: #C9F31D !important;
}

/* Featured works description text – bigger */
.featured-area-four .featured-wrapper .section-title-four .text {
    font-size: 19px !important;
    line-height: 1.8 !important;
    max-width: 100% !important;
    color: rgba(255,255,255,0.85) !important;
}

/* Featured works card title and sub-text – bigger */
.featured-area-four .featured-wrapper .featured-card .card-content .card-title {
    font-size: 22px !important;
}
.featured-area-four .featured-wrapper .featured-card .card-content .card-title a {
    font-size: 22px !important;
}
.featured-area-four .featured-wrapper .featured-card .card-content .text {
    font-size: 17px !important;
}
.service-area-four .service-thumb-caption h4 {
    font-size: 15px !important;
}
.service-area-four .service-thumb-caption p {
    font-size: 16px !important;
    line-height: 1.6 !important;
}
.service-area-four .ades-process-intro .sub-title {
    font-size: 16px !important;
}

/* ── Global Sizing for Small Text Elements ── */
.custom-contact-text,
.custom-contact-text a {
    font-size: 16px !important;
}
.custom-footer-link li {
    font-size: 15px !important;
}
.custom-footer-link a {
    font-size: 15px !important;
}
.custom-newsletter-input {
    font-size: 15px !important;
}
.custom-copyright {
    font-size: 14px !important;
}
a.custom-social-btn,
a.custom-social-btn.w-100 {
    font-size: 16px !important;
}
.fppt-sys {
    font-size: 15px !important;
}
.fppt-quote {
    font-size: 22px !important;
    color: #C9F31D !important;
    font-weight: 600 !important;
    font-style: italic;
    letter-spacing: 0.02em;
    border-left: 4px solid #C9F31D;
    padding-left: 18px;
    margin-top: 40px;
    line-height: 1.7 !important;
}
.about-wrapper.style-4 .about-right-content .about-card .about-card-items .card-title {
    font-size: 16px !important;
}

/* How we do / ADES services — green faded secondary title lines */
.service-area-four .service-left-content .section-title-four .title span,
.service-area-four .service-left-content .section-title-four .title span .word,
.service-area-four .service-left-content .section-title-four .title span .line,
.service-area-four .service-left-content .section-title-four .title .line:last-child,
.service-area-four .service-left-content .section-title-four .title .line:last-child .word,
.service-area-four .section-title-four .title span.green-highlight,
.service-area-four .section-title-four .title span.green-highlight .word {
    color: #C9F31D !important;
    -webkit-text-fill-color: #C9F31D !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

/* Award section — green faded years, highlights & subtitle */
.award-area-four .section-title-four .title span {
    color: #C9F31D !important;
    opacity: 1 !important;
}

.award-area-four .award-wrapper .award-info .info-items .year {
    color: #C9F31D !important;
    opacity: 1 !important;
}

.award-area-four .award-wrapper .award-info .info-items .info-content span {
    color: #C9F31D !important;
    opacity: 1 !important;
}

