@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

:root {
    --primary-color: #533B4D;
    /* --secondary-color: crimson; */
    --secondary-color: #db868b;
    --light-bg: #E0EAFF;
    --light-bg-2: #E0EAFF;
    --dark-purple: #4a1e8a;
    --text-color: #333;
    --light-text: #666;
    --white: #fff;
}

body {
    color: var(--text-color);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    background-color: #fff;
    overflow: visible;
    overflow-x: hidden;
    overflow-y: scroll;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.05em;
    word-break: break-word;
    font-family: 'Montserrat', sans-serif;
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

p {
    /* font-size: 18px !important; */
    margin-bottom: 1em;
}

section {
    padding: 90px 0 85px;
}

.light-bg {
    /* background-color: #f2d4d6; */
    background-color: #FEF7EE;
}

.dark-bg {
    background-color: var(--primary-color);
}

.special-heading {
    font-size: 42px;
    line-height: 1;
}

/* Header Styles */
.navbar {
    padding: 15px 0;
    background-color: var(--white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.navbar-brand img {
    height: 60px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    margin: 20px 10px;
    transition: color 0.3s;
    border: 1px solid transparent;
    padding: 10px 20px;
    border-radius: 3px;
    line-height: 14px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.navbar-nav .dropdown-toggle::after {
    margin-left: 8px;
    transition: transform var(--transition-speed);
}

.navbar-nav .dropdown.show .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    padding: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    min-width: max-content;
    transition: all var(--transition-speed);
    display: none;
    transform: translateY(10px);
}

.dropdown.show .dropdown-menu {
    opacity: 1;
    display: block;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    text-decoration: none;
    color: var(--text-color);
    transition: all var(--transition-speed);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.dropdown-menu li a:hover {
    background-color: var(--hover-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.btn {
    font-size: 18px;
    padding: 22px 15px;
    margin-bottom: 4px;
    line-height: 1;
    letter-spacing: normal;
    min-width: 170px;
    font-weight: 400;
    border-radius: 3px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-primary-alt {
    background: var(--white);
    border-color: var(--white);
    transition: all 0.3s;
    color: #333;
}

.btn-primary-alt:hover {
    background-color: transparent;
    border-color: white;
    color: var(--white);
}

/* footer  */
footer {
    background: #191718;
    padding: 90px 60px;
}

.footer-logo img {
    width: 80%;
    margin-bottom: 40px;
}

.footer-text{
    color: white;
}
.footer-heading {
    color: white;
    font-size: 25px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.footer-links li a,
.footer-contact {
    color: white;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 10px;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 10px;
}

a.social-icon {
    background: #35545c;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 50%;
    color: white;
    border: 1px solid #35545c;
    /* box-shadow: -1px 1px 5px 0px #333; */
    transition-duration: 0.2s;
}

a.social-icon:hover {
    background: var(--secondary-color);
    box-shadow: 0px 1px 9px 1px #919191;
}

.copyright {
    background: var(--primary-color);
    padding: 20px;
    color: white;
}

.copyright p {
    margin: 0px;
}

.first-letter:first-letter {
    display: inline-block;
    margin-right: 12px;
    line-height: 0.8;
    float: left;
    clear: both;
    font-family: 'Playfair Display', serif;
    font-size: 60px;
    color: #092b37
}

p.first-letter {
    text-align: justify;
}

/* breadcrumb  */
.breadcrumb {
    background: var(--primary-color);
    padding: 110px 0;
    text-align: center;
    color: white;
    margin-bottom: 0;
}

/* main banner  */
.hero {
    padding: 0 !important;
}

.banner {
    background-color: #DB868B;
    padding: 60px 0;
}

.hero:before {
    /* background-image: url(https://bookmarketeers.com/wp-content/uploads/2020/09/bg.jpg); */
    background-color: #DB868B;
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 80%;
    width: 100%;
    height: 90%;
    z-index: -2;
}

.hero .container {
    padding-top: 80px;
}

.hero h1,
.banner h1 {
    color: #fff;
    font-size: 42px;
    line-height: 42px;
    font-weight: 700;
}

.hero .banner-subtitle,
.banner .banner-subtitle {
    background: #FEF7EE;
    font-size: 14px;
    color: #333;
    line-height: 1;
    display: inline-block;
    padding: 9px 12px 7px;
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    margin-top: 50px;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero p,
.banner p {
    font-size: 18px;
    color: var(--white);
}

/* About Section Light */
.light-bg .section-content {
    padding: 10px;
}

.light-bg .section-content .section-title {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 30px;
    color: var(--text-color);
}

.light-bg .section-content .section-para {
    font-size: 16px;
    line-height: 31px;
    font-weight: 400;
    color: var(--light-text);
    font-family: 'Heebo', sans-serif;
    ;
}

/* About Section Dark  */
.dark-bg .section-content {
    padding: 10px;
}

.dark-bg .section-content .section-title {
    font-size: 3em;
    line-height: 1;
    margin-bottom: 30px;
    color: var(--white);
}

.dark-bg .section-content .section-para {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--white);
    font-family: 'Heebo', sans-serif;
}


/* Service Section  */
.services-section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.dark-bg .service-card {
    background: transparent;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-icon img {
    width: 50px;
    height: auto;
}

.dark-bg .service-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: white;
}

.service-title {
    font-size: 18px;
    font-weight: 600;
    margin: 15px 0 10px;
}

.dark-bg .service-description {
    font-size: 15px;
    color: #fff;
    line-height: 1.6;
}

.service-description {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .service-title {
        font-size: 16px;
    }

    .service-description {
        font-size: 14px;
    }
}

/* portfolio swiper  */
.swiper {
    width: 100%;
    padding-bottom: 40px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.swiper-button-next,
.swiper-button-prev {
    color: #000;
}

/* Owl Carousel Base Styles */
.owl-carousel {
    display: block !important;
    width: 100%;
    position: relative;
    z-index: 1;
}

.owl-carousel .owl-stage {
    position: relative;
    -ms-touch-action: pan-Y;
    touch-action: manipulation;
    -moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
    -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-item {
    position: relative;
    min-height: 1px;
    float: left;
    -webkit-backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Portfolio Carousel Specific Styles */
.carousel-portfolio {
    position: relative;
    margin: 40px 0;
}

.carousel-portfolio .item {
    padding: 10px;
}

.carousel-portfolio .book-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.carousel-portfolio .book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.carousel-portfolio .book-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.carousel-portfolio .book-card:hover img {
    transform: scale(1.05);
}

/* Navigation Arrows */
.carousel-portfolio .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    margin: 0;
    pointer-events: none;
}

.carousel-portfolio .owl-nav button {
    position: absolute;
    width: 50px;
    height: 50px;
    color: var(--primary-color) !important;
    border-radius: 50% !important;
    font-size: 24px !important;
    line-height: 50px !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: all 0.3s ease;
    pointer-events: auto;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    visibility: hidden;
}

.carousel-portfolio .owl-nav button:hover {
    background: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-portfolio .owl-nav button.owl-prev {
    left: -25px;
}

.carousel-portfolio .owl-nav button.owl-next {
    right: -25px;
}

/* Dots Navigation */
.carousel-portfolio .owl-dots {
    margin-top: 30px;
    text-align: center;
    display: none;
}

.carousel-portfolio .owl-dot {
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background: #ddd !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-portfolio .owl-dot.active {
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .carousel-portfolio .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
        line-height: 40px !important;
    }

    .carousel-portfolio .owl-nav button.owl-prev {
        left: -20px;
    }

    .carousel-portfolio .owl-nav button.owl-next {
        right: -20px;
    }
}

@media (max-width: 767px) {
    .carousel-portfolio .book-card img {
        height: 300px;
    }

    .carousel-portfolio .owl-nav {
        display: none;
    }
}



/* Industries Section */

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 10px;
}

.industry-card {
    background: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.industry-card:hover {
    transform: translateY(-5px);
}

.industry-card img {
    width: 60px;
    height: auto;
    margin-bottom: 15px;
}

.industry-card h6 {
    font-size: 15px;
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .industries-section h2 {
        font-size: 22px;
    }

    .industries-section p {
        font-size: 14px;
    }

    .industry-card {
        padding: 15px;
    }

    .industry-card h6 {
        font-size: 14px;
    }
}


/* Contact Section */
.list-bordered {
    padding: 0;
    list-style: none;
    overflow: hidden
}

.list-bordered li {
    padding-top: 14px;
    padding-bottom: 15px;
    border-top: 1px solid var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
}

.list-bordered li+li {
    border-top: none
}

.list-bordered.no-top-border>li:first-child {
    border-top: none
}

.list-bordered.no-bottom-border>li:last-child {
    border-bottom: none
}

.list-styled ul,
ul.list-styled {
    list-style: none;
    padding: 0
}

.list-styled ul li,
ul.list-styled li {
    position: relative;
    padding: 2px 0;
    color: #062637
}

.list-styled ul li:before,
ul.list-styled li:before {
    content: "";
    -webkit-mask: url('/wp-content/themes/cognio-child/img/arrow-list.png') no-repeat center / cover;
    background-color: #092b37;
    width: 20px;
    height: 7px;
    display: inline-block;
    position: relative;
    margin-right: 20px
}

.list-num ol,
ol.list-num {
    counter-reset: li !important;
    list-style: none outside none;
    padding: 0;
    margin-bottom: 0
}

.list-num ol li,
ol.list-num li {
    position: relative;
    padding: 2px 0;
    font-size: 14px;
    color: #062637
}

.list-num ol li::before,
ol.list-num li::before {
    padding-right: 10px;
    content: ".0" counter(li);
    counter-increment: li;
    left: 2px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    color: #092b37
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

.media .icon-styled i {
    font-size: 24px;
    color: var(--primary-color);
}

*+.media-body,
.media-body+* {
    margin-left: 15px;
}


/* Contact Section */
.contact-form {
    background-color: #fff;
    padding: 25px;
}

input,
textarea {
    height: auto;
    border-top: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-bottom: 1px solid #6e7a81 !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    color: #6e7a81 !important;
    padding: 0 40px 12px 0 !important;
    font-size: 14px !important;
    width: 100% !important;
    margin-bottom: 10px !important;
}


/* Testimonial Section */
.video-container {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Faq Section  */
.accordion-button {
    font-family: 'Heebo', sans-serif;
    font-size: 18px;
    letter-spacing: normal;
    font-weight: 400;
    display: flex;
    align-items: center;
    position: relative;
    padding: 25px 60px 24px 40px;
    transition: all 0.3s ease-in-out;
}

.accordion-button {
    background: #f2f2eb;
}

.accordion-button {
    border-radius: 3px;
    border: none;
    background: #f2d4d6;
    /* margin: 10px 0px; */
}

.accordion-button::after {
    display: none;
}

.accordion-button:not(.collapsed) {
    border-color: #f2d4d6 !important;
    background-color: #f2d4d6 !important;
    box-shadow: none !important;
    color: var(--text-color);
    padding-bottom: 0;
}

.accordion-button:focus {
    border-color: #f2d4d6 !important;
}

.accordion-item {
    background-color: #f2d4d6;
    margin: 10px 0;
}

.accordion-collapse .accordion-body {
    padding: 0 1.25rem 1rem 40px;
}

.p-50 {
    padding: 50px;
}

/* CTA Section  */
.cta-section {
    background-color: #41758370;
    pad: 30px 0;
}


/* Floating Buttons  */
#floating_btns {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    text-align: right;
    z-index: 99999
}

#floating_btns a {
    background-color: #f2f2eb;
    display: block;
    text-align: center;
    padding: 10px 16px;
    transition: all .3s ease;
    color: var(--primary-color);
    font-size: 20px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / .10);
    margin-top: 20px;
    margin-bottom: 5px;
    border: 2px solid #031521;
    border-radius: 6px 0 0 6px;
    margin-right: -2px;
    margin-left: auto;
    max-width: 60px
}

#floating_btns a:hover {
    background-color: #103440;
    color: #fff
}

#floating_btns a.rotate90 {
    transform: rotate(270deg) translate(42px, 50px);
    max-width: none;
    border-radius: 6px 6px 0 0;
    max-height: 60px;
    margin-top: auto
}

#floating_btns_right {
    position: fixed;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    left: 0;
    text-align: right;
    z-index: 99999
}

#floating_btns_right a {
    background-color: #f2f2eb;
    display: block;
    text-align: center;
    padding: 5px 10px;
    transition: all .3s ease;
    color: var(--primary-color);
    font-size: 16px;
    box-shadow: 0px 0px 10px rgb(0 0 0 / .10);
    margin-top: 5px;
    margin-bottom: 5px;
    border: 2px solid #031521;
    border-radius: 0 6px 6px 0;
    margin-right: auto;
    margin-left: -2px;
    max-width: 42px
}

#floating_btns_right a:hover {
    background-color: #103440;
    color: #fff
}

#floating_btns_right a.rotate90 {
    transform: rotate(90deg) translate(26px, 26px);
    max-width: none;
    border-radius: 6px 6px 0 0;
    max-height: 60px;
    margin-top: auto
}

@media(max-width: 480px) {

    #floating_btns,
    #floating_btns_right {
        display: none
    }
}

#floating_btns_right a svg {
    margin-top: 5px;
    fill: #163f4d
}

#floating_btns_right a:hover svg {
    fill: #fff
}


.testimonial-section {
  max-width: 700px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1a1a1a;
}

.swiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-slide.testimonial {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: left;
  box-sizing: border-box;
  display: block;
}

.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  color: #555;
}

.testimonial h4 {
  margin-top: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #222;
}

/* Swiper pagination style */
.swiper-pagination-bullet {
  background-color: #444;
  opacity: 0.6;
}

.swiper-pagination-bullet-active {
  background-color: #111;
  opacity: 1;
}