/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** 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 {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #ffaf00;
}

.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 {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    }
}


/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-4.png) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid#ffaf00;
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: #ffaf00;
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background:#ffaf00;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: #ffaf00;
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
.contact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Newsletter ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    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: #ffaf00;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: #ffaf00;
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color:#ffaf00;
}
/* =========================================================
   TOPBAR / NAVBAR – HEIGHT & BASE STYLING
========================================================= */

.bg-dark {
    height: 60px;                     /* Reduced height */
    background-color: #000 !important; /* Force pure black */
}

.bg-dark .container {
    padding-top: 0;
    padding-bottom: 0;
}

.bg-dark .d-flex {
    height: 60px;
}

.navbar-custom {
    height: 60px;
    background-color: #000000 !important;
}

.navbar {
    min-height: 60px;
}


/* =========================================================
   LOGO
========================================================= */

.topbar-logo {
    height: 70px;
    width: auto;
}


/* =========================================================
   NAV LINKS – BASE STYLE
========================================================= */

.bg-dark .nav-link,
.bg-dark .dropdown-toggle {
    display: flex;
    align-items: center;
    height: 60px;
    padding: 0 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.navbar-custom .nav-link {
    display: flex;
    align-items: center;
    height: 60px;
    font-size: 14px;
    font-weight: 500;
}

.navbar-dark .nav-link {
    color: #fff;
    padding: 0 18px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    height: 60px;
}


/* =========================================================
   NAV LINKS – HOVER & TRANSITIONS
========================================================= */

.navbar-custom .nav-link,
.navbar-custom .dropdown-toggle {
    transition: opacity 0.25s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .dropdown-toggle:hover,
.nav-link:hover {
    opacity: 0.65;
}

.navbar-custom .nav-link:hover,
.navbar-custom .dropdown-toggle:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.navbar-dark .nav-link:hover,
.navbar-dark .dropdown-toggle:hover {
    background-color: rgba(6, 5, 5, 0.905);
}


/* =========================================================
   NAV LINK UNDERLINE EFFECT (FIXED)
========================================================= */

.navbar-custom .nav-link {
    position: relative;
    color: #fff !important;
    text-decoration: none;
}

/* underline */
.navbar-custom .nav-link::after {
    content: "";
    position: absolute;

    left: 0;
    bottom: 8px;   /* 🔥 inside the nav height (important) */

    width: 0;
    height: 2px;

    background-color: #fbac04; /* orange */
    transition: width 0.3s ease;
}

/* hover */
.navbar-custom .nav-link:hover::after,
.nav-item.dropdown.show > .nav-link::after {
    width: 100%;
}


/* =========================================================
   DROPDOWN – CONTAINER
========================================================= */

.navbar-custom .dropdown-menu {
    background-color: #1a1a1a;
    border: 1px solid #2c2c2c;
    border-radius: 6px;
    padding: 8px 0;
    min-width: 200px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    animation: dropdownFade 0.25s ease;
}

.dropdown-menu {
    border-radius: 0;
}


/* =========================================================
   DROPDOWN – ITEMS
========================================================= */

.navbar-custom .dropdown-item {
    color: #ffffff;
    font-size: 14px;
    padding: 10px 20px;
    transition: opacity 0.25s ease;
}

.navbar-custom .dropdown-item:hover {
    background-color: transparent;
    opacity: 0.7;
}

.dropdown-item:hover {
    background-color: #f2f2f2;
}

.navbar-custom .dropdown-item:focus {
    background-color: transparent;
    color: #ffffff;
}


/* =========================================================
   DROPDOWN ARROW
========================================================= */

.nav-item.dropdown .dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid #fff;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-item.dropdown .arrow {
    transition: transform 0.3s ease;
}

.nav-item.dropdown.show .arrow {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN ACTIVE STATE
========================================================= */

.nav-item.dropdown.show > .dropdown-toggle {
    text-decoration: underline;
    text-underline-offset: 6px;
    opacity: 0.8;
}


/* =========================================================
   DROPDOWN ANIMATION
========================================================= */

@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -----------------------------
   HERO LAYOUT (ACCENTURE STYLE)
------------------------------*/

/* Tighter Accenture-style spacing */
.hero-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 2.5rem;   /* ↓ reduced from 5rem */
}

/* LEFT = still dominant but closer */
.hero-left {
    flex: 0 0 60%; /* ↓ reduced from 65% */
}

/* RIGHT = narrow & closer */
.hero-right {
    flex: 0 0 28%;
    max-width: 340px; /* ↓ reduced */
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
}

/* Orange Next-Gen */
.hero-title .nextgen {
    color: #ff7a00;
}

/* TOP LINE – FROM LEFT */
.top-line {
    opacity: 0;
    animation: slideLeft 1s ease forwards;
}

/* BOTTOM LINE – FROM RIGHT */
.bottom-line {
    opacity: 0;
    margin-top: 0.4rem;
    animation: slideRight 1s ease forwards;
    animation-delay: 0.35s;
}

/* Keyframes */
@keyframes slideLeft {
    from {
        transform: translateX(-120px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideRight {
    from {
        transform: translateX(120px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}
@media (max-width: 992px) {
    .hero-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .hero-left,
    .hero-right {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .hero-title {
        font-size: 3.2rem;
    }
}
/* =========================================================
   CAROUSEL HEIGHT FIX (prevents squishing)
========================================================= */

/* Give carousel proper hero height */
#header-carousel,
#header-carousel .carousel-inner,
#header-carousel .carousel-item {
    height: 50vh;            /* full screen hero */
    min-height: 550px;        /* fallback for small screens */
}

/* Make images fill without distortion */
#-carousel .carousel-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;        /* keeps aspect ratio */
}

/* Keep caption perfectly centered */
#header-carousel .carousel-caption {
    top: 0;
    bottom: 0;
    height: 100%;
}
/* Accenture-style orange slider */
.accent-line {
    display: inline-block;
    width: 40px;
    height: 4px;
    background-color: #ff7a00;
    margin-bottom: 1rem;
    animation: slideAccent 0.8s ease forwards;
    opacity: 0;
}

/* Subtle slide-in animation */
@keyframes slideAccent {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 40px;
        opacity: 1;
    }
}
.accent-line {
    animation-delay: 0.8s;
}
/* Hero text link (Accenture-style) */
.hero-link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;

    transition: all 0.3s ease;
}

.hero-link:hover {
    color: #fbac04; /* Accenture purple */
}

.hero-arrow {
    display: inline-block;
    color: #fbac04;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-link:hover .hero-arrow {
    transform: translateX(6px);
}
/* ===============================
   ACCENTURE STYLE SERVICE CARDS
   =============================== */

.service-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #000;
}

/* Image */
.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Title before hover */
.service-title {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 2;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* Overlay (hidden initially) */
.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.6s ease;
    z-index: 3;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Hover behavior */
.service-card:hover .service-overlay {
    transform: translateX(0);
}

.service-card:hover .service-title {
    opacity: 0;
}

/* Overlay content */
.service-overlay h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.service-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Expand link — NO BOX */
.service-expand {
    position: absolute;
    right: 2rem;
    bottom: 2rem;

    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;

    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

/* Orange underline animation */
.service-expand::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: #fbac04;
    transition: width 0.3s ease;
}

.service-expand:hover::after {
    width: 100%;
}
/* Reduce gap between carousel and service section */
.service {
    padding-top: 2rem !important; /* overrides pt-6 safely */
}

/* Remove unnecessary vertical offset */
.service .service-item,
.service .service-inner {
    margin-top: 0 !important;
}
.carousel-inner {
    overflow: hidden;
}
/* ===============================
   SERVICE CARDS LOAD ANIMATION
================================ */

/* initial hidden state */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* visible state */
.service-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   Newsletter Section
   ========================= */

.newsletter {
    position: relative;

    /* Background image + dark overlay */
    background: linear-gradient(
                    rgba(0, 0, 0, 0.7),
                    rgba(0, 0, 0, 0.7)
                ),
                url(../img/carousel-3.png) center center no-repeat;

    background-size: cover;

    /* 🔧 CONTROL BLACK SPACE HERE */
    padding-top: 120px;     /* reduce if you want less gap above */
    padding-bottom: 120px;  /* reduce if you want less height */
}

/* Newsletter Card Box */
.newsletter .bg-white {
    position: relative;
    z-index: 2;

    /* overlap into footer */
    margin-bottom: -100px;

    padding: 50px;
    border-radius: 14px;

    /* dark theme card */
    background-color: #000 !important;
    color: #fff;

    box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

/* Heading */
.newsletter h1 {
    color: #fff;
}

/* Paragraph */
.newsletter p {
    color: #ccc;
}

/* Email Input */
.newsletter input[type="email"] {
    background-color: #222 !important;
    color: #fff;
    border: 1px solid #333;
    border-radius: 8px;
}

/* Placeholder color */
.newsletter input[type="email"]::placeholder {
    color: #aaa;
}

/* Focus state */
.newsletter input[type="email"]:focus {
    background-color: #222;
    color: #fff;
    border-color: #fbac04;
    box-shadow: none;
}

/* Subscribe Button */
.newsletter .btn-warning {
    background: #ffaf00;
    border: none;
    font-weight: 600;
    border-radius: 8px;
}

.newsletter .btn-warning:hover {
    background: #ffaf00;
}
.footer {
    position: relative;
    z-index: 1;

    background-color: #000;
    color: #fff;

    padding-top: 220px;   /* 🔥 increases black area */
    padding-bottom: 120px;

    min-height: 420px;    /* 🔥 ensures black background never collapses */
}
.footer .container,
.footer .row {
    background: transparent !important;
}
.copyright {
    background: #111;
    position: relative;
    z-index: 0;
    padding: 20px 0;
}
body {
    background-color: #000;
    color: #fff; /* keeps text readable */
}

/* ======================================
   ABOUT SECTION TEXT COLORS
====================================== */

/* Main heading → pure white */
.about-section h1,
.container-fluid h1.display-6 {
    color: #ffffff !important;
}


/* Feature highlights → faded white */
.container-fluid .col-sm-6 h5 {
    color: rgba(255, 255, 255, 0.65) !important;
}


/* Bullet points → slightly faded */
.container-fluid p {
    color: rgba(255, 255, 255, 0.75);
}


/* Bottom highlight box text → faded */
.border-primary h4 {
    color: rgba(255, 255, 255, 0.65) !important;
}


/* Optional: box border softer for dark theme */
.border-primary {
    border-color: #ffaf00 !important;
}
:root {
    --bs-primary: #ffaf00;        /* NEW global brand color */
}
/* ===============================
   PROFESSIONAL SOCIAL ICON STYLE
=============================== */

.navbar-custom .btn-sm-square,
.footer .btn-sm-square {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;

    color: #ffaf00 !important;

    font-size: 14px;
    transition: all 0.25s ease;
}

/* Hover */
.navbar-custom .btn-sm-square:hover,
.footer .btn-sm-square:hover {
    background: #ffaf00;
    color: #000 !important;
    transform: translateY(-2px);
}
/* Footer Logo */
.footer-logo {
    max-width: 130px;   /* reduced size */
    opacity: 0.95;
}

/* About text below logo */
.footer-about {
    color: #bdbdbd;
    font-size: 14px;
    line-height: 1.6;
}
/* Extra gap between logo section and Our Office */
.footer .col-lg-3:first-child {
    padding-right: 40px;
}


.text-dng {
    color: #ffaf00 !important;
}
.bg-dng-soft {
    background: rgba(255, 175, 0, 0.12);
}
.dng-btn {
    background: #ffaf00;
    border-color: #ffaf00;
    color: #000;
}

.dng-btn:hover {
    background: #e89d00;
    border-color: #e89d00;
    color: #000;
}
.industries-block { background:#000; color:#fff; }

.industries-block .accordion-item {
background:#111;
border:1px solid #222;
margin-bottom:12px;
border-radius:6px;
overflow:hidden;
}

.industries-block .accordion-button {
background:#111;
color:#ddd;
font-weight:600;
box-shadow:none;
}

.industries-block .accordion-button:not(.collapsed) {
background:#1a1a1a;
color:#fff;
}

.industries-block .accordion-body {
background:#0b0b0b;
color:#bbb;
}

.industries-block .accordion-button::after {
filter: invert(1);
opacity:.7;
}

.industries-block .accordion-button:focus {
box-shadow:none;
}
/* push image slightly down */
.industry-img{
    margin-top: 90px;
    animation: floatIndustry 4s ease-in-out infinite;
}

/* smooth up-down floating */
@keyframes floatIndustry{
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}
.industries-block h1 {
  color: #fff !important;
}
/* Add this to your CSS */
.accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
}

.accordion-button::after {
    transition: transform 0.3s ease-in-out;
}
/* Right-side industries content */
.industry-side-content {
    background:#0b0b0b;
    border:1px solid #222;
    padding:20px;
    border-radius:6px;
}

.industry-side-content h4 {
    color:#fff;
    font-weight:600;
}

.industry-side-content p {
    color:#bbb;
    line-height:1.6;
    font-size:14px;
}
/* Mission & Vision Box */
.mv-box {
    background: #ffffff;
    padding: 40px;
    border-left: 5px solid var(--bs-primary);
    box-shadow: 0 0 25px rgba(0,0,0,0.08);
}

/* Team Section */
.team-item {
    background: #fff;
    box-shadow: 0 0 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.team-item:hover {
    transform: translateY(-5px);
}

.team-item img {
    width: 100%;
}

/* Section spacing consistency */
.pt-6 {
    padding-top: 5rem;
}
.pb-6 {
    padding-bottom: 5rem;
}
/* Mission & Vision Dark Section */
.mv-dark {
    background: #000;
}

.mv-dark h3,
.mv-dark p {
    color: #fff;
}

/* Mission & Vision Box */
.mv-dark .mv-box {
    background: #111;
    border-left: 5px solid var(--bs-primary);
    box-shadow: 0 0 25px rgba(255,255,255,0.05);
}
/* About Horizontal Dark Section */
.about-dark {
    background: #000;
}

.about-dark-box {
    background: #111;
    padding: 50px 60px;
    border-left: 6px solid var(--bs-primary);
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
    border-radius: 6px;
}

/* Text Styling */
.about-dark-box h2 {
    color: #fff;
    letter-spacing: 1px;
}

.about-dark-box p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: auto;
}

/* Responsive */
@media (max-width: 768px) {
    .about-dark-box {
        padding: 35px 25px;
    }
}
.history-content p {
    font-size: 16px;
    line-height: 1.9;
    color: #555;
}

.history-content p:first-child {
    font-size: 18px;
    color: var(--bs-primary);
}
/* ===============================
   TEAM SECTION – DARK STYLE
================================ */

.team-dark {
    background: #000;
}

.team-dark .team-item {
    background: #111;
    border: 1px solid #222;
    box-shadow: 0 0 25px rgba(255,255,255,0.05);
    transition: 0.35s ease;
    overflow: hidden;
}

.team-dark .team-item:hover {
    transform: translateY(-6px);
}

/* Extra gap between members */
.team-dark .row {
    row-gap: 60px;
}

/* Image wrapper */
.team-img-wrap {
    position: relative;
    overflow: hidden;
}
/* ===============================
   SOCIAL SLIDER
================================ */

.team-social-slide {
    position: absolute;
    top: 50%;
    right: -70px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;

    background: #ffaf00;
    padding: 12px;
    border-radius: 8px 0 0 8px;

    transition: all 0.35s ease;
}

.team-item:hover .team-social-slide {
    right: 0;
}

/* Icons – reuse your style */
.team-social-slide .btn-sm-square {
    background: rgba(0,0,0,0.15);
    color: #000 !important;
}

.team-social-slide .btn-sm-square:hover {
    background: #000;
    color: #ffaf00 !important;
}
.team-dark h5 {
    letter-spacing: 0.5px;
}

.team-dark span {
    font-size: 14px;
    color: #aaa;
}
/* ===============================
   TEAM CARD STRUCTURE
================================ */

.team-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Fixed image height */
.team-img {
    height: 260px;
    overflow: hidden;
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content alignment */
.team-content {
    flex-grow: 1;
    padding: 22px 20px;
    text-align: center;
}

.team-content h5 {
    margin-bottom: 6px;
}

.team-content span {
    font-size: 14px;
    color: #777;
}
/* ===============================
   OUR TEAM INTRO – DARK STYLE
================================ */

.team-intro-dark {
    background: #000;
}

.team-intro-dark h1 {
    color: #fff;
    letter-spacing: 1px;
}

/* Tagline */
.team-tagline {
    color: #ffaf00;
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
}

/* Content box */
.team-intro-box {
    background: #111;
    border-left: 6px solid var(--bs-primary);
    padding: 35px 40px;
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
    border-radius: 6px;
}

.team-intro-box p {
    color: #ddd;
    font-size: 16px;
    line-height: 1.9;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .team-intro-box {
        padding: 25px;
    }

    .team-tagline {
        font-size: 16px;
    }
}


/* ===============================
   CONTACT SECTION – DARK IT STYLE
   (MAP SAFE)
================================ */

.contact-dark {
    background: #000;
}

/* Left text */
.contact-dark h1,
.contact-dark h6 {
    color: #fff;
}

.contact-dark span {
    color: #ccc;
}

/* Icons */
.contact-dark .btn-lg-square {
    background: #ffaf00;
}

.contact-dark .btn-lg-square i {
    color: #000;
}

/* Divider */
.contact-dark hr {
    border-color: #222;
}

/* Form box */
.contact-dark .bg-white {
    background: #111 !important;
    border-left: 6px solid #ffaf00;
    box-shadow: 0 0 30px rgba(255,255,255,0.05);
}

/* Form heading */
.contact-dark h2 {
    color: #fff;
}

/* Inputs */
.contact-dark .form-control {
    background: #1a1a1a !important;
    color: #fff !important;
    border: 1px solid #222 !important;
}

.contact-dark .form-control:focus {
    border-color: #ffaf00 !important;
    box-shadow: none;
}

/* Floating labels */
.contact-dark .form-floating label {
    color: #aaa;
}

/* Button */
.contact-dark .btn-primary {
    background: #ffaf00;
    border-color: #ffaf00;
    color: #000;
    font-weight: 600;
}

.contact-dark .btn-primary:hover {
    background: #000;
    color: #ffaf00;
    border-color: #ffaf00;
}

/* 🚫 IMPORTANT: protect map */
iframe {
    filter: none !important;
}
/* =========================================
   MEGA DROPDOWN MENU (Accenture Style)
========================================= */

/* Main Mega Menu Container */
.pages-mega .dropdown-menu.mega-menu {
    width: 700px;
    max-width: 95vw;
    padding: 0;
    border: 1px solid #333;
    border-radius: 6px;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    margin-top: 15px;
    animation: megaMenuFade 0.3s ease;
    overflow: hidden;
}

/* Mega Menu Content Container */
.mega-menu .container-fluid {
    padding: 30px;
}

/* Mega Menu Columns */
.mega-column {
    padding: 0 25px;
    border-right: 1px solid #222;
}

.mega-column:last-child {
    border-right: none;
}

/* Mega Menu Sections */
.mega-section {
    margin-bottom: 25px;
}

.mega-section:last-child {
    margin-bottom: 0;
}

/* Mega Menu Headings */
.mega-heading {
    color: #ffaf00;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
}

/* Mega Menu Links */
.mega-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mega-link {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.25s ease;
    font-size: 14px;
    font-weight: 500;
}

.mega-link:hover {
    color: #fff;
    background: rgba(255, 175, 0, 0.1);
    transform: translateX(5px);
}

.mega-link i {
    color: #ffaf00;
    width: 16px;
    text-align: center;
}

/* Feature Box (Right Column) */
.mega-feature {
    background: rgba(255, 175, 0, 0.05);
    border: 1px solid rgba(255, 175, 0, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.feature-icon {
    color: #ffaf00;
    margin-bottom: 15px;
}

.feature-content h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-bottom: 15px;
}

.feature-btn {
    display: inline-flex;
    align-items: center;
    color: #ffaf00;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.25s ease;
}

.feature-btn:hover {
    color: #fff;
}

.feature-btn i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

.feature-btn:hover i {
    transform: translateX(3px);
}

/* Animation for Mega Menu */
@keyframes megaMenuFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .pages-mega .dropdown-menu.mega-menu {
        width: 100%;
        max-width: 100%;
        position: static !important;
        transform: none !important;
    }
    
    .mega-menu .container-fluid {
        padding: 20px;
    }
    
    .mega-column {
        padding: 0 15px;
        border-right: none;
        border-bottom: 1px solid #222;
        margin-bottom: 25px;
        padding-bottom: 25px;
    }
    
    .mega-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
}

@media (max-width: 768px) {
    .pages-mega .dropdown-menu.mega-menu {
        width: 300px;
        margin-left: -100px;
    }
    
    .mega-menu .row {
        flex-direction: column;
    }
}
/* =========================================
   ARROW ROTATION FOR MEGA MENU
========================================= */

/* Ensure arrow rotates when dropdown is open */
.nav-item.dropdown.pages-mega.show .arrow,
.pages-mega .nav-link.dropdown-toggle.show + .arrow,
.pages-mega .nav-link.dropdown-toggle[aria-expanded="true"] .arrow {
    transform: rotate(180deg) !important;
}

/* Make sure the transition still works */
.pages-mega .arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    margin-left: 4px;
}

/* Hover effect for the Pages link */
.pages-mega .nav-link:hover .arrow {
    color: #ffaf00;
}

/* When dropdown is open, keep arrow rotated */
.pages-mega .dropdown-toggle.show .arrow {
    transform: rotate(180deg);
}
/* Highlight the Pages link when dropdown is open */
.pages-mega.show .nav-link {
    color: #ffaf00 !important;
}

.pages-mega.show .nav-link::after {
    width: 100% !important;
    background-color: #ffaf00 !important;
}
/* ===============================
   PRIVACY POLICY
   =============================== */

.privacy-page {
    max-width: 900px;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.privacy-section p,
.privacy-section li {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.8;
}

.privacy-section ul {
    padding-left: 1.2rem;
}
/* Mobile devices */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .col {
        width: 100%;
    }

    h1 {
        font-size: 1.8rem;
    }
}
@media (max-width: 768px) {

    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden;
    }

    /* Stack bootstrap columns */
    [class^="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    /* Headings */
    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
        text-align: center;
    }

    h2 {
        font-size: 1.5rem !important;
        text-align: center;
    }

    /* Images */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Reduce section padding */
    section,
    .container,
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
/* ======================================
   NAVBAR MOBILE FIX (CRITICAL)
====================================== */
@media (max-width: 991.98px) {

    /* Ensure navbar is visible */
    .navbar {
        position: relative;
        padding: 10px 15px !important;
        height: auto !important;
        overflow: visible !important;
        background: #000 !important;
    }

    /* Show hamburger icon */
    .navbar-toggler {
        display: block !important;
        border: none;
        outline: none;
    }

        .navbar-toggler:focus {
            box-shadow: none;
        }

    /* Collapse menu */
    .navbar-collapse {
        background: #000;
        padding: 15px 0;
        margin-top: 10px;
    }

    /* Stack menu items */
    .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100%;
        padding-left: 15px;
    }

        /* Nav links */
        .navbar-nav .nav-link {
            padding: 12px 0 !important;
            height: auto !important;
            width: 100%;
            color: #fff !important;
        }

    /* Disable desktop underline animation */
    .navbar-custom .nav-link::after {
        display: none !important;
    }

    /* Logo size */
    .navbar-brand img {
        max-height: 40px;
    }
}
/* =========================
   MOBILE CAROUSEL – FINAL FIX
   ========================= */
@keyframes accentSlide {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 48px;
        opacity: 1;
    }
}

@media (max-width: 768px) {

    /* Fix carousel height */
    @media (max-width: 768px){

        #header-carousel,
        #header-carousel .carousel-item {
            min-height: 85svh;
        }

            #header-carousel .carousel-item img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

        
    }


    /* OVERRIDE BOOTSTRAP CAPTION */
    .carousel-caption {
        position: absolute;
        top: 15%;
        bottom: auto;
        left: 0;
        right: 0;
        display: block !important;
        padding: 0 1.25rem;
        text-align: center;
    }

    /* Stack hero content */
    .hero-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    /* Orange accent line between heading & text */
    .accent-line {
        display: block;
        width: 48px;
        height: 3px;
        background-color: #ff9f0d;
        margin: 0.4rem auto 0.6rem auto;
        animation: accentSlide 1.2s ease-out;
    }


    /* Headings */
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.15;
        margin: 0;
    }

        .hero-title.bottom-line {
            font-size: 2.1rem;
        }

    /* Side text → directly below heading */
    .hero-right {
        max-width: 100%;
        margin-top: 0;
        text-align: center;
    }

        .hero-right h4 {
            font-size: 1.05rem;
            margin-bottom: 0.25rem;
        }

        .hero-right p {
            font-size: 0.85rem;
            margin-bottom: 0;
        }

    /* Hide thumbnails 
    .carousel-indicators {
        display: none;
    }*/
}



