/********** Template CSS **********/
:root {
    --primary: #E02B20;
    --primary-rgb: 224, 43, 32;
    --secondary: #00AEF0;
    --light: #F8F8F8;
    --dark: #252525;
}

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 600 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 500 !important;
}

h5,
h6,
.h5,
.h6,
.fw-normal {
    font-weight: 400 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-outline-body {
    color: var(--primary);
    border-color: #777777;
}

.btn-outline-body:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Global Brand Styling */
.navbar-brand img {
    max-height: 60px !important;
    /* Smaller logo */
    transition: .3s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    /* Adjusted padding for better vertical balance */
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
    font-size: 15px;
    /* Slightly smaller font */
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar.sticky-top {
    top: 0;
    transition: .3s;
    z-index: 1020;
}

.navbar.fixed-navbar {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    left: 0 !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 2px solid var(--primary);
}

.navbar.fixed-navbar .navbar-brand img {
    max-height: 50px !important;
    /* Even smaller when scrolling */
}

.navbar.fixed-navbar .navbar-nav .nav-link {
    padding: 15px 0;
    /* Compact links on scroll */
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.owl-carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }


    .header-carousel .owl-carousel-item p {
        font-size: 16px !important;
    }
}

.header-carousel .owl-dots {
    position: absolute;
    width: 60px;
    height: 100%;
    top: 0;
    right: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dots .owl-dot {
    position: relative;
    width: 45px;
    height: 45px;
    margin: 5px 0;
    background: var(--dark);
    transition: .5s;
}

.header-carousel .owl-dots .owl-dot.active {
    width: 60px;
    height: 60px;
}

.header-carousel .owl-dots .owl-dot img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 2px;
    transition: .5s;
    opacity: .3;
}

.header-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}

.page-header {
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(224, 43, 32, 0.1)), url(../img/header-bg-premium.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 160px !important;
    padding-bottom: 80px !important;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--primary);
}

.page-header.header-vision {
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(224, 43, 32, 0.1)), url(../img/header-bg-premium.png) center center no-repeat;
    background-size: cover;
}

.page-header.header-mission {
    background: linear-gradient(rgba(15, 15, 15, 0.75), rgba(224, 43, 32, 0.15)), url(../img/gallery-3.png) center center no-repeat;
    background-size: cover;
}

.page-header.header-services {
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(224, 43, 32, 0.1)), url(../img/carousel-3.jpg) center center no-repeat;
    background-size: cover;
}

.page-header.header-projects {
    background: linear-gradient(rgba(15, 15, 15, 0.85), rgba(224, 43, 32, 0.1)), url(../img/projects-hero-premium.png) center center no-repeat;
    background-size: cover;
}


.page-header.header-contact {
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(0, 0, 0, 0.4)), url(../img/header-contact-premium.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


.page-header.header-gallery {
    background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(0, 0, 0, 0.4)), url(../img/header-gallery-premium.png) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.page-header.header-why-us {
    background: linear-gradient(rgba(15, 15, 15, 0.75), rgba(224, 43, 32, 0.15)), url(../img/gallery-13.png) center center no-repeat;
    background-size: cover;
}

/* Luxury Text Gradient */
.page-header h1.display-1 {
    font-weight: 800;
    letter-spacing: 8px;
    /* Reduced from 12px for better readability in compact mode */
    text-transform: uppercase;
    background: linear-gradient(to bottom, #ffffff 0%, #f1f1f1 50%, #d1d1d1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    margin-bottom: 20px !important;
    position: relative;
    display: inline-block;
}

/* Minimalist Breadcrumb for Premium Look */
.page-header .breadcrumb {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: inline-flex;
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    font-size: 0.85rem;
    letter-spacing: 3px;
    font-weight: 500;
}

.page-header .breadcrumb-item a {
    transition: color 0.3s ease;
    opacity: 0.7;
    text-decoration: none;
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary) !important;
    opacity: 1;
}

.page-header .breadcrumb-item.active {
    opacity: 1;
    color: var(--primary) !important;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.3);
    content: "|";
    /* Solid pipe separator for luxury look */
    padding: 0 15px;
}

