:root {
    --bs-primary: #0A5E96; /* New Dark Blue */
    --bs-secondary: #0CB6A4; /* New Green/Teal */
    --bs-light: #F8F9FA;
    --bs-dark: #191C24;
}

/*** Spinner Start ***/
/*** 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;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/*** Whatsapp Button ***/
.whatsapp-button {
    position: fixed;
    right: 30px;
    bottom: 95px; /* Spaced above the back-to-top button */
    background-color: #25D366 !important;
    border-color: #25D366 !important;
    color: white !important;
    font-size: 1.75rem;
    z-index: 99;
}

.whatsapp-button:hover {
    background-color: #128C7E !important;
    border-color: #128C7E !important;
}


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

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

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

.btn-md-square {
    width: 44px;
    height: 44px;
}

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

/*** Custom Heading & Text Color ***/
h1.display-5,
.navbar-brand h1 {
    color: var(--bs-primary) !important;
}

/* Overriding Bootstrap's default text colors */
.text-primary {
    color: var(--bs-primary) !important;
}

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

/* Gradient text for Hero Section */
.hero-header h1.display-4,
.hero-header p.fs-4 {
    background-image: linear-gradient(to right, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-weight: 600; 
}


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

.btn.btn-primary {
    background-image: linear-gradient(to right, var(--bs-primary) 0%, var(--bs-secondary) 100%) !important;
    color: var(--bs-white) !important;
    font-weight: 400;
    transition: 0.5s all;
    background-size: 200% auto;
    border: none !important;
}

.btn.btn-primary:hover {
    background-position: right center;
    color: var(--bs-white) !important;
}

.btn.btn-light {
    background: var(--bs-light) !important;
    color: var(--bs-primary) !important;
    font-weight: 400;
    transition: 0.5s;
}

.btn.btn-light:hover {
    background: var(--bs-primary) !important;
    color: var(--bs-light) !important;
}


.RotateMoveLeft {
    position: relative;
    animation: RotateMoveLeft 10s linear infinite;
}

.RotateMoveRight {
    position: relative;
    animation: RotateMoveLeft 10s linear infinite;
}

@keyframes RotateMoveLeft {
    0%   {left: 0px;}
    50%   {left: 40px;}
    100%  {left: 0px;}
}

@keyframes RotateMoveRight {
    0%   {right: 0px;}
    50%   {right: 40px;}
    100%  {right: 0px;}
}
/* === Dark Mode Variables === */
body.dark {
background-color: #111;
color: #f1f1f1;
}
body.dark .navbar-light {
background-color: #1a1a1a !important;
}
body.dark .navbar-light .nav-link {
color: #f1f1f1 !important;
}
body.dark .navbar-light .nav-link.active,
body.dark .navbar-light .nav-link:hover {
color: var(--bs-primary) !important;
}
body.dark .btn-light {
background: #222 !important;
color: #f1f1f1 !important;
border-color: #444 !important;
}
body.dark .bg-light {
background-color: #222 !important;
}
body.dark .text-dark {
color: #f1f1f1 !important;
}
body.dark .footer {
background-color: #1a1a1a !important;
}
body.dark .footer a {
color: #ccc !important;
}
body.dark .blog-content {
background-color: #1e1e1e !important;
color: #f1f1f1 !important;
}
body.dark .price-item {
background-color: #1e1e1e !important;
color: #f1f1f1 !important;
}
body.dark .testimonial .testimonial-inner {
    background-color: #1e1e1e !important;
}
body.dark .testimonial {
    background-color: #1a1a1a !important;
}
body.dark .hero-header::before,
body.dark .hero-header::after {
    background-color: var(--bs-dark);
}
body.dark .header::after {
    background-color: var(--bs-dark);
    border-color: rgba(53,63,79,0.2) !important;
}
body.dark .header::before {
    border-color: rgba(12, 182, 164, 0.2) !important; /* New green/teal transparent */
}

body.dark .hero-header .rotate-img .rotate-sty-2 {
    background: transparent;
    border: 5px solid rgba(12, 182, 164, 0.2); /* New green/teal transparent */
}

body.dark .hero-header .rotate-img img {
    z-index: -1;
}

body.dark .blog-card {
    background-color: #1e1e1e;
    border-color: #333;
}
body.dark .blog-card-body h4 {
     color: var(--bs-secondary) !important; /* Use new teal for dark mode headings */
}
body.dark .blog-card-body p {
    color: #adb5bd;
}

/* Dark mode text overrides */
body.dark .text-primary {
    color: var(--bs-secondary) !important; /* Brighter teal for dark mode */
}
body.dark .text-secondary {
    color: var(--bs-secondary) !important;
}

body.dark .contact .ms-4 a {
    color: var(--bs-secondary) !important;
}

/* Override for hero text in dark mode */
body.dark .hero-header h1.display-4,
body.dark .hero-header p.fs-4 {
    color: transparent !important;
    background-image: linear-gradient(to right, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
}


/* Toggle button */
.theme-toggle {
cursor: pointer;
margin-left: 15px;
margin-right: 30px;
font-size: 20px;
background: none;
border: none;
color: var(--bs-primary);
}

/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

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

.navbar-light .navbar-brand img {
    max-height: 50px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 45px;
}

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

@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(--bs-primary);
    color: var(--bs-white);
}

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

.collapse.navbar-collapse {
    transition: 0.5s;
}

@media (max-width: 992px) {
    nav.bg-transparent {
        position: absolute;
        width: 100%;
        background: transparent !important;
    }

    .navbar.navbar-expand-lg button span {
        position: relative;
        z-index: 99;
    }

    .navbar {
        position: relative;
        background: var(--bs-light);
        z-index: 2;
    }

    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white) !important;
        padding: 0 20px 20px 20px !important;
    }

    .sticky-top.navbar-light {
        background: transparent;
    }

    nav.navbar {
        padding: 0 30px 30px 0;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        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(--bs-dark) !important;
    }


    .navbar-light .navbar-brand img {
        max-height: 45;
    }

    .hero-header {
        margin-top: -100px !important;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        background: transparent !important;
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }
}
/*** Navbar End ***/

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(10, 94, 150, 0.05), rgba(10, 94, 150, 0.05)); /* New blue transparent */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 150px 0 60px 0;
    margin-bottom: 6rem;
    transition: 0.5s;
}