/* =====================================
   SERVICES — ACCENTURE STYLE (WORKING)
   ===================================== */

/* Reduce gap from carousel */
.service {
    padding-top: 1.5rem !important;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 769px) {

    .service-scroll {
        overflow: visible;
    }

    .service-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .service-col {
        width: 100%;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {

    .service-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-left: 1rem;
    }

        .service-scroll::-webkit-scrollbar {
            display: none;
        }

    .service-row {
        display: flex;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .service-col {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    .service-card {
        height: 300px;
    }
}
/* ===============================
   MOBILE — PULL SERVICES UP
   =============================== */
@media (max-width: 768px) {
    .service {
        margin-top: -3rem; /* ← adjust: -2.5rem / -3rem / -4rem */
    }
}
/* Add this line to reduce carousel bottom margin */
.container-fluid.p-0.mb-6 {
    margin-bottom: 0 !important; /* ← ADD THIS LINE */
}
/* ===============================
   MOBILE — ABOUT SECTION PULL UP
   =============================== */
@media (max-width: 768px) {

    /* Pull entire About section up */
    .container-fluid.pt-6.pb-6 {
        padding-top: 4rem !important; /* was pt-6 */
        padding-bottom: 2.5rem !important;
        margin-top: -2.5rem; /* pulls it upward */
    }

    /* Reduce image-to-text gap */
    .about-img {
        margin-bottom: 1.25rem;
    }

    /* Reduce heading spacing */
    .container-fluid.pt-6.pb-6 h1 {
        margin-top: 0;
        margin-bottom: 1rem;
        font-size: 1.6rem;
        line-height: 1.3;
    }

    /* Tighten paragraph spacing */
    .container-fluid.pt-6.pb-6 p {
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
    }
}

/* =========================================
   Newsletter Section - Mobile Optimization
========================================= */

@media (max-width: 768px) {
    /* Reduce padding on mobile */
    .newsletter {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

        /* Adjust newsletter card */
        .newsletter .bg-white {
            margin-bottom: -60px !important;
            padding: 30px 20px !important;
            border-radius: 12px !important;
        }

        /* Newsletter heading */
        .newsletter h1.text-uppercase {
            font-size: 1.5rem !important;
            line-height: 1.3 !important;
            margin-bottom: 1rem !important;
        }

        /* Newsletter description */
        .newsletter p.mb-4 {
            font-size: 0.9rem !important;
            line-height: 1.5 !important;
            margin-bottom: 1.5rem !important;
            color: #ccc !important;
        }

        /* Email input */
        .newsletter input[type="email"] {
            font-size: 0.9rem !important;
            padding: 12px 15px !important;
            height: 46px !important;
        }

        /* Button */
        .newsletter .btn-warning {
            font-size: 0.9rem !important;
            padding: 10px 16px !important;
            border-radius: 6px !important;
            position: relative !important;
            top: auto !important;
            right: auto !important;
            transform: none !important;
            margin-top: 12px !important;
            width: 100% !important;
        }

        /* Remove absolute positioning on mobile */
        .newsletter .position-relative {
            position: static !important;
        }

        .newsletter .position-absolute {
            position: static !important;
            top: auto !important;
            right: auto !important;
            transform: none !important;
            margin: 0 !important;
        }

        /* Adjust form container */
        .newsletter .position-relative.w-100 {
            display: flex !important;
            flex-direction: column !important;
            gap: 10px !important;
        }

        /* Container adjustments */
        .newsletter .container {
            padding-left: 15px !important;
            padding-right: 15px !important;
        }

        /* Column width */
        .newsletter .col-lg-7 {
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
}

/* Extra small devices */
@media (max-width: 576px) {
    .newsletter {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

        .newsletter .bg-white {
            margin-bottom: -50px !important;
            padding: 25px 15px !important;
        }

        .newsletter h1.text-uppercase {
            font-size: 1.3rem !important;
        }

        .newsletter p.mb-4 {
            font-size: 0.85rem !important;
        }

        .newsletter input[type="email"] {
            font-size: 0.85rem !important;
            padding: 10px 12px !important;
            height: 44px !important;
        }

        .newsletter .btn-warning {
            font-size: 0.85rem !important;
            padding: 9px 14px !important;
        }
}

/* Alternative: Stacked layout with better button positioning */
@media (max-width: 768px) {
    /* Change to stacked layout */
    .newsletter form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .newsletter .position-relative.w-100 {
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    /* Input field full width */
    .newsletter input[type="email"] {
        width: 100%;
        padding-right: 15px !important;
        padding-left: 15px !important;
        border: 1px solid #333 !important;
    }

    /* Button - full width below input */
    .newsletter .btn-warning {
        width: 100%;
        margin-left: 0;
        border-radius: 6px;
        padding: 12px 20px;
        font-weight: 600;
    }

    /* Remove me-2 margin */
    .newsletter .me-2 {
        margin-right: 0 !important;
    }
}

/* ======================================
   MOBILE FOOTER FIX – Social Icons Center Alignment
====================================== */
@media (max-width: 768px) {
    /* Social Icons - Center Alignment */
    .footer .d-flex.align-items-center {
        justify-content: center !important;
        gap: 12px;
        margin-top: 15px;
        flex-wrap: wrap;
    }

    .footer .btn-sm-square {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px;
        background: rgba(255,255,255,0.08) !important;
        border: 1px solid rgba(255,255,255,0.15) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Remove left margin from ms-2 class */
    .footer .ms-2 {
        margin-left: 0 !important;
    }

    /* Center the icon inside */
    .footer .btn-sm-square i {
        color: #ffaf00 !important;
        font-size: 16px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 100% !important;
    }

    /* Facebook specific fix - center the "f" */
    .footer .btn-sm-square .fa-facebook-f {
        position: relative;
        left: 0 !important;
        transform: none !important;
    }

    /* Instagram specific fix */
    .footer .btn-sm-square .fa-instagram {
        font-size: 18px !important;
    }

    /* LinkedIn specific fix */
    .footer .btn-sm-square .fa-linkedin-in {
        font-size: 16px !important;
    }

    /* Hover effect */
    .footer .btn-sm-square:hover {
        background: #ffaf00 !important;
        transform: translateY(-2px);
    }

        .footer .btn-sm-square:hover i {
            color: #000 !important;
        }
}

/* ======================================
   MOBILE FOOTER - Other Fixes
====================================== */
@media (max-width: 768px) {
    /* allow natural height */
    .footer,
    .footer .container,
    .footer .row {
        height: auto !important;
        min-height: auto !important;
    }

        /* stack columns vertically */
        .footer .row {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 30px;
        }

            .footer .row > div {
                width: 100%;
                text-align: center;
                padding: 0 15px !important;
            }

    /* logo */
    .footer-logo {
        display: block;
        margin: 0 auto 15px;
        max-width: 150px;
    }

    /* fix paragraph wrapping */
    .footer p {
        font-size: 14px;
        line-height: 1.6;
        word-break: break-word;
        margin-bottom: 2px;
        text-align: center !important;
    }

    /* icons + text alignment */
    .footer .fa-map-marker-alt,
    .footer .fa-phone-alt,
    .footer .fa-envelope {
        margin-right: 8px;
        display: inline-block;
    }

    /* quick links block */
    .footer .btn-link {
        display: block;
        padding: 6px 0;
        text-align: center !important;
    }

    /* Our Office heading alignment */
    .footer h5.text-uppercase {
        text-align: center !important;
    }

    /* remove extra padding from first column */
    .footer .col-lg-3:first-child {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    /* ensure text is centered in all columns */
    .footer .col-lg-3 {
        text-align: center !important;
    }
}
@media (max-width: 768px) {

    /* remove bootstrap side padding */
    .footer .col-lg-3:first-child {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center;
    }

    /* logo */
    .footer-logo {
        display: block;
        margin: 0 auto 15px;
    }

    /* paragraph */
    .footer-about {
        margin: 0 auto;
        max-width: 300px;
        text-align: center;
    }
}
/* Simple fix for team layout on all screens */
.team-dark .row.justify-content-center {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: stretch !important;
}

/* Mobile view */
@media (max-width: 768px) {
    .team-dark .row.justify-content-center {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        justify-content: flex-start !important;
        padding-bottom: 15px;
    }

    .team-dark .wow.fadeInUp {
        flex: 0 0 90% !important;
        max-width: 90% !important;
        scroll-snap-align: start !important;
        margin-right: 15px !important;
    }

    /* Hide scrollbar */
    .team-dark .row.justify-content-center::-webkit-scrollbar {
        display: none;
    }
}
@media (max-width: 768px) {
    /* Override the problematic rule for team section */
    .team-dark .row {
        flex-direction: row !important;
    }

    .team-dark .col-6 {
        width: 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }
}
/* ======================================
   TEAM SECTION MOBILE - HORIZONTAL SLIDER
====================================== */
@media (max-width: 768px) {
    .team-dark .row {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 -15px !important;
        padding: 0 15px 20px !important;
        scrollbar-width: thin !important;
        scrollbar-color: #ffaf00 #222 !important;
    }

        /* Hide scrollbar for Chrome/Safari */
        .team-dark .row::-webkit-scrollbar {
            height: 4px !important;
        }

        .team-dark .row::-webkit-scrollbar-track {
            background: #222 !important;
            border-radius: 10px !important;
        }

        .team-dark .row::-webkit-scrollbar-thumb {
            background: #ffaf00 !important;
            border-radius: 10px !important;
        }

    .team-dark .col-4 {
        flex: 0 0 85% !important;
        max-width: 85% !important;
        width: 85% !important;
        padding: 0 10px !important;
        scroll-snap-align: start !important;
    }

    .team-dark .team-item {
        margin: 0 auto !important;
        height: auto !important;
    }

    /* Remove the g-4 gap for mobile */
    .team-dark .g-4 {
        --bs-gutter-x: 0 !important;
        --bs-gutter-y: 0 !important;
    }
}

/* Optional: Add navigation arrows for mobile */
.team-dark .mobile-team-nav {
    display: none;
}

@media (max-width: 768px) {
    .team-dark {
        position: relative;
    }

        .team-dark .mobile-team-nav {
            display: flex;
            justify-content: space-between;
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            padding: 0 5px;
            z-index: 5;
            pointer-events: none;
        }

            .team-dark .mobile-team-nav button {
                pointer-events: all;
                background: rgba(255, 175, 0, 0.8);
                border: none;
                width: 36px;
                height: 36px;
                border-radius: 50%;
                color: #000;
                font-weight: bold;
                font-size: 18px;
                display: flex;
                align-items: center;
                justify-content: center;
                transition: all 0.3s ease;
            }

                .team-dark .mobile-team-nav button:hover {
                    background: #ffaf00;
                    transform: scale(1.1);
                }

                .team-dark .mobile-team-nav button:disabled {
                    opacity: 0.3;
                    pointer-events: none;
                }
}
/* =========================================
   What's New Section - Base Styles
========================================= */

.whats-new-section {
    background: #000;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Section Heading - BRIGHT WHITE TEXT */
.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    color: #FFFFFF !important; /* Pure bright white */
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 38px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.1);
}

    .section-title::after {
        content: "";
        width: 80px;
        height: 4px;
        background: #007bff;
        display: block;
        margin: 15px auto 0;
        border-radius: 2px;
    }

/* Blog Card */
.blog-card {
    background: linear-gradient(145deg, #121212 0%, #0a0a0a 100%);
    border-radius: 10px;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    border: 1px solid #2a2a2a;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

    .blog-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 5px;
        height: 100%;
        background: linear-gradient(to bottom, #007bff, #0056b3);
        opacity: 0.9;
    }

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 25px rgba(0, 123, 255, 0.2);
        border-color: #007bff;
    }

/* Blog Header */
.blog-header {
    margin-bottom: 20px;
}

/* Blog Meta Container */
.blog-meta {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 10px;
    width: 100%;
    flex-wrap: wrap;
    gap: 10px;
}

/* Blog Tag */
.blog-tag {
    display: inline-block;
    background: rgba(0, 123, 255, 0.2);
    color: #66b3ff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 15px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    text-transform: uppercase;
}

/* Blog Date - Same blue background as tag */
.blog-date {
    color: #66b3ff;
    font-size: 0.8rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    letter-spacing: 0.5px;
    background: rgba(0, 123, 255, 0.2); /* Same blue background as tag */
    padding: 5px 15px;
    border-radius: 20px;
    margin: 0;
}

/* Blog Image Container */
.blog-image-container {
    width: 100%;
    height: 180px;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #1a1a1a;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image {
    transform: scale(1.05);
}

/* Blog Title - FADED WHITE */
.blog-title {
    color: rgba(255, 255, 255, 0.85) !important; /* Faded white (85% opacity) */
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 0;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-title {
    color: rgba(255, 255, 255, 0.95) !important; /* Slightly brighter on hover */
}

/* Blog Description */
.blog-desc {
    color: rgba(255, 255, 255, 0.75); /* Slightly more faded than title */
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 25px;
}

/* Blog Footer */
.blog-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more {
    color: #4da6ff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    letter-spacing: 0.5px;
}

    .read-more:hover {
        color: #80ccff;
        text-decoration: none;
        transform: translateX(3px);
    }

    .read-more::after {
        content: "→";
        margin-left: 8px;
        transition: transform 0.2s ease;
    }

    .read-more:hover::after {
        transform: translateX(5px);
    }

/* =========================================
   Responsive Design
========================================= */

@media (max-width: 1200px) {
    .whats-new-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 34px;
    }

    .blog-card {
        padding: 22px;
    }

    .blog-image-container {
        height: 160px;
    }

    .blog-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 992px) {
    .whats-new-section {
        padding: 40px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 30px;
        letter-spacing: 2.5px;
    }

    .blog-card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .blog-image-container {
        height: 150px;
        margin-bottom: 18px;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blog-desc {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .whats-new-section {
        padding: 35px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-title {
        font-size: 28px;
        letter-spacing: 2px;
        margin-bottom: 25px;
    }

        .section-title::after {
            width: 70px;
            height: 3px;
            margin-top: 12px;
        }

    .blog-card {
        padding: 18px;
        margin-bottom: 15px;
    }

    .blog-image-container {
        height: 140px;
        margin-bottom: 15px;
    }

    .blog-meta {
        gap: 8px;
        margin-bottom: 8px;
    }

    .blog-tag,
    .blog-date {
        font-size: 0.75rem;
        padding: 4px 12px;
    }

    .blog-title {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .blog-desc {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .blog-footer {
        padding-top: 15px;
    }

    .read-more {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .whats-new-section {
        padding: 30px 15px;
    }

    .section-heading {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 26px;
        letter-spacing: 1.5px;
        margin-bottom: 20px;
    }

        .section-title::after {
            width: 60px;
            height: 2.5px;
            margin-top: 10px;
        }

    .row.g-4 {
        --bs-gutter-y: 1rem;
    }

    .blog-card {
        padding: 16px;
        margin-bottom: 1rem;
    }

    .blog-image-container {
        height: 130px;
        margin-bottom: 12px;
    }

    .blog-meta {
        gap: 6px;
        margin-bottom: 8px;
    }

    .blog-tag,
    .blog-date {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .blog-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .blog-desc {
        font-size: 0.82rem;
    }

    .read-more {
        font-size: 0.85rem;
    }
}

/* Fix for potential container overflow */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Ensure no horizontal overflow */
.row {
    margin-left: 0;
    margin-right: 0;
}

/* Fix for column padding */
.col-lg-4, .col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}

/* Clear any Bootstrap defaults that might cause overlapping */
* {
    box-sizing: border-box;
}

/* Additional fix for mobile screens */
@media (max-width: 480px) {
    .whats-new-section {
        padding: 25px 12px;
    }

    .blog-card {
        padding: 14px;
    }

    .blog-image-container {
        height: 120px;
    }

    .blog-meta {
        gap: 5px;
        margin-bottom: 6px;
    }

    .blog-tag,
    .blog-date {
        font-size: 0.65rem;
        padding: 2px 8px;
    }

    .blog-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .blog-desc {
        font-size: 0.8rem;
    }
}
/* ===== Page Header Dark Theme ===== */

.page-header .bg-white {
    background: #000 !important; /* black background */
    border-radius: 8px; /* optional - cleaner look */
}

/* breadcrumb links (Home / Pages) */
.page-header .breadcrumb-item a {
    color: #ffaf00 !important; /* orange */
    font-weight: 500;
}

    /* hover */
    .page-header .breadcrumb-item a:hover {
        color: #ffc933 !important;
    }

/* current page text */
.page-header .breadcrumb-item.active,
.page-header .breadcrumb-item {
    color: #aaa !important;
}

/* heading color */
.page-header h1 {
    color: #fff;
}
/* Remove underline indicator only for Pages dropdown */
.pages-mega > .dropdown-toggle::after {
    display: none !important;
    content: none !important;
}
/* =====================================
   SERVICES — ACCENTURE STYLE (WORKING)
   ===================================== */

/* Reduce gap from carousel */
.service {
    padding-top: 1.5rem !important;
}

/* ---------- DESKTOP ---------- */
@media (min-width: 769px) {
    .service-scroll {
        overflow: visible;
    }

    .service-row {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .service-col {
        width: 100%;
    }
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
    .service-scroll {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-left: 1rem;
    }

        .service-scroll::-webkit-scrollbar {
            display: none;
        }

    .service-row {
        display: flex;
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .service-col {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }

    /* FURTHER INCREASED HEIGHT FOR MOBILE */
    .service-card {
        height: 420px;
    }
}

/* ===============================
   MOBILE — PULL SERVICES UP
   =============================== */
@media (max-width: 768px) {
    .service {
        margin-top: -3rem; /* ← adjust: -2.5rem / -3rem / -4rem */
    }
}

/* Add this line to reduce carousel bottom margin */
.container-fluid.p-0.mb-6 {
    margin-bottom: 0 !important;
}

/* ===============================
   ACCENTURE STYLE SERVICE CARDS
   =============================== */

/* FURTHER INCREASED HEIGHT FOR DESKTOP */
.service-card {
    position: relative;
    height: 450px; /* Increased from 400px */
    overflow: hidden;
    background: #000;
}

    /* Image */
    .service-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* Title before hover - HORIZONTAL CENTERING ONLY - IMPROVED */
.service-title {
    position: absolute;
    top: 2.5rem; /* Keep at top position */
    left: 0;
    right: 0;
    z-index: 2;
    color: #fff; /* Default white for all cards */
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.4s ease;
    text-align: center;
    padding: 0 1rem;
    margin: 0 auto;
    width: 90%; /* Reduced from 100% to allow better control */
    white-space: normal; /* Allow natural wrapping */
    line-height: 1.4;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem; /* Minimum height to prevent overlap */
}

/* SPECIAL STYLING FOR SELECTED CARDS TITLE (before hover) */
/* Cards 1, 5, 6, 7 */
.service-row .service-col:nth-child(1) .service-title,
.service-row .service-col:nth-child(5) .service-title,
.service-row .service-col:nth-child(6) .service-title,
.service-row .service-col:nth-child(7) .service-title {
    color: #000000 !important; /* Black text for selected cards */
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3); /* Light shadow for visibility */
}

/* Overlay (hidden initially) */
.service-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92); /* Default dark overlay */
    padding: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.6s ease;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* SPECIAL OVERLAY FOR SELECTED CARDS */
/* Cards 1, 5, 6, 7 */
.service-row .service-col:nth-child(1) .service-overlay,
.service-row .service-col:nth-child(5) .service-overlay,
.service-row .service-col:nth-child(6) .service-overlay,
.service-row .service-col:nth-child(7) .service-overlay {
    background: #f1f1ef !important; /* Light gray background for selected cards */
}

/* Hover behavior */
.service-card:hover .service-overlay {
    transform: translateX(0);
}

.service-card:hover .service-title {
    opacity: 0;
}

/* Overlay content */
.service-overlay h5 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* SPECIAL TEXT COLOR FOR SELECTED CARDS OVERLAY */
/* Cards 1, 5, 6, 7 */
.service-row .service-col:nth-child(1) .service-overlay h5,
.service-row .service-col:nth-child(5) .service-overlay h5,
.service-row .service-col:nth-child(6) .service-overlay h5,
.service-row .service-col:nth-child(7) .service-overlay h5,
.service-row .service-col:nth-child(1) .service-overlay p,
.service-row .service-col:nth-child(5) .service-overlay p,
.service-row .service-col:nth-child(6) .service-overlay p,
.service-row .service-col:nth-child(7) .service-overlay p,
.service-row .service-col:nth-child(1) .service-expand,
.service-row .service-col:nth-child(5) .service-expand,
.service-row .service-col:nth-child(6) .service-expand,
.service-row .service-col:nth-child(7) .service-expand {
    color: #000000 !important; /* Black text for selected cards */
}

/* REDUCED PARAGRAPH TEXT SIZE */
.service-overlay p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Expand link — NO BOX */
.service-expand {
    position: absolute;
    right: 2.5rem;
    bottom: 2.5rem;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

    /* Orange underline animation - DEFAULT */
    .service-expand::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: #fbac04;
        transition: width 0.3s ease;
    }

/* DARK UNDERLINE FOR SELECTED CARDS */
/* Cards 1, 5, 6, 7 */
.service-row .service-col:nth-child(1) .service-expand::after,
.service-row .service-col:nth-child(5) .service-expand::after,
.service-row .service-col:nth-child(6) .service-expand::after,
.service-row .service-col:nth-child(7) .service-expand::after {
    background: #333333 !important; /* Dark gray underline for selected cards */
}

.service-expand:hover::after {
    width: 100%;
}

/* Reduce gap between carousel and service section */
.service {
    padding-top: 2rem !important;
}

    /* Remove unnecessary vertical offset */
    .service .service-item,
    .service .service-inner {
        margin-top: 0 !important;
    }

.carousel-inner {
    overflow: hidden;
}

/* ===============================
   SERVICE CARDS LOAD ANIMATION
================================ */
.service-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

    .service-card.show {
        opacity: 1;
        transform: translateY(0);
    }

/* ===============================
   DESKTOP - 2 ROWS FOR 8 CARDS
   =============================== */
@media (min-width: 769px) {
    .service-row {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(2, auto);
        gap: 1.5rem;
    }
}

/* ===============================
   TABLET - 2 CARDS PER ROW
   =============================== */
@media (min-width: 481px) and (max-width: 768px) {
    .service-scroll {
        overflow-x: hidden; /* Disable horizontal scroll on tablet */
        padding-left: 0;
    }

    .service-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, auto);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .service-col {
        flex: none;
        width: 100%;
        scroll-snap-align: none;
    }

    .service-card {
        height: 380px; /* Adjusted for tablet */
    }

    .service-title {
        top: 2rem;
        width: 85%;
        font-size: 0.85rem; /* Slightly smaller on tablet */
    }
}

/* ===============================
   MOBILE PARAGRAPH SIZE ADJUSTMENT
   =============================== */
@media (max-width: 768px) {
    .service-overlay p {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 1rem;
    }

    .service-overlay h5 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .service-overlay {
        padding: 1.5rem;
    }

    /* Center alignment adjustment for mobile */
    .service-title {
        top: 2rem;
        width: 90%;
        font-size: 0.8rem; /* Slightly smaller on mobile */
        line-height: 1.3;
        min-height: 3rem; /* More space for wrapping */
        display: block; /* Change back to block for mobile */
        padding-top: 0.5rem; /* Add some top padding */
    }

    /* Special selected cards styling for mobile */
    .service-row .service-col:nth-child(1) .service-title,
    .service-row .service-col:nth-child(5) .service-title,
    .service-row .service-col:nth-child(6) .service-title,
    .service-row .service-col:nth-child(7) .service-title {
        text-shadow: 0 1px 5px rgba(255, 255, 255, 0.5); /* Stronger shadow on mobile */
    }
}

/* ===============================
   LARGE DESKTOP ADJUSTMENTS
   =============================== */
@media (min-width: 1200px) {
    .service-title {
        font-size: 1rem;
        letter-spacing: 1.5px;
        top: 3rem;
        width: 85%;
    }
}

/* ===============================
   SMALL DESKTOP/LAPTOP ADJUSTMENTS
   =============================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-title {
        top: 2rem;
        width: 85%;
        font-size: 0.85rem; /* Slightly smaller on medium screens */
    }
}

/* ===============================
   TEXT ADJUSTMENTS FOR LONGER TITLES
   =============================== */
/* Adjust specific cards with longer titles */
.service-row .service-col:nth-child(3) .service-title,
.service-row .service-col:nth-child(7) .service-title,
.service-row .service-col:nth-child(8) .service-title {
    width: 95%; /* Give more width for longer titles */
    padding: 0 0.5rem; /* Reduce padding for more text space */
    line-height: 1.3; /* Tighter line height */
}

/* Desktop specific adjustment for longer titles */
@media (min-width: 769px) {
    .service-row .service-col:nth-child(3) .service-title,
    .service-row .service-col:nth-child(7) .service-title,
    .service-row .service-col:nth-child(8) .service-title {
        font-size: 0.85rem; /* Slightly smaller for long titles */
        letter-spacing: 0.8px; /* Reduce letter spacing */
    }
}

/* Mobile adjustment for longer titles */
@media (max-width: 768px) {
    .service-row .service-col:nth-child(3) .service-title,
    .service-row .service-col:nth-child(7) .service-title,
    .service-row .service-col:nth-child(8) .service-title {
        width: 95%;
        font-size: 0.75rem; /* Even smaller on mobile for long titles */
        min-height: 3.5rem; /* More space for wrapping */
    }
}

/* ===============================
   FLEXBOX CENTERING FALLBACK
   =============================== */
/* This ensures perfect centering even with wrapped text */
.service-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
/* ===============================
   UNIFORM TITLE FONT SIZE (1–8)
   =============================== */

.service-title {
    font-size: 0.9rem !important; /* Same for all 8 cards */
    line-height: 1.4;
    letter-spacing: 1px;
}
/* Allow logo to overflow navbar */
.navbar-custom {
    position: relative;
    overflow: visible; /* IMPORTANT */
}

/* Make logo bigger and above everything */
.topbar-logo {
    height: 65px;
    width: auto;
    position: relative;
    top: 25px; /* Push logo slightly DOWN instead */
    z-index: 10000;
}

.navbar-custom .container,
.navbar-custom .d-flex {
    overflow: visible;
}
.navbar-custom {
    position: relative;
    padding-top: 10px; /* Gives space so logo doesn’t cut */
    overflow: visible;
}
/* ------------------------------------------------
           BLOG DETAIL – DNG DARK THEME (ORANGE ACCENTS)
        ------------------------------------------------ */
:root {
    --dng-orange: #ffaf00;
    --dng-orange-light: #ffc933;
    --dng-dark: #000000;
    --dng-darker: #0a0a0a;
    --dng-gray: #1a1a1a;
    --dng-text: #e0e0e0;
    --dng-text-muted: #aaaaaa;
    --dng-border: rgba(255, 175, 0, 0.2);
}

body {
    background-color: #000;
    color: #fff;
}

/* Blog Detail Main */
.blog-detail-main {
    background: #000;
    padding: 60px 0 80px;
}

.blog-detail-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 175, 0, 0.15);
    padding-bottom: 25px;
}

.blog-detail-tag {
    display: inline-block;
    background: rgba(255, 175, 0, 0.12);
    color: var(--dng-orange);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    border-left: 3px solid var(--dng-orange);
}

.blog-detail-date {
    display: inline-block;
    margin-left: 15px;
    color: var(--dng-text-muted);
    font-size: 0.9rem;
}

.blog-detail-title {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    margin: 15px 0 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.blog-detail-meta {
    display: flex;
    gap: 25px;
    color: var(--dng-text-muted);
    font-size: 0.95rem;
    align-items: center;
}

    .blog-detail-meta i {
        color: var(--dng-orange);
        margin-right: 6px;
    }

/* ---------- TWO CLASSROOM IMAGES – TOP, ZOOM ON HOVER ---------- */
.top-dual-images {
    display: flex;
    gap: 25px;
    margin: 30px 0 40px;
}

    .top-dual-images .image-card {
        flex: 1;
        position: relative;
        overflow: hidden;
        border-radius: 8px;
        border: 1px solid #333;
        transition: border-color 0.3s ease;
    }

        .top-dual-images .image-card:hover {
            border-color: var(--dng-orange);
        }

    .top-dual-images img {
        width: 100%;
        height: 260px;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease, filter 0.3s ease;
    }

    .top-dual-images .image-card:hover img {
        transform: scale(1.07);
        filter: brightness(1.1);
    }

/* Optional subtle caption */
.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 15px 12px 10px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-card:hover .image-caption {
    opacity: 1;
}

/* Blog content images */
.blog-detail-content {
    color: var(--dng-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

    .blog-detail-content h2 {
        color: #fff;
        font-size: 1.9rem;
        font-weight: 700;
        margin: 50px 0 20px;
        position: relative;
        padding-bottom: 15px;
    }

        .blog-detail-content h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 70px;
            height: 3px;
            background: linear-gradient(90deg, var(--dng-orange), var(--dng-orange-light));
        }

    .blog-detail-content h3 {
        color: rgba(255,255,255,0.9);
        font-size: 1.5rem;
        font-weight: 600;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .blog-detail-content p {
        margin-bottom: 1.5rem;
    }

    .blog-detail-content .lead {
        font-size: 1.25rem;
        font-weight: 400;
        color: #ddd;
        border-left: 4px solid var(--dng-orange);
        padding-left: 20px;
        margin-bottom: 40px;
    }

/* Additional image styling (diagrams, etc.) */
.blog-image-figure {
    margin: 40px 0;
    text-align: center;
}

    .blog-image-figure img {
        border-radius: 8px;
        border: 1px solid #333;
        box-shadow: 0 10px 20px rgba(0,0,0,0.6);
    }

    .blog-image-figure figcaption {
        margin-top: 12px;
        color: #aaa;
        font-size: 0.85rem;
        font-style: italic;
    }

.dual-image-row {
    display: flex;
    gap: 25px;
    margin: 40px 0;
}

.dual-image-col {
    flex: 1;
}

    .dual-image-col img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        border: 1px solid #333;
        transition: transform 0.3s ease;
    }

        .dual-image-col img:hover {
            transform: scale(1.02);
            border-color: var(--dng-orange);
        }

/* Blog Footer */
.blog-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,175,0,0.15);
}

.tags .tag-label {
    color: #fff;
    font-weight: 600;
    margin-right: 15px;
}

.tags a {
    display: inline-block;
    background: #1a1a1a;
    color: #ccc;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-decoration: none;
    margin-right: 8px;
    border: 1px solid #333;
    transition: all 0.2s ease;
}

    .tags a:hover {
        background: var(--dng-orange);
        color: #000;
        border-color: var(--dng-orange);
    }

.share span {
    color: #fff;
    font-weight: 600;
    margin-right: 15px;
}

.share a {
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #1a1a1a;
    border-radius: 50%;
    color: var(--dng-orange);
    text-align: center;
    line-height: 36px;
    margin-left: 8px;
    transition: all 0.2s ease;
    border: 1px solid #333;
}

    .share a:hover {
        background: var(--dng-orange);
        color: #000;
        border-color: var(--dng-orange);
    }

/* Author Bio */
.author-bio {
    display: flex;
    align-items: center;
    background: #0c0c0c;
    padding: 35px;
    margin-top: 50px;
    border-radius: 12px;
    border-left: 5px solid var(--dng-orange);
    border: 1px solid rgba(255,175,0,0.1);
}

.author-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dng-orange), var(--dng-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

.author-initials {
    color: #000;
    font-weight: 800;
    font-size: 1.8rem;
}

.author-info h5 {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.author-info p {
    color: #bbb;
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 992px) {
    .blog-detail-title {
        font-size: 2.2rem;
    }

    .top-dual-images {
        flex-direction: column;
    }

    .dual-image-row {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .blog-detail-main {
        padding: 40px 0;
    }

    .blog-detail-title {
        font-size: 1.8rem;
    }

    .blog-detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .blog-detail-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .author-avatar {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .top-dual-images img {
        height: 220px;
    }
}

@media (max-width: 576px) {
    .blog-detail-title {
        font-size: 1.5rem;
    }

    .top-dual-images img {
        height: 180px;
    }
}

/* Page Header – Dark override */
.page-header .bg-white {
    background: #000 !important;
    border: 1px solid rgba(255,175,0,0.2);
}

.page-header h1,
.page-header .breadcrumb-item a {
    color: #fff !important;
}

.page-header .breadcrumb-item.active {
    color: #ffaf00 !important;
}
/* Reduce size of architecture diagram */
.blog-image-figure img {
    max-width: 70%; /* Shrinks to 80% of container – adjust % or use px */
    margin: 0 auto; /* Centers the image */
    display: block; /* Ensures margin auto works */
}
/* SINGLE CENTER IMAGE – MATCH TOP STYLE */
.single-image-center {
    max-width: 520px; /* smaller width */
    margin: 40px auto;
    position: relative;
}

    .single-image-center img {
        width: 100%;
        height: 500px; /* same feel as top images */
        object-fit: cover;
        border-radius: 8px;
        border: 1px solid #333;
        display: block;
        transition: transform 0.5s ease, filter 0.3s ease, border-color 0.3s ease;
    }

    /* Hover effect (same as upper images) */
    .single-image-center:hover img {
        transform: scale(1.07);
        filter: brightness(1.1);
        border-color: var(--dng-orange);
    }

    /* Caption styling */
    .single-image-center p {
        color: #aaa;
        font-size: 0.8rem;
        margin-top: 10px;
        text-align: center;
    }
/* ===============================
   PROFESSIONAL SOCIAL ICON STYLE
=============================== */

.navbar-custom .btn-sm-square,
.navbar .btn-sm-square, /* ✅ ADDED for mobile */
.footer .btn-sm-square {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 8px;
    color: #ffaf00 !important;
    font-size: 14px;
    transition: all 0.25s ease;
}

    /* Hover */
    .navbar-custom .btn-sm-square:hover,
    .navbar .btn-sm-square:hover, /* ✅ ADDED for mobile */
    .footer .btn-sm-square:hover {
        background: #ffaf00;
        color: #000 !important;
        transform: translateY(-2px);
    }
/* Software Development Page Styles - Orange Gradient Only */
:root {
    --dng-orange: #fbac04;
    --dng-orange-light: #ffd166;
    --dng-orange-faint: rgba(251, 172, 4, 0.1);
    --dng-orange-faint: rgba(251, 172, 4, 0.2);
    --dng-dark: #000000;
    --dng-light: #1a1a1a;
    --dng-gray: #cccccc;
    --dng-off-white: #f5f5f5;
    --gradient-orange: linear-gradient(90deg, var(--dng-orange), var(--dng-orange-light));
    --gradient-orange-faint: linear-gradient(90deg, var(--dng-orange), transparent);
}

/* Software Development Hero Section */
.software-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.9)), url('img/service-1.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    position: relative;
    overflow: hidden;
}

    .software-hero::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        animation: orangeSlide 3s ease-in-out infinite alternate;
    }

@keyframes orangeSlide {
    0% {
        background-position: 0% 50%;
        background: linear-gradient(90deg, var(--dng-orange), var(--dng-orange-light));
    }

    50% {
        background-position: 50% 50%;
        background: linear-gradient(90deg, var(--dng-orange-light), var(--dng-orange));
    }

    100% {
        background-position: 100% 50%;
        background: linear-gradient(90deg, var(--dng-orange), var(--dng-orange-light));
    }
}

.software-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.software-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: var(--dng-off-white);
    text-shadow: 0 2px 10px rgba(251, 172, 4, 0.3);
}

.software-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: var(--dng-gray);
}

/* Main Layout with Sidebar */
.main-report-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: flex-start;
}

.report-main-content {
    flex: 1;
    min-width: 300px;
}

.report-sidebar {
    flex: 0 0 380px;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(251, 172, 4, 0.1);
}

    .report-sidebar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        background-size: 200% 100%;
        animation: orangeSlide 3s ease-in-out infinite alternate;
    }

/* Sidebar Content */
.sidebar-category {
    display: inline-block;
    color: var(--dng-orange);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding: 4px 12px;
    background: rgba(251, 172, 4, 0.1);
    border-radius: 4px;
    border-left: 3px solid var(--dng-orange);
}

.sidebar-title {
    color: var(--dng-off-white);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.sidebar-subtitle {
    color: var(--dng-gray);
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 20px;
}

.sidebar-meta {
    color: var(--dng-gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(251, 172, 4, 0.1);
}

.read-time {
    display: flex;
    align-items: center;
    color: var(--dng-orange);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(251, 172, 4, 0.2);
}

    .read-time::before {
        content: '⏱️';
        margin-right: 8px;
    }

/* Authors Section */
.authors-section {
    margin-top: 30px;
}

.authors-title {
    color: var(--dng-off-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 10px;
}

    .authors-title::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 2px;
        background: var(--dng-orange);
    }

.author-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(251, 172, 4, 0.1);
}

    .author-item:last-child {
        border-bottom: none;
    }

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--dng-orange), var(--dng-orange-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.author-initials {
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--dng-off-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.author-role {
    color: var(--dng-orange-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Main Content */
.report-main-header {
    margin-bottom: 40px;
}

    .report-main-header h2 {
        color: var(--dng-off-white);
        font-size: 2.5rem;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 20px;
        max-width: 800px;
        position: relative;
        padding-bottom: 20px;
    }

        .report-main-header h2::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100px;
            height: 3px;
            background: var(--gradient-orange);
            animation: orangeSlide 3s ease-in-out infinite alternate;
        }

.report-intro {
    color: var(--dng-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 800px;
}

/* In Brief Section */
.in-brief-section {
    background: #222222;
    padding: 40px;
    margin: 40px 0;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    border-left: 4px solid var(--dng-orange);
}

    .in-brief-section::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--gradient-orange);
        background-size: 100% 200%;
        animation: orangeVertical 4s ease-in-out infinite alternate;
    }

@keyframes orangeVertical {
    0% {
        background-position: 0% 0%;
        background: linear-gradient(to bottom, var(--dng-orange), var(--dng-orange-light));
    }

    50% {
        background-position: 0% 50%;
        background: linear-gradient(to bottom, var(--dng-orange-light), var(--dng-orange));
    }

    100% {
        background-position: 0% 100%;
        background: linear-gradient(to bottom, var(--dng-orange), var(--dng-orange-light));
    }
}

.in-brief-section h3 {
    color: var(--dng-off-white);
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.in-brief-list {
    list-style: none;
    padding: 0;
}

    .in-brief-list li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 15px;
        line-height: 1.6;
        color: var(--dng-gray);
    }

        .in-brief-list li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--dng-orange);
            font-weight: bold;
        }

        .in-brief-list li strong {
            color: var(--dng-orange);
        }

/* ============ FULL WIDTH CONCEPT COLUMNS ============ */
/* New section: full width, centered columns */
.software-concept-fullwidth {
    width: 100%;
    background: #111111; /* match the dark theme */
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

    .software-concept-fullwidth::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        background-size: 200% 100%;
        animation: orangeSlide 3s ease-in-out infinite alternate;
    }

.concept-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Concept Columns - now inside full-width centered container */
.concept-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    justify-content: center; /* center the columns horizontally */
}

.concept-column {
    flex: 0 0 calc(50% - 20px); /* exactly half minus half the gap */
    min-width: 300px; /* fallback */
    background: #1a1a1a;
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(251, 172, 4, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

    .concept-column:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(251, 172, 4, 0.1);
        border-color: rgba(251, 172, 4, 0.2);
    }

    .concept-column h3 {
        color: var(--dng-off-white);
        font-size: 1.8rem;
        margin-bottom: 20px;
        font-weight: 700;
        position: relative;
        padding-bottom: 15px;
    }

        .concept-column h3::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 60px;
            height: 3px;
            background: var(--gradient-orange);
        }

    .concept-column p {
        color: var(--dng-gray);
        line-height: 1.7;
        margin-bottom: 1.5rem;
    }

/* Stats Section */
.stats-section {
    background: #111111;
    color: var(--dng-off-white);
    padding: 80px 0;
    position: relative;
}

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        background-size: 200% 100%;
        animation: orangeSlide 3s ease-in-out infinite alternate;
    }

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dng-off-white);
}

.stats-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dng-gray);
    margin-bottom: 60px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stats-card {
    background: #1a1a1a;
    padding: 40px 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(251, 172, 4, 0.1);
    transition: all 0.3s ease;
}

    .stats-card:hover {
        transform: translateY(-10px);
        border-color: rgba(251, 172, 4, 0.3);
        box-shadow: 0 15px 30px rgba(251, 172, 4, 0.1);
    }

.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--dng-orange);
    margin-bottom: 10px;
    line-height: 1;
}

