/*
Template Name: Pakuya Consultancy
Author: Your Name
Version: 2.0 (Merged)
Description: Consolidated stylesheet combining style.css and style2.css
*/

/* ============================================================
   GOOGLE FONTS & ROOT VARIABLES
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Poppins:wght@200;300;400;500;600&display=swap');

:root {
    --primary: #003366;
    --secondary: #006633;
    --accent: #FFCC00;
    --dark: #212529;
    --light: #F8F9FA;
    --gray: #6C757D;
    --light-gray: #E9ECEF;
    --white: #FFFFFF;
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Bootstrap Variables */
    --bs-primary: #003A66;
    --bs-secondary: #008F5E;
    --bs-dark: #212529;
    --bs-light: #F8F9FA;
    --bs-white: #FFFFFF;
}

/* ============================================================
   GLOBAL STYLES
   ============================================================ */
body {
    font-family: var(--font-primary);
    color: var(--dark);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

a:hover {
    color: var(--secondary);
    text-decoration: none;
}

/* ============================================================
   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;
}

/* ============================================================
   BACK TO TOP BUTTON
   ============================================================ */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--dark);
    text-align: center;
    line-height: 50px;
    font-size: 20px;
    z-index: 99;
    transition: all 0.3s ease-in-out;
    align-items: center;
    justify-content: center;
}

.back-to-top:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

/* ============================================================
   BUTTON STYLES
   ============================================================ */
.btn {
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease-in-out;
    padding: 10px 25px;
    border-radius: 0;
    font-size: 14px;
    font-family: var(--font-secondary);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover, 
.btn-primary:focus {
    background-color: #002244;
    border-color: #002244;
    box-shadow: none;
    color: var(--white);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: none;
    font-weight: 400;
}

.btn-secondary:hover {
    color: var(--primary);
}

.btn-accent {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--dark);
}

.btn-accent:hover, 
.btn-accent:focus {
    background-color: #e6b800;
    border-color: #e6b800;
    color: var(--dark);
}

/* Square Button Styles */
.btn-square {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn-md-square {
    width: 44px;
    height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
    position: relative;
    margin-bottom: 60px;
    max-width: 900px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.section-title .sub-title {
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    padding: 0 15px;
    color: var(--primary);
}

.section-title .sub-title::before,
.section-title .sub-title::after {
    position: absolute;
    content: '';
    height: 2px;
    width: 30px;
    background: var(--primary);
    top: 50%;
    transform: translateY(-50%);
}

.section-title .sub-title::before {
    left: -30px;
}

.section-title .sub-title::after {
    right: -30px;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    bottom: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: -6px;
    margin-left: -100px;
    border: 1px solid var(--secondary);
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: -8px;
    margin-left: -50px;
    border: 1px solid var(--primary);
}

/* ============================================================
   TOPBAR
   ============================================================ */
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--primary);
}

.topbar a,
.topbar a i {
    color: var(--white);
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--secondary);
}

@media (max-width: 768px) {
    .topbar {
        display: none;    
    }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
    padding: 15px 0;
    transition: all 0.3s ease-in-out;
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    max-height: 60px;
    transition: .5s;
}

.navbar .navbar-brand span {
    color: var(--secondary);
}

.navbar .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 45px;
}

.navbar-light .navbar-nav .nav-link {
    font-family: var(--font-secondary);
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--primary);
    font-size: 17px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--primary);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--secondary);
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary);
    left: 15px;
    bottom: 5px;
    transition: all 0.3s ease-in-out;
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar .navbar-toggler {
    border: none;
    padding: 0;
    font-size: 24px;
    color: var(--primary);
}

