body {
    background: url('../References/First-Page-BG.png') no-repeat center center fixed;
    background-size: cover; /* Ensures it covers the full screen */
    background-attachment: fixed; /* Makes it stay in place */
    background-position: center;
    background-repeat: no-repeat;
    margin: 0;
    padding: 0;
}

:root {
    --primary-beige: #fef9ee;
    --accent-beige: #f2ead9;
    --darkest-blue: #254f91;
    --lighter-blue: #dae8ff;
    --lightest-blue: #eef4fe;
    --hover-blue: #c3daff;
    --archivo-black: "Archivo Black", sans-serif;
    --comfortaa: "Comfortaa", sans-serif;
}

.both-content {
    display: none;
    opacity: 0;
}

.both-content.active {
    display: block;
    opacity: 1;
}

#to-top{
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    padding: 10px 15px;
    background-color: var(--lighter-blue);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    z-index: 1000;
    display: none;
    transition: all 0.2s ease-in-out;
}
#to-top:hover{
    background-color: var(--hover-blue);
    transition: all 0.2s ease-in-out;
}

.product::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Product Card Layout */
.product-card {
    position: relative;
    top: -40px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    border-radius: 50px;
    overflow: hidden;
    padding: 20px;
    gap: 80px;
}

/* Product Image */
.product-image {
    width: 400px;
    height: 400px;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    overflow: hidden;
}

.product-image img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 50px;
}

/* Carousel */
.carousel-item {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-inner {
    transition: transform 0.5s ease;
}

.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Carousel Indicators */
.carousel-indicators button {
    background-color: var(--darkest-blue) !important;
    border-radius: 50%;
    width: 10px !important;
    height: 10px !important;
}

.carousel-indicators {
    position: absolute;
    bottom: -100px;
}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start ;
    height: 100%;
    max-width: 500px;
}

.read-product-info {
    margin-top: 60px;
}

.product-info h2 {
    font-family: var(--archivo-black);
    font-size: 24px;
    margin-bottom: 10px;
}

.product-info p {
    font-family: var(--comfortaa);
    font-weight: 600;
    color: black;
    line-height: 1.5;
}

/* Price */
.price {
    font-family: var(--comfortaa) !important;
    font-size: 25px;
    font-weight: 600;
    color: var(--darkest-blue) !important;
    margin: 10px 0;
}

/* Pricing Section */
.pricing-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    margin-top: 20px;
}

/* Individual Pricing Card */
.pricing-card {
    font-family: var(--comfortaa);
    width: 100px;
    text-align: center;
    border-radius: 25px;
    overflow: hidden;
    background-color: var(--lightest-blue); /* Light blue */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

.pricing-card:hover {
    scale: 1.02;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease-in-out;
}

/* Top Blue Section */
.pricing-header {
    background-color: var(--darkest-blue); /* Dark blue */
    color: var(--lightest-blue);
    padding: 10px;
    font-weight: bold;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

/* Price */
.pricing-body {
    padding: 10px;
    font-size: 18px;
    font-weight: bold;
    color: var(--darkest-blue);
}


/* Properties */
.properties {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
    border-radius: 12px;
    padding: 3px;
    gap: 20px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.5);
}

.properties span {
    font-family: var(--comfortaa);
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
}

.reading-prop-container {
    flex-wrap: nowrap;
}

.reading-prop img{
    width: 30px !important;
    height: 30px !important; 
}

.properties img {
    width: 25px;
    height: 25px;
}

/* Switches */
.switch {
    display: flex;
    gap: 30px;
    align-self: stretch;
    flex-wrap: wrap;
    flex-direction: row;
    margin-top: auto;
}

.switch-btn {
    cursor: pointer;
    width: 40px;
    height: 40px;
    margin-top: 20px;
    background-color: var(--lighter-blue);
    border-radius: 50%;
    border: none;
    transition: 0.3s;
}

.switch-btn.active {
    border: solid 1px var(--darkest-blue) !important;
    box-shadow:0px 2px 7px rgba(0, 0, 0, 0.4) !important;
}

.product-switch p, .reading-switch p {
    margin-top: 8px;
    font-size: 10px;
    text-align: center;
}

.switch-btn:hover {
    background-color: var(--hover-blue);
}

.switch, .buy-btn-container {
    width: 100%;  
    display: flex;
    flex-wrap: wrap;
}

/* Buy Button  */
.buy-btn {
    font-family: var(--archivo-black);
    background: var(--lighter-blue);
    color: var(--darkest-blue);
    border: none;
    padding: 10px 15px;
    width: 150px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.15);
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
    transition: all 0.2s;
}