.stats-label {
    font-size: 1.1rem;
    color: var(--dng-off-white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Grid */
.services-grid {
    padding: 80px 0;
    background: #111111;
    position: relative;
}

    .services-grid::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        background-size: 200% 100%;
        animation: orangeSlide 3s ease-in-out infinite alternate;
    }

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dng-off-white);
}

.services-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dng-gray);
    margin-bottom: 60px;
}

.services-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-feature-card {
    background: #1a1a1a;
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid rgba(251, 172, 4, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .service-feature-card:hover {
        transform: translateY(-10px);
        border-color: rgba(251, 172, 4, 0.3);
        box-shadow: 0 15px 30px rgba(251, 172, 4, 0.1);
    }

    .service-feature-card .icon {
        font-size: 3rem;
        color: var(--dng-orange);
        margin-bottom: 1.5rem;
    }

    .service-feature-card h4 {
        color: var(--dng-off-white);
        font-size: 1.5rem;
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .service-feature-card p {
        color: var(--dng-gray);
        line-height: 1.6;
    }

/* Technology Stack Section */
.tech-stack-section {
    padding: 80px 0;
    background: #1a1a1a;
    position: relative;
}

    .tech-stack-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--gradient-orange);
        background-size: 200% 100%;
        animation: orangeSlide 3s ease-in-out infinite alternate;
    }

.tech-stack-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 60px;
}

