/* ====== VARIABLES ====== */
:root {
    --primary-color: #7d1315; /* maron */
    --secondary-color: #000000; /* Black */
    --text-color: #333333;
    --text-light: #777777;
    --background-light: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Montserrat', sans-serif;
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* ====== GENERAL STYLES ====== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

    a:hover {
        color: var(--secondary-color);
    }

.section-padding {
    padding: 100px 0;
}

.section-title {
    color:black;
    margin-bottom: 60px;
    position: relative;
    text-align: center;
}

    .section-title h2 {
        font-size: 36px;
        font-weight: 700;
        margin-bottom: 15px;
        position: relative;
        display: inline-block;
    }

    /* .section-title h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
            transition: var(--transition);
        } */

    .section-title:hover h2:after {
        width: 100px;
    }

.text-maroon {
    color: var(--primary-color) !important;
}


.section-subtitle {
    display: block;
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    color: black;
}

.section-line {
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.bg-light {
    background-color: var(--background-light) !important;
}

.btn {
    padding: 12px 28px;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        z-index: -1;
        transition: all 0.5s ease;
    }

    .btn:hover::before {
        width: 100%;
    }

.btn-lg {
    padding: 15px 32px;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(125, 19, 21, 0.3); /* Updated shadow color */
}

    .btn-primary:hover {
        background-color: transparent;
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-5px);
    }

.btn-outline-primary {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

    .btn-outline-primary:hover {
        background-color: var(--primary-color);
        color: var(--white);
        transform: translateY(-5px);
    }

.btn-outline-light {
    background-color: transparent;
    border-color: var(--white);
    color: var(--white);
}

    .btn-outline-light:hover {
        background-color: var(--white);
        color: var(--primary-color);
        transform: translateY(-5px);
    }

.btn-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(125, 19, 21, 0.3); /* Updated shadow color */
}

    .btn-secondary:hover {
        background-color: transparent;
        border-color: var(--primary-color);
        color: var(--primary-color);
        transform: translateY(-5px);
    }

.rounded-4 {
    border-radius: 10px !important;
}

.rounded-5 {
    border-radius: 20px !important;
}

/* ====== HEADER ====== */
.stellar-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

    .stellar-header.scrolled {
        background-color: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 10px 0;
    }

.navbar-brand {
    position: relative;
}

    .navbar-brand .logo {
        height: 62px;
        transition: opacity 0.5s ease, transform 0.3s ease;
        position: absolute;
        top: -30px;
        left: 0;
    }

    .navbar-brand .logo-white {
        opacity: 1;
    }

    .navbar-brand .logo-red {
        opacity: 0;
    }

.stellar-header.scrolled .navbar-brand .logo-white {
    opacity: 0;
}

.stellar-header.scrolled .navbar-brand .logo-red {
    opacity: 1;
}

.navbar-nav .nav-link {
    color: var(--white);
    font-weight: 500;
    padding: 10px 15px;
    position: relative;
}

.scrolled .navbar-nav .nav-link {
    color: black;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: #ff6a00;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #ff6a00;
}

.navbar-toggler {
    border: none;
    color: var(--white);
    font-size: 24px;
}

.scrolled .navbar-toggler {
    color: var(--text-color);
}

/* ====== HERO SECTION ====== */
.hero-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeIn 1s ease forwards;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    line-height: 1.5;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.6s;
}

.hero-buttons {
    margin-top: 20px;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.9s;
}