/* Light Beam Effect */
.page-header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(224, 43, 32, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.page-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, rgba(15, 15, 15, 1), transparent);
    z-index: 2;
}

.page-header .container {
    position: relative;
    z-index: 5;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

/*** Section Spacing ***/
.section-padding {
    padding: 120px 0;
}

@media (max-width: 991.98px) {
    .section-padding {
        padding: 60px 0;
    }
}


/*** Section Title ***/
.section-title {
    color: var(--secondary);
    font-weight: 600;
    letter-spacing: 5px;
    text-transform: uppercase;
}


/*** Facts ***/
.fact-item .fact-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    /* Centered with bottom margin */
    background-color: #ffffff;
    border-radius: 50%;
    transition: .5s;
    /* Added default visibility styles */
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
    /* Soft shadow to lift it off the card */
    border: 10px solid #f8f9fa;
    /* Light grey border matching card bg for smooth blend or contrast */
    position: relative;
    /* Ensure it sits on top */
    margin-top: -20px;
    /* Pull it up to overlap the card top edge */
}

.fact-item:hover .fact-icon {
    background: var(--dark);
}

.fact-item .fact-icon i {
    color: var(--primary);
    transition: .5;
}

.fact-item:hover .fact-icon i {
    color: var(--secondary);
}


/*** About & Feature ***/
.about-img,
.feature-img {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.about-img img,
.feature-img img {
    position: absolute;
    width: 60%;
    height: 80%;
    object-fit: cover;
}

.about-img img:last-child,
.feature-img img:last-child {
    margin: 20% 0 0 40%;
}

.about-img::before,
.feature-img::before {
    position: absolute;
    content: "";
    width: 60%;
    height: 80%;
    top: 10%;
    left: 20%;
    border: 5px solid var(--primary);
    z-index: -1;
}


/*** Service ***/
.service-item .bg-img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.service-item .service-text {
    background: var(--light);
    transition: .5s;
}

.service-item:hover .service-text {
    background: rgba(0, 0, 0, .7);
}

.service-item * {
    transition: .5;
}

.service-item:hover * {
    color: #FFFFFF;
}

.service-item .btn {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Project ***/
.project .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.project .nav .nav-link.active {
    background: var(--primary);
}

.project .nav .nav-link.active h3 {
    color: #FFFFFF !important;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    bottom: -20px;
    left: 0;
}

.team-item .team-social .btn {
    display: inline-flex;
    margin: 0 2px;
    color: var(--primary);
    background: var(--light);
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Appointment ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** Testimonial ***/
.testimonial-carousel {
    display: flex !important;
    flex-direction: column-reverse;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-carousel .owl-dots {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.testimonial-carousel .owl-dots .owl-dot {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 5px;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-dots .owl-dot::after {
    position: absolute;
    width: 40px;
    height: 40px;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f10d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    background: #FFFFFF;
    border-radius: 40px;
    transition: .5s;
    opacity: 0;
}

.testimonial-carousel .owl-dots .owl-dot.active::after {
    opacity: 1;
}

.testimonial-carousel .owl-dots .owl-dot img {
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #777777;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.footer .form-control {
    border-color: #777777;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .copyright a:hover {
    color: var(--primary);
}

/* Recolor gold icons to primary red */
.fact-icon img,
.service-text img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(91%) saturate(5830%) hue-rotate(352deg) brightness(96%) contrast(96%);
}

/*** Client Card Premium Design ***/
.client-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px 20px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    /* Soft, premium shadow */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Smooth bouncy spring */
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    text-align: center;
    z-index: 1;
}

/* Hover Lift Effect */
.client-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Top Accent Line */
.client-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    /* Uses your existing primary red */
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.client-card:hover::before {
    transform: scaleX(1);
}

/* Icon Styling */
.client-card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #fff 0%, #f1f1f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.client-card:hover .client-card-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 20px rgba(224, 43, 32, 0.4);
    /* Glow effect matching primary color */
    transform: rotateY(180deg);
}

.client-card:hover .client-card-icon i {
    transform: rotateY(-180deg);
    /* Counter-rotate icon so it doesn"t look flipped */
    transition: transform 0.4s ease;
}

/* Client Name */
.client-card h4 {
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--dark);
    letter-spacing: 0.5px;
}

/* List Items Styling */
.client-details {
    margin-top: 25px;
    text-align: left;
    padding-top: 20px;
    border-top: 1px dashed #eee;
}

/*** Clients Carousel Navigation ***/
.clients-carousel .owl-nav {
    display: flex !important;
    justify-content: center !important;
    margin-top: 30px !important;
}

.clients-carousel .owl-nav .owl-prev,
.clients-carousel .owl-nav .owl-next {
    width: 50px !important;
    height: 50px !important;
    margin: 0 15px !important;
    background: #FFFFFF !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    border-radius: 50% !important;
    font-size: 20px !important;
    transition: 0.5s !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

.clients-carousel .owl-nav .owl-prev:hover,
.clients-carousel .owl-nav .owl-next:hover {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(224, 43, 32, 0.5) !important;
}

.clients-carousel .owl-nav .owl-prev i,
/*** Certification Images Standardized ***/
.certification-img {
    height: 180px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.certification-img:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

/*** Premium Certification Cards ***/
.certification-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 280px;
    overflow: hidden;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.certification-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.certification-card:hover::before {
    transform: scaleX(1);
}

/*** Feature Options Animation ***/
.feature-option {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid transparent;
}

.feature-option:hover {
    background: #ffffff;
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.05);
}

.feature-option:hover i {
    animation: iconBounce 0.6s ease infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/*** Fact Card Interactive Animation ***/
.fact-card-interactive {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-bottom: 20px solid transparent;
}

.fact-card-interactive:hover {
    background: #ffffff !important;
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--primary);
}

.fact-card-interactive .fact-icon i {
    transition: transform 0.4s ease;
}


/*** Explore Button Animation ***/
.btn-explore-anim {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3);
    border: none;
}

/* Continuous Pulse to attract attention */
.btn-explore-anim {
    animation: mildPulse 2s infinite;
}

@keyframes mildPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0);
    }
}