.tech-stack-content {
    flex: 1;
    min-width: 300px;
}

.tech-stack-image {
    flex: 1;
    min-width: 300px;
}

    .tech-stack-image img {
        width: 100%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

.tech-stack-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--dng-off-white);
}

.tech-stack-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--dng-gray);
    margin-bottom: 2rem;
}

.tech-stack-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 2rem;
}

.tech-item {
    display: flex;
    align-items: center;
    color: var(--dng-gray);
}

    .tech-item i {
        color: var(--dng-orange);
        margin-right: 10px;
        font-size: 1.1rem;
    }

/* Responsive Design */
@media (max-width: 1200px) {
    .main-report-layout {
        padding: 60px 20px;
    }
}

@media (max-width: 992px) {
    .main-report-layout {
        flex-direction: column;
        gap: 40px;
    }

    .report-sidebar {
        flex: 0 0 100%;
        width: 100%;
    }

    .report-main-header h2 {
        font-size: 2rem;
    }

    .sidebar-title {
        font-size: 1.5rem;
    }

    .tech-stack-container {
        flex-direction: column;
    }

    .services-cards {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    /* On tablet, concept columns stack */
    .concept-column {
        flex: 0 0 100%; /* full width on smaller screens */
    }
}

@media (max-width: 768px) {
    .software-hero h1 {
        font-size: 2.5rem;
    }

    .report-main-header h2 {
        font-size: 1.8rem;
    }

    .sidebar-title {
        font-size: 1.3rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .services-cards {
        grid-template-columns: 1fr;
    }

    .tech-stack-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .software-hero h1 {
        font-size: 2rem;
    }

    .report-sidebar {
        padding: 30px 20px;
    }

    .in-brief-section {
        padding: 30px 20px;
    }

    .stats-title,
    .services-title,
    .tech-stack-title {
        font-size: 2rem;
    }
}

/* Author item hover effect */
.author-item:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
    background: rgba(251, 172, 4, 0.05);
    padding: 10px;
    border-radius: 6px;
    margin-left: -10px;
}

/* Orange only gradient for all lines */
.gradient-line {
    height: 2px;
    background: var(--gradient-orange);
    animation: orangeSlide 3s ease-in-out infinite alternate;
}
/* ===============================
   SOFTWARE HERO WITH BACKGROUND
=============================== */

.software-hero {
    position: relative;
    padding: 120px 0;
    background: url("../img/services.png") center/cover no-repeat;
    overflow: hidden;
}

    /* Dark overlay (the black fade you want) */
    .software-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        /* premium black fade */
        background: linear-gradient( to bottom, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.88) );
        z-index: 1;
    }

