/********** Template CSS **********/
:root {
    --primary: #f97316;
    --secondary: #ffffff;
    --light: #ffffff;
    --dark: #000000;
    /* Bootstrap overrides - Orange Only */
    --bs-primary: #f97316 !important;
    --bs-primary-rgb: 249, 115, 22 !important;
    --bs-secondary: #ffffff !important;
    --bs-secondary-rgb: 255, 255, 255 !important;
    --bs-dark: #000000 !important;
    --bs-dark-rgb: 0, 0, 0 !important;
    --bs-light: #ffffff !important;
    --bs-light-rgb: 255, 255, 255 !important;
    --bs-btn-primary-color: #ffffff;
    --bs-btn-primary-bg: #f97316;
    --bs-btn-primary-border-color: #f97316;
    --bs-btn-primary-hover-color: #ffffff;
    --bs-btn-primary-hover-bg: #c2410c;
    --bs-btn-primary-hover-border-color: #c2410c;
    --bs-btn-primary-active-color: #ffffff;
    --bs-btn-primary-active-bg: #c2410c;
    --bs-btn-primary-active-border-color: #c2410c;
    --bs-btn-primary-disabled-bg: #f97316;
    --bs-btn-primary-disabled-border-color: #f97316;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* Force ALL bootstrap utility classes to orange/black/white */
.text-primary { color: #f97316 !important; }
.bg-primary { background-color: #f97316 !important; }
.border-primary { border-color: #f97316 !important; }
.text-white { color: #ffffff !important; }
.bg-white { background-color: #ffffff !important; }
.bg-dark { background-color: #000000 !important; }
.bg-light { background-color: #ffffff !important; }
.text-secondary { color: rgba(255, 255, 255, .8) !important; }
.text-dark { color: #000000 !important; }
.text-muted { color: rgba(0, 0, 0, .6) !important; }
.border-dark { border-color: #000000 !important; }
.border-light { border-color: #ffffff !important; }

/* Bootstrap primary button overrides */
.btn-primary,
.btn-check:checked + .btn-primary,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary.active,
.show > .btn-primary.dropdown-toggle {
    --bs-btn-color: #fff;
    --bs-btn-bg: #f97316;
    --bs-btn-border-color: #f97316;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #c2410c;
    --bs-btn-hover-border-color: #c2410c;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #c2410c;
    --bs-btn-active-border-color: #c2410c;
    color: #FFFFFF !important;
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%) !important;
    border: none !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background: linear-gradient(135deg, #c2410c 0%, #f97316 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, .25) !important;
}

/* Spinner */
.spinner-border.text-primary {
    color: #f97316 !important;
}

/* Light button */
.btn-light {
    background-color: #ffffff !important;
    border-color: #f97316 !important;
    color: #000000 !important;
}

.btn-light:hover {
    background-color: #f97316 !important;
    color: #ffffff !important;
    border-color: #f97316 !important;
}

/* Strip any remaining colors */
.btn-outline-secondary {
    border: 1px solid rgba(255, 255, 255, .3) !important;
    color: rgba(255, 255, 255, .8) !important;
}

.btn-outline-secondary:hover {
    background: #f97316 !important;
    border-color: #f97316 !important;
    color: #ffffff !important;
}

a.text-primary:hover,
a.text-primary:focus {
    color: #c2410c !important;
}

*:focus {
    outline-color: #f97316 !important;
}


/*** 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-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-sm-square.bg-primary,
.btn-square.bg-primary {
    background-color: #f97316 !important;
}


/*** Navbar ***/
.navbar.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand {
    height: 75px;
}

.navbar .navbar-brand img {
    height: 55px;
    width: auto;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, .1);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.navbar .btn:hover {
    color: #FFFFFF !important;
    background: var(--primary) !important;
}


/*** Header ***/
.header-carousel .owl-carousel-item {
    height: 600px;
    overflow: hidden;
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.header-carousel .carousel-inner {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, .85) 0%, rgba(249, 115, 22, .35) 100%);
}

@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 h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: rgba(255, 255, 255, .3);
    border: 1px solid #FFFFFF;
    border-radius: 15px;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 5px;
    top: 4px;
    left: 4px;
    background: #FFFFFF;
    border-radius: 5px;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, .9) 0%, rgba(249, 115, 22, .3) 100%), url(../images/office\ pic/15347-01.jpeg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, .6);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service ***/
.service-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.service-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.service-item .btn {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    color: #FFFFFF;
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
    border-radius: 38px;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.service-item:hover .btn {
    width: 140px;
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-inner {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.portfolio-inner img {
    transition: .5s;
    height: 250px;
    object-fit: cover;
}

.portfolio-inner:hover img {
    transform: scale(1.1);
}

.portfolio-inner .portfolio-text {
    position: absolute;
    width: 100%;
    left: 0;
    bottom: -50px;
    opacity: 0;
    transition: .5s;
}

.portfolio-inner:hover .portfolio-text {
    bottom: 0;
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.team-item img {
    transition: .5s;
    height: 300px;
    object-fit: cover;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 0;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 0, 0, .85) 0%, rgba(249, 115, 22, .5) 100%);
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
}

.team-item .team-social .btn {
    opacity: 0;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** 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 {
    border-radius: 60px;
    opacity: .4;
    transition: .5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    opacity: 1;
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%) !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .8);
    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;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-outline-secondary {
    border: 1px solid rgba(255, 255, 255, .3);
    color: rgba(255, 255, 255, .8);
}

.footer .btn.btn-outline-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #FFFFFF;
}

/*** Experience Table ***/
.experience-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.experience-table thead th {
    background: #000000;
    color: #FFFFFF;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.experience-table tbody td {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    vertical-align: top;
}

.experience-table tbody tr:nth-child(even) {
    background: rgba(249, 115, 22, .05);
}

.experience-table tbody tr:hover {
    background: rgba(249, 115, 22, .1);
}

/*** Client Logos ***/
.client-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

/*** Partner Logo Wall ***/
.partner-logo-wall {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
    padding: 30px 15px;
}

.partner-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 3px solid rgba(0, 0, 0, .08);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .1);
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.partner-logo:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 10px 30px rgba(249, 115, 22, .3);
    border-color: #f97316;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all .3s ease;
}

.partner-logo:hover img {
    filter: brightness(1.1);
}

.partner-logo .partner-name {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.client-badge {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    color: #000000;
    transition: .3s;
}

.client-badge:hover {
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
    color: #FFFFFF;
    border-color: #f97316;
}

/*** Service Detail ***/
.service-detail-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-radius: 10px;
    overflow: hidden;
    transition: .3s;
}

.service-detail-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 45px rgba(0, 0, 0, .15);
}

.service-detail-item img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

/*** Values ***/
.value-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, .08);
    transition: .3s;
}

.value-item:hover {
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
    color: #FFFFFF;
}

.value-item i {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 15px;
}

.value-item:hover i {
    color: #FFFFFF;
}

/*** Form Controls ***/
.form-control,
.form-select {
    border: 1px solid rgba(0, 0, 0, .1) !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, .15) !important;
}

hr {
    border-color: rgba(0, 0, 0, .1) !important;
}

/*** Layout Fixes ***/
.service-detail-item .p-4 h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.portfolio-inner .text-center {
    padding: 1.5rem;
}

.portfolio-inner .text-center h5 {
    font-size: 1rem;
    line-height: 1.5;
}

.client-list {
    padding: 0 15px;
}

/* Ensure section headings are consistent */
.display-5 {
    font-weight: 700;
}

/* Fix spacing on mobile */
@media (max-width: 768px) {
    .p-lg-5 {
        padding: 2rem !important;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-3 {
        font-size: 2.2rem;
    }
}

/*** Floating Social Media Widget ***/
.floating-social-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.social-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f97316 0%, #c2410c 100%);
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.social-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
}

.social-toggle.active {
    background: #dc2626;
}

.social-options {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

.social-options.active {
    display: flex;
}

.social-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #ffffff;
    color: #333333;
    border-radius: 50%;
    text-decoration: none;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.social-option:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: #f97316;
}

.social-option.phone {
    background: #25D366;
    color: #ffffff;
}

.social-option.phone:hover {
    background: #128C7E;
    color: #ffffff;
}

.social-option.facebook {
    background: #1877F2;
    color: #ffffff;
}

.social-option.facebook:hover {
    background: #0d65d9;
    color: #ffffff;
}

.social-option.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.social-option.instagram:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.social-option.tiktok {
    background: #000000;
    color: #ffffff;
}

.social-option.tiktok:hover {
    background: #333333;
    color: #ffffff;
}

.social-option.telegram {
    background: #0088cc;
    color: #ffffff;
}

.social-option.telegram:hover {
    background: #006699;
    color: #ffffff;
}

/*** Floating Widget Footer Detection ***/
.floating-social-widget.at-footer {
    position: absolute;
    bottom: 20px;
}

/* Contact info link hover effects */
.contact-link {
    transition: color 0.3s ease, opacity 0.3s ease;
}
.contact-link:hover {
    color: #0056b3 !important;
    opacity: 0.85;
}
