/* Basic styling from the provided code */
@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,500;1,6..12,500&display=swap');

.content a,
p>a {
    position: relative;
    display: inline-block;
    padding: 0 5px;
    color: black;
    /* Change as needed */
    background: url('assets/frontend/img/strokes.png') no-repeat center;
    background-size: contain;
}

.highlight-text {
    font-size: 2vw;
    line-height: 1.3em;
    position: relative;
    display: inline-block;
    padding: 5px 10px;
    color: black;
    text-align: center;
    /* Change as needed */
    background: url('assets/frontend/img/bigstroke.png') no-repeat center;
    background-size: contain;
}

.et_pb_row_1.et_pb_row {
    padding-top: 10vh !important;
    padding-right: 5vw !important;
    padding-bottom: 10vh !important;
    padding-left: 5vw !important;
    padding-top: 10vh;
    padding-right: 5vw;
    padding-bottom: 10vh;
    padding-left: 5vw;
}

.bg-lights {
    background-color: color-mix(in srgb, #388da8, transparent 90%);
}

.hero .hero-bg img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .hero-bg::before {
    content: "";
    background: color-mix(in srgb, #f8fbfc, transparent 15%);
    position: absolute;
    inset: 0;
    z-index: 2;
}

.hero>.custom_container,
.hero>.container-fluid {
    position: relative;
    z-index: 3;
}

.et_pb_text_6,
.et_pb_text_7,
.et_pb_text_8 {
    font-family: 'Segoe', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    padding-top: 3vw !important;
    padding-right: 3vw !important;
    padding-bottom: 48px !important;
    padding-left: 3vw !important;
}

.bd-bottom {
    border-bottom: 1px solid #000000;
}

.bd-right {
    border-right: 1px solid #000000;
    padding-top: 0px;
    padding-bottom: 20px;
}

.section {
    scroll-margin-top: 90px;
    overflow: clip;
}

.blog-details .article {
    background-color: #ffffff;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details img {
    overflow: hidden;
    width: 100%;
    height: auto;
}

.blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog-details .content blockquote {
    overflow: hidden;
    background-color: color-mix(in srgb, #212529, transparent 95%);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog-details .content blockquote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #4154f1;
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog-details .content blockquote p {
    color: #212529;
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog-details .content ul {
    list-style: none;
    padding: 0;
    font-size: 15px;
}

.blog-details .content ul li::before {
    content: "\F26B";
    /* Unicode for Bootstrap 'check-circle' */
    font-family: "bootstrap-icons";
    font-size: 20px;
    color: #97d8f0;
    position: absolute;
    left: 0;
    top: 2px;
}

.blog-details .content ul li {
    padding: 5px 0;
    display: flex;
}

.blog-details .content ul li {
    list-style: none;
    position: relative;
    padding-left: 25px;
}

.blog-details .content ul i {
    font-size: 20px;
    margin-right: 8px;
    color: #97d8f0;
}


.content_section {
    position: relative;
    background: linear-gradient(135deg,
            color-mix(in srgb,#0d83fd, transparent 95%) 53%,
            color-mix(in srgb,#0d83fd, transparent 98%) 25%, transparent 50%);
}

.light-background {
    background-color: #f3f9ff;
    surface-color: #ffffff;
}

.widget-item {
    margin-bottom: 30px;
    background-color:
        color-mix(in srgb, #212529, transparent 98%);
    border: 1px solid
        color-mix(in srgb, #212529, transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

.widget-title {
    color: #535353;
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid #465367;
}

.recent-posts-widget .post-item {
    display: flex;
    margin-bottom: 5px;
}

.recent-posts-widget .post-item img {
    width: 80px;
    margin-right: 15px;
}

.flex-shrink-0 {
    flex-shrink: 0 !important;
}

.recent-posts-widget .post-item h4 {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
    color: #212529;
    transition: 0.3s;
}

.recent-posts-widget .post-item time {
    display: block;
    font-style: italic;
    font-size: 14px;
    color:
        color-mix(in srgb, #212529, transparent 50%);
}

/*}... */
.faq .faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d465e;
}

.faq .faq-description {
    font-size: 1rem;
    color: #212529;
    margin-bottom: 2rem;
}

.faq .faq-arrow {
    color: #0d83fd;
}

.faq .faq-container .faq-item {
    background-color: #ffffff;
    position: relative;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq .faq-container .faq-item h3 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    margin: 0 30px 0 0;
    transition: 0.3s;
    cursor: pointer;
    display: flex;
    color: #2d465e;
    align-items: center;
    font-family: "Nunito Sans", serif;
}

/*.faq .faq-container .faq-item .faq-content {*/
/*    display: grid;*/
/*    grid-template-rows: 0fr;*/
/*    transition: 0.3s ease-in-out;*/
/*    visibility: hidden;*/
/*    opacity: 0;*/
/*}*/
.faq .faq-container .faq-item .faq-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 16px;
    line-height: 0;
    transition: 0.3s;
    cursor: pointer;
}

.faq .faq-container .faq-active .faq-toggle {
    transform: rotate(90deg);
    color: #0d83fd;
}

.faq .faq-container .faq-item .faq-content p {
    margin-bottom: 0;
    overflow: hidden;
}

.faq .faq-container .faq-active h3 {
    color: #0d83fd;
}

.faq-content {
    display: none;
    padding: 10px 0;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-item.active .faq-toggle {
    transform: rotate(90deg);
}

.faq-img {
    position: absolute;
    width: 65%;
    top: 100px;
}

.recent-posts-widget {
    padding: 20px;
}

.post-item {
    position: relative;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
}

.post-item h4 a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    transition: color 0.3s ease-in-out;
}

.post-item h4 a:hover {
    color: #007bff;
}

.post-item h4 a::after {
    content: " →";
    font-size: 16px;
    opacity: 0;
    position: absolute;
    right: 0;
    transition: opacity 0.3s ease-in-out, right 0.3s ease-in-out;
}

.post-item h4 a:hover::after {
    opacity: 1;
    right: -20px;
    top: 2px;
}

/* Slider Styling */
.slider {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    /* Ensure only one slide is visible at a time */
}

.slides-container {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    /* Ensure overlay stays within slide */
}

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

.card-img-overlay {
    position: absolute;
    /* Keep overlay on top of image */
    bottom: 0;
    width: 100%;
    padding: 10px;
    /* Add some padding for better readability */
}

.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dots span {
    height: 15px;
    width: 15px;
    margin: 5px;
    background-color: gray;
    border-radius: 50%;
    display: inline-block;
}

.dots span.active {
    background-color: black;
}

/* Media Queries for Responsiveness */

/* For extra small devices (phones - less than 576px) */
@media (max-width: 575.98px) {
    .highlight-text {
        font-size: 6vw;
        /* Adjust font size for smaller screens */
    }

    .et_pb_row_1.et_pb_row {
        padding-top: 5vh !important;
        padding-right: 2vw !important;
        padding-bottom: 5vh !important;
        padding-left: 2vw !important;
    }

    .et_pb_text_6,
    .et_pb_text_7,
    .et_pb_text_8 {
        font-size: 14px;
        padding-top: 4vw !important;
        padding-right: 4vw !important;
        padding-bottom: 24px !important;
        padding-left: 4vw !important;
    }

    .blog-details .content blockquote {
        padding: 30px;
    }

    .blog-details .content blockquote p {
        font-size: 18px;
    }

    .faq .faq-title {
        font-size: 2rem;
    }

    .faq-img {
        position: static;
        width: 100%;
        margin-top: 20px;
    }
}

/* For small devices (landscape phones - 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .highlight-text {
        font-size: 4vw;
        /* Adjust font size for smaller screens */
    }

    .et_pb_row_1.et_pb_row {
        padding-top: 7vh !important;
        padding-right: 3vw !important;
        padding-bottom: 7vh !important;
        padding-left: 3vw !important;
    }

    .et_pb_text_6,
    .et_pb_text_7,
    .et_pb_text_8 {
        font-size: 15px;
        padding-top: 2.5vw !important;
        padding-right: 2.5vw !important;
        padding-bottom: 36px !important;
        padding-left: 2.5vw !important;
    }
}

/* For medium devices (tablets - 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .highlight-text {
        font-size: 3vw;
        /* Adjust font size for smaller screens */
    }

    .et_pb_row_1.et_pb_row {
        padding-top: 8vh !important;
        padding-right: 4vw !important;
        padding-bottom: 8vh !important;
        padding-left: 4vw !important;
    }

    .et_pb_text_6,
    .et_pb_text_7,
    .et_pb_text_8 {
        font-size: 15px;
        padding-top: 2.7vw !important;
        padding-right: 2.7vw !important;
        padding-bottom: 40px !important;
        padding-left: 2.7vw !important;
    }
}

/* For large devices (desktops - 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {}

/* For extra large devices (large desktops - 1200px and up) */
@media (min-width: 1200px) {}

/* Specific adjustments for the pointer columns in the hero section */
@media (max-width: 767.98px) {
    .col-md-4.bd-right {
        border-right: none;
        /* Remove right border on small screens */
    }
}

/* Adjustments for FAQ image */
@media (max-width: 991.98px) {
    .faq-img {
        position: relative;
        width: 80%;
        /* Adjust width for better fit */
        top: auto;
        margin: 20px auto;
        /* Center the image */
        display: block;
    }
}


.sidebar-form-glass {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.3);
  margin: 20px auto;
}
.text-gradient {
  background: linear-gradient(90deg, #007cf0 0%, #00dfd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #00b4d8;
  font-size: 1.2rem;
  pointer-events: none;
  opacity: 0.7;
}
.form-control:focus {
  border-color: #00b4d8;
  box-shadow: 0 0 0 0.15rem rgba(0,212,255,.25);
}
.gradient-btn {
  background: linear-gradient(90deg, #007cf0 0%, #00dfd8 100%);
  color: #fff;
  border: none;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,127,255,0.08);
}
.gradient-btn:hover, .gradient-btn:focus {
  background: linear-gradient(90deg, #00dfd8 0%, #007cf0 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,127,255,0.13);
}
.form-floating > .form-control, .form-floating > .form-control:focus {
  background: rgba(255,255,255,0.7);
  border-radius: 12px;
}
.modern-thumb {
  float: left;
  width: 220px !important;
  height: 150px;
  background: #18191a; /* Deep black with a hint of blue for depth */
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 18px 12px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.07); /* Soft, realistic shadow */
  border: 2px solid #23272f; /* Subtle border for structure */
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}

.modern-thumb:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 3px 12px rgba(0,0,0,0.09);
  border-color: #2d8cff; /* Highlight border on hover */
}

.thumb-title {
  color: #fff;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  width: 100%;
  line-height: 1.3;
  letter-spacing: 0.5px;
  /* Optional: add a simple accent bar */
  position: relative;
}

.thumb-title::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: #2d8cff;
  border-radius: 2px;
  margin: 0 auto 8px auto;
}

@media (max-width: 768px) {
  .modern-thumb {
    float: none;
    display: flex;
    margin: 0 auto 16px auto;
    width: 70vw !important;
    max-width: 250px;
    height: 90px;
  }
}


/* Section-specific styles for horizontal layout and input */
.hero-title {
  background-clip: text;
  font-weight: 700;
}

.hero-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  margin: 4rem auto;
}

.search-container {
  flex: 1 1 0%;
  display: flex;
  align-items: center;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 2px solid #e0e7ff;
  outline: none;
  color: #374151;
  background: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.search-input:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

.question-mark {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #000000;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 6px rgba(99, 102, 241, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.search-input:focus + .question-mark {
  background: #4f46e5;
  transform: translateY(-50%) scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(99, 102, 241, 0); }
  100% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0); }
}
.pulse {
  animation: pulse 2s infinite;
}

#searchResults {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
}

#searchResults a {
  display: flex;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: #000;
  transition: background 0.2s;
}

#searchResults a:hover {
  background: #f0f0f0;
}

#searchResults div {
  padding: 8px;
  text-align: center;
  color: #718096;
  font-style: italic;
}

@media (max-width: 767px) {
  .hero-row {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .hero-title {
    margin-right: 0;
    margin-bottom: 0.5rem;
    white-space: normal;
  }
  .search-container {
      width: 100%;
  }
}