.btn-explore-anim:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    animation: none;
    /* Stop pulse on hover to focus on lift */
}

/* Shine Effect */
.btn-explore-anim::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.6s;
    z-index: -1;
}

.btn-explore-anim:hover::before {
    left: 100%;
}


/* Remove old ripple to avoid conflict, relying on shine instead */
.btn-explore-anim::after {
    display: none;
}

/*** Feature Image Animation ***/
.feature-img-anim {
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    /* Modern Glow Effect - No Border */
    padding: 0;
    background-color: transparent;
    border: none;
    border-radius: 20px;
    /* Soft primary colored glow instead of hard shadow */
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.3);
}

.feature-img-anim:hover {
    transform: scale(1.02);
    /* Stronger glow on hover */
    box-shadow: 0 20px 50px rgba(var(--primary-rgb), 0.5);
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/*** Client Carousel Navigation Fix ***/
.clients-carousel .owl-nav {
    display: flex !important;
    justify-content: center !important;
    margin-top: 30px !important;
}

.clients-carousel .owl-nav .owl-prev,
.clients-carousel .owl-nav .owl-next {
    width: 50px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--primary) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
    background: transparent !important;
    margin: 0 10px !important;
    transition: all 0.3s ease !important;
    font-size: 18px !important;
    padding: 0 !important;
    /* Reset padding */
    box-shadow: none !important;
    /* Reset shadow */
    cursor: pointer !important;
    position: static !important;
    /* Ensure they aren't floating weirdly */
}

.clients-carousel .owl-nav .owl-prev:hover,
.clients-carousel .owl-nav .owl-next:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.3) !important;
    transform: translateY(-2px);
}