.navbar .navbar-toggler:focus {
    box-shadow: none;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--primary);
    color: var(--secondary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--light);
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top {
        position: relative;
        background: var(--white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--primary);
        color: var(--primary);
    }

    .navbar-light .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top .navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark);
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 991.98px) {
    .sticky-top .navbar-light {
        background: var(--light);
    }

    .navbar-light .navbar-nav .nav-link:after,
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        top: 30px;
        bottom: 30px;
        left: 0px;
        width: 100%;
        height: 2px;
        background: var(--primary);
        opacity: 0;
        transition: all 0.5s;
    }

    .navbar-light .navbar-nav .nav-link:before {
        bottom: auto;
    }

    .navbar-light .navbar-nav .nav-link:after {
        top: auto;
    }

    .navbar-light .navbar-nav .nav-link:hover:before,
    .navbar-light .navbar-nav .nav-link.active:before {
        top: 20px;
        opacity: 1;
    }

    .navbar-light .navbar-nav .nav-link:hover::after,
    .navbar-light .navbar-nav .nav-link.active::after {
        bottom: 20px;
        opacity: 1;
    }
}

#searchModal .modal-content {
    background: rgba(240, 245, 251, 0.5);
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
#heroCarousel {
    width: 100%;
    position: relative;
}

#heroCarousel .carousel-inner {
    position: relative;
}

#heroCarousel .hero-slide {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex !important;
    align-items: center;
}

#heroCarousel .col-lg-6.d-none.d-lg-block {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#heroCarousel .col-lg-6.d-none.d-lg-block img {
    opacity: 0.5;
    border-radius: 50%;
    border: 12px solid var(--accent);
    max-width: 500px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    box-shadow: 0 20px 40px rgba(0, 51, 102, 0.3);
    transition: all 0.5s ease;
}

#heroCarousel .col-lg-6.d-none.d-lg-block img:hover {
    opacity: 0.7;
    border-color: var(--primary);
    transform: scale(1.05);
}

#heroCarousel .hero-content {
    animation: slideInUp 1s ease-out;
}

#heroCarousel .display-3 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    color:#DDDDDD;
}

#heroCarousel .lead {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
}

#heroCarousel .badge {
    font-size: 14px;
    padding: 8px 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    background-color: var(--accent) !important;
}

#heroCarousel .btn-outline-light {
    border-width: 2px;
    color: var(--white);
    border-color: var(--white);
    transition: all 0.4s ease;
}

#heroCarousel .btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

#heroCarousel .btn-primary {
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    text-transform: uppercase;
    font-size: 14px;
}

#heroCarousel .btn-primary:hover {
    background-color: #002244;
    border-color: #002244;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

#heroCarousel .btn-lg {
    padding: 14px 35px;
    font-size: 15px;
}

#heroCarousel .carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

#heroCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    margin: 0 8px;
}

#heroCarousel .carousel-indicators button.active {
    width: 32px;
    border-radius: 6px;
    background-color: var(--accent);
    border-color: var(--accent);
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 51, 102, 0.7);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
    margin: 0 20px;
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 1;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    background: var(--primary);
    opacity: 1;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 100%;
    height: 100%;
    background-size: 1.5rem;
}

#heroCarousel .carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

#heroCarousel .carousel-fade .carousel-item.active {
    opacity: 1;
}

.animated {
    animation-duration: 1s;
}

.fadeInLeft {
    animation-name: fadeInLeft;
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInRight {
    animation-name: fadeInRight;
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Hero Carousel */
@media (max-width: 768px) {
    #heroCarousel .hero-slide {
        min-height: 500px !important;
    }

    #heroCarousel .display-3 {
        font-size: 2rem;
    }

    #heroCarousel .lead {
        font-size: 0.95rem;
    }

    #heroCarousel .d-flex.gap-3 {
        flex-direction: column;
    }

    #heroCarousel .btn-lg {
        width: 100%;
    }

    #heroCarousel .carousel-control-prev,
    #heroCarousel .carousel-control-next {
        display: none;
    }

    #heroCarousel .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 6px;
    }

    #heroCarousel .carousel-indicators button.active {
        width: 25px;
    }
}

/* ============================================================
   HERO SECTION (Legacy)
   ============================================================ */
.hero-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../img/hero-bg.jpg') center center no-repeat;
    background-size: cover;
    color: var(--white);
    padding: 150px 0 100px;
    position: relative;
}

