/*******************************/
/******* CSS Variables *********/
/*******************************/
/*
  TOP BAR AND NAV WRAPPER ARE ALWAYS WHITE.
  Logo, icons and contact text use --c2 colour on the white background.

  3 variables per scheme:
  --c1 = primary   → buttons, links, highlights, section accents
  --c2 = navbar    → the coloured nav strip (also colours logo/text in white top bar)
  --c3 = footer    → footer background + dark panel sections

  Text on coloured backgrounds is calculated automatically.

  SCHEMES (cycled by clicking the logo):
               --c1       --c2       --c3
  1. Trusted trade     #418FE1  #F5A623  #1C2B3A
  2. Navy anchor       #418FE1  #0D2545  #1C2B3A
  3. Slate contrast    #418FE1  #2D3748  #1C2B3A
  4. Spark & navy      #418FE1  #F5A623  #0D2545
  5. White & blue      #418FE1  #418FE1  #1C2B3A
  6. White & navy      #0D2545  #0D2545  #1C2B3A
  7. Navy & amber      #0D2545  #F5A623  #1C2B3A
  8. Blue & amber      #418FE1  #1C2B3A  #0D2545
*/

:root {
    /* Active scheme: Navy anchor
       c1 = #418FE1 blue  — buttons, links, highlights
       c2 = #0D2545 navy  — top bar background
       c2b= #418FE1 blue  — inner navbar strip
       c3 = #1C2B3A steel — footer */
    --c1: #418FE1;
    --c2: #0D2545;
    --c2b: #418FE1;
    --c3: #1C2B3A;

    --c1-text: #ffffff;
    --c2-text: #ffffff;
    --c2b-text: #ffffff;
    --c3-text: #ffffff;
    --bg: #ffffff;
    --bodytext: #666666;
}


/*******************************/
/********* General CSS *********/
/*******************************/
body {
    color: #666666;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    transition: background 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--c1);
}

a {
    color: #666666;
    transition: .3s;
}

a:hover, a:active, a:focus {
    color: var(--c1);
    outline: none;
    text-decoration: none;
}

.btn:focus {
    box-shadow: none;
}

.wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #ffffff;
}

.back-to-top {
    position: fixed;
    display: none;
    background: var(--c1);
    color: var(--c1-text);
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 22px;
    right: 15px;
    bottom: 15px;
    transition: background 0.5s;
    z-index: 9;
}

.back-to-top:hover {
    background: var(--c3);
    color: var(--c3-text);
}

.back-to-top i {
    padding-top: 10px;
}

.btn {
    transition: .3s;
}


/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    height: 90px;
    background: var(--c2);
    transition: background 0.4s ease;
}

.top-bar .logo {
    padding: 15px 0;
    text-align: left;
    overflow: hidden;
}

.top-bar .logo h1 {
    margin: 0;
    color: var(--c2-text);
    font-size: 60px;
    line-height: 60px;
    font-weight: 700;
    transition: color 0.4s ease;
    cursor: pointer;
}

.top-bar .logo a {
    text-decoration: none;
}

.top-bar .logo img {
    max-width: 100%;
    max-height: 70px;
    height: auto;
    display: block;
}

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.top-bar .top-bar-icon {
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .top-bar-icon [class^="flaticon-"]::before {
    margin: 0;
    color: var(--c2-text);
    font-size: 40px;
    transition: color 0.4s ease;
}

.top-bar .top-bar-text {
    padding-left: 15px;
}

.top-bar .top-bar-text h3 {
    margin: 0 0 5px 0;
    color: var(--c2-text);
    font-size: 16px;
    font-weight: 400;
    transition: color 0.4s ease;
}

.top-bar .top-bar-text p {
    margin: 0;
    color: var(--c2-text);
    font-size: 13px;
    font-weight: 400;
    transition: color 0.4s ease;
}

@media (min-width: 992px) {
    .top-bar { padding: 0 60px; }
}

@media (max-width: 991.98px) {
    .top-bar .logo { text-align: center; }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
    position: relative;
    background: var(--c2b);
    transition: background 0.4s ease;
}

.nav-bar .container-fluid {
    padding: 0;
}

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
    z-index: 999;
}

.nav-bar .navbar {
    height: 100%;
    background: var(--c2b) !important;
    transition: background 0.4s ease;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    padding: 10px 10px 8px 10px;
    color: var(--c2b-text);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: var(--c2b-text);
    opacity: 0.7;
    transition: none;
}

.nav-bar .dropdown-menu {
    margin-top: 0;
    border: 0;
    border-radius: 0;
    background: #f8f9fa;
}

.nav-bar .btn {
    color: var(--c2b-text);
    border: 2px solid var(--c2b-text);
    border-radius: 0;
}

.nav-bar .btn:hover {
    color: var(--c2b);
    background: var(--c2b-text);
    border-color: var(--c2b-text);
}

@media (min-width: 992px) {
    .nav-bar { padding: 0; }
    .nav-bar.nav-sticky { padding: 0; }
    .nav-bar .navbar { padding: 20px 60px; }
    .nav-bar .navbar-brand { display: none; }
    .nav-bar a.nav-link { padding: 8px 15px; font-size: 15px; text-transform: uppercase; }
}

@media (max-width: 991.98px) {
    .nav-bar .navbar { padding: 15px; }
    .nav-bar a.nav-link { padding: 5px; }
    .nav-bar .dropdown-menu { box-shadow: none; }
    .nav-bar .btn { display: none; }
}


/*******************************/
/******** Carousel CSS *********/
/*******************************/
.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 170px);
    min-height: 400px;
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.carousel .carousel-inner,
.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.carousel .carousel-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1;
}

.carousel .carousel-caption {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    height: calc(100vh - 170px);
    min-height: 400px;
}