/* Video Background Styles */
.hero-video {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.video-fallback {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

/* ====== ABOUT SECTION ====== */
.about-section .section-title {
    text-align: center;
}

.about-image {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 10px;
}

    .about-image img {
        box-shadow: var(--box-shadow);
        transition: all 0.5s ease;
    }

    .about-image:hover img {
        transform: scale(1.05);
    }

.about-experience {
    position: absolute;
    right: -20px;
    bottom: -20px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.5s ease;
    animation: pulse 2s infinite;
}

.about-image:hover .about-experience {
    transform: rotate(10deg);
}

.about-experience-content h3 {
    font-size: 36px;
    margin-bottom: 0;
    line-height: 1;
}

.about-experience-content p {
    font-size: 14px;
    margin-bottom: 0;
    font-weight: 500;
}

.about-content h3 {
    margin-bottom: 25px;
    font-size: 32px;
}

.about-content .lead {
    font-size: 18px;
    margin-bottom: 25px;
    color: var(--text-light);
}

.vision-mission-values {
    margin-top: 30px;
}

.vision-item {
    display: flex;
    margin-bottom: 25px;
}

.vision-icon {
    margin-right: 20px;
    width: 60px;
    height: 60px;
    background-color: rgba(125, 19, 21, 0.1); /* Updated color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vision-item:hover .vision-icon {
    transform: rotateY(180deg);
    background-color: var(--primary-color);
}

    .vision-item:hover .vision-icon i {
        color: var(--white);
    }

.vision-icon i {
    color: var(--primary-color);
    font-size: 24px;
    transition: all 0.3s ease;
}

.vision-text h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.vision-text p {
    margin-bottom: 0;
    color: var(--text-light);
}

.about-btn {
    margin-top: 30px;
}

/* ====== SERVICES SECTION ====== */
.services-section {
    position: relative;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.5s ease;
    position: relative;
    box-shadow: var(--box-shadow);
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

    .service-card::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(125, 19, 21, 0.05); /* Updated color */
        transition: var(--transition);
        z-index: -1;
    }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

        .service-card:hover::before {
            transform: scale(3);
        }

.service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    border-radius: 50%;
    color: var(--white);
    font-size: 28px;
    margin: 0 auto 25px;
    transition: all 0.5s ease;
    box-shadow: 0 5px 15px rgba(125, 19, 21, 0.3); /* Updated shadow color */
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    background-color: var(--secondary-color);
}

.service-content {
    text-align: center;
}

.service-title-wrapper {
    margin-bottom: 20px;
}

.service-subtitle {
    font-size: 14px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    font-weight: 500;
}

.service-title {
    font-size: 22px;
    margin-bottom: 0;
}

.service-text {
    color: var(--text-light);
    margin-bottom: 20px;
    text-align: center;
}

.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    text-align: left;
}

    .service-features li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;
        color: var(--text-light);
    }

        .service-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
}

    .service-link i {
        margin-left: 5px;
        transition: var(--transition);
    }

    .service-link:hover {
        color: var(--secondary-color);
    }

        .service-link:hover i {
            transform: translateX(5px);
        }

/* ====== KDP SECTION ====== */
.kdp-section .section-title,
.career-section .section-title {
    text-align: left;
}

.kdp-image,
.career-image {
    position: relative;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    border-radius: 10px;
}

    .kdp-image img,
    .career-image img {
        transition: all 0.5s ease;
        width: 100%;
    }

    .kdp-image:hover img,
    .career-image:hover img {
        transform: scale(1.05);
    }

.kdp-floating-badge,
.career-floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
    z-index: 1;
    transition: all 0.3s ease;
}

.kdp-image:hover .kdp-floating-badge,
.career-image:hover .career-floating-badge {
    transform: translateY(-5px) rotate(3deg);
    box-shadow: var(--box-shadow-hover);
}

.kdp-content,
.career-content {
    padding: 20px 0;
}

    .kdp-content .section-title h2::after,
    .career-content .section-title h2::after {
        left: 0;
        transform: none;
    }

.kdp-features,
.career-features {
    margin-top: 30px;
}

.kdp-feature,
.career-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

    .kdp-feature:hover,
    .career-feature:hover {
        transform: translateX(5px);
    }

.kdp-feature-icon,
.career-feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(125, 19, 21, 0.1); /* Updated color */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.kdp-feature:hover .kdp-feature-icon,
.career-feature:hover .career-feature-icon {
    background-color: var(--primary-color);
}

    .kdp-feature:hover .kdp-feature-icon i,
    .career-feature:hover .career-feature-icon i {
        color: var(--white);
    }

.kdp-feature-icon i,
.career-feature-icon i {
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.kdp-feature-content h4,
.career-feature-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.kdp-feature-content p,
.career-feature-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.kdp-btn,
.career-btn {
    margin-top: 30px;
}

/* ====== PARTNERS SECTION ====== */
.partners-section {
    position: relative;
    overflow: visible;
}

    .partners-section::before,
    .partners-section::after {
        z-index: 0; /* make sure pseudo-elements sit behind content */
        pointer-events: none;
        opacity: 0.08;
    }

    .partners-section::before {
        content: '';
        position: absolute;
        top: -50px;
        left: -50px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(125, 19, 21, 0.05); /* Updated color */
        z-index: 0;
    }

    .partners-section::after {
        content: '';
        position: absolute;
        bottom: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background-color: rgba(125, 19, 21, 0.05); /* Updated color */
        z-index: 0;
    }

.partner-slider {
    padding-bottom: 30px;
    position: relative;
    z-index: 2;
}

.partner-item {
    height: 120px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .partner-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow-hover);
    }

    .partner-item img {
        max-height: 80px;
        max-width: 100%;
        filter: none; /* Keep partner logos colored by default */
        opacity: 1;
        transition: all 0.5s ease;
    }

    .partner-item:hover img {
        transform: scale(1.1);
    }

/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
    position: relative;
}

.testimonial-slider {
    padding: 30px 0;
}