/* Keep text above overlay */
.software-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Heading glow (optional but 🔥) */
.software-hero h1 {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 0 25px rgba(255, 175, 0, 0.25);
}

.software-hero p {
    color: #d0d0d0;
    max-width: 850px;
    margin: auto;
}
/* ===============================
   MOBILE MEGA MENU STYLING
================================ */

.mobile-heading {
    color: #ffaf00;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}


.container-fluid.service.pt-6.pb-6 {
    background-color: #ffffff !important;
}
/* Border for Service Card 1 and Card 6 */
.service-row .service-col:nth-child(1) .service-card,
.service-row .service-col:nth-child(6) .service-card {
    border: 2px solid #C6C4DF;
}
.service-row .service-col:nth-child(1) .service-title{
    background-color: #C6C4DF;
}
/* Make the carousel wrapper background white */
.container-fluid.p-0.mb-0 {
    background-color: #ffffff !important;
}

/* Also ensure the carousel itself has no conflicting background */
#header-carousel,
#header-carousel .carousel-inner,
#header-carousel .carousel-item {
    background-color: #ffffff !important;
}
.seo-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (max-width: 768px) {
    /* Remove bottom margin and add black padding */
    .container-fluid.p-0.mb-6 {
        margin-bottom: 0 !important;
        padding-bottom: 36px !important; /* Adjust this value */
        background-color: #000 !important;
    }

    /* Optional: ensure body is black (already set) */
    body {
        background-color: #000;
    }
}
/* ===============================
   PRODUCTS PAGE
================================ */