/* Ensure icons are centered strictly and reset any conflicting absolute positioning */
.clients-carousel .owl-nav i {
    line-height: 0 !important;
    font-size: 20px !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
    /* Reset any existing transforms */
}

/* Ensure the button itself is a solid flex container */
.clients-carousel .owl-nav .owl-prev,
.clients-carousel .owl-nav .owl-next {
    /* (Existing styles from previous step, reinforced) */
    width: 50px !important;
    height: 50px !important;
    display: inline-flex !important;
    /* Changed to inline-flex for better flow */
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid var(--primary) !important;
    border-radius: 50% !important;
    color: var(--primary) !important;
    background: transparent !important;
    margin: 0 10px !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
    overflow: hidden !important;
    /* Ensure content doesn't spill out */
}

.client-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #555;
    /* Ensure content stays visible */
    opacity: 1;
    visibility: visible;
}

.client-label {
    font-weight: 600;
    color: #777;
    font-size: 0.85rem;
    text-transform: uppercase;
}

.client-value {
    font-weight: 700;
    color: var(--dark);
}

/* Special Badge for Cost */
.cost-badge {
    background: linear-gradient(45deg, var(--primary), #ff6b6b);
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(224, 43, 32, 0.3);
}


/*** Ultra-Premium Visual Effects ***/

/* 1. Glowing Aura on Hover */
.client-card:hover {
    /* Rich, colored glow using the primary brand color */
    box-shadow: 0 20px 50px rgba(224, 43, 32, 0.25);
    transform: translateY(-12px) scale(1.02);
    /* Slightly more lift and scale */
}

/* 2. Shimmer Effect for Cost Badge */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.cost-badge {
    position: relative;
    overflow: hidden;
    /* Create a gradient that can move */
    background: linear-gradient(120deg, var(--primary) 30%, #ff8e8e 50%, var(--primary) 70%);
    background-size: 200% auto;
    animation: shimmer 3s infinite linear;
    /* Constant shimmering luxury effect */
}

/* 3. Icon Pulse Effect */
@keyframes softPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(224, 43, 32, 0.4);
    }

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

    100% {
        box-shadow: 0 0 0 0 rgba(224, 43, 32, 0);
    }
}

.client-card:hover .client-card-icon {
    animation: softPulse 1.5s infinite;
}

/* 4. Smooth Entry Animation for details */
.client-card .client-row {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-card:hover .client-row:nth-child(1) {
    transition-delay: 0.05s;
    transform: translateX(5px);
}

.client-card:hover .client-row:nth-child(2) {
    transition-delay: 0.1s;
    transform: translateX(5px);
}

.client-card:hover .client-row:nth-child(3) {
    transition-delay: 0.15s;
    transform: translateX(5px);
}

.client-card:hover .client-row:nth-child(4) {
    transition-delay: 0.2s;
    transform: translateX(5px);
}


/*** 4. Floating WhatsApp Button ***/
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    left: 30px;
    /* Left side to clear back-to-top button */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1);
    color: #fff;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
}

.my-float {
    margin-top: 16px;
}

/* Pulse Animation for FAB */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: whatsappPulse 2s infinite;
}

/*** 4. Client Carousel Cards ***/
.client-item {
    background: transparent;
    /* Removed bg from wrapper */
    padding: 10px;
    /* Reduced wrapper padding, kept small for shadow space */
    margin: 15px 5px;
    position: relative;
    /* Removed border and shadow from wrapper */
    height: 100%;
}

.client-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Moved shadow here */
    border: 1px solid rgba(0, 0, 0, 0.1);
    /* Visible Border */
    border-top: 5px solid var(--primary);
    /* Accent Border */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    height: 100%;
}

/* Hover Effect - Lift up the inner card */
.client-item:hover .client-card {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--primary-rgb), 0.3);
}

/*** 5. Premium Testimonials (Mirroring Client Cards) ***/
.testimonial-item {
    background: #ffffff;
    border-radius: 15px;
    padding: 30px;
    margin: 15px;
    /* Margin for shadow visibility */
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    overflow: hidden;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(224, 43, 32, 0.15);
    /* Soft Red Glow */
}