.hero-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-header p {
    font-size: 18px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-header .btn {
    padding: 12px 30px;
    font-weight: 600;
    letter-spacing: 1px;
}

/* Breadcrumb Hero Header */
.bg-breadcrumb,
.page-header {
    background: linear-gradient(rgba(0, 51, 102, 0.85), rgba(0, 102, 51, 0.85)), url(../img/breadcrumb.png) center center/cover no-repeat;
    background-attachment: fixed;
    padding: 100px 0 60px 0;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.page-header h1 {
    color: var(--white);
}

.page-header .breadcrumb {
    background-color: transparent;
    padding: 0;
    margin-top: 20px;
}

.page-header .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
}

.page-header .breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
}

.page-header .breadcrumb-item a {
    color: var(--white);
    transition: all 0.3s ease;
}

.page-header .breadcrumb-item a:hover {
    color: var(--accent);
}

/* ============================================================
   CAROUSEL HEADER
   ============================================================ */
.carousel-header .carousel-control-prev .carousel-control-prev-icon,
.carousel-header .carousel-control-next .carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    margin-left: -60px;
    border-radius: 50%;
    background-size: 60% 60%;
    transition: 0.5s;
}

.carousel-header .carousel-control-next .carousel-control-next-icon {
    margin-left: 0;
    margin-right: -60px;
}

.carousel-header .carousel .carousel-indicators {
    padding-bottom: 0;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li {
    width: 8px;
    height: 8px;
    border: 8px solid var(--primary);
    border-radius: 50%;
    margin-right: 30px;
    transition: 0.5s;
}

.carousel-header .carousel .carousel-indicators li.active {
    width: 8px;
    height: 8px;
    border: 8px solid var(--secondary);
}

.carousel-header .carousel-inner .carousel-item {
    position: relative;
    min-height: 100vh;
}

.carousel-header .carousel-inner .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-header .carousel-inner .carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, .6), rgba(0, 0, 0, 0.6));
    background-size: cover;
}

@media (max-width: 768px) {
    .carousel-header {
        height: 700px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon,
    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-top: 500px;
    }

    .carousel-header .carousel-control-prev .carousel-control-prev-icon {
        margin-left: 0px;
    }

    .carousel-header .carousel-control-next .carousel-control-next-icon {
        margin-right: 0px;
    }

    .carousel-header .carousel .carousel-indicators {
        padding: 0;
    }
}

/* ============================================================
   COUNTER FACTS
   ============================================================ */
.counter-facts {
    background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0.8)), url(../img/breadcrumb.png);
    background-size: cover;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
}

.counter-facts .counter {
    position: relative;
    text-align: center;
    width: 200px;
    min-height: 215px;
    padding: 10px 15px;
    margin: 0 auto;
    border-radius: 100px;
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.2);
    background: var(--white);
}

.counter-facts .counter:before {
    content: "";
    position: absolute;
    height: 105px;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 10px 10px 0 0;
    background-color: var(--primary);
}