.carousel .carousel-caption p {
    color: #ffffff;
    font-size: 30px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.carousel .carousel-caption h1 {
    color: #ffffff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 35px;
}

.carousel .carousel-caption .btn {
    padding: 15px 35px;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 2px solid #ffffff;
    border-radius: 0;
    transition: .3s;
}

.carousel .carousel-caption .btn:hover {
    color: var(--c1-text);
    background: var(--c1);
    border-color: var(--c1);
}

@media (max-width: 767.98px) {
    .carousel .carousel-caption h1 { font-size: 40px; font-weight: 700; }
    .carousel .carousel-caption p { font-size: 20px; }
    .carousel .carousel-caption .btn { padding: 12px 30px; font-size: 18px; letter-spacing: 0; }
}

@media (max-width: 575.98px) {
    .carousel .carousel-caption h1 { font-size: 30px; font-weight: 500; }
    .carousel .carousel-caption p { font-size: 16px; }
    .carousel .carousel-caption .btn { padding: 10px 25px; font-size: 16px; font-weight: 400; letter-spacing: 0; }
}

.carousel .animated {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
}


/*******************************/
/******* Page Header CSS *******/
/*******************************/
.page-header {
    position: relative;
    margin-bottom: 45px;
    padding: 90px 0;
    text-align: center;
    background: var(--c2);
    transition: background 0.4s ease;
}

.page-header h2 {
    position: relative;
    color: var(--c2-text);
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 5px;
}

.page-header h2::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    left: calc(50% - 50px);
    bottom: 0;
    background: var(--c2-text);
}

.page-header a {
    position: relative;
    padding: 0 12px;
    font-size: 22px;
    color: var(--c2-text);
}

.page-header a:hover { opacity: 0.7; }

.page-header a::after {
    position: absolute;
    content: "/";
    width: 8px;
    height: 8px;
    top: -2px;
    right: -7px;
    text-align: center;
    color: var(--c2-text);
}

.page-header a:last-child::after { display: none; }

@media (max-width: 991.98px) {
    .page-header { padding: 60px 0; }
    .page-header h2 { font-size: 45px; }
    .page-header a { font-size: 20px; }
}

@media (max-width: 767.98px) {
    .page-header { padding: 45px 0; }
    .page-header h2 { font-size: 35px; }
    .page-header a { font-size: 18px; }
}


/*******************************/
/******* Section Header ********/
/*******************************/
.section-header {
    position: relative;
    width: 100%;
    margin-bottom: 45px;
}

.section-header p {
    color: var(--c1);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.section-header h2 {
    margin: 0;
    position: relative;
    font-size: 50px;
    font-weight: 700;
    color: #333333;
}

@media (max-width: 767.98px) {
    .section-header h2 { font-size: 30px; }
}


/*******************************/
/********* Feature CSS *********/
/*******************************/
.feature {
    position: relative;
    margin-bottom: 45px;
}

.feature .col-md-12 {
    background: var(--c2);
    transition: background 0.4s ease;
}

.feature .col-md-12:nth-child(2n) {
    background: var(--c1);
    transition: background 0.4s ease;
}

.feature .feature-item {
    min-height: 250px;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature .feature-icon {
    position: relative;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature .feature-icon::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 80px;
    top: -20px;
    left: -10px;
    border: 2px dotted rgba(255,255,255,0.5);
    border-radius: 60px;
    z-index: 1;
}

.feature .feature-icon::after {
    position: absolute;
    content: "";
    width: 79px;
    height: 79px;
    top: -18px;
    left: -9px;
    background: var(--c2);
    border-radius: 60px;
    z-index: 2;
    transition: background 0.4s ease;
}

.feature .col-md-12:nth-child(2n) .feature-icon::after {
    background: var(--c1);
}

.feature .feature-icon [class^="flaticon-"]::before {
    position: relative;
    margin: 0;
    color: var(--c2-text);
    font-size: 60px;
    line-height: 60px;
    z-index: 3;
}

.feature .col-md-12:nth-child(2n) .feature-icon [class^="flaticon-"]::before {
    color: var(--c1-text);
}

.feature .feature-text {
    padding-left: 30px;
}

.feature .feature-text h3 {
    margin: 0 0 10px 0;
    color: var(--c2-text);
    font-size: 25px;
    font-weight: 600;
    transition: color 0.4s ease;
}

.feature .feature-text p {
    margin: 0;
    color: var(--c2-text);
    font-size: 18px;
    font-weight: 400;
    transition: color 0.4s ease;
}

.feature .col-md-12:nth-child(2n) .feature-text h3,
.feature .col-md-12:nth-child(2n) .feature-text p {
    color: var(--c1-text);
}


/*******************************/
/********** About CSS **********/
/*******************************/
.about {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.about .section-header { margin-bottom: 30px; }

.about .about-img {
    position: relative;
    height: 100%;
}

.about .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .about-text p { font-size: 16px; }

.about .about-text a.btn {
    position: relative;
    margin-top: 15px;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--c1-text);
    border-radius: 0;
    background: var(--c1);
    transition: .3s;
}

.about .about-text a.btn:hover {
    background: var(--c3);
    color: var(--c3-text);
}

@media (max-width: 767.98px) {
    .about .about-img { margin-bottom: 30px; height: auto; }
}


/*******************************/
/********** Fact CSS ***********/
/*******************************/
.fact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.fact .col-6 {
    display: flex;
    align-items: flex-start;
}

.fact .fact-icon {
    position: relative;
    margin: 7px 15px 0 15px;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fact .fact-icon [class^="flaticon-"]::before {
    margin: 0;
    font-size: 60px;
    line-height: 60px;
    background-image: linear-gradient(#ffffff, var(--c2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.fact .fact-right .fact-icon [class^="flaticon-"]::before {
    background-image: linear-gradient(#ffffff, var(--c1));
}

.fact .fact-left, .fact .fact-right {
    padding-top: 60px;
    padding-bottom: 60px;
}

.fact .fact-text h2 { font-size: 35px; font-weight: 700; }

.fact .fact-text p {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.fact .fact-left {
    color: var(--c2-text);
    background: var(--c2);
    transition: background 0.4s ease;
}

.fact .fact-left h2 { color: var(--c2-text); }

.fact .fact-right {
    color: var(--c1-text);
    background: var(--c1);
    transition: background 0.4s ease;
}

.fact .fact-right h2 { color: var(--c1-text); }


/*******************************/
/********* Service CSS *********/
/*******************************/
.service {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.service .service-item {
    position: relative;
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.service .service-img {
    position: relative;
    overflow: hidden;
}

.service .service-img img { width: 100%; }

.service .service-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(65, 143, 225, .8);
    transition: .5s;
    opacity: 0;
}

.service .service-item:hover .service-overlay { opacity: 1; }

.service .service-overlay p { margin: 0; color: #ffffff; }

.service .service-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: var(--c2);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: background 0.4s ease;
}

.service .service-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 20px;
    font-weight: 700;
    color: var(--c2-text);
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}

.service .service-item a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: var(--c1-text);
    background: var(--c1);
    border-radius: 0;
    transition: .3s;
}

.service .service-item:hover a.btn { opacity: 0.85; }


/*******************************/
/********** Video CSS **********/
/*******************************/
.video {
    position: relative;
    margin: 45px 0;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(65, 143, 225, .9), rgba(65, 143, 225, .9)), url(../img/carousel-1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--c1);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--c1);
    border-radius: 50%;
    transition: all 200ms;
}

.video .btn-play img { position: relative; z-index: 3; max-width: 100%; width: auto; height: auto; }

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--c2-text);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}

@keyframes pulse-border {
    0%   { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);   opacity: 1; }
    100% { transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; }
}