.testimonial-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.testimonial-item:hover::before {
    transform: scaleX(1);
}

.testimonial-item img {
    /* Override owl carousel styles if needed */
    width: 80px !important;
    height: 80px !important;
    border-radius: 50%;
    margin: 0 auto 20px auto;
    border: 3px solid rgba(224, 43, 32, 0.1);
    transition: all 0.4s ease;
}

.testimonial-item:hover img {
    border-color: var(--primary);
    transform: rotate(5deg) scale(1.05);
}

/*** 6. Hero Section Enhancements ***/
/* Dynamic Text Typewriter Cursor */
.typewrite>.wrap {
    border-right: 0.08em solid var(--primary);
    padding-right: 5px;
    animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: var(--primary)
    }
}

/* Scroll Down Indicator */
.scroll-down-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 2s ease-in-out;
}

.scroll-down-btn span {
    display: block;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(45deg);
    margin: -10px;
    animation: scrollDownAnim 2s infinite;
}

.scroll-down-btn span:nth-child(2) {
    animation-delay: -0.2s;
}

.scroll-down-btn span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes scrollDownAnim {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-20px, -20px);
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}


/*** Project Image Animation ***/
@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.project-image-anim {
    animation: floatImage 4s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.project-image-anim:hover {
    animation-play-state: paused;
    /* Pause floating on hover for stability */
    transform: scale(1.05) rotate(2deg);
    /* Interactive zoom and tilt */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2) !important;
    /* Deep shadow on hover */
    z-index: 10;
    cursor: pointer;
}

/*** Transformation Images Animation ***/
@keyframes breathe {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(224, 43, 32, 0.15);
    }

    /* Pulse with subtle red glow */
    100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
}

.transformation-anim {
    animation: breathe 5s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.transformation-anim:hover {
    animation-play-state: paused;
    transform: scale(1.05) translateY(-10px) rotateX(5deg);
    /* 3D Lift effect */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3) !important;
    z-index: 20;
    border-color: var(--primary) !important;
    /* Highlight border on hover */
}


/*** Professional "Vertical Accent" Heading Style (Clean & Architectural) ***/
.section-title {
    position: relative;
    display: inline-block;
    color: #1a1a1a;
    font-weight: 800;
    /* Extra Bold for authority */
    text-transform: uppercase;
    letter-spacing: 2px;
    padding-left: 15px;
    /* Space for the border */
    border-left: 5px solid var(--primary);
    /* Strong vertical accent */
    line-height: 1.2;
    padding-bottom: 0;

    /* Resetting previous effects */
    background: none;
    -webkit-text-fill-color: initial;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    filter: none;
    animation: none;
}

/* Remove the underline entirely */
.section-title::after {
    display: none;
}

/* Subtle Interactive Fade */

/* ... existing code ... */
.section-title:hover {
    color: var(--primary);
    transition: color 0.3s ease;
}

/*** Certification Card Fix - Single Card Look ***/
.certification-card {
    background: #ffffff !important;
    border-radius: 15px !important;
    padding: 0 !important;
    /* Remove internal padding to merge image */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    /* Visible border */
    border-bottom: 5px solid var(--primary) !important;
    /* Accent border */
    overflow: hidden !important;
    /* Ensure image doesn't bleed out */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15) !important;
    border-color: var(--primary) !important;
}

.certification-img {
    width: 100% !important;
    /* Fill the card completely */
    height: auto !important;
    max-height: 250px;
    /* Prevent it from being too tall */
    object-fit: contain;
    /* Ensure logo isn't distorted */
    padding: 30px;
    /* Add internal spacing inside the IMAGE area if needed, or 0 if wanting full bleed */
    background: #fff;
    /* Ensure bg matches card */
    margin: 0 !important;
    border: none !important;
    box-shadow: none !important;
    /* Remove any shadow from image itself */
}