.counter-facts .counter .counter-icon {
    position: relative;
    width: 120px;
    height: 100px;
    margin: 0 auto 10px;
    border-radius: 10px 10px 0 0;
    transform: translateY(-20px);
    font-size: 50px;
    line-height: 90px;
    color: var(--secondary);
    background: rgba(1, 143, 252, 0.5);
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.counter-facts .counter .counter-icon:before {
    content: "";
    position: absolute;
    width: 120px;
    height: 90px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    background: rgba(0, 58, 102, 0.5);
    z-index: -1;
    clip-path: polygon(0% 0%, 100% 0, 100% 70%, 50% 100%, 0 70%);
}

.counter-facts .counter:hover .counter-icon i {
    transform: rotate(360deg);
    transition: all 0.3s ease;
}

.counter-facts .counter h3 {
    color: var(--primary);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 5px 0;
}

.counter-facts .counter .counter-value {
    font-size: 30px;
    font-weight: 700;
    display: block;
    color: var(--secondary);
}

@media screen and (max-width: 1200px) {
    .counter-facts .counter {
        margin-bottom: 40px;
    }
}

/* ============================================================
   SERVICES
   ============================================================ */
.service .service-item {
    position: relative;
    overflow: hidden;
}

.service .service-item .service-inner .service-title {
    position: relative;
    margin-top: -30px;
    text-align: center;
    transition: 0.5s;
}

.service .service-item .service-inner .service-title .service-content {
    position: absolute;
    bottom: -100%; 
    left: 0;
    margin-left: 30px;
    margin-right: 30px;
    text-align: center;
    border-radius: 10px;
    background: var(--primary);
    opacity: 0;
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-content {
    bottom: 0;
    opacity: 1;
}

.service .service-item .service-inner .service-title .service-content a h4 {
    border-bottom: 1px solid rgba(256, 256, 256, .1);
}

.service .service-item .service-inner .service-title .service-title-name {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-title .service-title-name {
    opacity: 0;
}

.service .service-item .service-inner .service-img {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.service .service-item .service-inner .service-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .5);
    transition: 0.5s;
    opacity: 0;
}

.service .service-item:hover .service-inner .service-img::after {
    height: 100%;
    opacity: 1;
}

.service .service-item .service-inner .service-img img {
    transition: 0.5s;
}

.service .service-item:hover .service-inner .service-img img {
    transform: scale(1.3);
}

/* Service Item Card Style */
.service-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-item .service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    font-size: 30px;
    border-radius: 5px;
    margin-bottom: 20px;
    transition: all 0.3s ease-in-out;
}

.service-item:hover .service-icon {
    background: var(--accent);
    color: var(--dark);
}

.service-item h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-item p {
    margin-bottom: 20px;
    color: var(--gray);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features .feature-item {
    position: relative;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.features .feature-item::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    border-radius: 10px;
    background: rgba(0, 58, 102, 0.1);
    z-index: -1;
    transition: 0.5s;
}

.features .feature-item:hover::after {
    height: 100%;
}

.features .feature-item .feature-icon {
    width: 120px; 
    height: 120px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--light);
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon {
    border-radius: 50%;
    background: var(--white);
}

.features .feature-item .feature-icon i {
    transition: 0.5s;
}

.features .feature-item:hover .feature-icon i {
    color: var(--secondary);
    transform: rotate(360deg);
}

/* ============================================================
   COUNTRIES
   ============================================================ */
.country .country-item {
    position: relative;
}

.country .country-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 58, 102, 0.7);
    border-radius: 10px;
    transition: 0.5s;
    z-index: 1;
}

.country .country-item:hover::after {
    height: 100%;
}

.country .country-item .country-flag {
    position: absolute;
    width: 90px; 
    height: 90px; 
    border-radius: 50%;
    top: -45px; 
    left: 50%; 
    transform: translateX(-50%);
    transition: 0.5s;
    z-index: 2;
}

.country .country-item .country-flag img {
    border: 5px solid var(--white);
    transition: 0.5s;
}

.country .country-item:hover .country-flag img {
    border: 5px solid var(--white);
    transform: rotate(360deg);
}

.country .country-item .country-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.5s;
    opacity: 0;
    z-index: 3;
}

.country .country-item:hover .country-name {
    opacity: 1;
}

.country .country-item img {
    transition: 0.5s;
}

.country .country-item:hover img {
    transform: scale(1.2);
}

.country .country-item .country-name a.fs-4 {
    transition: 0.5s;
}