#videoModal .modal-dialog { position: relative; max-width: 800px; margin: 60px auto 0 auto; }
#videoModal .modal-body { position: relative; padding: 0; }

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}


/*******************************/
/*********** Team CSS **********/
/*******************************/
.team {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.team .team-item { position: relative; margin-bottom: 30px; overflow: hidden; }
.team .team-img { position: relative; }
.team .team-img img { width: 100%; }

.team .team-text {
    position: relative;
    padding: 25px 15px;
    text-align: center;
    background: var(--c2);
    transition: background 0.5s;
}

.team .team-text h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--c2-text);
    transition: color 0.5s;
}

.team .team-text p { margin: 0; color: var(--c2-text); opacity: 0.85; }

.team .team-item:hover .team-text { background: var(--c1); }

.team .team-item:hover .team-text h2 {
    color: var(--c1-text);
    letter-spacing: 1px;
}

.team .team-item:hover .team-text p { color: var(--c1-text); }

.team .team-social {
    position: absolute;
    width: 100px;
    top: 0;
    left: -50px;
    display: flex;
    flex-direction: column;
    font-size: 0;
}

.team .team-social a {
    position: relative;
    left: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #ffffff;
}

.team .team-item:hover .team-social a:first-child  { background: #00acee; left: 50px; transition: .3s 0s; }
.team .team-item:hover .team-social a:nth-child(2)  { background: #3b5998; left: 50px; transition: .3s .1s; }
.team .team-item:hover .team-social a:nth-child(3)  { background: #0e76a8; left: 50px; transition: .3s .2s; }
.team .team-item:hover .team-social a:nth-child(4)  { background: #3f729b; left: 50px; transition: .3s .3s; }


/*******************************/
/*********** FAQs CSS **********/
/*******************************/
.faqs {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.faqs .row { position: relative; }

.faqs .row::after {
    display: none;  
    position: absolute;
    content: "";
    width: 1px;
    height: 100%;
    top: 0;
    left: calc(50% - .5px);
    background: var(--c1);
}

.faqs #accordion-1 { padding-right: 15px; }
.faqs #accordion-2 { padding-left: 15px; }

@media(max-width: 767.98px) {
    .faqs .row::after { display: none; }
    .faqs #accordion-1, .faqs #accordion-2 { padding: 0; }
    .faqs #accordion-2 { padding-top: 15px; }
}

.faqs .card { margin-bottom: 15px; border: none; border-radius: 0; }
.faqs .card:last-child { margin-bottom: 0; }

.faqs .card-header {
    padding: 0;
    border: none;
    background: #ffffff;
}

.faqs .card-header a {
    display: block;
    padding: 10px 25px;
    width: 100%;
    color: #333333;
    font-size: 16px;
    line-height: 40px;
    border: 1px solid rgba(0, 0, 0, .1);
    transition: .5s;
}

.faqs .card-header [data-toggle="collapse"][aria-expanded="true"] {
    background: var(--c1);
    color: var(--c1-text);
}

.faqs .card-header [data-toggle="collapse"]:after {
    font-family: 'font Awesome 5 Free';
    content: "\f067";
    float: right;
    color: var(--c1);
    font-size: 12px;
    font-weight: 900;
    transition: .5s;
}

.faqs .card-header [data-toggle="collapse"][aria-expanded="true"]:after {
    font-family: 'font Awesome 5 Free';
    content: "\f068";
    float: right;
    color: var(--c1-text);
    font-size: 12px;
    font-weight: 900;
    transition: .5s;
}

.faqs .card-body {
    padding: 20px 25px;
    font-size: 16px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, .1);
    border-top: none;
}


/*******************************/
/******* Testimonial CSS *******/
/*******************************/
.testimonial {
    position: relative;
    margin: 45px 0;
    padding: 90px 0;
    text-align: center;
    background: linear-gradient(rgba(10, 22, 40, 0.92), rgba(10, 22, 40, 0.92)), url(../img/carousel-1.jpg);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.testimonial .container { max-width: 760px; }

.testimonial .testimonial-slider-nav {
    position: relative;
    width: 300px;
    margin: 0 auto;
}

.testimonial .testimonial-slider-nav .slick-slide { position: relative; opacity: 0; transition: .5s; }
.testimonial .testimonial-slider-nav .slick-active { opacity: 1; transform: scale(1.3); }
.testimonial .testimonial-slider-nav .slick-center { transform: scale(1.8); z-index: 1; }

.testimonial .testimonial-slider-nav .slick-slide img {
    position: relative;
    display: block;
    margin-top: 37px;
    width: 100%;
    height: auto;
    border-radius: 100px;
}

.testimonial .testimonial-slider {
    position: relative;
    margin-top: 15px;
    padding-top: 50px;
}

.testimonial .testimonial-slider::before {
    position: absolute;
    content: "";
    width: 60px;
    height: 50px;
    top: 0;
    left: calc(50% - 30px);
    background: url(../img/quote.png) top center no-repeat;
}

.testimonial .testimonial-slider h3 { color: var(--c1); font-size: 22px; font-weight: 700; }
.testimonial .testimonial-slider h4 { font-size: 14px; font-weight: 300; color: #adb8c8; font-style: italic; margin-bottom: 10px; }
.testimonial .testimonial-slider p { color: #ffffff; font-size: 16px; font-weight: 300; margin: 0; }


/*******************************/
/*********** Blog CSS **********/
/*******************************/
.blog {
    position: relative;
    width: 100%;
    padding: 45px 0 15px 0;
}

.blog .blog-item { position: relative; width: 100%; text-align: center; margin-bottom: 30px; }
.blog .blog-img { position: relative; overflow: hidden; }
.blog .blog-img img { width: 100%; }

.blog .blog-title {
    display: flex;
    align-items: center;
    height: 60px;
    background: var(--c2);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: background 0.4s ease;
}

.blog .blog-title h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 18px;
    font-weight: 700;
    color: var(--c2-text);
    text-align: left;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}

.blog .blog-title a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: var(--c1-text);
    background: var(--c1);
    border-radius: 0;
    transition: .3s;
}

.blog .blog-item:hover a.btn { opacity: 0.85; }

.blog .blog-meta {
    position: relative;
    padding: 25px 0 10px 0;
    background: #f3f6ff;
}

.blog .blog-meta::after {
    position: absolute;
    content: "";
    width: 100px;
    height: 1px;
    left: calc(50% - 50px);
    bottom: 0;
    background: var(--c1);
}

.blog .blog-meta p { display: inline-block; margin: 0; padding: 0 3px; font-size: 14px; font-weight: 300; font-style: italic; color: #666666; }
.blog .blog-meta p a { margin-left: 5px; font-style: normal; }
.blog .blog-text { padding: 10px 25px 25px 25px; background: #f3f6ff; }
.blog .blog-text p { margin: 0; font-size: 16px; }

.blog .pagination .page-link { color: var(--c1); border-radius: 0; border-color: var(--c1); }
.blog .pagination .page-link:hover,
.blog .pagination .page-item.active .page-link { color: var(--c1-text); background: var(--c1); }
.blog .pagination .disabled .page-link { color: #999999; }


/*******************************/
/******* Single Post CSS *******/
/*******************************/
.single { position: relative; padding: 45px 0; }
.single .single-content { position: relative; margin-bottom: 30px; overflow: hidden; }
.single .single-content img { margin-bottom: 20px; width: 100%; }
.single .single-tags { margin: -5px -5px 41px -5px; font-size: 0; }

.single .single-tags a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    border: 1px solid #dddddd;
}

.single .single-tags a:hover { color: var(--c1-text); background: var(--c1); }

.single .single-bio { margin-bottom: 45px; padding: 30px; background: #f3f6ff; display: flex; }
.single .single-bio-img { width: 100%; max-width: 100px; }
.single .single-bio-img img { width: 100%; }
.single .single-bio-text { padding-left: 30px; }
.single .single-bio-text h3 { font-size: 20px; font-weight: 700; }
.single .single-bio-text p { margin: 0; }
.single .single-related { margin-bottom: 45px; }
.single .single-related h2 { font-size: 30px; font-weight: 700; margin-bottom: 25px; }
.single .related-slider { position: relative; margin: 0 -15px; width: calc(100% + 30px); }
.single .related-slider .post-item { margin: 0 15px; }
.single .post-item { display: flex; align-items: center; margin-bottom: 15px; }
.single .post-item .post-img { width: 100%; max-width: 80px; }
.single .post-item .post-img img { width: 100%; }
.single .post-item .post-text { padding-left: 15px; }
.single .post-item .post-text a { font-size: 16px; font-weight: 400; }
.single .post-item .post-meta { display: flex; margin-top: 8px; }
.single .post-item .post-meta p { display: inline-block; margin: 0; padding: 0 3px; font-size: 14px; font-weight: 300; font-style: italic; }
.single .post-item .post-meta p a { margin-left: 5px; font-size: 14px; font-weight: 300; font-style: normal; }

.single .related-slider .owl-nav { position: absolute; width: 90px; top: -55px; right: 15px; display: flex; }

.single .related-slider .owl-nav .owl-prev,
.single .related-slider .owl-nav .owl-next {
    margin-left: 15px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c1-text);
    background: var(--c1);
    font-size: 16px;
    transition: .3s;
}

.single .related-slider .owl-nav .owl-prev:hover,
.single .related-slider .owl-nav .owl-next:hover { opacity: 0.8; }

.single .single-comment { position: relative; margin-bottom: 45px; }
.single .single-comment h2 { font-size: 30px; font-weight: 700; margin-bottom: 25px; }
.single .comment-list { list-style: none; padding: 0; }
.single .comment-child { list-style: none; }
.single .comment-body { display: flex; margin-bottom: 30px; }
.single .comment-img { width: 60px; }
.single .comment-img img { width: 100%; }
.single .comment-text { padding-left: 15px; width: calc(100% - 60px); }
.single .comment-text h3 { font-size: 18px; font-weight: 600; margin-bottom: 3px; }
.single .comment-text span { display: block; font-size: 14px; font-weight: 300; margin-bottom: 5px; }

.single .comment-text .btn {
    padding: 3px 10px;
    font-size: 14px;
    color: var(--c1-text);
    background: var(--c1);
    border-radius: 0;
}

.single .comment-text .btn:hover { opacity: 0.8; }

.single .comment-form { position: relative; }
.single .comment-form h2 { font-size: 30px; font-weight: 700; margin-bottom: 25px; }
.single .comment-form form { padding: 30px; background: #f3f6ff; }
.single .comment-form form .form-group:last-child { margin: 0; }
.single .comment-form input, .single .comment-form textarea { border-radius: 0; }

.single .comment-form .btn {
    padding: 15px 30px;
    color: var(--c1-text);
    background: var(--c1);
}

.single .comment-form .btn:hover { opacity: 0.85; }


/**********************************/
/*********** Sidebar CSS **********/
/**********************************/
.sidebar { position: relative; width: 100%; }

@media(max-width: 991.98px) { .sidebar { margin-top: 45px; } }

.sidebar .sidebar-widget { position: relative; margin-bottom: 45px; }

.sidebar .sidebar-widget .widget-title {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 30px;
    font-weight: 700;
}

.sidebar .sidebar-widget .widget-title::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--c1);
}

.sidebar .search-widget { position: relative; }

.sidebar .search-widget input {
    height: 50px;
    border: 1px solid #dddddd;
    border-radius: 0;
}

.sidebar .search-widget input:focus { box-shadow: none; }

.sidebar .search-widget .btn {
    position: absolute;
    top: 6px;
    right: 15px;
    height: 40px;
    padding: 0;
    font-size: 25px;
    color: var(--c1);
    background: none;
    border-radius: 0;
    border: none;
    transition: .3s;
}

.sidebar .search-widget .btn:hover { opacity: 0.7; }

.sidebar .tab-post .nav.nav-pills .nav-link {
    color: var(--c2-text);
    background: var(--c2);
    border-radius: 0;
}

.sidebar .tab-post .nav.nav-pills .nav-link:hover,
.sidebar .tab-post .nav.nav-pills .nav-link.active {
    color: var(--c1-text);
    background: var(--c1);
}

.sidebar .tab-post .tab-content { padding: 15px 0 0 0; background: transparent; }
.sidebar .tab-post .tab-content .container { padding: 0; }

.sidebar .category-widget ul { margin: 0; padding: 0; list-style: none; }
.sidebar .category-widget ul li { margin: 0 0 12px 22px; }
.sidebar .category-widget ul li:last-child { margin-bottom: 0; }
.sidebar .category-widget ul li a { display: inline-block; line-height: 23px; }

.sidebar .category-widget ul li::before {
    position: absolute;
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--c1);
    left: 1px;
}

.sidebar .category-widget ul li span { display: inline-block; float: right; }
.sidebar .sidebar-widget .tag-widget { position: relative; margin: -5px -5px; }

.single .tag-widget a {
    margin: 5px;
    display: inline-block;
    padding: 7px 15px;
    font-size: 14px;
    font-weight: 400;
    color: #666666;
    border: 1px solid #dddddd;
}

.single .tag-widget a:hover { color: var(--c1-text); background: var(--c1); }

.sidebar .image-widget { display: block; width: 100%; overflow: hidden; }
.sidebar .image-widget img { max-width: 100%; transition: .3s; }
.sidebar .image-widget img:hover { transform: scale(1.1); }


/*******************************/
/******** Portfolio CSS ********/
/*******************************/
.portfolio { position: relative; padding: 45px 0; }

.portfolio #portfolio-flters {
    padding: 0;
    margin: -15px 0 25px 0;
    list-style: none;
    font-size: 0;
    text-align: center;
}

.portfolio #portfolio-flters li,
.portfolio .load-more .btn {
    cursor: pointer;
    display: inline-block;
    margin: 5px;
    padding: 8px 15px;
    color: var(--c1-text);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    border-radius: 0;
    background: var(--c1);
    border: none;
    transition: .3s;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
    background: var(--c3);
    color: var(--c3-text);
}

.portfolio .load-more { text-align: center; }
.portfolio .load-more .btn { padding: 15px 35px; font-size: 16px; }
.portfolio .load-more .btn:hover { background: var(--c3); color: var(--c3-text); }

.portfolio .portfolio-warp { position: relative; width: 100%; text-align: center; margin-bottom: 30px; }
.portfolio .portfolio-img { position: relative; overflow: hidden; }
.portfolio .portfolio-img img { width: 100%; transition: .3s; }
.portfolio .portfolio-item:hover img { transform: scale(1.1); }

.portfolio .portfolio-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(65, 143, 225, .8);
    transition: .5s;
    opacity: 0;
}

.portfolio .portfolio-warp:hover .portfolio-overlay { opacity: 1; }
.portfolio .portfolio-overlay p { margin: 0; color: #ffffff; }

.portfolio .portfolio-text {
    display: flex;
    align-items: center;
    height: 60px;
    background: var(--c3);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: background 0.4s ease;
}

.portfolio .portfolio-text h3 {
    margin: 0;
    padding: 0 15px 0 25px;
    width: calc(100% - 60px);
    font-size: 20px;
    font-weight: 700;
    color: var(--c3-text);
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    transition: color 0.4s ease;
}

.portfolio .portfolio-warp a.btn {
    width: 60px;
    height: 60px;
    padding: 3px 0 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    line-height: 60px;
    font-weight: 100;
    color: var(--c1-text);
    background: var(--c1);
    border-radius: 0;
    transition: .3s;
}

.portfolio .portfolio-warp:hover a.btn { opacity: 0.85; }


/*******************************/
/********* Contact CSS *********/
/*******************************/
.contact {
    position: relative;
    width: 100%;
    padding: 45px 0;
}

.contact .col-md-6 { padding-top: 30px; padding-bottom: 30px; }

.contact .col-md-6:first-child {
    background: var(--c2);
    transition: background 0.4s ease;
}

.contact .col-md-6:last-child {
    background: var(--c1);
    transition: background 0.4s ease;
}

.contact .contact-info { position: relative; width: 100%; padding: 0 15px; }

.contact .contact-item {
    position: relative;
    margin-bottom: 30px;
    padding: 30px;
    display: flex;
    align-items: flex-start;
    flex-direction: row;
    border: 1px solid rgba(255, 255, 255, .2);
}

.contact .contact-item [class^="flaticon-"]::before {
    margin: 0;
    color: var(--c2-text);
    font-size: 40px;
}

.contact .contact-text { position: relative; width: auto; padding-left: 20px; }

.contact .contact-text h2 {
    color: var(--c2-text);
    font-size: 20px;
    font-weight: 600;
}

.contact .contact-text p { margin: 0; color: var(--c2-text); opacity: 0.85; font-size: 16px; }

.contact .contact-item:last-child { margin-bottom: 0; }

.contact .contact-form { position: relative; padding: 0 15px; }

.contact .contact-form input {
    color: var(--c1-text);
    height: 40px;
    border-radius: 0;
    border-width: 1px;
    border-color: rgba(255, 255, 255, .4);
    background: transparent;
}

.contact .contact-form textarea {
    color: var(--c1-text);
    height: 185px;
    border-radius: 0;
    border-width: 1px;
    border-color: rgba(255, 255, 255, .4);
    background: transparent;
}

.contact .contact-form input:focus, .contact .contact-form textarea { box-shadow: none; }

.contact .contact-form .form-control::placeholder { color: var(--c1-text); opacity: 0.7; }
.contact .contact-form .form-control::-ms-input-placeholder { color: var(--c1-text); }

.contact .contact-form .btn {
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--c2);
    background: var(--c2-text);
    border: none;
    border-radius: 0;
    transition: .3s;
}

.contact .contact-form .btn:hover { opacity: 0.85; }

.contact .help-block ul { margin: 0; padding: 0; list-style-type: none; }


/*******************************/
/********* Footer CSS **********/
/*******************************/
.footer {
    position: relative;
    margin-top: 45px;
    padding-top: 90px;
    background: var(--c3);
    color: var(--c3-text);
    transition: background 0.4s ease;
}

.footer .footer-contact,
.footer .footer-link,
.footer .newsletter { position: relative; margin-bottom: 45px; }

.footer h2 {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
    color: var(--c1);
    transition: color 0.4s ease;
}

.footer h2::after {
    position: absolute;
    content: "";
    width: 60px;
    height: 2px;
    left: 0;
    bottom: 0;
    background: var(--c1);
    transition: background 0.4s ease;
}

.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: var(--c3-text);
    opacity: 0.85;
    transition: .3s;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover { color: var(--c1); opacity: 1; letter-spacing: 1px; }

.footer .footer-contact p i { width: 25px; }

.footer .footer-social { position: relative; margin-top: 20px; }

.footer .footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    padding: 7px 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 60px;
    transition: .3s;
}

.footer .footer-social a i { font-size: 15px; color: var(--c3-text); }

.footer .footer-social a:hover {
    background: var(--c1);
    border-color: var(--c1);
}

.footer .footer-social a:hover i { color: var(--c1-text); }

.footer .newsletter .form { position: relative; max-width: 400px; margin: 0 auto; }

.footer .newsletter input {
    height: 50px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 0;
    background: rgba(255,255,255,0.05);
    color: var(--c3-text);
}

.footer .newsletter .btn {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 40px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--c3);
    background: var(--c1);
    border-radius: 0;
    border: none;
    transition: .3s;
}

.footer .newsletter .btn:hover { opacity: 0.85; }

.footer .footer-menu .f-menu {
    position: relative;
    padding: 15px 0;
    font-size: 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu .f-menu a {
    color: var(--c3-text);
    font-size: 16px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    opacity: 0.8;
}

.footer .footer-menu .f-menu a:hover { color: var(--c1); opacity: 1; }

.footer .footer-menu .f-menu a:last-child { margin-right: 0; padding-right: 0; border-right: none; }

.footer .copyright { padding: 30px 15px; }

.footer .copyright p { margin: 0; color: var(--c3-text); opacity: 0.7; }

.footer .copyright .col-md-6:last-child p { text-align: right; }

.footer .copyright p a { color: var(--c1); font-weight: 500; letter-spacing: 1px; opacity: 1; }

.footer .copyright p a:hover { opacity: 0.8; }

@media (max-width: 768px) {
    .footer .copyright p,
    .footer .copyright .col-md-6:last-child p { margin: 5px 0; text-align: center; }
}


/*******************************/
/****** Scheme Toast CSS *******/
/*******************************/
.scheme-toast {
    position: fixed;
    bottom: 70px;
    right: 15px;
    background: var(--c3);
    color: var(--c3-text);
    padding: 8px 16px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    border-left: 4px solid var(--c1);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 9999;
    pointer-events: none;
}

.scheme-toast.show {
    opacity: 1;
    transform: translateY(0);
}

/*******************************/
/***** White Top Schemes  ******/
/*******************************/
/*
  When body has class 'white-top':
  - top-bar background = white
  - nav-bar wrapper background = white
  - logo, icons, contact text = c2 colour (so they still match the navbar)
  - .navbar inner strip = c2 (unchanged, already set)
*/

body.white-top .top-bar {
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}

body.white-top .nav-bar {
    background: #ffffff;
}

body.white-top .top-bar .logo h1 {
    color: var(--c2);
}

body.white-top .top-bar .top-bar-icon [class^="flaticon-"]::before {
    color: var(--c2);
}

body.white-top .top-bar .top-bar-text h3,
body.white-top .top-bar .top-bar-text p {
    color: var(--c2);
}


/*******************************/
/**** Mobile Nav Top Bar  ******/
/*******************************/
/*
  On mobile: move the hamburger button into the navy top-bar,
  alongside the logo. The blue nav-bar wrapper still exists
  but we hide it until the menu is open.
*/

@media (max-width: 991.98px) {

    /* Top bar becomes a flex row: logo left, burger right */
    .top-bar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        height: 100%;
    }

    /* Hide the contact info on mobile (not enough room) */
    .top-bar .col-lg-8 {
        display: none !important;
    }

    /* Logo column takes remaining width */
    .top-bar .col-lg-4 {
        flex: 1;
        max-width: 100%;
    }

    /* Clone the toggler button style into top-bar */
    .top-bar .mobile-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.6);
        border-radius: 4px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .top-bar .mobile-toggler span {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        position: relative;
    }

    .top-bar .mobile-toggler span::before,
    .top-bar .mobile-toggler span::after {
        content: "";
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        position: absolute;
        left: 0;
    }

    .top-bar .mobile-toggler span::before { top: -7px; }
    .top-bar .mobile-toggler span::after  { top:  7px; }

    /* Hide the original nav-bar burger and MENU text on mobile */
    .nav-bar .navbar-toggler,
    .nav-bar .navbar-brand {
        display: none !important;
    }

    /* Nav-bar wrapper: collapse to 0 height when closed,
       expand when body has .nav-open class */
    .nav-bar {
        overflow: hidden;
    }

    .nav-bar .navbar-collapse:not(.show) {
        display: none;
    }

    /* When menu is open, show it full width below top bar */
    body.nav-open .nav-bar .navbar-collapse {
        display: block !important;
    }
}