/*** Shared Modern Glow Shadow (User Requested) ***/

/*** Shared Modern Glow Shadow (User Requested) ***/
.modern-glow-shadow {
    box-shadow: 0 0 25px rgba(var(--primary-rgb), 0.3) !important;
    transition: all 0.4s ease;
    border-radius: 10px;
    animation: floatImage 4s ease-in-out infinite;
    /* Added float animation */
}


.modern-glow-shadow:hover {
    box-shadow: 0 0 45px rgba(var(--primary-rgb), 0.6) !important;
    transform: translateY(-5px);
    animation-play-state: paused;
}

/*** Button Click Animation (JS Triggered for Touch) ***/
.btn-click-anim {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
}

/* Keyframe for Ripple/Pulse */
@keyframes buttonRipple {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
        transform: scale(0.95);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(var(--primary-rgb), 0);
        transform: scale(1);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
        transform: scale(1);
    }
}

.btn-click-anim.animating {
    animation: buttonRipple 0.6s ease-out forwards;
}

.btn-click-anim:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/********** Mobile Responsiveness **********/

@media (max-width: 991.98px) {

    /* Adjust Header for Tablets */
    .page-header {
        background-position: center top;
        min-height: 400px;
    }

    .page-header h1.display-1 {
        font-size: 3.5rem;
    }

    /* Navbar spacing */
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    /* Facts Section Stacking */
    .fact-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 767.98px) {

    /* Responsive Typography */
    h1.display-1 {
        font-size: 2.5rem;
    }

    h1.display-5 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }

    /* Adjust Spacing */
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .p-5 {
        padding: 2rem !important;
    }

    /* Header Carousel */
    .header-carousel .owl-carousel-item {
        min-height: 400px;
    }

    .header-carousel .owl-carousel-item img {
        height: 400px;
        object-fit: cover;
    }

    /* About Images */
    .about-img,
    .feature-img {
        min-height: 300px;
        margin-bottom: 30px;
    }

    /* Footer */
    .footer .copyright {
        text-align: center !important;
    }

    .footer .copyright .col-md-6 {
        text-align: center !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 575.98px) {

    /* Mobile Phone Specifics */
    h1.display-1 {
        font-size: 2rem;
    }

    h1.display-5 {
        font-size: 1.75rem;
    }

    /* Facts Icon Scaling */
    .fact-item .fact-icon {
        width: 80px;
        height: 80px;
    }

    .fact-item .fact-icon i {
        font-size: 2rem;
    }

    /* Client/Testimonial Cards */
    .client-card,
    .testimonial-item {
        padding: 20px;
    }

    /* Form Inputs */
    .form-control {
        height: 45px !important;
    }

    .btn {
        padding: 10px 20px;
    }

    /* Topbar - Hide on very small screens to save space or stack it */
    .topbar .h-100 {
        justify-content: center !important;
    }
}

@media (max-width: 991.98px) {

    /* Disable Hover Animations on Mobile to prevent 'Shaking' */
    .feature-option:hover i,
    .client-card:hover .client-card-icon,
    .btn-explore-anim,
    .modern-glow-shadow,
    .fact-item:hover .fact-icon {
        animation: none !important;
        transform: none !important;
        /* Prevent hover transforms sticking */
        box-shadow: none !important;
        /* Optional: simplify shadow */
    }

    /* Ensure Fixed Elements are Stable */
    .back-to-top {
        animation: none !important;
    }
}

/* FIX: Prevent Horizontal Scroll / Shaking on Mobile */
html,
body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
    touch-action: pan-y;
    /* Optimize for vertical scrolling only */
}

/* Ensure all rows and containers don't bleed out */
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.container-fluid {
    overflow-x: hidden;
    padding-right: 0;
    padding-left: 0;
}


/*** Detailed Service Images - Ultra Premium Look ***/
.service-img-container {
    position: relative;
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    /* Essential for inner zoom effect */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
    /* Deeper, more premium shadow */
    transition: box-shadow 0.4s ease, transform 0.4s ease;
    margin-bottom: 0;
    /* Align perfectly */
}