.testimonials-section .testimonial-slider {
    padding-bottom: 50px;
}

.testimonial-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

    .testimonial-item:hover {
        transform: translateY(-6px);
        box-shadow: var(--box-shadow-hover);
    }

/* Redesigned testimonial quote */
.testimonial-quote {
    position: absolute;
    top: 20px;
    left: 20px;
    color: var(--primary-color);
    font-size: 24px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-quote {
    transform: scale(1.2);
    opacity: 0.5;
}

.testimonial-text {
    font-style: italic;
    color: black;
    margin-bottom: 20px;
    padding-top: 20px;
    line-height: 1.8;
}

.testimonial-client {
    display: flex;
    align-items: center;
    margin-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 20px;
}

.testimonial-client-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    border: 3px solid rgba(125, 19, 21, 0.1); /* Updated color */
    transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-client-image {
    border-color: var(--primary-color);
}

.testimonial-client-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.testimonial-item:hover .testimonial-client-image img {
    transform: scale(1.1);
}

.testimonial-client-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-client-info p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 14px;
}

/* Custom pagination for testimonials */
.testimonial-slider .swiper-pagination {
    bottom: 0;
}

.testimonial-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(125, 19, 21, 0.3); /* Updated color */
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonial-slider .swiper-pagination-bullet-active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 10px;
}

/* ====== CUSTOMERS SECTION ====== */
.customers-section {
    position: relative;
    overflow: hidden;
}

    .customers-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
/*        background-image: url('/Content/images/pattern.png');*/
        opacity: 0.02;
        z-index: 0;
    }

.customer-item {
    height: 150px;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: var(--box-shadow);
    transition: all 0.4s ease;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

    .customer-item:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow-hover);
    }

    .customer-item img {
        max-height: 80px;
        max-width: 100%;
        filter: none; /* Keep customer logos colored by default */
        opacity: 1;
        transition: all 0.5s ease;
    }

    .customer-item:hover img {
        transform: scale(1.1);
    }

/* ====== CONTACT SECTION ====== */
.contact-section {
    position: relative;
    overflow: hidden;
}

    .contact-section::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 300px;
        height: 300px;
        border-radius: 50%;
        background-color: rgba(125, 19, 21, 0.05);
        z-index: 0;
    }