/* Hide the mobile toggler on desktop */
@media (min-width: 992px) {
    .top-bar .mobile-toggler {
        display: none;
    }
}

/*******************************/
/**** Mobile Nav — Clean  ******/
/*******************************/

@media (max-width: 991.98px) {

    /* Top bar: flex row, logo left, burger right */
    .top-bar {
        height: auto;
        min-height: 70px;
        padding: 10px 15px;
    }

    .top-bar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
    }

    /* Hide the desktop contact info columns */
    .top-bar .col-lg-8,
    .top-bar .col-md-7 {
        display: none !important;
    }

    .top-bar .col-lg-4 {
        flex: 1;
        max-width: 100%;
        padding: 0;
    }

    .top-bar .logo {
        padding: 0;
    }

    /* Hamburger button in top bar */
    .top-bar .mobile-toggler {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.5);
        border-radius: 4px;
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
    }

    .top-bar .mobile-toggler .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
    }

    /* Completely hide the blue nav-bar on mobile by default */
    .nav-bar {
        display: none;
    }

    /* When menu is open, show it */
    body.nav-open .nav-bar {
        display: block;
    }

    body.nav-open .nav-bar .navbar-collapse {
        display: block !important;
    }

    /* Hide the Bootstrap toggler and MENU brand — we have our own */
    .nav-bar .navbar-toggler,
    .nav-bar .navbar-brand {
        display: none !important;
    }
}

