﻿h1, h2, h3, h5 {
    font-weight: 600;
    color: #1a73e8;
    margin-top: 30px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 5px;
}
h2, h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}
ul.limheight {
    list-style-type: none;
    padding: 0;
    margin: 15px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

    ul.limheight li a {
        display: block;
        background: white;
        padding: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
        text-decoration: none;
        color: #333;
        transition: all 0.3s ease;
    }

        ul.limheight li a:hover {
            background-color: #e8f0fe;
            color: #1a73e8;
        }

.btn1, .btn2 {
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn1:hover {
        background-color: #1a5bbf;
    }

    .btn2:hover {
        background-color: #1eb154;
    }

#search-container-1, #search-container-2 {
    border-radius: 40px;
    padding: 10px 15px;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

#searchBox1, #searchBox2 {
    padding: 12px;
    font-size: 15px;
    border-radius: 30px;
}

.social {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 30px;
}

.section-card {
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    margin: 10px 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.qa {
    font-size: 14px;
    color: #444
}

.pag-lit {
    font-size: 14px;
    padding-top: 5px;
}

.qt {
    font-size: 14px;
    border-bottom: 1px solid #d4d4d4;
    padding-top: 10px;
    padding-bottom: 10px;
}

.qs {
    color: grey;
    font-size: 12px;
    padding-top: 5px;
}

.c-green {
    color: #6fab3a
}

.csub {
    font-size: 16px;
    font-weight: bold;
}

.s-phone {
    color: #27a9e1;
    font-size: 18px !important;
    font-weight: 500;
    padding-top: 5px;
    font-family: roboto !important;
}

.helpline {
    padding-right: 5px;
    padding-top: 0
}

h5 {
    color: green;
    font-size: medium;
}

.subh {
    font-size: 16px;
    font-weight: bold;
}

.sp-login {
    font-size: 14px;
}

.highlight {
    background-color: yellow;
    font-weight: bold;
}

.btn1 {
    background-color: DodgerBlue;
    border: none;
    color: white;
    padding: 2px 10px;
    cursor: pointer;
    font-size: 15px;
}
    /* Darker background on mouse-over */
    .btn1:hover {
        background-color: RoyalBlue;
    }

.btn2 {
    background-color: #25D366; /* WhatsApp green */
    border: none;
    color: white; /* Keeps the text color white for better readability */
    padding: 2px 10px;
    cursor: pointer;
    font-size: 15px;
}

.ad-container {
    text-align: center;
    margin-top: 10px;
}

.ad-link {
    color: #27a9e1;
    font-weight: bold;
    background-color: #ffff99;
    padding: 5px;
    border-radius: 5px;
    display: inline-block;
    text-decoration: none;
    margin-top: 10px;
    line-height: 1.5;
}

    .ad-link:hover {
        background-color: #ffd700;
        text-decoration: underline;
    }

@media screen and (max-width: 600px) {
    .ad-link {
        font-size: 14px;
        min-width: 250px;
    }
}

.support-info {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 6px 8px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    text-align: center;
}

    .support-info strong {
        font-size: 0.8em;
        margin-right: 10px;
    }

    .support-info a, .support-info span {
        text-decoration: none;
        color: #333;
        display: flex;
        align-items: center;
        gap: 3px;
        font-size: 0.8em;
    }

        .support-info a:hover {
            color: #007bff;
        }

    .support-info i {
        font-size: 1.2em;
    }

    .support-info .whatsapp {
        color: #25D366;
    }

    .support-info .email {
        color: #BB001B;
    }

.support-info-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

    .support-info-caption i {
        font-size: 1.2em;
    }
/* Common styling for search containers */
#search-container-1,
#search-container-2 {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px auto;
    width: 95%;
    max-width: 800px;
    border: 2px solid #27a9e1;
    border-radius: 30px;
    padding: 10px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
/* Input styling */
#searchBox1,
#searchBox2 {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 30px 0 0 30px;
}
/* Button styling */
#searchBtn1,
#searchBtn2 {
    background-color: #27a9e1;
    color: white;
    font-weight: bold;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    #searchBtn1:hover,
    #searchBtn2:hover {
        background-color: #1b95d0;
    }
.item-list li, .trending-list li {
    margin-bottom: 15px;
    list-style: none;
}

.trending-icon {
    color: #dc3545;
    margin-right: 6px;
}

.trending-list p {
    font-size: 13px;
    color: #6c757d;
    margin: 5px 0 0 24px;
}
/* Carousel container */
.carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    background: linear-gradient(135deg, #ffffff, #f0f4f8);
    border-radius: 15px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    padding: 20px;
}

/* Carousel inner wrapper */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 350px;
}

/* Each carousel item */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out, transform 0.5s ease;
    transform: scale(0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
}

    .carousel-item.active {
        opacity: 1;
        transform: scale(1);
        position: relative;
    }
    /* Success story title and text */
    .carousel-item h3 {
        font-size: 28px;
        margin-bottom: 15px;
        color: #2c3e50;
        font-family: 'Georgia', serif;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .carousel-item p {
        font-size: 18px;
        color: #7f8c8d;
        line-height: 1.6;
        font-family: 'Arial', sans-serif;
        max-width: 80%;
        margin: 0 auto;
    }

.person-name {
    font-size: 20px;
    color: #3498db;
    margin-bottom: 15px;
    font-weight: bold;
    font-style: italic;
}
/* Navigation controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(52, 152, 219, 0.8);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease, transform 0.3s ease;
    font-size: 24px;
}

    .carousel-control.prev {
        left: 15px;
    }

    .carousel-control.next {
        right: 15px;
    }

    .carousel-control:hover {
        background: rgba(41, 128, 185, 1);
        transform: translateY(-50%) scale(1.1);
    }
/* Carousel indicators */
.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    background: #bdc3c7;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

    .indicator.active {
        background: #3498db;
        transform: scale(1.3);
    }

    .indicator:hover {
        background: #2980b9;
    }
.review-section h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem; /* Adjust size as needed */
    color: #333;
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
}
.bundle-price {
    color: green;
    font-weight: bold;
    font-size: 14px;
    margin-left: 10px;
}

.section-card h2#bundledresources {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

/* Base styling for all screens */
.section-card ul.limheight li a {
    display: block; /* Ensures full width and natural wrapping */
    background: white;
    padding: 10px; /* Base padding */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    line-height: 1.6; /* Increase line spacing for wrapped text */
}

/* Ensure list items have enough space */
.section-card ul.limheight li {
    margin-bottom: 10px; /* Space between list items */
}

/* Specific adjustments for small devices */
@media screen and (max-width: 600px) {
    .section-card ul.limheight {
        grid-template-columns: 1fr; /* Force single column on small screens */
        gap: 8px; /* Slightly smaller gap for mobile */
    }

    .section-card ul.limheight li a {
        padding: 12px; /* More padding for touch targets and readability */
        line-height: 1.8; /* Extra line spacing for wrapped text on small screens */
        font-size: 16px; /* Slightly smaller font for better fit */
        word-wrap: break-word; /* Ensure long words break if needed */
    }

    .section-card ul.limheight li {
        margin-bottom: 12px; /* More space between items on mobile */
    }

    .section-card ul.limheight li .bundle-price {
        display: block; /* Ensure price doesn’t interfere with wrapped text */
        margin-top: 5px; /* Space above price if it follows wrapped text */
        text-align: left; /* Align price below text on mobile for clarity */
    }
}