/* The Image itself */
.service-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.4, 1);
    /* Ultra smooth easing */
    border: none;
    /* Removed the thick white border for a cleaner look */
    border-radius: 0;
    /* Let container handle radius */
    box-shadow: none;
    /* Shadow is on container now */
}

/* Hover Effects */
.service-img-container:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    /* Slightly deepening shadow */
    transform: translateY(-5px);
    /* Subtle lift of the whole block */
}

.service-img-container:hover .service-detail-img {
    transform: scale(1.08);
    /* Cinematic slow zoom in */
}

/* Glossy Shine Effect Overlay */
.service-img-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    pointer-events: none;
}

.service-img-container:hover::after {
    left: 200%;
    transition: all 1.2s ease;
}

/*** Service Section Enhancements ***/
.service-section-gap {
    margin-bottom: 120px !important;
}

.service-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(to right, transparent, rgba(224, 43, 32, 0.1), transparent);
    margin: 60px 0;
}

/* Remove the previous decorative background pattern to reduce visual noise */
.service-img-container::before {
    display: none;

}

/* Portfolio / Projects Premium Styling - Advanced Revamp */
.portfolio-inner {
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    border-radius: 15px;
    height: 450px;
    /* Aligned with service detail images for consistency */
    background: #1a1a1a;
    /* Dark base for better image contrast */
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15);
}

.portfolio-inner .service-img-container {
    height: 100%;
    width: 100%;
    margin: 0;
    border-radius: 0;
    transition: all 0.5s ease;
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to top, rgba(15, 15, 15, 0.95), rgba(15, 15, 15, 0.2));
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    z-index: 10;
    padding: 40px;
    text-align: center;
}

.portfolio-inner:hover .portfolio-text {
    opacity: 1;
}

/* Project Label (Top small text) */
.project-label {
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: all 0.5s ease;
    opacity: 0;
}

.portfolio-inner:hover .project-label {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-text h4 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px !important;
    transform: translateY(30px);
    transition: all 0.5s ease 0.05s;
}

.portfolio-inner:hover .portfolio-text h4 {
    transform: translateY(0);
}

/* Metadata List */
.project-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    transform: translateY(40px);
    transition: all 0.5s ease 0.1s;
    opacity: 0;
}

.portfolio-inner:hover .project-meta {
    transform: translateY(0);
    opacity: 1;
}

.project-meta li {
    margin-bottom: 5px;
}

.project-meta i {
    color: var(--primary);
    width: 25px;
}

.portfolio-text .d-flex {
    transform: translateY(50px);
    transition: all 0.5s ease 0.15s;
    gap: 15px;
}

.portfolio-inner:hover .portfolio-text .d-flex {
    transform: translateY(0);
}

/* Premium Glass Buttons for Portfolio */
.portfolio-text .btn-light {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #fff !important;
    backdrop-filter: blur(10px);
    border-radius: 50%;
}

.portfolio-text .btn-light:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    transform: translate(-5px, -5px) scale(1.1);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3);
}