/* Hide mobile toggler on desktop */
@media (min-width: 992px) {
    .top-bar .mobile-toggler {
        display: none;
    }
}

/*******************************/
/**** Mobile Nav — Single Bar **/
/*******************************/

@media (max-width: 991.98px) {

    /* Top bar: single row, logo left, burger right */
    .top-bar {
        height: 70px;
        display: flex;
        align-items: center;
    }

    .top-bar .container-fluid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 15px;
        height: 100%;
        width: 100%;
    }

    /* Hide contact info columns */
    .top-bar .col-lg-8,
    .top-bar .col-md-7 {
        display: none !important;
    }

    .top-bar .col-lg-4 {
        flex: 0 0 auto;
        max-width: none;
        width: auto;
        padding: 0;
    }

    .top-bar .logo {
        padding: 0;
    }

    /* Our custom burger sits right in the top bar */
    .top-bar .mobile-toggler {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: transparent;
        border: 2px solid rgba(255,255,255,0.5);
        border-radius: 4px;
        cursor: pointer;
        flex-shrink: 0;
        padding: 0;
        margin-left: auto;
    }

    .top-bar .mobile-toggler .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        transition: 0.3s;
    }

    /* Hide the blue nav-bar entirely on mobile by default */
    .nav-bar {
        display: none;
    }

    /* Show nav-bar when menu is open */
    body.nav-open .nav-bar {
        display: block;
    }

    body.nav-open .nav-bar .navbar-collapse {
        display: block !important;
    }

    /* Hide Bootstrap's own toggler and MENU text */
    .nav-bar .navbar-toggler,
    .nav-bar .navbar-brand {
        display: none !important;
    }
}