.contact-info {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    height: auto;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

    .contact-info:hover {
        transform: translateY(-5px);
        box-shadow: var(--box-shadow-hover);
    }

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

    .contact-info-item:last-of-type {
        margin-bottom: 35px;
        padding-bottom: 0;
        border-bottom: none;
    }

.contact-info-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(125, 19, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-info-item:hover .contact-info-icon {
    background-color: var(--primary-color);
}

    .contact-info-item:hover .contact-info-icon i {
        color: var(--white);
    }

.contact-info-icon i {
    color: var(--primary-color);
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-info-text h4 {
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-info-text p {
    color: var(--text-light);
    margin-bottom: 5px;
    line-height: 1.6;
}

.contact-social-links {
    display: flex;
    gap: 12px;
    margin-top: 0;
    padding-top: 10px;
}

.contact-social-link {
    width: 45px;
    height: 45px;
    background-color: rgba(125, 19, 21, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
    font-size: 18px;
}

    .contact-social-link:hover {
        background-color: var(--primary-color);
        color: var(--white);
        transform: translateY(-3px);
    }

.contact-form-wrapper {
    background-color: var(--white);
    border-radius: 10px;
    padding: 40px 30px;
    box-shadow: var(--box-shadow);
    position: relative;
    z-index: 1;
    height: auto;
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

    .contact-form-wrapper:hover {
        box-shadow: var(--box-shadow-hover);
    }

.form-group {
    margin-bottom: 25px;
    position: relative;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-color);
        font-size: 14px;
    }

.form-control {
    height: 50px;
    border: 1px solid #e6e6e6;
    border-radius: 5px;
    padding: 12px 15px;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 14px;
}

    .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(125, 19, 21, 0.1);
        outline: none;
    }

textarea.form-control {
    height: 120px;
    resize: vertical;
    padding-top: 12px;
}

.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.form-submit {
    text-align: right;
    margin-top: 25px;
}

    .form-submit .btn {
        min-width: 180px;
    }

/* Captcha styling */
.form-group .d-flex {
    flex-wrap: wrap;
    gap: 10px;
}

#captchaImg {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
}

/* Map section */
.map-section {
    height: 450px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

    .map-section iframe {
        width: 100%;
        height: 100%;
        border: none;
        position: relative;
        z-index: 1;
    }

/* ====== CONTACT FORM FEEDBACK ====== */
.contact-form-success,
.contact-form-error {
    display: none;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-form-success {
    background-color: #e2e6ea;
    color: #495057;
}

.contact-form-error {
    background-color: #e2e6ea;
    color: #495057;
}

    .contact-form-success i,
    .contact-form-error i {
        font-size: 32px;
        margin-bottom: 15px;
    }

/* ====== RESPONSIVE STYLES FOR CONTACT SECTION ====== */
/* Tablets (768px - 991px) */
@media (max-width: 767.98px) {
    .contact-info-item {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding-bottom: 20px;
    }

    .contact-info-icon {
        margin-right: 0 !important;
        margin-bottom: 12px;
        width: 60px;
        height: 60px;
    }

    .contact-info-text h4 {
        margin-bottom: 6px;
    }

    .contact-info-text p {
        margin: 0;
        word-break: break-word;
    }
}

/* Mobile devices (max-width: 767px) */
@media (max-width: 767.98px) {
    .contact-section {
        padding: 60px 0;
    }

        .contact-section .section-title h2 {
            font-size: 28px;
        }

        .contact-section .section-description {
            font-size: 14px;
            padding: 0 15px;
        }

    .contact-info,
    .contact-form-wrapper {
        padding: 30px 20px;
        margin-bottom: 20px;
        border-radius: 8px;
    }

    .contact-info-item {
        flex-direction: row;
        text-align: left;
        margin-bottom: 25px;
        padding-bottom: 20px;
    }

        .contact-info-item:last-of-type {
            margin-bottom: 25px;
        }

    .contact-info-icon {
        margin-right: 15px;
        width: 45px;
        height: 45px;
    }

        .contact-info-icon i {
            font-size: 18px;
        }

    .contact-info-text h4 {
        font-size: 16px;
        margin-bottom: 8px;
    }

    .contact-info-text p {
        font-size: 13px;
        word-break: break-word;
    }

    .contact-social-links {
        justify-content: flex-start;
        gap: 10px;
        padding-top: 5px;
    }

    .contact-social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Form adjustments */
    .form-group {
        margin-bottom: 18px;
    }

        .form-group label {
            font-size: 13px;
            margin-bottom: 6px;
        }

    .form-control {
        height: 48px;
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 10px 12px;
    }

    textarea.form-control {
        height: 110px;
        padding-top: 10px;
    }

    /* Captcha responsive */
    .form-group .d-flex {
        flex-direction: column;
        align-items: stretch;
    }

    #captchaImg {
        width: 100%;
        height: auto;
        margin-bottom: 10px;
    }

    .form-group .d-flex > div {
        display: flex;
        gap: 8px;
        width: 100%;
    }

        .form-group .d-flex > div .btn {
            flex: 1;
            font-size: 12px;
            padding: 8px 10px;
        }

    .form-submit {
        text-align: center;
        margin-top: 20px;
    }

        .form-submit .btn {
            width: 100%;
            min-width: auto;
        }

    /* Contact form feedback */
    .contact-form-success,
    .contact-form-error {
        padding: 15px;
        font-size: 14px;
    }

        .contact-form-success i,
        .contact-form-error i {
            font-size: 24px;
            margin-bottom: 10px;
        }
}

/* Extra small devices (max-width: 575px) */
@media (max-width: 575.98px) {
    .contact-info,
    .contact-form-wrapper {
        padding: 25px 15px;
    }

    .contact-info-icon {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }

        .contact-info-icon i {
            font-size: 16px;
        }

    .contact-info-text h4 {
        font-size: 15px;
    }

    .contact-info-text p {
        font-size: 12px;
    }

    .contact-social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }

    .form-control {
        height: 46px;
        font-size: 16px;
    }

    textarea.form-control {
        height: 100px;
    }

    .form-submit .btn {
        font-size: 14px;
        padding: 12px 20px;
    }
}

/* Landscape orientation fixes */
@media (max-height: 600px) and (orientation: landscape) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-info,
    .contact-form-wrapper {
        padding: 20px 15px;
    }

    .contact-info-item {
        margin-bottom: 15px;
        padding-bottom: 15px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    textarea.form-control {
        height: 80px;
    }
}

/* ====== READ MORE/LESS ====== */
.read-more {
    position: relative;
}

    .read-more .read-more-text,
    .read-more .read-less-text {
        position: relative;
        transition: var(--transition);
    }

    .read-more.active .read-more-text {
        display: none;
    }

    .read-more .read-less-text {
        display: none;
    }

    .read-more.active .read-less-text {
        display: inline;
    }

/* ====== CONTACT FORM FEEDBACK ====== */
.contact-form-success,
.contact-form-error {
    display: none;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-form-success {
    background-color: #e2e6ea;
    color: #495057;
}

.contact-form-error {
    background-color: #e2e6ea;
    color: #495057;
}

    .contact-form-success i,
    .contact-form-error i {
        font-size: 32px;
        margin-bottom: 15px;
    }

/* ====== ANIMATIONS ====== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -40px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.animate-fade {
    animation: fadeIn 1s ease-in-out;
}

.animate-fade-up {
    animation: fadeInUp 1s ease-in-out;
}

.animate-fade-down {
    animation: fadeInDown 1s ease-in-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ====== UTILITY CLASSES ====== */
.overflow-hidden {
    overflow: hidden;
}

.z-1 {
    position: relative;
    z-index: 1;
}

.shadow-primary {
    box-shadow: 0 5px 15px rgba(125, 19, 21, 0.3); /* Updated shadow color */
}

/* ====== SWIPER CUSTOMIZATION ====== */
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    opacity: 0.5;
    background: var(--white);
    transition: var(--transition);
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
    transform: scale(1.2);
}

.swiper-button-next,
.swiper-button-prev {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    box-shadow: var(--box-shadow);
    color: var(--primary-color) !important;
    transition: var(--transition);
}

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background-color: var(--primary-color);
        color: var(--white) !important;
        transform: scale(1.1);
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 20px;
    }

/* ====== RESPONSIVE STYLES ====== */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .section-padding {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 42px;
    }

    .about-experience {
        width: 100px;
        height: 100px;
    }

    .about-experience-content h3 {
        font-size: 30px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }

    .section-title h2 {
        font-size: 32px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 30px;
    }

    .about-content h3 {
        font-size: 28px;
    }

    .navbar-collapse {
        background-color: var(--white);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: var(--box-shadow);
    }

    .navbar-nav .nav-link {
        color: var(--text-color);
    }

    .about-experience {
        right: 0;
    }

    .partner-item {
        height: 100px;
    }

    .customer-item {
        height: 120px;
    }

    /* Fix for flipping cards on tablets */
    .flip-card-inner {
        transform-style: preserve-3d;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 60px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 14px;
    }

    .hero-section {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 60px;
    }

    .hero-title {
        font-size: 30px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

        .hero-buttons .btn + .btn {
            margin-left: 0;
        }

    .about-experience {
        position: relative;
        margin: 20px auto;
        right: auto;
        bottom: auto;
    }

    .service-card,
    .testimonial-item,
    .contact-form-wrapper,
    .contact-info {
        padding: 20px;
    }

    .vision-item,
    .kdp-feature,
    .career-feature,
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .vision-icon,
    .kdp-feature-icon,
    .career-feature-icon,
    .contact-info-icon {
        margin: 0 auto 15px;
    }

    .contact-social-links {
        justify-content: center;
    }

    .partner-item {
        height: 80px;
    }

    .customer-item {
        height: 100px;
    }

    /* Fix for flipping cards on mobile */
    .what-we-do-card:hover .what-we-do-card-inner {
        transform: none;
    }

    .what-we-do-front {
        position: relative;
        backface-visibility: visible;
    }

    .what-we-do-back {
        position: absolute;
        backface-visibility: hidden;
        transform: none;
        opacity: 0;
        visibility: hidden;
    }

    .what-we-do-card.active .what-we-do-front {
        opacity: 0;
        visibility: hidden;
    }

    .what-we-do-card.active .what-we-do-back {
        opacity: 1;
        visibility: visible;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 26px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .kdp-floating-badge,
    .career-floating-badge {
        padding: 5px 10px;
        font-size: 12px;
    }

    .about-content h3,
    .section-title h2 {
        font-size: 24px;
    }

    .testimonial-client {
        flex-direction: column;
        text-align: center;
    }

    .testimonial-client-image {
        margin: 0 auto 15px;
    }
}

/* Prevent hover effects on touch devices for better performance */
@media (hover: none) {
    .service-card:hover,
    .partner-item:hover,
    .customer-item:hover,
    .testimonial-item:hover,
    .contact-social-link:hover,
    .service-link:hover i,
    .btn:hover {
        transform: none;
    }

    .service-card:active,
    .partner-item:active,
    .customer-item:active,
    .testimonial-item:active,
    .btn:active {
        transform: translateY(-3px);
    }
}

/* Fix for iOS devices to ensure proper height */
@supports (-webkit-touch-callout: none) {
    .hero-section,
    .hero-slide {
        height: 100vh;
        /* Fix for iOS 100vh issue */
        height: -webkit-fill-available;
    }
}

/* ====== WHAT WE DO CARDS - FLIPPING EFFECT ====== */
.what-we-do-card {
    background: transparent;
    border-radius: 15px;
    height: 380px;
    perspective: 1000px;
    margin-bottom: 30px;
    cursor: pointer;
}

.what-we-do-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.what-we-do-card:hover .what-we-do-card-inner {
    transform: rotateY(180deg);
}

.what-we-do-front,
.what-we-do-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.what-we-do-front {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
}

.what-we-do-back {
    background-color: var(--primary-color);
    color: white;
    transform: rotateY(180deg);
    box-shadow: var(--box-shadow-hover);
}

.what-we-do-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 32px;
    transition: all 0.5s ease;
}

.what-we-do-front:hover .what-we-do-icon {
    transform: rotateY(180deg);
}

.what-we-do-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0;
    color: #333;
}

.what-we-do-text {
    color: #666;
    line-height: 1.6;
}

.what-we-do-back .btn {
    margin-top: 20px;
    background: white;
    color: var(--primary-color);
    border: none;
}

    .what-we-do-back .btn:hover {
        background: rgba(255, 255, 255, 0.9);
        transform: translateY(-3px);
    }

/* ====== ENHANCED CORE SERVICE CARDS ====== */
.core-service-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    transition: var(--transition);
    position: relative;
    box-shadow: var(--box-shadow);
    height: 100%;
    overflow: hidden;
    z-index: 1;
    border-bottom: 1px solid #eaeaea;
}

    .core-service-card::before {
        content: '';
        position: absolute;
        top: -100px;
        right: -100px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-color: rgba(125, 19, 21, 0.05); /* Updated color */
        transition: var(--transition);
        z-index: -1;
    }

    .core-service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

        .core-service-card:hover::before {
            transform: scale(3);
        }