.bg-breadcrumb::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    border: 80px solid rgba(12, 182, 164, 0.05); /* New green/teal transparent */
    background: transparent;
    animation: RotateMoveSingle 5s linear infinite;
    z-index: -1;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
    z-index: 2;
}


@keyframes RotateMoveSingle {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }

    0% {bottom: 0px;}
    50%   {left: -10px;}
    75%   {bottom: 10%;}
    100%  {bottom: 0px;}
}

.bg-breadcrumb::before {
    content: "";
    position: absolute;
    top: -15%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 300px;
    border: 80px solid rgba(12, 182, 164, 0.04); /* New green/teal transparent */
    background: transparent;
    animation: RotateMoveSingle 5s linear infinite;
    z-index: -1;
}

@keyframes RotateMoveSingle {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }

    0% {top: 0px;}
    50%   {top: 10%;}
    100%  {top: 0px;}
}

@media (max-width: 992px) {
    .bg-breadcrumb {
        padding-top: 100px !important;
    }
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-dark) !important;
}


.breadcrumb-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.breadcrumb-animation li {
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(10, 94, 150, 0.07); /* New blue transparent */
    animation: animate 25s linear infinite;
    bottom: -150px;

}

.breadcrumb-animation li:nth-child(1) {
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.breadcrumb-animation li:nth-child(2) {
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.breadcrumb-animation li:nth-child(3) {
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.breadcrumb-animation li:nth-child(4) {
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.breadcrumb-animation li:nth-child(5) {
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.breadcrumb-animation li:nth-child(6) {
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.breadcrumb-animation li:nth-child(7) {
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.breadcrumb-animation li:nth-child(8) {
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.breadcrumb-animation li:nth-child(9) {
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.breadcrumb-animation li:nth-child(10) {
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}

@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}
/*** Single Page Hero Header End ***/


/*** Hearo Header Start ***/
.header::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: var(--bs-light);
    border-radius: 22% 78% 33% 67% / 32% 0% 100% 68%;
    animation: bgMove 5s linear infinite;
    z-index: -1;
}

@keyframes bgMove {
    0%   {right: 0px;}
    50%   {right: 20px;}
    100%  {right: 0px;}
}

.header::before {
    content: "";
    position: absolute;
    bottom: -9%;
    left: -7%;
    width: 400px;
    height: 400px;
    border-radius: 200px;
    border: 30px solid rgba(12, 182, 164, 0.05); /* New green/teal transparent */
    background: transparent;
    animation: RotateMoveHeader 5s linear infinite;
    z-index: -1;

}

@keyframes RotateMoveHeader {
    0% {
        -webkit-transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
        transform: rotateZ(0deg) rotate(0deg) translate3d(0, 1%, 0) rotateZ(0deg);
    }
      100% {
        -webkit-transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
        transform: rotateZ(360deg) rotate(360deg) translate3d(0, 1%, 0) rotateZ(-360deg);
    }


    0% {bottom: 0px;}
    50%   {left: -10px;}
    75%   {bottom: 9%;}
    100%  {bottom: 0px;}
}

.hero-header {
    padding-top: 160px;
    padding-bottom: 100px;
    position: relative;
}

.hero-header::after {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 100px;
    width: 58px;
    height: 50px;
    background: url(../img/sty-1.png) center center no-repeat;
    animation: RotateMoveSty-3 45s linear infinite;
    transition: 0.5s;
    z-index: -1;

}

@keyframes RotateMoveSty-3 {
    0%   {left: 100px;}
    40%   {bottom: -0px;}
    50%   {left: 700px;}
    70%   {bottom: 500px;}
    80%   {left: 400px;}
    95%   {bottom: -0px;}
    100%  {left: 100px;}
}

.hero-header::before {
    content: "";
    position: absolute;
    left: 100px;
    bottom: 100px;
    width: 300px;
    height: 300px;
    border-radius: 150px;
    border: 30px solid rgba(10, 94, 150, 0.05); /* New blue transparent */
    background: transparent;
    animation: RotateMoveSty-4 45s linear infinite;
    transition: 0.5s;
    z-index: -1;

}

@keyframes RotateMoveSty-4 {
    0%   {left: 100px;}
    40%   {bottom: -0px;}
    50%   {left: 700px;}
    70%   {bottom: 500px;}
    80%   {left: 400px;}
    95%   {bottom: -0px;}
    100%  {left: 100px;}
}


.hero-header .rotate-img {
    position: absolute;
    top: 70px;
    left: 20px;
}

.hero-header .rotate-img .rotate-sty-2 {
    position: absolute;
    top: 100px;
    left: 50px;
    width: 50px;
    height: 50px;
    border-radius: 30px;
    border: 5px solid rgba(12, 182, 164, 0.1); /* New green/teal transparent */
    background: transparent;
    animation: RotateMoveSty-2 45s linear infinite;
    transition: 0.5s;

}

@keyframes RotateMoveSty-2 {
    0%   {left: 0px;}
    40%   {top: -30px;}
    50%   {left: 500px;}
    70%   {top: 200px;}
    80%   {left: 100px;}
    95%   {top: -30px;}
    100%  {left: 0px;}
}

.hero-header .hero-image-scaled {
    transform: scale(1.0); /* Reduced scale to 1.0 (default size) */
    transform-origin: center center;
    max-width: 100%; /* Ensure it doesn't overflow container */
}

.hero-header .hero-image-positioned {
    width: 100%;
    height: auto;          /* keep full image */
    object-fit: contain;   /* no crop */
    object-position: center;
    transform: none;
}
/* Desktop only 
@media (min-width: 992px) {
  .hero-header .hero-image-positioned {
      max-width: 110%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transform: translateX(5%);
  }
}*/

/* Mobile */
@media (max-width: 991px) {
  .hero-header .hero-image-positioned {
      width: 100%;
      height: auto;
      object-fit: contain;
      transform: none;
  }
}



@media (max-width: 992px) {
    .hero-header {
        padding-top: 280px;

    }
     .hero-header .hero-image-positioned,
     .hero-header .hero-image-scaled {
        transform: scale(1) translateX(0); /* Reset transform on mobile */
        object-position: center center;
        height: auto;
    }

    .hero-header .rotate-img img {
        margin-top: 100px;
    }

}
/*** Hero Header End ***/


/*** Service Start ***/
/* New Blog-Style Card */
.blog-card {
    background-color: var(--bs-white);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease-in-out;
}

.blog-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.blog-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.blog-card-body h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bs-primary) !important; /* New blue */
    line-height: 1.3;
}

.blog-card-body p {
    flex-grow: 1;
    color: #6c757d;
    margin-top: 10px;
}

.btn-read-more {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 50px;
    background-image: linear-gradient(to right, var(--bs-primary) 0%, var(--bs-secondary) 100%) !important; /* New Gradient */
    background-size: 200% auto;
    color: white !important;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    align-self: center;
    margin-top: auto; /* Pushes button to the bottom */
    transition: all 0.3s ease;
    border: none;
}

.btn-read-more:hover {
    background-position: right center;
    color: white !important;
    border: none;
}


/*** Service End ***/


/*** Features Start ***/
.feature .feature-img {
    background: var(--bs-light);
    border-radius: 58% 42% 21% 79% / 30% 29% 71% 70%;
}
/*** Features End ***/


/*** Pricing Start ***/
.price .price-item {
    position: relative;
    overflow: hidden;
    transition: 0.5s;
}

.price .price-item:hover {
    background: var(--bs-white) !important;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.2);
}

.price .price-item .pice-item-offer {
    position: absolute;
    width: 200px;
    height: 110px;
    top: -45px;
    right: -80px;
    background: var(--bs-primary) !important;
    color: var(--bs-white);
    transform: rotate(42deg);
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 10px;
}
/*** Pricing End ***/


/*** Blog Start ***/
.blog .blog-item {
    border-radius: 10px;
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    background: rgba(10, 94, 150, 0.2); /* New blue transparent */
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img .blog-info {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    padding: 20px;
    background: rgba(10, 94, 150, 0.2); /* New blue transparent */
    color: var(--bs-white) !important;
    display: flex;
    align-items: end;
    justify-content: space-between;
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover .blog-info {
    background: rgba(0, 0, 0, .4);
}


.blog .blog-item .blog-content {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}
/*** Blog End ***/


/*** Testimonial Start ***/
.testimonial {
    position: relative;
    background: var(--bs-light);
    overflow: hidden;
    z-index: 1;
}
.testimonial::after {
    content: "";
    position: absolute;
    top: 30%;
    left: 0;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: url(../img/testimonial-img-2.jpg) center center no-repeat;
    animation: TestimonialMoveLeft 100s linear infinite;
    z-index: -1;

}

.testimonial::before {
    content: "";
    position: absolute;
    top: 30%;
    right: 0;
    width: 80px;
    height: 80px;
    border-radius: 40px;
    background: url(../img/testimonial-img-3.jpg) center center no-repeat;
    animation: TestimonialMoveRight 100s linear infinite;
    z-index: -1;

}

@keyframes TestimonialMoveLeft {
    0%   {left: 0px;}
    25%   {top: 100px;}
    50%   {left: 100%;}
    75%   {top: 80%;}
    100%  {left: 0px;}
}

@keyframes TestimonialMoveRight {
    0%   {right: 0px;}
    25%   {top: 100px;}
    50%   {right: 100%;}
    75%   {top: 80%;}
    100%  {right: 0px;}
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
    padding: 0 35px;
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 94, 150, 0.09); /* New blue transparent */
    color: var(--bs-primary);
    transition: 0.5s;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 65px;
    height: 65px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 94, 150, 0.09); /* New blue transparent */
    color: var(--bs-primary);
    transition: 0.5s;
}


.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white) !important;
}


.testimonial-carousel .owl-dots {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot img {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    margin-right: 15px;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active img {
    width: 70px;
    height: 70px;
    border-radius: 40px;
    border: 4px solid var(--bs-secondary);
}

.testimonial .testimonial-item .testimonial-inner img.img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}

@media (max-width: 576px) {
    .testimonial .testimonial-carousel.owl-carousel {
        padding: 0;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        margin-top: -250px;
        margin-left: -15px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        margin-top: -250px;
        margin-right: -15px;
    }
}

/* responsive styles */
@media (max-width: 768px) {
    .d-flex.flex-column.ms-3 {
        text-align: left;
    }

    .img-fluid.w-100.h-100 {
        width: 100% !important;
        height: auto !important;
    }

    .hero-header .row {
        flex-direction: column;
    }

    .hero-header .col-lg-6:nth-child(2) {
        order: -1;
    }

    .hero-header .col-lg-6:first-child,
    .hero-header .col-lg-6:nth-child(2) {
        text-align: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .text-center.mx-auto.mb-5.wow.fadeInUp {
        text-align: center;
    }

    .row.g-4.justify-content-center.text-center.mb-5 {
        flex-direction: column;
    }

    .feature .feature-img {
        width: 100%;
        height: auto;
    }

    .feature .feature-img img {
        width: 100%;
        height: auto;
    }

    .row.g-5.pt-5 {
        flex-direction: column;
    }

    .col-lg-6.wow.fadeInLeft,
    .col-lg-6.wow.fadeInRight {
        width: 100%;
    }

    .feature .feature-img.RotateMoveLeft.h-100 {
        animation: none;
    }
}


/*** Contact Start ***/
.contact .ms-4 a {
    color: var(--bs-primary);
    text-decoration: none;
    transition: 0.3s;
}

.contact .ms-4 a:hover {
    color: var(--bs-secondary);
    text-decoration: underline;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(10, 94, 150, 0.05), rgba(10, 94, 150, 0.05)); /* New blue transparent */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-dark);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark) !important;
}

.copyright a {
    color: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
}

.copyright a:hover {
    color: var(--bs-primary) !important;
}
/*** copyright end ***/

/* =================================== */
/* === Option 5: Text-Only Timeline === */
/* =================================== */

.text-only-timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

/* The vertical line */
.text-only-timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-image: linear-gradient(to bottom, var(--bs-primary), var(--bs-secondary));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 2px;
}