.book-now-btn {
    width: auto;
    font-size: 17px;
}

.buy-btn:hover {
    background: var(--hover-blue);
    transform: scale(1.01);
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
        gap: 20px;
        margin-top: 70px;
        overflow: visible;
        max-width: 100%;
        padding: 0 20px;
    }
    .reading-prop-container {
        flex-wrap: wrap;
    }
    
    .pricing-section {
        flex-wrap: wrap;
    }

    .switch, .buy-btn-container {
        justify-content: center;
    }
    
    .properties {
        justify-content: center;
    }
    
    .product-info {
        position: static;
    }

    .product-image {
        width: 100%;
        max-width: 300px; 
        aspect-ratio: 1 / 1; 
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .read-prod-img{
        height: 300px;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-indicators {
        bottom: 10px !important;
    }
}

/* Navbar */
.container-fluid {
    background-color: var(--primary-beige);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: var(--primary-beige);
    height: 80px;
    display: flex;
    align-items: center;
}

/* Ensure the body starts below the navbar */
body {
    font-family: "Comfortaa", sans-serif;
    background-color: #fefefe;
    margin: 0;
    padding-top: 80px; /* Adjusted to match navbar height */
}

/* Navbar Links */
.navbar-nav .nav-item .nav-link {
    font-family: var(--comfortaa);
    color: black;
    padding: 2px 20px;
    border-radius: 15px;
    margin: 5px;
    background-color: var(--accent-beige);
}

/* Navbar Toggler */
.navbar-toggler {
    border: none !important;
    transition: transform 0.2s ease-in-out;
}

.navbar-toggler:hover {
    transform: scale(1.02);
    background-color: var(--accent-beige);
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none !important;
    box-shadow: none !important;
}

@media (min-width: 768px) {
    .navbar-nav {
        flex-direction: row;
        gap: 50px;
    }
}

.hr-text {
    line-height: 1em;
    position: relative;
    outline: 0;
    border: 0;
    color: var(--darkest-blue);
    text-align: center;
    height: 2em;
    opacity: 1;
    &:before {
      content: '';
      background: linear-gradient(to right, transparent, #5d5768, transparent);
      position: absolute;
      left: 0;
      top: 50%;
      width: 100%;
      height: 1px;
    }
    &:after {
      content: '';
      position: relative;
      display: inline-block;
      color: var(--darkest-blue);
      width: 100px;
      background-size: contain;
      background-color: #ffffff;
      padding: 5px;
    }
}

  .hr-icon {
    width: 100px;
    height: auto;
    display: block;
    margin: -15px auto; /* Adjust spacing */
}

/* Base Styles */
#feature {
    font-family: var(--comfortaa);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}
#read-feature {
    font-family: var(--comfortaa);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
    margin: 0;
}