.core-service-header {
    height: auto;
    min-height: 120px;
    padding: 30px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #eaeaea;
    margin: -30px -30px 30px -30px;
}

.core-service-title {
    font-size: 65px;
    font-weight: bold;
    color: #373636;
    margin-bottom: 0;
}

    .core-service-title .text-gray {
        color: #333333;
    }

.core-service-subtitle {
    font-size: 25px;
    color: #666;
    margin-top: 5px;
}

.core-service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 142px;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(125, 19, 21, 0.3); /* Updated shadow color */
    transition: all 0.3s ease;
}

.core-service-card:hover .core-service-icon {
    transform: translateX(-50%) rotateY(180deg);
    background-color: var(--secondary-color);
}

.core-service-content {
    padding-top: 50px;
    position: relative;
}

    .core-service-content p {
        font-size:14px;
        color: #6c757d;
        line-height: 1.7;
        margin-bottom: 20px;
    }

.core-service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    text-align: left;
}

    .core-service-features li {
        font-size:14px;
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;
        color: black;
    }

        .core-service-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }

.core-service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

    .core-service-link:hover {
        color: var(--secondary-color);
        text-decoration: none;
    }

    .core-service-link i {
        margin-left: 5px;
        transition: var(--transition);
    }

    .core-service-link:hover i {
        transform: translateX(5px);
    }