/* The container for each event */
.text-only-timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: transparent;
    width: 50%;
    box-sizing: border-box;
}

/* The circle (dot) on the timeline */
.text-only-timeline-item .text-only-timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--bs-light);
    border: 4px solid var(--bs-primary);
    top: 25px; /* Aligned with top of content */
    right: -10px;
    border-radius: 50%;
    z-index: 1;
    transition: all 0.3s ease;
}

/* Left-side items (Odd) */
.text-only-timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right; /* Optional: aligns text towards the line */
}

/* Right-side items (Even) */
.text-only-timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
    text-align: left;
}

/* Right-side icon positioning */
.text-only-timeline-item:nth-child(even) .text-only-timeline-dot {
    right: auto;
    left: -10px;
    border-color: var(--bs-secondary); /* Alternating color for visual appeal */
}

/* Card content styling */
.text-only-timeline-item .text-only-timeline-content {
    position: relative;
    border-radius: 10px;
    border: 1px solid #eee;
    background-color: var(--bs-white);
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    text-align: left; /* Reset text align inside the card */
}

/* Content Typography */
.text-only-timeline-item .text-only-timeline-content h4 {
    color: var(--bs-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.text-only-timeline-item .text-only-timeline-content p {
    margin-bottom: 0;
    color: #666;
    font-size: 0.95rem;
}

/* === ARROWS === */
/* Left Arrow */
.text-only-timeline-item .text-only-timeline-content::after {
    content: " ";
    position: absolute;
    top: 25px;
    right: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid var(--bs-white);
    transition: border-color 0.3s ease;
}

/* Right Arrow */
.text-only-timeline-item:nth-child(even) .text-only-timeline-content::after {
    right: auto;
    left: -10px;
    border-left: none;
    border-right: 10px solid var(--bs-white);
}

/* === HOVER EFFECTS === */
.text-only-timeline-item:hover .text-only-timeline-dot {
    background-color: var(--bs-primary);
    border-color: var(--bs-light);
    transform: scale(1.2);
}
.text-only-timeline-item:hover .text-only-timeline-content {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* =================================== */
/* === DARK MODE ADJUSTMENTS === */
/* =================================== */

body.dark .text-only-timeline-content {
    background-color: #1e1e1e;
    border-color: #333;
}

body.dark .text-only-timeline-content h4 {
    color: var(--bs-secondary) !important;
}

body.dark .text-only-timeline-content p {
    color: #ccc;
}

body.dark .text-only-timeline-item .text-only-timeline-dot {
    background-color: #222;
}

/* Dark Mode Arrows */
body.dark .text-only-timeline-item .text-only-timeline-content::after {
     border-left-color: #1e1e1e;
}

body.dark .text-only-timeline-item:nth-child(even) .text-only-timeline-content::after {
     border-right-color: #1e1e1e;
}

/* =================================== */
/* === RESPONSIVE (MOBILE) === */
/* =================================== */
@media (max-width: 767.98px) {
    /* Move line to the left */
    .text-only-timeline-container::after {
        left: 20px;
    }

    /* Full width items */
    .text-only-timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 15px;
    }

    /* Reset Left/Right positioning */
    .text-only-timeline-item:nth-child(odd),
    .text-only-timeline-item:nth-child(even) {
        left: 0;
        text-align: left; /* Reset text alignment */
    }

    /* Move Dots to left */
    .text-only-timeline-item .text-only-timeline-dot,
    .text-only-timeline-item:nth-child(even) .text-only-timeline-dot {
        left: 10px;
        right: auto;
    }

    /* Fix Arrows for mobile (all point left) */
    .text-only-timeline-item .text-only-timeline-content::after,
    .text-only-timeline-item:nth-child(even) .text-only-timeline-content::after {
        left: -10px;
        right: auto;
        border-left: none;
        border-right: 10px solid var(--bs-white);
    }
    
    /* Dark mode arrow mobile fix */
    body.dark .text-only-timeline-item .text-only-timeline-content::after,
    body.dark .text-only-timeline-item:nth-child(even) .text-only-timeline-content::after {
         border-right-color: #1e1e1e;
    }
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
}


/* Mobile safety */
/* ===== MOBILE RESET FIX ===== */
@media (max-width: 991px) {

  /* Hero */
  .hero-header {
    padding-top: 140px !important;
    padding-bottom: 40px !important;
  }

  .hero-header .row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-header .col-lg-6 {
    width: 100% !important;
  }

  .hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
  }

  

  /* Blog / Cards / Images */
  img {
    max-width: 100%;
    height: auto;
  }

  .blog-card-img,
  .feature-img img,
  .testimonial img {
    height: auto !important;
  }

  /* Timeline fix */
  .text-only-timeline-container::after {
    left: 20px;
  }

  .text-only-timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 50px;
    padding-right: 15px;
  }

  /* Navbar spacing */
  .navbar {
    padding-bottom: 10px !important;
  }

  /* Remove weird margins */
  .row,
  .container,
  .container-fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.hero-right {
  margin-top: 100px;   /* adjust as you like */
}

/* Mobile tweak */
@media (max-width: 991px) {
  .hero-right {
    margin-top: 20px;
  }
}

.testimonial,
.testimonial-carousel,
.owl-stage-outer {
  overflow: hidden;
}

.testimonial-item {
  width: 100%;
}

.testimonial-card {
  max-width: 100%;
}
@media (max-width: 991px) {
  .hero-header *,
  .rotate-img *,
  .RotateMoveLeft,
  .RotateMoveRight {
    transform: none !important;
    animation: none !important;
  }
}

/* Fix navbar spacing for iPad, Nest Hub */
@media (max-width: 1100px) {

  .navbar-nav {
    flex-wrap: wrap;        /* allow wrap if needed */
    justify-content: center;
  }

  .navbar-light .navbar-nav .nav-link {
    margin-right: 12px;     /* reduce gap */
    padding: 12px 0;        /* reduce height */
    font-size: 14px;        /* smaller text */
    white-space: nowrap;   /* avoid breaking words */
  }

  .navbar-brand h1 {
    font-size: 22px;        /* shrink brand */
  }

  .theme-toggle {
    margin-left: 8px;
    margin-right: 8px;
    font-size: 16px;
  }
}
.dignitary-cover {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