/* Hide our custom burger on desktop */
@media (min-width: 992px) {
    .top-bar .mobile-toggler {
        display: none !important;
    }
}

/*******************************/
/**** Mobile Nav — Single Bar **/
/*******************************/

@media (max-width: 991.98px) {

    /* Top bar fills full width, fixed height, flex row */
    .top-bar {
        height: 70px !important;
        padding: 0 !important;
    }

    .top-bar .container-fluid {
        height: 70px;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    /* Bootstrap row: flex row, logo left, burger right */
    .top-bar .container-fluid > .row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }

    /* Logo column: auto width, no padding */
    .top-bar .col-lg-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    /* Hide contact info on mobile */
    .top-bar .col-lg-8,
    .top-bar .col-md-7 {
        display: none !important;
    }

    .top-bar .logo {
        padding: 0 !important;
    }

    /* Animated hamburger button */
    .top-bar .mobile-toggler {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        background: transparent !important;
        border: 2px solid rgba(255,255,255,0.45) !important;
        border-radius: 5px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
        position: relative !important;
    }

    .top-bar .mobile-toggler .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
    }

    .top-bar .mobile-toggler .bar:nth-child(1) { top: 13px; }
    .top-bar .mobile-toggler .bar:nth-child(2) { top: 20px; opacity: 1; }
    .top-bar .mobile-toggler .bar:nth-child(3) { top: 27px; }

    /* Animate to X when open */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(1) {
        top: 20px;
        transform: translateX(-50%) rotate(45deg);
    }
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-60px);
    }
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(3) {
        top: 20px;
        transform: translateX(-50%) rotate(-45deg);
    }

    /* Hide blue nav-bar entirely when closed */
    .nav-bar {
        display: none !important;
    }

    /* Show when open */
    body.nav-open .nav-bar {
        display: block !important;
    }

    body.nav-open .nav-bar .navbar-collapse {
        display: block !important;
    }

    /* Hide Bootstrap's own toggler */
    .nav-bar .navbar-toggler,
    .nav-bar .navbar-brand {
        display: none !important;
    }
}