/* ====== ENHANCED AWARD CARDS ====== */
.award-card {
    background: #fff;
    border-radius: 15px;
    padding: 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 100%;
    overflow: hidden;
    margin-bottom: 30px;
}

    .award-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    }

.award-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f9f9f9;
    overflow: hidden;
}

    .award-image img {
        max-height: 100%;
        max-width: 100%;
        transition: transform 0.3s ease;
    }

.award-card:hover .award-image img {
    transform: scale(1.05);
}

.award-content {
    padding: 25px;
}

.award-badge {
    display: inline-block;
    font-weight: 700;
    color: white;
    background-color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
}

.award-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #333;
}

.award-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0;
}


/* ====== WHAT WE DO 2x4 GRID ====== */
.what-we-do-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.what-we-do-item {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

    .what-we-do-item::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(125, 19, 21, 0.1), transparent); /* Updated color */
        transition: left 0.5s;
    }

    .what-we-do-item:hover::before {
        left: 100%;
    }

    .what-we-do-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

.what-we-do-item-icon {
    width: 70px;
    height: 70px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.what-we-do-item:hover .what-we-do-item-icon {
    background: var(--secondary-color);
    transform: rotateY(180deg);
}

.what-we-do-item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
    position: relative;
    z-index: 2;
}

.what-we-do-item-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

/* ====== RESPONSIVE ADJUSTMENTS ====== */
@media (max-width: 1199.98px) {
    .what-we-do-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    .core-service-title {
        font-size: 50px;
    }

    .core-service-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 991.98px) {
    .what-we-do-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .core-service-header {
        min-height: 90px;
        padding: 15px;
    }

    .core-service-title {
        font-size: 40px;
    }

    .core-service-subtitle {
        font-size: 16px;
    }

    .core-service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        top: -30px;
    }

    .core-service-content {
        padding-top: 40px;
    }
}