/* Feature Section */
.feature-section {
    display: flex;
    flex-wrap: wrap; /* Enables wrapping for smaller screens */
    justify-content: center;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.feature-image {
    flex: 1 1 300px; /* Flexible growth with a minimum width */
    max-width: 400px;
}

.feature-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Content Styling */
.feature-content {
    flex: 1 1 300px;
    text-align: center;
}

.feature-content h2 {
    text-align: left;
    font-family: var(--comfortaa);
    font-size: clamp(1.5rem, 2.5vw, 2.5rem); /* Responsive font size */
    font-weight: 900;
    margin-bottom: 15px;
}

/* Tabs */
.feature-tabs {
    display: flex;
    flex-wrap: wrap; /* Allows buttons to wrap on smaller screens */
    gap: 10px;
    justify-content: flex-start;
}

.tab {
    font-family: var(--comfortaa);
    background: var(--lighter-blue);
    color: var(--darkest-blue);
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
}

.tab:hover {
    background-color: var(--hover-blue);
}

.tab.active {
    background: var(--darkest-blue);
    color: var(--lighter-blue);
}

/* Description Box */
.feature-description {
    text-align: left;
    background: var(--lightest-blue);
    color: var(--darkest-blue);
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.12);
    margin-top: 15px;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    transition: transform 0.3s ease-in-out;
}

.feature-description:hover {
    transform: scale(1.02);
}

.feature-description h3 {
    font-family: var(--comfortaa);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Media Queries for Fine-tuning */
@media (max-width: 600px) {
    #feature {
        padding: 10px;
    }

    .feature-content {
        text-align: center;
    }

    .feature-tabs{
        justify-content: center;
    }

    .tab {
        width: 100%; /* Full-width tabs for small screens */
    }
}

h1 {
    font-family: var(--comfortaa) !important;
    font-size: 2.5em;
    color: var(--darkest-blue) !important;
    margin-bottom: 10px;
    text-align: center;
  }

.heart {
    width: 50px;
    margin-left: 5px;
    margin-bottom: 5px;
}

#testimonial {
    margin-top: 50px ;
    margin-bottom: 90px;
}
#read-testimonial {
    margin-top: 50px ;
    margin-bottom: 90px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.margin-for-hr {
    margin-bottom: 50px;
}

.white-faded{
    background-color: #2363c818;
    padding: 9px;
    border-radius: 20px;
    position: relative;
    transition: all 0.3s ease-in-out;
}

.white-faded:hover {
    transform: scale(1.02);
}

.testimonial-card {
    font-family: var(--comfortaa);
    background-color: var(--lightest-blue);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.stars {
    text-align: center;
    color: var(--darkest-blue);
    font-size: 2em;
    /* margin-bottom: 10px; */
}

.client-name {
    font-family: var(--comfortaa);
    margin-top: 15px;
    font-style: italic;
    color: var(--darkest-blue);
}

@media (max-width: 768px) {
    .testimonial-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .white-faded {
        margin-left: 30px;
        margin-right: 30px;
    }
}

#faqs {
    font-family: var(--comfortaa);
    margin: 0;
    padding: 20px;
    text-align: center;
  }

  .faq-section {
    max-width: 600px;
    margin: auto;
    margin-bottom: 50px;
    margin-top: 40px;

  }

  .faq-section h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
  }

  p.description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 20px;
  }

  .accordion {
    background-color: var(--lighter-blue);
    font-size: 1.1em;
    border-radius: 15px;
    margin: 10px 0;
    padding: 15px 40px 15px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: left;
    position: relative;
  }

  .accordion:hover {
    background-color: var(--hover-blue);
  }

  .accordion:after {
    content: '˄';
    color: var(--darkest-blue);
    font-size: 1.7em;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
  }

  .accordion.active:after {
    transform: translateY(-50%) rotate(180deg);
  }

  .panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--lightest-blue);
    padding: 0 15px;
    border-radius: 15px 15px 15px 15px;
}

.panel p {
    color: var(--darkest-blue);
    padding: 15px 0;
    margin: 0;
    font-size: 0.95em;
}

.footer {
    background-color: #fefaf3;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.footer-logo img {
    width: 150px;
    height: auto;
}

.footer-links a {
    margin: 0 15px;
    color: var(--darkest-blue);
    text-decoration: none;
    font-size: 16px;
}

.footer-bottom {
    margin-top: 10px;
    font-size: 14px;
    color: var(--darkest-blue);
    a {
        color: var(--darkest-blue);
    }
}

@media (max-width: 600px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        display: flex;
        gap: 20px;
    }
    
    .footer-links a {
        margin: 10px 0;
    }
}
