/* Google Fonts Integration */
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

:root {
    --brand-red: #e60000;
    /* Logo red color */
    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Kanit', sans-serif;
    overflow-x: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Navigation */
.main-header {
    padding: 30px 50px;
}

.main-header .navbar {
    padding: 0;
}

.main-header {
    transition: all 0.3s ease-in-out;
}

.header-scrolled {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 22px 50px !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 9999 !important;
}

.header-scrolled .text-white,
.header-scrolled .nav-link,
.header-scrolled i {
    color: var(--black) !important;
    text-shadow: none !important;
}

.header-scrolled .logo-img {
    filter: none;
    opacity: 1;
}

.header-scrolled .btn-quick-enquiry {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
    color: var(--white) !important;
}

.header-scrolled .btn-quick-enquiry i {
    color: var(--white) !important;
}

.header-scrolled .btn-quick-enquiry:hover {
    background-color: var(--black);
    border-color: var(--black);
    color: var(--white) !important;
}

.logo {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.logo-img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    /* Pure white by default */
    transition: all 0.3s ease;
}

.main-nav .nav-link {
    font-size: 16px;
    font-weight: 300;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease, text-shadow 0.3s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus {
    opacity: 1;
    text-shadow: 1px 1px 8px rgba(255, 255, 255, 0.6);
}

/* Dropdown Menu Styles */
.dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    border-radius: 12px !important;
    margin-top: 25px !important;
    padding: 10px 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Tooltip Caret on Top */
.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 20px;
    border-width: 0 10px 10px 10px;
    border-style: solid;
    border-color: transparent transparent rgba(255, 255, 255, 0.95) transparent;
}

.dropdown-item {
    font-size: 15px;
    padding: 10px 25px;
    color: var(--black);
    font-weight: 300;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.dropdown-item::before {
    content: "\f105";
    /* FontAwesome Chevron-right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 11px;
    margin-right: 12px;
    color: var(--brand-red);
    opacity: 0;
    transform: translateX(-5px);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: transparent;
    color: var(--brand-red);
    padding-left: 30px;
}

.dropdown-item:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Header actions are now styled by Bootstrap utilities */

.account-link {
    font-size: 16px;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.cart-icon {
    font-size: 20px;
    cursor: pointer;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
}

.hero-slider,
.hero-slider .owl-stage-outer,
.hero-slider .owl-stage,
.hero-slider .owl-item {
    height: 100%;
}

.slide-item {
    width: 100%;
    height: 100vh;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

.financial-img {
    height: 600px;
    width: 100%;
    object-fit: cover;
}

.financial-divider {
    width: 1px;
    height: 40px;
    background: #eee;
}

/* Subtle overlay if image is too bright */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}

.footer-logo-img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.footer-bottom-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.slide-inner {
    position: absolute;
    bottom: -15px;
    /* Offset to fit massive text comfortably */
    left: 0;
    width: 100%;
    height: 100%;
    /* Cover whole screen to handle absolute position of inner elements */
    z-index: 2;
    pointer-events: none;
    /* Let clicks pass through overlay area */
}

.vertical-text {
    position: absolute;
    left: 20px;
    bottom: 270px;
    transform: rotate(-90deg);
    transform-origin: left bottom;
    font-size: 12px;
    letter-spacing: 1px;
    opacity: 0.5;
    white-space: nowrap;
}

.main-content-area {
    position: absolute;
    bottom: 75px;
    /* Shift text to very bottom like in the picture */
    left: 30px;
    padding-left: 20px;
    /* Slight padding to left */
    width: 100%;
    z-index: 3;
}

.huge-title {
    font-weight: 600;
    /* Massive responsive typography */
    font-size: 80px;
    line-height: 79px;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    text-shadow: 4px 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: auto;
}

.explore-badge {
    position: absolute;
    bottom: 70px;
    right: 50px;
    width: 140px;
    height: 140px;
    z-index: 4;
    pointer-events: auto;
    /* Re-enable clicks or interactions here if needed */
}

.explore-svg {
    width: 100%;
    height: 100%;
    animation: rotateText 15s linear infinite;
    filter: drop-shadow(2px 2px 5px rgba(0, 0, 0, 0.3));
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.explore-svg text {
    fill: var(--white);
    text-transform: uppercase;
}

/* Owl Carousel Dots Styling */
.hero-slider .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.service-slider .owl-dots {
    margin-top: 40px !important;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(255, 255, 255, 0.4) !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    margin: 5px 7px !important;
}

.service-slider .owl-dots .owl-dot span {
    background: rgba(0, 0, 0, 0.2) !important;
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--brand-red) !important;
    width: 10px !important;
    height: 10px !important;
}

/* About Section Styles */
.about-section {
    position: relative;
    margin-top: 140px;
}

.floating-stats-card {
    position: absolute;
    bottom: 20px;
    left: -25px;
    width: 215px;
    background: linear-gradient(135deg, rgba(230, 0, 0, 0.50), rgba(180, 0, 0, 0.20));
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);

}

.hover-opacity {
    transition: opacity 0.2s ease;
}

.hover-opacity:hover {
    opacity: 0.7;
}

/* Extracted Inline Styles */
.btn-quick-enquiry {
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.3s ease;
    color: var(--white);
}

.btn-quick-enquiry:hover {
    background-color: var(--white);
    color: var(--black) !important;
}

.btn-quick-enquiry span {
    font-size: 15px;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero-slide-bg {
    background-image: url('../img/banner.png');
}

.about-main-img {
    object-fit: cover;
    min-height: 620px;

}

.avatar-overlap {
    margin-right: -10px;
    object-fit: cover;
}

.z-4 {
    z-index: 4;
}

.z-3 {
    z-index: 3;
}

.z-2 {
    z-index: 2;
}

.avatar-plus {
    width: 32px;
    height: 32px;
    z-index: 1;
    font-size: 16px;
    background-color: var(--brand-red) !important;
}

.stats-number {
    font-size: 34px;

}

.stats-text {
    font-size: 13.5px;
    opacity: 0.95;
    line-height: 1.4;
}

.section-subtitle {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-red);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 46px;
    line-height: 1.15;
    font-weight: 500;
    color: var(--black);

}

.about-lead {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
}

.btn-strategy {
    font-weight: 500;
    font-size: 16px;
    background-color: var(--brand-red);
    color: var(--white) !important;
    border: none;
    padding: 13px 35px !important;
    transition: all 0.3s ease;
}

.btn-strategy:hover {
    background-color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.about-divider {
    opacity: 0.15;
    background-color: #000;
    height: 1px;
}

/* Stats Counter Section */
.stats-counter-section {
    position: relative;
    margin-top: 120px;
    border-color: #f1f1f1 !important;
}

.stat-number {
    font-size: 65px;
    line-height: 1;
}

.stat-plus {
    font-size: 45px;
    line-height: 1;
    margin-left: 2px;
}

.stat-suffix {
    font-size: 55px;
    line-height: 1;
}

.stat-label {
    font-size: 17px;
    font-weight: 400;
    opacity: 0.8;
}

.stat-divider {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60px;
    background-color: #e6e6e6;
}

/* Simple Responsive Design */
@media (max-width: 1200px) {


    .explore-badge {
        width: 120px;
        height: 120px;
        right: 30px;
        bottom: 80px;
    }

    .vertical-text {
        bottom: 200px;
    }
}

@media (max-width: 991px) {
    .main-header {
        padding: 20px 30px;
    }

    /* Mobile Navbar Dropdown Styles */
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.85);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        text-align: center;
    }

    .header-actions {
        justify-content: center;
    }

    /* Hide for mobile */
    .explore-badge {
        width: 100px;
        height: 100px;
        right: 20px;
        bottom: 60px;
    }
}

@media (max-width: 767px) {
    .huge-title {
        font-size: 60px;
        line-height: 0.9;
    }

    .vertical-text {
        display: none;
    }

    .explore-badge {
        display: none;
    }

    .main-content-area {
        padding-left: 10px;
        bottom: 20px;
    }
}

.about-content-home {
    padding: 0px 40px 0px 0px;
}

/* Service Card Styles */

.service-card-inner {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 480px;
}

.service-card-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card-item:hover .service-card-inner img {
    transform: scale(1.1);
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: all 0.4s ease;
}

.overlay-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.service-card-title {
    color: var(--white);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
    max-width: 70%;
    margin-bottom: 0;
}

.service-card-btn {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-card-btn i {
    transform: rotate(45deg);
    font-size: 18px;
}

.service-card-item:hover .service-card-btn {
    background-color: var(--brand-red);
    color: var(--white);
}

.service-card-item:hover .service-card-btn i {
    transform: rotate(45deg) scale(1.1);
}

.what-we-do-section,

.financial-section,
.promo-banner-section {
    margin-top: 140px;
}

.testimonials-section {
    margin-top: 140px;
    padding: 140px 0px;
}

/* Promo Banner Section Styles */
.promo-title {
    font-size: 58px;
    font-weight: 500;
    line-height: 1.1;
    color: var(--black);

}

.promo-subtitle {
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.8;
}

.btn-promo-dark {
    background-color: #e60000;
    color: var(--white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-promo-dark:hover {
    background-color: #000;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-promo-outline {
    border: 1px solid #d0d0d0;
    color: var(--black);
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-promo-outline:hover {
    border-color: var(--black);
    background-color: #f8f8f8;
    transform: translateY(-2px);
}

.promo-image-container {
    margin-top: 20px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
}

.promo-parallax-bg {
    height: 550px;
    background-image: url('../img/paralax.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-parallax-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15);
    /* Light overlay for text visibility */
    z-index: 1;
}


.promo-video-play {
    position: relative;
    z-index: 3;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    animation: pulse-white 2s infinite;
}

.video-play-btn i {
    margin-left: 5px;
    /* Fine-tune play icon centering */
}

.video-play-btn:hover {
    background: #e60000;
    color: var(--white);
    transform: scale(1.1);
}

@keyframes pulse-white {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}


.promo-watermark {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.1);
    font-size: 180px;
    font-weight: 900;
    letter-spacing: 20px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    text-transform: uppercase;
    line-height: 1;
}

@media (max-width: 991px) {
    .promo-parallax-bg {
        height: 400px;
        background-attachment: scroll;
        /* Better performance on mobile */
    }

    .promo-watermark {
        font-size: 60px;
        letter-spacing: 10px;
    }
}

/* Testimonials Section Styles */
.speech-bubble {
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid #f5f5f5;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 40px;
    width: 30px;
    height: 30px;
    background: var(--white);
    transform: rotate(45deg);
    border-bottom: 1px solid #f5f5f5;
    border-right: 1px solid #f5f5f5;
    z-index: 1;
}

.testimonial-item {
    padding: 15px;
}

.testimonial-user img {
    width: 45px !important;
    height: 45px !important;
    object-fit: cover !important;
    border-radius: 50%;
}

.testimonial-nav button {
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
}

.testimonial-nav-line {
    width: 40px;
    height: 1px;
}

.testimonial-nav button:hover {
    background-color: var(--black);
    color: var(--white) !important;
    border-color: var(--black) !important;
}

.testimonial-nav button:hover i {
    color: var(--white) !important;
}

.trustpilot-logo {
    color: #e60000;
    /* Trustpilot Green */
}

.testimonial-intro i.fa-quote-left {
    line-height: 1;
    color: #e0e0e0;
}



/* Footer Styles */
.footer-cta-section {
    padding: 100px 0;
    background-color: #070707;
    color: var(--white);
    margin-top: 140px;
}

.main-footer {
    padding: 80px 0;
    background-color: #000;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);

}

.btn-digimar {
    background-color: #e60000;
    color: #fff;
    border: none;
    transition: all 0.3s ease;
}

.btn-digimar:hover {
    background-color: var(--white);
    color: #0d3b3b;
    transform: translateY(-5px);
}

.footer-links a {
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #b9f0b3 !important;
}

.social-icon-proper {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.social-icon-proper:hover {
    background-color: #e60000;
    border-color: #e60000;
    color: var(--white);
    transform: translateY(-3px);
}

.main-footer h5 {
    font-weight: 500 !important;
    font-size: 1.1rem;
}

.main-footer p,
.footer-links a,
.footer-cta-section p {
    font-weight: 300 !important;
}

/* Back to Top with Progress */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    background: #000;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f062';
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    color: var(--white);
    left: 0;
    top: 0;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    color: #e60000;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    stroke: #e60000;
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

.btn-red-more {
    background-color: #e60000;
    color: var(--white);
    border: none;
    transition: all 0.3s ease;
}

.btn-red-more:hover {
    background-color: #000;
    color: var(--white);
    transform: translateY(-5px);
}

@media (max-width: 945px) {
    /* Adjust mobile spacing for this section if needed */
}

@media (max-width: 767px) {
    .progress-wrap {
        right: 15px;
        bottom: 15px;
    }
}

@media (max-width: 991px) {
    .footer-cta-section {
        padding: 60px 0 !important;
    }

    .footer-cta-section h2 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .promo-title {
        font-size: 36px;
    }

    .promo-subtitle {
        font-size: 16px;
    }
}