@media (max-width: 767.98px) {
    .what-we-do-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .what-we-do-item {
        height: 220px;
        padding: 20px 15px;
    }

    .what-we-do-item-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .what-we-do-item-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .what-we-do-item-desc {
        font-size: 13px;
    }

    .core-service-content {
        padding: 15px;
        padding-top: 40px;
    }

    .award-content {
        padding: 15px;
    }

    .award-image {
        height: 140px;
        padding: 15px;
    }
}

/* ====== BOX SHADOW HOVER VARIABLE ====== */
:root {
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ====== FOOTER ====== */
.stellar-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: #ffffff;
    padding: 60px 0 0;
    position: relative;
    overflow: hidden;
}

    .stellar-footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at 20% 50%, rgba(125, 19, 21, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(125, 19, 21, 0.08) 0%, transparent 50%); /* Updated color */
        z-index: 1;
    }

    .stellar-footer .container {
        position: relative;
        z-index: 2;
    }

    .stellar-footer .footer-top {
        padding-bottom: 0px;
    }

    .stellar-footer .footer-column {
        padding: 20px 15px;
        position: relative;
    }

    .stellar-footer .footer-heading {
        color: #ffffff;
        font-weight: 700;
        font-size: 18px;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 10px;
    }

        .stellar-footer .footer-heading::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 30px;
            height: 2px;
            background: linear-gradient(90deg, #ff6a00, #6c757d);
        }

    .stellar-footer .footer-text {
        color: rgba(255, 255, 255, 0.85);
        margin-bottom: 25px;
        line-height: 1.6;
        font-size: 14px;
    }

    .stellar-footer .footer-contact p {
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 1.5;
        transition: color 0.3s ease;
    }

        .stellar-footer .footer-contact p:hover {
            color: rgba(255, 255, 255, 1);
        }

    .stellar-footer .footer-contact strong {
        color: #ffffff;
        font-weight: 600;
    }

    .stellar-footer .footer-contact i {
        color: #ff6a00;
        width: 16px;
        text-align: center;
    }

    .stellar-footer .footer-link {
        color: #ff6a00;
        text-decoration: none;
        transition: all 0.3s ease;
        position: relative;
    }

        .stellar-footer .footer-link:hover {
            color: #6c757d;
            text-decoration: none;
        }

        .stellar-footer .footer-link::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--primary-color);
            transition: width 0.3s ease;
        }

        .stellar-footer .footer-link:hover::after {
            width: 100%;
        }

    .stellar-footer .footer-logo {
        max-width: 140px;
        height: auto;
        margin-bottom: 20px;
        transition: transform 0.3s ease;
    }

        .stellar-footer .footer-logo:hover {
            transform: scale(1.05);
        }

    .stellar-footer .social-links {
        display: flex;
        gap: 12px;
        margin-top: 20px;
    }

    .stellar-footer .social-link {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.08);
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        text-decoration: none;
        position: relative;
        overflow: hidden;
    }

        .stellar-footer .social-link::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, var(--primary-color), #6c757d);
            transform: scale(0);
            transition: transform 0.3s ease;
            border-radius: 50%;
        }

        .stellar-footer .social-link:hover::before {
            transform: scale(1);
        }

        .stellar-footer .social-link:hover {
            color: #ffffff;
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(125, 19, 21, 0.3); /* Updated shadow color */
        }

        .stellar-footer .social-link i {
            position: relative;
            z-index: 2;
            font-size: 16px;
        }

    .stellar-footer .footer-bottom {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 25px 0;
        background: rgba(0, 0, 0, 0.3);
        margin-top: 40px;
    }

        .stellar-footer .footer-bottom p {
            color: rgba(255, 255, 255, 0.7);
            margin-bottom: 0;
            font-size: 14px;
        }

/* Update semua warna yang menggunakan rgba dengan warna merah lama */
.what-we-do-item::before {
    background: linear-gradient(90deg, transparent, rgba(125, 19, 21, 0.1), transparent); /* Updated color */
}

/* Update background colors pada pseudo-elements yang tersisa */
.partners-section::before,
.contact-section::before {
    background-color: rgba(125, 19, 21, 0.05); /* Updated color */
}

.partners-section::after {
    background-color: rgba(125, 19, 21, 0.05); /* Updated color */
}

/* Update footer background gradient */
.stellar-footer::before {
    background: radial-gradient(circle at 20% 50%, rgba(125, 19, 21, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(125, 19, 21, 0.08) 0%, transparent 50%); /* Updated colors */
}

/* ====== FOOTER RESPONSIVE ====== */
@media (max-width: 768px) {
    .stellar-footer {
        padding: 40px 0 0;
    }

        .stellar-footer .footer-column {
            margin-bottom: 30px;
            text-align: center;
        }

        .stellar-footer .footer-heading::after {
            left: 50%;
            transform: translateX(-50%);
        }

        .stellar-footer .social-links {
            justify-content: center;
        }

        .stellar-footer .footer-bottom {
            text-align: center;
        }

            .stellar-footer .footer-bottom .row > div {
                margin-bottom: 10px;
            }
}

/* Scroll Up */
.scroll-to-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9999;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 39px;
    height: 39px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s;
}

    .scroll-to-top-btn:hover {
        background: #a81c1e;
    }

    .scroll-to-top-btn i {
        color: #fff;
    }

