/* ============================================
   PSG Brand Color Scheme
   Primary: Dark Navy  #1a2b4a
   Accent:  Blue       #1a7fd4
   ============================================ */
:root {
    --corle-base: #1a7fd4;
    --corle-base-rgb: 26, 127, 212;
    --corle-primary: #0d3d6e;
    --corle-primary-rgb: 13, 61, 110;
    --corle-black: #1a2b4a;
    --corle-black-rgb: 26, 43, 74;
}

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
    background-color: #ffffff;
}

.preloader__image {
    position: relative;
    background-image: url(../logo/favicon.png);
    background-size: 100px auto;
    background-repeat: no-repeat;
    background-position: center center;
    width: 150px;
    height: 150px;
    animation-name: psg-pulse;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.preloader__image::before {
    content: '';
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #1a7fd4;
    border-right-color: #0d3d6e;
    animation: psg-spin 1.2s linear infinite;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes psg-spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes psg-pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.85;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ==========================================
   BUTTONS
   ========================================== */
.thm-btn {
    background-color: var(--corle-black);
    border-color: var(--corle-black);
    color: #fff;
}

.thm-btn:after {
    background-color: var(--corle-base);
}

.thm-btn:hover {
    color: #fff;
    border-color: var(--corle-base);
}

/* ==========================================
   SECTION TAGLINE
   ========================================== */
.section-title__tagline {
    color: var(--corle-base);
}

/* ==========================================
   TOP HEADER BAR (Dark Navy Strip)
   ========================================== */
.main-header-three__top {
    background-color: var(--corle-black);
}

.main-header-three__top-wrapper {
    padding: 0 40px 0;
}

.main-header-three__location-icon {
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.main-header-three__social a {
    background-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   MAIN NAVIGATION BAR
   ========================================== */

/* Wrapper — subtle bottom border, comfortable padding */
.main-menu-three__wrapper {
    background-color: #ffffff;
    border-bottom: 1px solid #e8ecf0;
    padding: 0 40px 0;
}

/* Logo — balanced size and spacing */
.main-menu-three__logo {
    padding: 12px 0;
    margin-right: 30px;
    flex-shrink: 0;
}

@media (min-width: 1200px) {

    /* Left section — expand to fill space for centered menu */
    .main-menu-three__left {
        flex: 1;
        display: flex;
        align-items: center;
    }

    /* Menu box — fill space and center items */
    .main-menu-three__main-menu-box {
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .main-menu-three .main-menu__list {
        display: flex;
        justify-content: center;
    }
}

.main-menu-three__logo img {
    height: 32px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.main-menu-three__logo img:hover {
    opacity: 0.85;
}

/* Nav links — comfortable vertical rhythm */
.main-menu-three .main-menu__list>li,
.stricky-header.main-menu-three .main-menu__list>li {
    padding-top: 18px;
    padding-bottom: 18px;
}

/* Nav links — tighter horizontal spacing */
.main-menu-three .main-menu__list>li+li,
.stricky-header.main-menu-three .main-menu__list>li+li {
    margin-left: 22px;
}

/* Nav links hover */
.main-menu__list>li>a:hover,
.main-menu__list>li.current>a {
    color: var(--corle-base) !important;
}

/* Right side consultant box */
.main-menu-three__consultant-box {
    background-color: #f0f6fc;
}

.main-menu-three__consultant-btn {
    background-color: var(--corle-base) !important;
    border-color: var(--corle-base) !important;
    color: #fff !important;
}

.main-menu-three__consultant-btn:hover {
    background-color: var(--corle-black) !important;
    border-color: var(--corle-black) !important;
}

/* ==========================================
   "GET IN TOUCH" CTA BUTTON IN NAV
   ========================================== */
.main-menu-three__cta-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 25px;
    margin-right: 25px;
    padding: 12px 0;
    flex-shrink: 0;
}

.main-menu-three__cta-wrapper .nav-btn-cta {
    background-color: var(--corle-base);
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.main-menu-three__cta-wrapper .nav-btn-cta:hover {
    background-color: var(--corle-black);
    color: #ffffff;
}

/* ==========================================
   STICKY HEADER
   ========================================== */
.stricky-header.stricked-menu {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.stricky-header .main-menu-three__logo {
    padding: 8px 0;
}

.stricky-header .main-menu-three__logo img {
    height: 38px;
}

.stricky-header.main-menu-three .main-menu__list>li {
    padding-top: 14px;
    padding-bottom: 14px;
}

.stricky-header .main-menu-three__cta-wrapper {
    padding: 8px 0;
}

/* ==========================================
   MOBILE NAV
   ========================================== */
.mobile-nav__container {
    background-color: var(--corle-black);
}

/* ==========================================
   SCROLL TO TOP
   ========================================== */
.scroll-to-top {
    background: var(--corle-base);
}

.scroll-to-top:hover {
    background-color: var(--corle-black);
}

/* ==========================================
   RESPONSIVE — TABLETS
   ========================================== */
@media (max-width: 1199px) {
    .main-menu-three__logo {
        padding: 12px 0;
        margin-right: 20px;
    }

    .main-menu-three__logo img {
        height: 38px;
    }

    .main-menu-three__wrapper {
        padding: 0 20px 0;
    }
}

/* ==========================================
   RESPONSIVE — MOBILE
   ========================================== */
@media (max-width: 767px) {
    .main-menu-three__logo {
        padding: 12px 0;
        margin-right: 0;
        max-width: 170px;
    }

    .main-menu-three__logo img {
        height: 32px;
        width: auto;
    }
}

/* ==========================================
   MODERN & PREMIUM CONTACT US SECTION
   ========================================== */
.contact-section-custom {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(240, 246, 252, 0.4) 0%, rgba(255, 255, 255, 1) 90%);
    padding: 120px 0;
    overflow: hidden;
}

.contact-section-custom::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(26, 127, 212, 0.05) 0%, rgba(26, 127, 212, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-section-custom::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 61, 110, 0.04) 0%, rgba(13, 61, 110, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.contact-form-card-custom {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 16px;
    padding: 45px;
    box-shadow: 0 20px 40px rgba(13, 61, 110, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.contact-form-card-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 60px rgba(13, 61, 110, 0.07), 0 2px 5px rgba(0, 0, 0, 0.02);
}

.contact-title-custom {
    font-family: 'Outfit', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--corle-black);
    margin-bottom: 30px;
    position: relative;
}

.contact-title-custom::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--corle-base);
    border-radius: 2px;
}

.input-group-custom {
    position: relative;
    margin-bottom: 22px;
}

.input-custom {
    width: 100%;
    height: 54px;
    padding: 15px 20px;
    background-color: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--corle-black);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.input-custom::placeholder {
    color: #94a3b8;
}

.input-custom:focus {
    background-color: #ffffff;
    border-color: var(--corle-base);
    box-shadow: 0 0 0 4px rgba(26, 127, 212, 0.12);
}

textarea.input-custom {
    height: 140px;
    resize: none;
}

.btn-submit-custom {
    background: linear-gradient(135deg, var(--corle-base) 0%, var(--corle-primary) 100%);
    border: none;
    color: #ffffff;
    width: 100%;
    padding: 16px 30px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(26, 127, 212, 0.2);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-submit-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(26, 127, 212, 0.3);
    background: linear-gradient(135deg, var(--corle-primary) 0%, var(--corle-black) 100%);
}

.btn-submit-custom:active {
    transform: translateY(0);
}

.info-cards-container-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

@media (max-width: 575px) {
    .info-cards-container-custom {
        grid-template-columns: 1fr;
    }
}

.info-card-custom {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 25px rgba(13, 61, 110, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.info-card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(13, 61, 110, 0.06);
    border-color: rgba(26, 127, 212, 0.15);
}

.info-card-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(26, 127, 212, 0.1) 0%, rgba(13, 61, 110, 0.05) 100%);
    color: var(--corle-base);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.info-card-custom:hover .info-card-icon-wrapper {
    background: linear-gradient(135deg, var(--corle-base) 0%, var(--corle-primary) 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.info-card-label {
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-card-value {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--corle-black);
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}

.info-card-value a {
    color: inherit;
    transition: color 0.2s ease;
    text-decoration: none;
}

.info-card-value a:hover {
    color: var(--corle-base);
}

.map-card-custom {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.03);
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(13, 61, 110, 0.02);
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.map-iframe-container {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.map-btn-custom {
    background-color: #f1f5f9;
    border: none;
    color: var(--corle-black);
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    width: 100%;
}

.map-btn-custom:hover {
    background-color: var(--corle-base);
    color: #ffffff;
}

/* ==========================================
   MOBILE & TABLET RESPONSIVE OVERRIDES
   ========================================== */
@media (max-width: 1199px) {

    /* Hide Business Hours box to save space */
    .main-menu-three__right {
        display: none !important;
    }

    /* Ensure the header expands full width and separates logo/toggler */
    .main-menu-three__wrapper-inner {
        justify-content: space-between;
    }

    .main-menu-three__left {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .main-menu-three__logo {
        margin-right: 0 !important;
        padding: 15px 0 !important;
    }

    .main-menu-three__main-menu-box {
        margin: 0;
    }

    /* Consistent hamburger button styling for all tablet/mobile screens */
    .main-menu .mobile-nav__toggler {
        font-size: 22px !important;
        color: var(--corle-black) !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        background-color: #f1f5f9 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }

    .main-menu .mobile-nav__toggler:hover {
        background-color: var(--corle-base) !important;
        color: #ffffff !important;
    }
}

@media (max-width: 991px) {

    /* Hide desktop CTA wrapper in header */
    .main-menu-three__cta-wrapper {
        display: none !important;
    }

    /* Fix Intro Strip sections alignment and margins on tablet/mobile */
    .psg-intro-strip {
        padding: 50px 0 !important;
    }

    .psg-intro-strip .row>div {
        margin-bottom: 30px;
    }

    .psg-intro-strip .row>div:last-child {
        margin-bottom: 0;
    }

    .psg-intro-strip h2 {
        font-size: 28px !important;
        line-height: 1.3 !important;
    }
}

@media (max-width: 767px) {

    /* Modern Contact Section mobile adjustments */
    .contact-section-custom {
        padding: 60px 0 !important;
    }

    .contact-form-card-custom {
        padding: 30px 20px !important;
    }

    .contact-title-custom {
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }

    .info-cards-container-custom {
        gap: 15px !important;
    }
}

/* ==========================================
   EXTRA HOMEPAGE RESPONSIVE OPTIMIZATIONS
   ========================================== */
@media (max-width: 767px) {

    /* Slider Title & Text optimization on mobile */
    .main-slider-three__title {
        font-size: 32px !important;
        line-height: 42px !important;
    }

    .main-slider-three__title br {
        display: none !important;
    }





    .main-slider-three__btn-box {
        justify-content: center !important;
        display: flex !important;
    }

    /* Mobile hamburger button styling */
    .main-menu .mobile-nav__toggler {
        font-size: 24px !important;
        color: var(--corle-black) !important;
        padding: 8px 12px !important;
        border-radius: 6px !important;
        background-color: #f1f5f9 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }

    .main-menu .mobile-nav__toggler:hover {
        background-color: var(--corle-base) !important;
        color: #ffffff !important;
    }
}

@media (max-width: 480px) {

    /* Prevent header layout overflow on very narrow phones */
    .main-menu-three__logo img {
        height: 28px !important;
    }

    .main-slider-three__title {
        font-size: 28px !important;
        line-height: 38px !important;
    }
}