/*—————————————————— Global Resets & Vars ——————————————————*/

html,
body {
    overflow-x: hidden;
    /* ✔️ */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    /* ✔️ */
}

:root {
    /* ✔️ */
    --primary-color: #0d6efd;
    --secondary-color: #898a8b;
    --success-color: #198754;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #0dcaf0;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

* {
    /* ✔️ */
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* ✔️ */
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}


/*—————————————————— Hero Section ——————————————————*/

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-section {
    /* ✔️ */
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.hero-content {
    /* ✔️ */
    animation: fadeInUp 1s ease-out;
}

.hero-content h1 {
    /* ✔️ */
    font-size: 2.5rem;
    font-weight: bold;
}

.hero-content .lead {
    /* ✔️ */
    font-size: 1.2rem;
}

.hero-image img {
    /* ✔️ */
    max-width: 100%;
    height: auto;
}

.floating-element {
    /* ✔️ */
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.floating-1 {
    /* ✔️ */
    width: 120px;
    height: 120px;
    background: var(--primary-color);
    top: 10%;
    left: -5%;
}

.floating-2 {
    /* ✔️ */
    width: 80px;
    height: 80px;
    background: var(--info-color);
    bottom: 10%;
    right: -5%;
}


/* hide floaters on tablets & below */

@media (max-width: 768px) {
    .floating-element {
        display: none;
        /* ✔️ */
    }
}


/*—————————————————— Buttons ——————————————————*/

.btn {
    /* ✔️ */
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    /* ✔️ */
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.btn-primary:hover {
    /* ✔️ */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.4);
    background: linear-gradient(45deg, rgba(14, 74, 139, 0.86), var(--primary-color));
}

.btn-outline-primary {
    /* ✔️ */
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    /* ✔️ */
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-secondary {
    /* ✔️ */
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline-secondary:hover {
    /* ✔️ */
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
}


/*—————————————————— Product Cards ——————————————————*/

.product-card {
    /* ✔️ */
    transition: all 0.3s ease;
    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.product-card:hover {
    /* ✔️ */
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
    /* ✔️ */
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    /* ✔️ */
    transform: scale(1.05);
}


/*—————————————————— Feature Cards ——————————————————*/

.feature-card {
    /* ✔️ */
    background: white;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-card:hover {
    /* ✔️ */
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    /* ✔️ */
    width: 80px;
    height: 80px;
    background: #091174;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-icon i {
    /* ✔️ */
    font-size: 2rem;
    color: #fff;
}

.feature-card:hover .feature-icon {
    /* ✔️ */
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(234, 237, 240, 0.993);
}


/*—————————————————— Gallery Styles ——————————————————*/

.gallery-image {
    /* ✔️ */
    height: 400px;
    object-fit: cover;
}


/*—————————————————— Gallery Carousel ——————————————————*/


/* 1. Always crop overflow */

#galleryCarousel .carousel-inner {
    overflow: hidden;
}


/* 2. Default (desktop) slide height */

#galleryCarousel .carousel-item {
    height: 400px;
    /* desktop height */
}


/* 3. Make images fill their slide box */

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


/*—————————————————— Responsive Breakpoints ——————————————————*/


/* Tablet and below */

@media (max-width: 768px) {
    #galleryCarousel .carousel-item {
        height: 250px;
        /* tablet height */
    }
}


/* Mobile phones */

@media (max-width: 576px) {
    #galleryCarousel .carousel-item {
        height: 180px;
        /* mobile height */
    }
}


/*—————————————————— Carousel Controls ——————————————————*/

#galleryCarousel .carousel-control-prev,
#galleryCarousel .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgb(248, 248, 248);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
}

#galleryCarousel .carousel-control-prev {
    left: 20px;
}

#galleryCarousel .carousel-control-next {
    right: 20px;
}


/*—————————————————— Carousel Indicators ——————————————————*/

#galleryCarousel .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}


/*—————————————————— Contact Form ——————————————————*/

.contact-form .form-control {
    /* ✔️ */
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    /* ✔️ */
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}


/*—————————————————— Utility Helpers ——————————————————*/