/* ====== ADDITIONAL MOBILE FIXES ====== */

/* Better section padding on mobile */
@media (max-width: 767.98px) {
    #about, #partners, #services, #kdp, #career, #customers,
    #testimonials, #contact, #awards, #what-we-do {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    /* Ensure all images are centered and full-width */
    .about-image,
    .kdp-image,
    .career-image {
        left: 0 !important;
        top: 0 !important;
        max-width: 100% !important;
        margin: 0 auto 30px;
        position: relative;
    }

        .about-image img,
        .kdp-image img,
        .career-image img {
            width: 100%;
            height: auto;
        }

    /* Center all text content */
    .kdp-content,
    .career-content {
        text-align: center;
    }

        .kdp-content .section-title,
        .career-content .section-title {
            text-align: center;
        }

    .kdp-features,
    .career-features {
        margin-top: 20px;
    }

    .kdp-feature,
    .career-feature {
        flex-direction: column;
        text-align: center;
        align-items: center;
        margin-bottom: 20px;
    }

    .kdp-feature-icon,
    .career-feature-icon {
        margin: 0 auto 15px;
    }

    /* Center buttons on mobile */
    .kdp-btn,
    .career-btn {
        text-align: center;
        margin-top: 20px;
    }

        .kdp-btn .btn,
        .career-btn .btn {
            width: 100%;
            max-width: 300px;
        }

    /* Core service cards responsive */
    .core-service-header {
        min-height: auto;
        padding: 20px 15px;
    }

    .core-service-title {
        font-size: 35px;
    }

    .core-service-subtitle {
        font-size: 13px;
    }

    .core-service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
        top: 100px;
    }

    .core-service-content {
        padding: 15px;
        padding-top: 50px;
    }

    /* What We Do Grid - Single Column */
    .what-we-do-grid-container {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .what-we-do-card {
        height: 280px;
    }

        /* Disable flip effect on mobile */
        .what-we-do-card:hover .what-we-do-card-inner {
            transform: none;
        }

    /* Award cards */
    .award-card {
        margin-bottom: 20px;
    }

    .award-image {
        height: 140px;
        padding: 15px;
    }

    .award-content {
        padding: 15px;
    }

    /* Partner and customer items */
    .partner-item {
        height: 80px;
        margin-bottom: 15px;
    }

    .customer-item {
        height: 100px;
        margin-bottom: 20px;
    }

    /* Hero section adjustments */
    .hero-section {
        height: auto;
        min-height: 100vh;
    }

    .hero-slide {
        height: auto;
        min-height: 100vh;
        padding: 120px 20px 60px;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

        .hero-buttons .btn {
            width: 100%;
            margin: 0 !important;
        }

    /* Vision, Mission, Culture section */
    #about .row > div {
        margin-bottom: 30px;
    }

        #about .row > div:last-child {
            margin-bottom: 0;
        }
}

/* Extra small devices */
@media (max-width: 575.98px) {
    .section-padding {
        padding: 50px 0;
    }

    #about, #partners, #services, #kdp, #career, #customers,
    #testimonials, #contact, #awards, #what-we-do {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section-title h2 {
        font-size: 24px;
    }

    .core-service-title {
        font-size: 28px;
    }

    .core-service-subtitle {
        font-size: 12px;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 991.98px) {
    #about, #partners, #services, #kdp, #career, #customers,
    #testimonials, #contact, #awards, #what-we-do {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .about-image,
    .kdp-image,
    .career-image {
        left: 0;
        top: 0;
        max-width: 100%;
        margin: 0 auto 40px;
    }

    .kdp-content,
    .career-content {
        text-align: left;
    }

    .what-we-do-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Desktop specific fixes */
@media (min-width: 992px) {
    #about, #partners, #services, #kdp, #career, #customers,
    #testimonials, #contact, #awards, #what-we-do {
        padding-top: 90px;
        padding-bottom: 90px;
    }

    .what-we-do-grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero-section,
    .hero-slide {
        min-height: auto;
        padding: 100px 20px 40px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
}

:root {
    --primary-color: #7d1315; /* Maroon color */
    --secondary-color: #000000;
    --text-color: #333333;
    --text-light: #777777;
    --background-light: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Montserrat', sans-serif;
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
}