/* Hide mobile toggler on desktop */
@media (min-width: 992px) {
    .top-bar .mobile-toggler {
        display: none !important;
    }
}

/*******************************/
/**** Mobile Nav — Single Bar **/
/*******************************/

@media (max-width: 991.98px) {

    .top-bar {
        height: 70px !important;
        padding: 0 !important;
    }

    .top-bar .container-fluid {
        height: 70px;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .top-bar .container-fluid > .row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }

    .top-bar .col-lg-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .top-bar .col-lg-8,
    .top-bar .col-md-7 {
        display: none !important;
    }

    .top-bar .logo {
        padding: 0 !important;
    }

    /* Hamburger button — no border, no background, just the 3 lines */
    .top-bar .mobile-toggler {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 6px !important;
        width: 44px !important;
        height: 44px !important;
        background: none !important;
        border: none !important;
        outline: none !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    /* The 3 bars — stacked with gap via flex */
    .top-bar .mobile-toggler .bar {
        display: block !important;
        width: 26px !important;
        height: 2px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transition: transform 0.3s ease, opacity 0.3s ease !important;
        transform-origin: center !important;
    }

    /* When open — top bar rotates down to form X top-right diagonal */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg) !important;
    }

    /* Middle bar fades out */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(2) {
        opacity: 0 !important;
        transform: scaleX(0) !important;
    }

    /* Bottom bar rotates up to form X bottom-right diagonal */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg) !important;
    }

    /* Hide blue nav-bar by default on mobile */
    .nav-bar {
        display: none !important;
    }

    body.nav-open .nav-bar {
        display: block !important;
    }

    body.nav-open .nav-bar .navbar-collapse {
        display: block !important;
    }

    .nav-bar .navbar-toggler,
    .nav-bar .navbar-brand {
        display: none !important;
    }
}

/* Hide mobile toggler on desktop */
@media (min-width: 992px) {
    .top-bar .mobile-toggler {
        display: none !important;
    }
}

/*******************************/
/**** Mobile Nav — Single Bar **/
/*******************************/

