body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    width: 100vw; /* Ensure body does not exceed viewport width */
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

* {
    box-sizing: inherit;
    margin: 0; /* Ensure no default margin */
    padding: 0; /* Ensure no default padding */
    max-width: 100%; /* Ensure no child element exceeds the viewport width */
}

.nav {
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.logo-container {
    width: 100%;
    background-color: #ffffff;
    padding: 50px 20px 0px 20px;
    text-align: center;
}

.logo {
    font-size: 36px;
    font-weight: normal;
    color: #007bff;
    text-decoration: none;
}

.nav-links-container {
    width: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav .nav-links a {
    color: #007bff;
    font-size: 16px;
    padding: 10px 15px;
    text-decoration: none;
}

.nav .nav-links a:hover {
    font-weight: bold;
    background-color: transparent;
    border-radius: 0;
}

.hamburger-menu {
    display: none;
    font-size: 30px; /* Increase font size */
    cursor: pointer;
    color: #000000; /* Change color to make it more visible */
    padding: 5px; /* Add padding */
    background-color: #ffffff; /* Add background color */
    border-radius: 5px; /* Add border radius */
    position: absolute;
    right: 20px; /* Position to the right */
    top: 0px; /* Position to the top */
}

.mobile-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    background-color: #ffffff;
    width: 100%;
}

.mobile-nav a {
    color: #007bff;
    padding: 10px;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-nav.show {
        display: flex;
    }
}


@media (max-width: 480px) {
    .nav-links {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    .mobile-nav.show {
        display: flex;
    }
}


.header {
    position: relative;
    /*background-image: url('images/gift-giving.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure image covers the container */
    color: white;
    padding: 100px 20px;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
    background-position: center;
}


.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255); /* Semi-transparent overlay */
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.header h1 {
    font-size: 30px;
    margin: 10px 0 0;
    font-weight: 300;
    color: #007bff;
}

.header p {
    font-size: 20px;
    margin: 10px 0 0;
    font-weight: 300;
}

.container {
    max-width: 100%; /* Ensure the container does not exceed the viewport width */
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.instructions {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    text-align: center;
}

.highlight {
    font-size: 18px;
    color: #333;
    font-weight: 200;
    margin-bottom: 20px;
    text-align: center;
    font-weight: normal;
}

.highlight span {
    color: #007bff;
    font-weight: normal;
}

label {
    margin-bottom: 10px;
    font-weight: bold;
}

textarea {
    width: 100%;
    max-width: 600px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    font-family: "Montserrat", sans-serif;
    margin-bottom: 20px;
    box-sizing: border-box;
    resize: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.instructions-small {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

input[type="submit"] {
    padding: 12px 25px;
    font-size: 18px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

input[type="submit"]:hover {
    background-color: #0056b3;
}

.section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    box-sizing: border-box;
    width: 100%;
}

.section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: normal;
}

.how-it-works, .why-choose-us {
    display: flex;
    justify-content: center; /* Center align the items horizontally */
    flex-wrap: wrap;
    width: 75%; /* Ensure the container takes full width */
    padding: 0 10px; /* Adjust padding to ensure proper alignment */
    box-sizing: border-box; /* Include padding in the element's total width and height */
}

.how-it-works .step {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included */
}

.how-it-works .step h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #007bff;
    font-weight: normal;
}

.how-it-works .step p {
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.step .number {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: normal;
}

.section .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.section .btn:hover {
    background-color: #0056b3;
}

.why-choose-us .feature {
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    box-sizing: border-box; /* Ensure padding and border are included */
}

.why-choose-us .feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #007bff;
    font-weight: normal;
}

.why-choose-us .feature p {
    font-size: 16px;
    color: #333;
    font-weight: normal;
}

.footer {
    background-color: #007bff;
    color: white;
    text-align: left;
    padding: 20px 0;
    box-sizing: border-box;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.footer-column {
    flex: 1;
    margin: 10px;
}

.footer-column h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 20px;
    font-size: 14px;
    text-align: center;
    color: #ccc;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.footer p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .footer-columns {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-column {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .footer-columns {
        align-items: center;
    }

    .footer-column {
        text-align: center;
    }
}


.results {
    margin-top: 20px;
}

.results h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: normal;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.grid-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: #333;
}

.grid-item:hover {
    transform: translateY(-5px);
    background-color: #e9f5ff;
}

.grid-item p {
    margin: 10px 0;
    font-size: 16px;
    font-weight: normal;
}

.grid-item .product-link {
    text-decoration: none;
    color: #007bff;
    font-weight: normal;
    display: inline-block;
    margin-top: 10px;
    padding: 5px 10px;
    border: 2px solid #007bff;
    border-radius: 25px;
    transition: background-color 0.2s, color 0.2s;
}

.grid-item .product-link:hover {
    background-color: #007bff;
    color: white;
}

