:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Inter', sans-serif;
}

.hero-section {
    background-image: url('https://onlinestudypro.org/images/main_banner.webp');
    background-size: cover;
    background-position: center;
}

.stats-counter {
    display: inline-block;
}

.form-input {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: #4F46E5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
}

.custom-checkbox {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #4F46E5;
    border-color: #4F46E5;
}

.checkmark:after {
    content: "";
    display: none;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.testimonial-card {
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Adjust this value to match your header's height */
}




table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-family: Arial, sans-serif;
}

th,
td {
    border: 1px solid #ddd;
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
    font-weight: bold;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #f5f5f5;
}

@media screen and (max-width: 600px) {
    table {
        font-size: 14px;
    }

    th,
    td {
        padding: 8px;
    }
}



/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 20px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.whatsapp-float:hover {
    background-color: #1DA851;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}


/* ... existing code ... */

/* --- FAQ Accordion Styles (Add to the end of style.css) --- */
.faq-answer {
    max-height: 0;
    transition: max-height 0.4s ease-in-out;
}

/* University Logo Slider */
.logo-item {
    height: 5rem;
    /* Increased logo height */
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

.logo-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.animate-marquee {
    animation: marquee 40s linear infinite;
    /* Increased duration for more logos */
    display: flex;
    width: 200%;
    /* Needs to be double the container width for the loop */
}


/* Popular Subjects Section */
.subject-item {
    padding: 0.75rem 1.5rem;
    border: 1px solid #e5e7eb;
    /* Light gray border */
    border-radius: 9999px;
    /* Pill shape */
    background-color: #ffffff;
    font-weight: 500;
    color: #4b5563;
    /* Gray text */
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
    min-width: 14rem;
    /* Set a minimum width for all items */
    text-align: center;
    /* Center the text inside the box */
    display: inline-block;
    /* Ensure width and alignment are respected */
}

.subject-item:hover {
    background-color: #FF6B4A;
    /* Primary color on hover */
    color: #ffffff;
    border-color: #FF6B4A;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Animation for right-to-left marquee */
@keyframes subjectsMarquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.subjects-marquee {
    display: flex;
    width: 200%;
    /* Double the width for seamless loop */
    animation: subjectsMarquee 50s linear infinite;
}

/* Animation for left-to-right marquee */
@keyframes subjectsMarqueeReverse {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(0%);
    }
}

.subjects-marquee-reverse {
    display: flex;
    width: 200%;
    animation: subjectsMarqueeReverse 50s linear infinite;
}


/* New Form Styles */
.form-field-container {
    position: relative;
}

.form-field-container i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    /* gray-400 */
    font-size: 1.25rem;
}

.form-input-new {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    /* Adjusted padding for icon */
    border: 1px solid #d1d5db;
    /* gray-300 */
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-input-new:focus {
    outline: none;
    border-color: #FF6B4A;
    /* primary */
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.2);
}



.discount-banner {
    background-color: #FF6B4A;
    /* Use theme's primary color */
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    position: relative;
}

.discount-banner .main-discount {
    font-size: 1.125rem;
}

.discount-banner .extra-discount {
    background-color: #1059ab;
    /* New blue color */
    color: white;
    /* Changed text color for contrast */
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Updated Hero Section with Dark Background */
.hero-section-dark {
    background-image: url('https://onlinestudypro.org/images/main_banner.webp');
    background-size: cover;
    background-position: center;
    position: relative; /* Needed for the overlay */
}

/* This pseudo-element creates the dark overlay */
.hero-section-dark::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgb(67 99 145 / 23%); /* This is the dark blue overlay */
    z-index: 1;
}

/* This ensures the content (text, form, etc.) sits on top of the overlay */
.hero-section-dark .container {
    position: relative;
    z-index: 2;
}


/* Updated Button with Animation */
.btn-quote {
    background-color: #FBBF24; /* amber-400 */
    color: #4B5563; /* gray-700 */
    font-weight: 700;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-animation 2s infinite; /* Added animation */
}

.btn-quote:hover {
    background-color: #F59E0B; /* amber-500 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scale(1.05); /* Slight grow on hover */
    animation: none; /* Stop pulsing on hover */
}

/* Keyframes for the pulse animation */
@keyframes pulse-animation {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

.custom-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%236B7280%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-13%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2013l128%20127.9c3.6%203.6%207.8%205.4%2013%205.4s9.4-1.8%2013-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-13%200-5-1.9-9.4-5.4-13.2z%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: .65em auto;
    padding-right: 2.5rem;
}
/* Aligns the icon to the top of the textarea */
.textarea-icon {
    top: 0.85rem !important;
    transform: translateY(0) !important;
}

/* Optional: Allows vertical resizing of the textarea */
textarea.form-input-new {
    resize: vertical;
    min-height: 80px;
}


/* Hide the default file input */
#attachment {
    display: none;
}

/* Style the custom dropzone label */
.custom-file-upload-dropzone {
    border: 2px dashed #d1d5db; /* gray-300 */
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #f9fafb; /* gray-50 */
}

/* Style for when a file is being dragged over the dropzone */
.custom-file-upload-dropzone.dragover {
    border-color: #FF6B4A; /* primary */
    background-color: #fff7f5; /* a light shade of primary */
}

/* Style for the icon and text inside the dropzone */
.custom-file-upload-dropzone .text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