.country .country-item .country-name a.fs-4:hover {
    color: var(--secondary);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial .owl-carousel.testimonial-carousel {
    position: relative;
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content {
    position: relative;
    border-radius: 10px;
    background: var(--light);
}

.testimonial .owl-carousel.testimonial-carousel .testimonial-item .testimonial-content::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 45px;
    bottom: -20px;
    left: 30px;
    transform: rotate(45deg);
    background: var(--light);
    z-index: -1;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav {
    position: absolute;
    top: -60px;
    right: 0;
    display: flex;
    font-size: 40px;
    color: var(--primary);
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev {
    margin-right: 40px;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .owl-carousel.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--secondary);
}

/* Alternative Testimonial Item */
.testimonial-item {
    background: var(--white);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin: 15px;
    position: relative;
}

.testimonial-item .testimonial-text {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid var(--accent);
}

.testimonial-item .testimonial-text i {
    color: var(--accent);
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-item .testimonial-text p {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-item .testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-item .testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.testimonial-item .testimonial-author h5 {
    font-size: 18px;
    margin-bottom: 5px;
}

.testimonial-item .testimonial-author p {
    margin: 0;
    color: var(--gray);
    font-size: 14px;
}

/* ============================================================
   TRAINING
   ============================================================ */
.training .training-item .training-inner {
    position: relative;
}

.training .training-item .training-inner .training-title-name {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.5);
    display: flex; 
    flex-direction: column;
    justify-content: end;
    text-align: center;
    transition: 0.5s;
}

.training .training-item {
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.training .training-item:hover .training-inner .training-title-name {
    background: rgba(0, 58, 102, 0.5);
}

.training .training-item:hover .training-inner .training-title-name a {
    opacity: 0;
}

.training .training-item .training-inner img {
    transition: 0.5s;
}

.training .training-item:hover .training-inner img {
    transform: scale(1.3);
}

.training .training-item .training-content {
    position: absolute;
    width: 100%;
    bottom: -100%;
    left: 0;
    transition: 0.5s;
}

.training .training-item:hover .training-content {
    bottom: 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact .office .office-item {
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
    background: var(--light);
    transition: 0.5s;
}

.contact .office .office-item:hover {
    box-shadow: 20px 20px 20px rgba(0, 58, 102, 0.3);
}

.contact .office .office-item .office-img {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.contact .office .office-item .office-img img {
    transition: 0.5s;
}

.contact .office .office-item:hover .office-img img {
    transform: scale(1.3);
}

.contact .office .office-item .office-content a.text-secondary,
.contact .office .office-item .office-content a.text-muted {
    transition: 0.5s;
}

.contact .office .office-item .office-content a.text-muted:hover {
    color: var(--secondary);
}

.contact .office .office-item .office-content a.text-secondary:hover {
    color: var(--primary);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary);
    color: var(--white);
    padding-top: 80px;
    position: relative;
}

.footer h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--accent);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 30px;
}

.footer a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease-in-out;
    line-height: 30px;
}

.footer a:hover {
    color: var(--accent);
    padding-left: 5px;
    letter-spacing: 2px;
}

.footer .footer-item a {
    color: var(--white);
}

.footer .footer-item a:hover {
    color: var(--secondary);
}

.footer .social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease-in-out;
}

.footer .social-links a:hover {
    background: var(--accent);
    color: var(--dark);
    transform: translateY(-5px);
}

/* ============================================================
   COPYRIGHT
   ============================================================ */
.copyright {
    background: rgba(0, 0, 0, 0.989);
    padding: 20px 0;
    text-align: center;
    color: rgba(236, 238, 243, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright a {
    color: var(--accent);
    display: inline-block;
    margin: 0 5px;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* ============================================================
   RESPONSIVE STYLES
   ============================================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--white);
        padding: 20px;
        margin-top: 15px;
        border-radius: 5px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        padding: 10px 0;
    }
    
    .hero-header h1 {
        font-size: 36px;
    }
    
    .section-title .sub-title {
        font-size: 14px;
    }
}

@media (max-width: 767.98px) {
    .hero-header {
        padding: 100px 0 60px;
        text-align: center;
    }
    
    .hero-header h1 {
        font-size: 30px;
    }
    
    .page-header,
    .bg-breadcrumb {
        min-height: 250px;
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header .breadcrumb {
        font-size: 13px;
    }
    
    .section-title .sub-title::before,
    .section-title .sub-title::after {
        display: none;
    }
}
/* Carousel Styles */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #fff;
    width: 30px;
    border-radius: 5px;
}

.carousel-indicators {
    position: absolute;
    right: 0;
    left: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

/* Ensure smooth transitions */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Pause autoplay on hover */
.carousel:hover {
    cursor: grab;
}