.tips {
    margin-top: 20px;
    padding: 20px;
    background-color: #e9f5ff;
    border-left: 5px solid #007bff;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

.tips h3 {
    margin-top: 0;
}

.guide-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.guide-category {
    flex: 1;
    min-width: 250px;
}

.guide-category h2 {
    font-size: 24px;
    color: #007bff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-weight: normal;
}

.guide-category ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.guide-category li {
    margin: 10px 0;
}

.guide-category a {
    color: #464646;
    text-decoration: none;
    font-size: 18px;
    display: block;
    padding: 10px 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.guide-category a:hover {
    background-color: #007bff;
    color: #fff;
}

@media (max-width: 768px) {

    .header h1 {
        font-size: 28px;
    }

    .header p {
        font-size: 18px;
    }

    .container {
        padding: 15px;
        padding-left: 15px; /* Ensure there is padding on both sides */
        padding-right: 15px; /* Ensure there is padding on both sides */
        width: 100%; /* Ensure the container does not exceed the viewport width */
        box-sizing: border-box; /* Include padding in the element's total width and height */
    }

    .how-it-works {
        
        align-items: center;
        box-sizing: border-box; /* Include padding in the element's total width and height */
        padding: 0 10px; /* Adjust padding for smaller screens */
    }

    .how-it-works .step {
        width: 100%;
        flex: 1 1 100%; /* Make each card take full width on smaller screens */
    }

    .why-choose-us {
        
        align-items: center;
        box-sizing: border-box; /* Include padding in the element's total width and height */
        padding: 0 10px; /* Adjust padding for smaller screens */
    }

    .why-choose-us .feature {
        width: 100%;
        flex: 1 1 100%; /* Make each card take full width on smaller screens */
    }

    .results h2 {
        font-size: 24px;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 24px;
    }

    .header p {
        font-size: 16px;
    }

    

    .instructions {
        font-size: 12px;
    }

    .section h2 {
        font-size: 20px;
    }

    .how-it-works, .why-choose-us {
        box-sizing: border-box; /* Include padding in the element's total width and height */
        padding: 0 5px; /* Adjust padding for smaller screens */
        align-items: center;
    }

    .how-it-works .step h3 {
        font-size: 18px;
    }

    .how-it-works .step p {
        font-size: 12px;
    }

    .why-choose-us .feature h3 {
        font-size: 16px;
    }

    .why-choose-us .feature p {
        font-size: 12px;
    }

    .results h2 {
        font-size: 20px;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        padding: 15px;
    }

    .grid-item p {
        font-size: 14px;
        width: 100%; /* Ensure grid-item does not exceed viewport width */
    }

    .grid-item .product-link {
        font-size: 14px;
        padding: 8px 12px;
        border-width: 1px;
    }
}



.guide-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}
.guide-container h1 {
    color: #333;
    font-size: 28px;
    text-align: center;
    font-weight: normal;
}
.description {
    color: #555;
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
.personalized-callout {
    text-align: center;
    margin-bottom: 20px;
}
.personalized-callout p {
    display: inline;
    font-size: 16px;
    margin-right: 10px;
    color: #007bff;
    font-weight: bold;
}
.personalized-callout .search-now-button {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    color: white;
    background-color: #007bff;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s;
}
.personalized-callout .search-now-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
.disclaimer {
    font-size: 12px;
    color: #555;
    margin-bottom: 20px;
    text-align: center;
    font-style: italic;
}



.feature-icon {
    width: 40px;  /* Set the desired width */
    height: 40px; /* Set the desired height */
    margin-bottom: 0px; /* Add some space between the icon and text */
    fill: #007bff;
}



.quick-links {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    gap: 10px; /* Optional: Adjusts spacing between buttons */
    flex-wrap: wrap; /* Allows buttons to wrap to the next line on smaller screens */
}

.quick-links button {
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    background-color: #262626;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quick-links button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .quick-links {
        flex-direction: column;
        align-items: center; /* Center buttons on smaller screens */
    }
    
    .quick-links button {
        width: 80%; /* Adjust button width for smaller screens */
        margin-bottom: 10px; /* Space between buttons on smaller screens */
    }
}


/* Disclocure content on legal/business pages */

.disclosure-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.disclosure-content p {
    margin-bottom: 20px;
}

.disclosure-content ul {
    list-style-type: disc;
    margin-left: 20px;
}

.disclosure-content ul li {
    margin-bottom: 10px;
}

.disclosure-content h2 {
    font-size: 24px;
    color: #007bff; /* Contrasting color for headings */
    margin-top: 20px;
    margin-bottom: 10px;
}


/*How to Search Page CSS */
.how-to-search-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.how-to-search-content h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #007bff;
}

.how-to-search-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.how-to-search-content h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #007bff;
}

.how-to-search-content p {
    margin-bottom: 20px;
}

.how-to-search-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.how-to-search-content ul li {
    margin-bottom: 10px;
    list-style-type: disc;
}

.how-to-search-content ul ul {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.how-to-search-content ul ul li {
    list-style-type: circle;
}

.highlight-blue {
    color: #007bff; /* Same color as used in h3 */
    font-weight: bold;
}



/* For Recommendations Page*/

.discover-ideas {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
}

.discover-ideas h2 {
    color: #007bff;
    font-size: 22px;
    margin: 0;
    font-weight: normal;
}

.discover-ideas p {
    color: #666;
    font-size: 16px;
    margin: 10px 0 0;
}




/*Fade effects for Index */
.fade-out::placeholder {
    animation: fadeOut 1s forwards;
}

.fade-in::placeholder {
    animation: fadeIn 1s forwards;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}