/* Category Filter Tabs Styling */
.portfolio-filters {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.portfolio-filters li {
    padding: 10px 25px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.portfolio-filters li.active,
.portfolio-filters li:hover {

    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* Photo Gallery Premium Styling */
.gallery-inner {
    position: relative;
    overflow: hidden;
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.gallery-inner .service-img-container {
    height: 100%;
    width: 100%;
    margin: 0;
    border-radius: 0;
}

.gallery-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--primary-rgb), 0.7);
    opacity: 0;
    transition: all 0.5s ease;
    z-index: 5;
}

.gallery-inner:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: #fff;
    transform: scale(0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-inner:hover .gallery-overlay i {
    transform: scale(1);
}

.gallery-item-title {
    position: absolute;
    bottom: -60px;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: #fff;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.5s ease;
    z-index: 6;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.gallery-inner:hover .gallery-item-title {
    bottom: 0;
}

@media (max-width: 767.98px) {
    .gallery-inner {
        height: 280px;
    }
}

/* Premium Contact Page Styles */
.contact-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 20px;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.contact-icon-box {
    width: 70px;
    height: 70px;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon-box {
    background: var(--primary);
    transform: scale(1.1);
}

.contact-card:hover .contact-icon-box i {
    color: #fff !important;
}

.contact-form-container {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #e1e1e1;
    /* Visible solid border for the whole box */
}

.contact-form-premium .form-control {
    border: 2px solid #ccc;
    /* Significantly darker for visibility */
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.contact-form-premium .form-control:hover {
    border-color: #888;
    /* Dark Grey on hover */
    background: #fff;
    transform: translateY(-2px);
}

.contact-form-premium .form-control:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.25);
    /* Stronger visible glow */
    outline: none;
}

.contact-form-premium label {
    padding-left: 20px;
    color: #666;
}

.map-container {
    background: #fff;
    padding: 10px;
    /* Slight padding frame like a picture */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 2px solid #e1e1e1;
    /* Matching the form's border exactly */
}

/*** Legal Hub (Premium Document Redesign) ***/
.doc-header {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.03) 0%, rgba(255, 255, 255, 1) 50%, rgba(var(--primary-rgb), 0.03) 100%),
        url('../img/header-bg-premium.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 160px 0 100px 0;
    text-align: center;
    border-bottom: 2px solid var(--primary);
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
}

.doc-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, #ffffff, transparent);
    z-index: 1;
}

.doc-badge {
    display: inline-block;
    padding: 10px 30px;
    background: #252525;
    color: #ffffff;
    border-radius: 5px;
    /* More architectural/formal */
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 30px;
    letter-spacing: 5px;
    text-transform: uppercase;
    box-shadow: 10px 10px 0 rgba(var(--primary-rgb), 0.1);
    position: relative;
    z-index: 2;
}

.doc-header h1 {
    font-family: 'Teko', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.doc-header p {
    font-size: 1.1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #777;
    margin-bottom: 40px !important;
    position: relative;
    z-index: 2;
}

.btn-premium-legal {
    background: var(--primary);
    color: #fff;
    padding: 18px 45px;
    border-radius: 0;
    /* Sharp architectural edges */
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 2;
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}

.btn-premium-legal:hover {
    background: var(--dark);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.btn-premium-legal::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn-premium-legal:hover::before {
    left: 100%;
}

.legal-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.legal-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary) !important;
}

.legal-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.legal-card:hover::before {
    transform: scaleX(1);
}

.legal-icon-box {
    width: 70px;
    height: 70px;
    background: var(--dark);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 30px;
    font-size: 28px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.legal-card:hover .legal-icon-box {
    background: var(--primary);
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.3);
}

.toc-sticky {
    position: sticky;
    top: 120px;
    padding: 30px;
    background: #fff;
    border-radius: 25px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.toc-link {
    display: block;
    padding: 12px 20px;
    color: #555;
    border-left: 3px solid #f0f0f0;
    transition: all 0.3s ease;
    font-weight: 600;
    text-decoration: none !important;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    border-radius: 0 10px 10px 0;
}

.toc-link:hover {
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    border-left-color: var(--primary);
    padding-left: 25px;
}

.toc-link.active {
    background: var(--primary);
    color: #fff !important;
    border-left-color: var(--dark);
    padding-left: 30px;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

@media (max-width: 991.98px) {
    .legal-card {
        padding: 30px;
    }

    .doc-header {
        padding: 100px 0 60px 0;
    }
}
/*** Roadmap Card Hover Effect ***/
.roadmap-card {
    border-top: 5px solid var(--primary) !important;
    border-right: 1px solid transparent;
    border-bottom: 1px solid transparent;
    border-left: 1px solid transparent;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.roadmap-card:hover {
    border-right: 1px solid var(--primary);
    border-bottom: 1px solid var(--primary);
    border-left: 1px solid var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