.product-item {
    margin-bottom: 3rem;
}

.product-card {
    background: #111;
    padding: 2.5rem;
    border-left: 5px solid #ffaf00;
    border-radius: 0 10px 10px 0;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: .3s;
}

    .product-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(255,175,0,.18);
    }

.product-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
}

.product-subtitle {
    color: #ffaf00;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: .85rem;
    margin-bottom: 1rem;
}

.product-description {
    color: #cfcfcf;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* badges */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-bottom: 1.5rem;
}

.feature-badge {
    background: rgba(255,175,0,.12);
    color: #ffaf00;
    padding: .35rem .9rem;
    border-radius: 30px;
    font-size: .8rem;
    border: 1px solid rgba(255,175,0,.25);
}

/* link */
.product-link {
    color: #ffaf00;
    font-weight: 600;
    text-decoration: none;
}

    .product-link:hover {
        color: #fff;
    }

/* sidebar */
.sidebar-widget {
    margin-bottom: 2rem;
}

.widget-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 1rem;
    position: relative;
}

    .widget-title::after {
        content: '';
        width: 40px;
        height: 2px;
        background: #ffaf00;
        position: absolute;
        bottom: -6px;
        left: 0;
    }

/* search */
.search-input {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #444;
}

.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
}

/* KOT */
.kot-card {
    background: #111;
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,175,0,.15);
}