@media (max-width: 991.98px) {

    .top-bar {
        height: 70px !important;
        padding: 0 !important;
    }

    .top-bar .container-fluid {
        height: 70px;
        padding: 0 15px !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
    }

    .top-bar .container-fluid > .row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }

    .top-bar .col-lg-4 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        padding: 0 !important;
    }

    .top-bar .col-lg-8,
    .top-bar .col-md-7 {
        display: none !important;
    }

    .top-bar .logo {
        padding: 0 !important;
    }

    /* Hamburger button — no border, no background */
    .top-bar .mobile-toggler {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 40px !important;
        height: 40px !important;
        background: none !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        position: relative !important;
        -webkit-appearance: none !important;
    }

    /* 3 bars — absolutely positioned so X transform maths is exact */
    .top-bar .mobile-toggler .bar {
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        width: 24px !important;
        height: 2px !important;
        background: #ffffff !important;
        border-radius: 2px !important;
        transform: translateX(-50%) !important;
        transition: transform 0.3s ease, opacity 0.2s ease !important;
    }

    /* Bar positions: centre of button is 0, bars at -8, 0, +8 */
    .top-bar .mobile-toggler .bar:nth-child(1) { top: calc(50% - 8px); }
    .top-bar .mobile-toggler .bar:nth-child(2) { top: calc(50% - 1px); }
    .top-bar .mobile-toggler .bar:nth-child(3) { top: calc(50% + 6px); }

    /* Open state — top bar rotates to 45deg through centre */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(1) {
        top: calc(50% - 1px) !important;
        transform: translateX(-50%) rotate(45deg) !important;
    }

    /* Middle bar disappears */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(2) {
        opacity: 0 !important;
    }

    /* Bottom bar rotates to -45deg through centre */
    body.nav-open .top-bar .mobile-toggler .bar:nth-child(3) {
        top: calc(50% - 1px) !important;
        transform: translateX(-50%) rotate(-45deg) !important;
    }

    /* Hide blue nav-bar by default on mobile */
    .nav-bar {
        display: none !important;
    }

    body.nav-open .nav-bar {
        display: block !important;
    }

    body.nav-open .nav-bar .navbar-collapse {
        display: block !important;
    }

    .nav-bar .navbar-toggler,
    .nav-bar .navbar-brand {
        display: none !important;
    }
}

/* Hide mobile toggler on desktop */
@media (min-width: 992px) {
    .top-bar .mobile-toggler {
        display: none !important;
    }
}


/*******************************/
/**** Instagram Gallery CSS ****/
/*******************************/
/*  Styles for the gliding gallery section in index.html
    (search index.html for "INSTAGRAM GLIDING GALLERY").
    Accent + shadows use the theme, so it follows any colour scheme. */

.ig-gallery {
    padding: 70px 0;
    background: #f8f9fa;
    overflow: hidden;               /* hide tiles that drift off-screen */
}

.ig-track-mask {
    position: relative;
    width: 100%;
    /* soft fade in/out at the left & right edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ig-track {
    display: flex;
    width: max-content;
    gap: 18px;
    will-change: transform;   /* the gliding is driven by JS in index.html */
}

.ig-tile {
    position: relative;
    flex: 0 0 auto;
    width: 260px;
    height: 260px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(13, 37, 69, .14);
    transition: transform .3s ease;
}

.ig-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;      /* fills the square, crops overflow — no stretching */
    display: block;
}

.ig-tile:hover {
    transform: translateY(-6px) scale(1.02);
}

@media (max-width: 576px) {
    .ig-tile { width: 190px; height: 190px; }
}

/* accessibility: hold still for visitors who prefer reduced motion */
    .ig-track {
    display: flex;
    width: max-content;
    gap: 20px;
    will-change: transform;   /* motion is driven by JS: drag + momentum + auto-glide */
}

/* grab affordance + stop text/image selection while dragging */
.ig-track-mask {
    cursor: grab;
    touch-action: pan-y;      /* page still scrolls vertically; we own horizontal */
    user-select: none;
    -webkit-user-select: none;
}
.ig-track-mask.dragging { cursor: grabbing; }

.ig-tile {
    position: relative;
    flex: 0 0 auto;
    width: 300px;             /* portrait tiles, ~doubled from the old 260 squares */
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(13, 37, 69, .16);
    transition: transform .3s ease;
}

.ig-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;        /* fills the portrait frame, crops overflow - no stretch */
    display: block;
    -webkit-user-drag: none;  /* stop the browser ghost-dragging the image */
    pointer-events: none;     /* clicks/drags go to the tile link, not the raw image */
}

.ig-tile:hover {
    transform: translateY(-6px) scale(1.02);
}

@media (max-width: 576px) {
    .ig-tile { width: 220px; height: 310px; }
}

/* Instagram handle link under the gallery heading */
.ig-handle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--c1);            /* site accent blue; hover goes navy */
    font-weight: 600;
    font-size: 45px;
    text-decoration: none;
    transition: color .25s ease;
}
.ig-handle:hover { color: var(--c2); }
.ig-handle svg { display: block; width: 45px; height: 45px; }

/* ============================================================
   BURGER MENU — clean, self-contained (uses <i class="bl">,
   which none of the older toggler CSS targets). 3 lines -> X.
   ============================================================ */
@media (max-width: 991.98px) {
    .nav-bar .navbar-toggler { display: none !important; }   /* hide leftover Bootstrap toggler */

    .top-bar .mobile-toggler {
        position: relative !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        display: inline-flex !important;
        background: transparent !important;
    }
    .top-bar .mobile-toggler .bl {
        position: absolute;
        left: 50%;
        width: 24px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        transform: translateX(-50%);
        transition: top .3s ease, transform .3s ease, opacity .2s ease;
    }
    .top-bar .mobile-toggler .bl:nth-child(1) { top: 15px; }
    .top-bar .mobile-toggler .bl:nth-child(2) { top: 21px; }
    .top-bar .mobile-toggler .bl:nth-child(3) { top: 27px; }

    /* open -> X (middle line fades, outer two cross) */
    body.nav-open .top-bar .mobile-toggler .bl:nth-child(1) { top: 21px; transform: translateX(-50%) rotate(45deg); }
    body.nav-open .top-bar .mobile-toggler .bl:nth-child(2) { opacity: 0; }
    body.nav-open .top-bar .mobile-toggler .bl:nth-child(3) { top: 21px; transform: translateX(-50%) rotate(-45deg); }
}

/* ===== Accreditations strip (footer) ===== */
.footer .accreditations {
    text-align: center;
    padding: 28px 15px 6px;
}
.footer .accreditations .accred-label {
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.footer .accreditations .accred-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.footer .accreditations .accred-logos img {
    width: 220px;
    height: auto;
    /* clear space around the logo per HIES brand guidelines */
    padding: 10px 18px;
}
@media (max-width: 575px) {
    .footer .accreditations .accred-logos img { width: 180px; }
}