.shadow-lg {
    /* ✔️ */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

.rounded-4 {
    /* ✔️ */
    border-radius: 1rem !important;
}


/*—————————————————— Responsive Tweaks ——————————————————*/

@media (max-width: 768px) {
    /* ✔️ */
    .display-4 {
        font-size: 2.2rem;
    }
    .display-5 {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 2rem 0;
    }
}

@media (max-width: 576px) {
    /* ✔️ */
    .container {
        padding: 0 1rem;
    }
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .hero-content .lead {
        font-size: 1rem;
    }
    .btn-lg {
        padding: .75rem 1.5rem;
        font-size: 1rem;
    }
    .gallery-image {
        height: 250px;
    }
    .product-card .card-img-top {
        height: 180px;
    }
}


/*—————————————————— Services/Gallery/Testimonials Blocks ——————————————————*/

.services,
.gallery {
    /* ✔️ */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    background: #fffcfc;
    padding: 2rem;
    border-radius: 50px;
    text-align: center;
    margin: 10px auto;
    max-width: 100%;
    box-sizing: border-box;
}

@media (max-width: 576px) {
    .services,
    .gallery {
        margin: 1rem auto;
        padding: 1rem;
    }
}

.services .card {
    /* ✔️ */
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery .card {
    /* ✔️ */
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
}

.services-img {
    /* ✔️ */
    width: 100%;
    height: auto;
    min-height: 250px;
    object-fit: cover;
    border-radius: 10px;
}

.testimonial-section {
    background-color: rgb(235, 238, 255);
}

.testimonial-heading {
    text-align: center;
    font-size: 2.2rem;
    font-weight: bold;
    color: #091174;
    margin-bottom: 50px;
}

.testimonial-card {
    background-color: rgba(212, 237, 255, 0.94);
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 16px;
    font-style: italic;
    color: #333;
}

.testimonial-author {
    margin-top: 20px;
    background: linear-gradient(to right, #091174, #0b80c9);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
}

@media (max-width: 576px) {
    .testimonial-heading {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .testimonial-card {
        padding: 18px;
    }
}


  body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    padding: 20px;
    background: rgba(212, 237, 255, 0.94);
  }

  .faq-section {
    max-width: 800px;
    margin: 0 auto 40px;
    /* round the container as well */
    border-radius: 12px;
    overflow: hidden;
  }
  .faq-section h2 {
    margin: 0;
    padding: 16px;
    background: #00539C;
    color: #fff;
    font-size: 1.4rem;
  }

  .faq-list .faq-item {
    /* each item becomes a card */
    margin: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
  }
  .faq-question {
    position: relative;
    padding: 15px 40px 15px 20px;
    font-weight: bold;
    cursor: pointer;
    background: #fafafa;
    transition: background 0.2s;
  }
  .faq-question::after {
    content: '►';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
  }
  .faq-item:hover .faq-question {
    background: #f0f0f0;
  }
  .faq-item:hover .faq-question::after {
    content: '▼';
  }

  .faq-answer {                  
    display: none;
    padding: 0 20px 15px;
    background: #fff;
    font-size: 1.4rem;
  }
  .faq-item:hover .faq-answer {
    display: block;
  }

  /* MOBILE: grid layout with side padding */
  @media (max-width: 600px) {
    .faq-section {
      /* remove internal margin so container spans full body padding */
      margin: 0 auto 30px;
      border-radius: 12px;
      overflow: hidden;
    }
    .faq-section .faq-list {
      display: grid;
      grid-template-columns: 1fr;
      gap: 25px;
      padding: 0 16px 16px;  /* side padding so cards don’t touch screen edges */
    }
    .faq-section .faq-item {
      margin: 0;             /* remove individual margins */
    }
    .faq-section h2 {
      padding: 14px 16px;    /* match side padding */
    }
    .faq-answer p {
    display: none;
    padding: 0 20px 15px;
    background: #fff;
    font-size: 1.4rem;
  }
}
  

/*—————————————————— Blog Section ——————————————————*/

.blog-section {
    /* ✔️ */
    padding: 60px 20px;
    max-width: 1200px;
    margin: auto;
}

.blog-header {
    /* ✔️ */
    text-align: center;
    margin-bottom: 40px;
}

.blog-header h2 {
    /* ✔️ */
    font-weight: 700;
    color: #1f2f3d;
}

.blog-card {
    /* ✔️ */
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    /* ✔️ */
    transform: translateY(-5px);
}

.blog-card img {
    /* ✔️ */
    width: 100%;
    object-fit: cover;
    height: 220px;
}

.blog-card-body {
    /* ✔️ */
    padding: 20px;
    flex-grow: 1;
}

.blog-title {
    /* ✔️ */
    font-size: 18px;
    font-weight: 600;
    color: #1c2d39;
    margin-bottom: 15px;
}

.read-more-btn {
    /* ✔️ */
    background-color: #002f4b;
    color: white;
    border-radius: 50px;
    padding: 8px 20px;
    font-weight: 500;
    transition: 0.3s ease;
}

.read-more-btn:hover {
    /* ✔️ */
    background-color: #01416c;
    color: #fff;
}


/*—————————————————— Slider Section ——————————————————*/

.slider-section {
    /* ✔️ */
    text-align: center;
    padding: 60px 20px;
    background: rgb(230, 245, 250);
    color: #fff;
}

.slider-section h2 {
    /* ✔️ */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.slider-section p {
    /* ✔️ */
    color: #0c0c0c;
    margin-bottom: 30px;
    font-size: 16px;
}


/*—————————————————— Swiper Styles ——————————————————*/

.swiper {
    /* ✔️ */
    padding: 20px 0;
}

.swiper-slide {
    /* ✔️ */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: 0.3s ease;
}

.swiper-slide img {
    /* ✔️ */
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
}


/*—————————————————— SBOX Cards ——————————————————*/

.sbox {
    /* ✔️ */
    background: rgb(230, 245, 250);
    padding: 25px 20px;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease-in-out;
    height: 100%;
}

.sbox:hover {
    /* ✔️ */
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(3, 17, 97, 0.15);
}

.sbox i {
    /* ✔️ */
    font-size: 40px;
    color: #040a57;
    margin-bottom: 15px;
    display: block;
}


/*—————————————————— Section-Title ——————————————————*/

.section-title h2 {
    /* ✔️ */
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 40px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    /* ✔️ */
    content: "";
    width: 60px;
    height: 4px;
    background: #030c80e7;
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    margin: auto;
}


/*—————————————————— APP CARD ——————————————————*/

.app-card {
    /* ✔️ */
    background-color: rgba(199, 229, 250, 0.94);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.app-card:hover {
    /* ✔️ */
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(3, 24, 117, 0.1);
}

.app-card h5 {
    /* ✔️ */
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.app-card i {
    /* ✔️ */
    color: #091174;
}


/*—————————————————— Text-Success ——————————————————*/

.text-success {
    /* ✔️ */
    --bs-text-opacity: 1;
    color: rgb(6, 61, 133) !important;
}