/* responsive */
@media(max-width:768px) {
    .product-card {
        padding: 1.5rem;
    }

    .product-title {
        font-size: 1.4rem;
    }
}
/* ===============================
   TOP SLIDE SEARCH PANEL
================================= */

.top-search {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 18, 25, 0.98);
    backdrop-filter: blur(6px);
    height: 0;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 9999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

    .top-search.active {
        height: 200px;
    }

.top-search-inner {
    max-width: 1200px;
    margin: 70px auto 0;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

    .top-search-inner input {
        flex: 1;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        color: #fff;
        font-size: 32px;
        padding: 10px 10px 10px 45px;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .top-search-inner input:focus {
            border-bottom: 1px solid #ffffff;
        }

        .top-search-inner input::placeholder {
            color: rgba(255, 255, 255, 0.6);
        }

.search-icon {
    position: absolute;
    left: 20px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.6);
}

.close-search {
    background: none;
    border: none;
    color: #fff;
    font-size: 30px;
    margin-left: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

    .close-search:hover {
        opacity: 0.7;
    }
/* Hide navbar when search is active */
.nav-hidden {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}
/* ===== CLOUD PAGE SPECIFIC STYLES ===== */
/* Background animated "TECHNOLOGY" text */
.bg-tech-text {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    font-size: 12vw;
    font-weight: 900;
    color: rgba(255, 175, 0, 0.15);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 10px;
    pointer-events: none;
    z-index: 1;
    animation: slideLoop 20s linear infinite;
    width: 100%;
    text-align: center;
    line-height: 1;
}

@keyframes slideLoop {
    0% {
        transform: translateY(-50%) translateX(-100%);
    }

    100% {
        transform: translateY(-50%) translateX(100%);
    }
}

@media (max-width: 768px) {
    .bg-tech-text {
        font-size: 15vw;
        letter-spacing: 5px;
    }
}

/* Page Header adjustments (cloud page) */
.page-header {
    background-size: cover;
    padding: 100px 0;
    position: relative;
    overflow: visible;
}

    .page-header .bg-white {
        background: #000 !important;
        border-radius: 8px;
        position: relative;
        z-index: 2;
    }

/* Stats section (cloud page) */
.stats-section {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,175,0,0.1);
    border-bottom: 1px solid rgba(255,175,0,0.1);
}

/* Text color overrides for cloud page */
.text-secondary {
    color: #ccc !important;
}

/* Orange primary button (if not already set globally) */
.btn-primary {
    background-color: #ffaf00 !important;
    border-color: #ffaf00 !important;
    color: #000000 !important;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-primary:hover {
        background-color: #e69500 !important;
        border-color: #e69500 !important;
        color: #000000 !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 175, 0, 0.3);
    }

/* Smooth scrolling (optional global) */
html {
    scroll-behavior: smooth;
}

/* Cloud service row overrides (card titles and borders) */
.cloud-service-row .service-col:nth-child(1) .service-card,
.cloud-service-row .service-col:nth-child(6) .service-card {
    border: none !important;
}

.cloud-service-row .service-col:nth-child(1) .service-title {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cloud-service-row .service-col:nth-child(8) .service-title {
    color: #000000 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.3);
}

/* Heading color overrides for cloud page */
.container .col-lg-6 h2.display-5,
#cloud-services.display-5,
.container .col-md-6 h2.display-6,
.container.text-center h2.display-5 {
    color: #707070 !important;
}

    .container .col-lg-6 h2.display-5 .text-dng {
        color: #ffaf00 !important;
    }
/* ===== OVERRIDE INDEX-SPECIFIC STYLES FOR CLOUD PAGE ONLY ===== */
.cloud-service-row .service-col:nth-child(1) .service-card,
.cloud-service-row .service-col:nth-child(6) .service-card {
    border: none !important;
}

.cloud-service-row .service-col:nth-child(1) .service-title {
    background-color: transparent !important;
}
/* =============================================
   MOBILE HORIZONTAL SCROLL SLIDER FOR CLOUD CARDS
   ============================================= */
@media (max-width: 768px) {
    /* Make the row scrollable horizontally */
    .cloud-service-row.service-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 0 1rem 1rem 1rem; /* optional padding for visual comfort */
        margin: 0 -1rem; /* optional to align with container edges */
        scrollbar-width: thin; /* optional slim scrollbar */
        scrollbar-color: #ffaf00 #222; /* orange thumb, dark track */
    }

        /* Hide scrollbar in WebKit browsers (optional – keeps slider clean) */
        .cloud-service-row.service-row::-webkit-scrollbar {
            height: 4px;
        }

        .cloud-service-row.service-row::-webkit-scrollbar-track {
            background: #222;
        }

        .cloud-service-row.service-row::-webkit-scrollbar-thumb {
            background: #ffaf00;
            border-radius: 4px;
        }

    /* Each column becomes a slide */
    .cloud-service-row .service-col {
        flex: 0 0 85%; /* takes 85% of container width */
        max-width: 85%;
        scroll-snap-align: start;
    }

    /* Optional: adjust card height on very small screens */
    .cloud-service-row .service-card {
        height: 400px; /* slightly shorter for mobile */
    }

    /* Adjust overlay text for better readability */
    .cloud-service-row .service-overlay {
        padding: 1.5rem;
    }

        .cloud-service-row .service-overlay p {
            font-size: 0.8rem;
            line-height: 1.4;
        }

        .cloud-service-row .service-overlay h5 {
            font-size: 1rem;
        }
}
.footer-email {
    font-size: 14px; /* adjust size as needed */
}
#spinner .spinner-border {
    color: #ffaf00;
}
#spinner {
    background: #000;
}
/* Owl Carousel Dark Theme Customization of blog cards */
.blog-carousel.owl-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

    .blog-carousel.owl-carousel .owl-nav button {
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.05) !important;
        border: 1px solid #333 !important;
        border-radius: 50%;
        margin: 0 8px;
        color: #fff !important;
        font-size: 20px !important;
        transition: all 0.3s ease;
    }

        .blog-carousel.owl-carousel .owl-nav button:hover {
            background: #007bff !important;
            border-color: #007bff !important;
            color: #fff !important;
        }

.blog-carousel.owl-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

    .blog-carousel.owl-carousel .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
        background: rgba(255,255,255,0.2) !important;
        border-radius: 50%;
        margin: 0 5px;
        transition: all 0.3s ease;
    }

        .blog-carousel.owl-carousel .owl-dots .owl-dot.active {
            background: #007bff !important;
            width: 25px;
            border-radius: 10px;
        }

/* Remove default owl theme styles if they conflict */
.owl-theme .owl-nav [class*='owl-'] {
    background: transparent !important;
}
/* equal height blog cards */
.blog-carousel .blog-card {
    height: 620px;
    display: flex;
    flex-direction: column;
}

.blog-carousel .blog-desc {
    flex-grow: 1;
}

.blog-carousel .blog-footer {
    margin-top: auto;
}
.blog-image-container {
    height: 180px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}