﻿:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f1f5f9;
    --pharma-blue: #1e40af;
    --light-blue: #dbeafe;
    --card-bg: #fff;
    --card-shadow: rgba(0,0,0,0.05);
    --card-hover-shadow: rgba(0,0,0,0.15);
}
/*:root {
    --primary-color: #50457f;
    --secondary-color: #8378b6;
    --card-bg: #fff;
    --card-shadow: rgba(0,0,0,0.05);
    --card-hover-shadow: rgba(0,0,0,0.15);
}*/
body {
    font-family: 'General Sans Variable';
    color: var(--text-dark);
    font-size: 15px;
}

@font-face {
    font-family: 'General Sans Variable';
    src: url('../font/GeneralSans-Variable.woff2') format('woff2');
    font-weight: 200 900; /* Variable font weight range */
    font-display: swap;
}

h4 {
    font-size: 1.3rem !important;
}

p {
    margin-bottom: 0px !important;
}

.logo-size {
    width: 40px;
    color: #e85911 !important;
}

.navbar-toggler-icon {
    background-image: url(../img/menu-bar.png);
}

.navbar {
    background: #ffffff !important;
    color: #000 !important;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.3);
    backdrop-filter: blur(6px);
    padding: 0.9rem;
}



/* Brand Text */
.navbar-brand .brand-text {
    font-family: "Poppins", "Orbitron", sans-serif;
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #1e3a8a, #1e3a8a, #1e3a8a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(0, 123, 255, 0.6), 0 0 10px rgba(0, 174, 255, 0.6), 0 0 20px rgba(0, 200, 255, 0.4);
    transition: all 0.4s ease-in-out;
    display: inline-block;
    position: relative;
}

/* Glow pulse animation */
@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 5px rgba(0, 123, 255, 0.7), 0 0 15px rgba(0, 174, 255, 0.6), 0 0 25px rgba(0, 200, 255, 0.5);
    }

    50% {
        text-shadow: 0 0 8px rgba(0, 174, 255, 1), 0 0 20px rgba(0, 200, 255, 0.9), 0 0 30px rgba(0, 220, 255, 0.8);
    }
}

/* Hover Effect */
.navbar-brand .brand-text:hover {
    animation: glowPulse 1.5s infinite;
    transform: scale(1.08);
    letter-spacing: 2px;
}

/* Optional underline effect */
.navbar-brand .brand-text::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #1e3a8a, #1e3a8a);
    border-radius: 2px;
    transition: width 0.4s ease-in-out;
}

.navbar-brand .brand-text:hover::after {
    width: 100%;
}




/* Navbar link styles */
.navbar-nav .nav-link {
    color: #000 !important; /* Base color: black */
    font-weight: 600; /* Slightly bolder */
    margin: 0 12px; /* Spacing between links */
    font-family: 'Poppins', sans-serif; /* Modern font */
    text-transform: uppercase; /* Uppercase letters */
    letter-spacing: 0.5px; /* Slight spacing for elegance */
    position: relative; /* For underline animation */
    transition: all 0.3s ease;
}

    /* Hover effect with lift and underline */
    .navbar-nav .nav-link:hover {
        color: #ff9000 !important; /* Hover color: orange */
        transform: translateY(-3px); /* Slight lift */
    }

    /* Animated underline */
    .navbar-nav .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -4px;
        width: 0%;
        height: 2px;
        background: #ff9000;
        transition: width 0.3s ease;
    }

    .navbar-nav .nav-link:hover::after {
        width: 100%; /* Underline expands on hover */
    }

/*
.navbar-nav .nav-link {
    color: rgb(0, 0, 0) !important;
    font-weight: 500;
    margin: 0 10px;
    transition: all 0.3s ease;
}

    .navbar-nav .nav-link:hover {
        color: #ff9000 !important;
        transform: translateY(-2px);
    }
*/
/* Dropdown Styles */
.dropdown-menu {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    margin-top: 10px;
    padding: 10px 0;
}

.dropdown-item {
    color: white !important;
    font-weight: 500;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--accent-color) !important;
        transform: translateX(5px);
    }

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 8px 0;
}

.dropdown-toggle::after {
    border-top-color: white;
    margin-left: 8px;
}

.hero-section {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1587854692152-cbe660dbde88?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-pharma {
    background: #d48e41a6;
    border: #ffffff66 solid 1px;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-pharma:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(30, 58, 138, 0.4);
        color: white;
    }

.section-title {
    font-size: 1.90rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1.2rem;
    letter-spacing: -1px;
}

    .section-title.text-start {
        text-align: left !important;
    }

.about-section {
    background-color: #ffffff;
    padding: 60px 0;
}

.language {
    text-align: left !important;
}

/* Director Section Styles */
.director-section {
    background: #f7ecff;
    padding: 20px;
    border-radius: 5px;
}

.director-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.director-quote {
    margin: 0;
    font-style: italic;
    color: var(--text-dark);
}

    .director-quote p {
        font-size: 0.85rem;
        margin-bottom: 10px;
    }

    .director-quote cite {
        font-size: 0.9rem;
        color: var(--primary-color);
        font-weight: 600;
    }

/* Mission Vision Cards */
.mission-vision-card {
    background: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
    height: 100%;
}

    .mission-vision-card i {
        font-size: 2rem;
        color: var(--primary-color);
    }

    .mission-vision-card h5 {
        color: #000000;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .mission-vision-card p {
        color: var(--text-light);
        font-size: 0.9rem;
        margin: 0;
    }

.icon-max {
    color: #8c7fca !important;
}

/* Product Category Styles */
.product-category {
    margin-bottom: 50px;
}

.bg-color {
    background: #f8f6fb;
}

.category-title {
    color: #534a7f;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 30px;
    border-bottom: 1px solid #dedede;
    padding-bottom: 10px;
}

.brand-med {
    font-size: 16px;
    font-weight: 500;
    line-height: 13px;
    color: #685f94;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    
    text-align: center;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(30, 58, 138, 0.2);
    }

.product-icon {
    font-size: 2rem;
    color: #8c7fca;
    margin-bottom: 20px;
}

.company-logo {
    height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

    .company-logo:hover {
        filter: grayscale(0%);
        transform: scale(1.1);
    }

.view-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-top: 13px;
    border: #8378b6 solid 1px !important;
    border: none;
    color: #000000;
}

    .view-btn:hover {
        background: #8378b6;
        color: #fff !important;
    }

.back-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-top: 13px;
    background: #8378b6;
    border: none;
    color: #ffffff;
}

    .back-btn:hover {
        background: #8378b6;
        color: #fff !important;
    }

.product-btn {
    padding: 4px 10px;
    font-size: 13px;
    margin-top: 13px;
    border: #ffffff solid 1px !important;
    border: none;
    color: #ffffff;
}

    .product-btn:hover {
        background: #8378b6;
        color: #fff !important;
        border: #8378b6 solid 1px !important;
    }
section {
    scroll-margin-top: 90px; /* adjust to your navbar height */
}
 #products, #contact {
    scroll-margin-top: 90px;
}
/* Contact Section Styles */
.contact-info-section {
    background: #f3eff9;
    padding: 30px;
    border-radius: 5px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon-wrapper {
    color: #0c3f8b;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
}

.contact-details h5 {
    color: #000;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 17px;
}

.contact-details p {
    color: #060708;
    margin: 0;
    font-size: 0.9rem;
}

/* Business Hours */
.business-hours {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
}

    .business-hours h5 {
        color: #000;
        font-weight: 600;
        margin-bottom: 15px;
    }

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #e2e8f0;
}

    .hours-item:last-child {
        border-bottom: none;
    }

    .hours-item span:first-child {
        font-weight: 500;
        color: var(--text-dark);
    }

    .hours-item span:last-child {
        color: #000;
    }

.text-red {
    color: #e70c0c !important;
}

/* Contact Form */
.contact-form-wrapper {
    background: white;
    padding: 30px;
    border: #33333329 solid 1px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
    border-radius: 5px;
}

.contact-form .form-control {
    border: 1px solid #d6d6d6;
    border-radius: 5px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

    .contact-form .form-control:focus {
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
    }

.contact-info {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.btn-submit {
    background: #064197 !important;
    color: #fff !important;
    border-radius: 5px;
    padding: 15px;
    margin-top: 32px;
}

.footer {
    background: linear-gradient(135deg, #060714, #05062b);
    color: white;
    padding: 50px 0 20px;
}

.social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: all 0.3s ease;
}

    .social-icon:hover {
        color: #8c7fca;
        transform: translateY(-3px);
    }

.carousel-item {
    height: 100vh;
    background-size: cover;
    background-position: center;
}

    .carousel-item:nth-child(1) {
        background-image: linear-gradient(#bad8f50d, rgb(0 0 0 / 60%)), url('/image/pic-1.jpg');
    }

    .carousel-item:nth-child(2) {
        background-image: linear-gradient(#bad8f50d, rgb(0 0 0 / 60%)),url('/image/pic-2.jpeg');
    }

    .carousel-item:nth-child(3) {
        background-image: linear-gradient(#bad8f50d, rgb(0 0 0 / 60%)), url('/image/pic-3.jpg');
    }

.carousel-caption {
    bottom: 20%;
    text-align: left;
    left: 10%;
    right: 45%;
}

    .carousel-caption h1 {
        font-size: 4rem;
        font-weight: 300;
        margin-bottom: 1rem;
        letter-spacing: -1px;
    }

    .carousel-caption p {
        font-size: 1.4rem;
        margin-bottom: 2rem;
    }

/* Text Animation Classes */
.animate-text {
    animation: slideInLeft 1s ease-out;
}

.animate-text-delay {
    animation: slideInLeft 1s ease-out 0.3s both;
}

.animate-text-delay-2 {
    animation: slideInLeft 1s ease-out 0.6s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Thumbnail Navigation Styles */
.carousel-thumbnails {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    display: flex;
    gap: 10px;
}

.thumbnail-item {
    width: 60px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

    .thumbnail-item.active {
        border-color: white;
        opacity: 1;
        transform: scale(1.1);
    }

    .thumbnail-item:hover {
        opacity: 0.8;
        transform: scale(1.05);
    }

    .thumbnail-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Location Map */
.location-map {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.1);
}

    .location-map h5 {
        color: #000;
        font-weight: 600;
    }

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(30, 58, 138, 0.1);
}

/* Top Header Section Styles */
.top-header-section {
    background-image: linear-gradient(rgb(25 12 43 / 50%), rgb(0 0 0 / 60%)), url('../img/medicine.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
}

.header-overlay {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.header-title {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'General Sans Variable';
    color: white;
}

.header-subtitle {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    margin-bottom: 10px !important;
}

.header-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

    .header-buttons .btn {
        padding: 12px 25px;
        font-weight: 600;
        border-radius: 8px;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .header-buttons .btn-primary {
        background: var(--primary-color);
        border: 2px solid var(--primary-color);
    }

        .header-buttons .btn-primary:hover {
            background: var(--secondary-color);
            border-color: var(--secondary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 58, 138, 0.4);
        }

    .header-buttons .btn-outline-light {
        border: 2px solid white;
        color: white;
    }

        .header-buttons .btn-outline-light:hover {
            background: white;
            color: var(--primary-color);
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
        }

/* Search Container Styles */
.search-container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid #e2e8f0;
}

    .search-container .input-group {
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    .search-container .input-group-text {
        background: #50457f;
        color: white;
        border: none;
        padding: 12px 15px;
    }

    .search-container .form-control {
        border: none;
        padding: 12px 15px;
        font-size: 1rem;
    }

        .search-container .form-control:focus {
            box-shadow: none;
            border-color: var(--primary-color);
        }

    .search-container .btn-outline-secondary {
        border: none;
        background: #f8f9fa;
        color: #6c757d;
        padding: 12px 15px;
        transition: all 0.3s ease;
    }

        .search-container .btn-outline-secondary:hover {
            background: #e9ecef;
            color: #495057;
        }

.search-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
}

    .search-stats .badge {
        font-size: 0.9rem;
        padding: 8px 15px;
        font-weight: 400;
        border-radius: 5px;
    }

.page-link {
    color: #000 !important;
}

.wrapper {
    display: flex;
    justify-content: center;
}

.cta {
    display: flex;
    padding: 10px 45px;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: white;
    background: #8378b6;
    transition: 1s;
    box-shadow: 6px 6px 0 #c7d3dc;
    transform: skewX(-15deg);
}

    .cta:focus {
        outline: none;
    }

    .cta:hover {
        transition: 0.5s;
        box-shadow: 10px 10px 0 #FBC638;
    }

    .cta span:nth-child(2) {
        transition: 0.5s;
        margin-right: 0px;
    }

    .cta:hover span:nth-child(2) {
        transition: 0.5s;
        margin-right: 45px;
    }

    .cta span {
        transform: skewX(15deg)
    }

        .cta span:nth-child(2) {
            width: 20px;
            margin-left: 15px;
            position: relative;
            top: -13%;
        }

/**************SVG****************/

path.one {
    transition: 0.4s;
    transform: translateX(-60%);
}

path.two {
    transition: 0.5s;
    transform: translateX(-30%);
}

.cta:hover path.three {
    animation: color_anim 1s infinite 0.2s;
}

.cta:hover path.one {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.6s;
}

.cta:hover path.two {
    transform: translateX(0%);
    animation: color_anim 1s infinite 0.4s;
}

/* SVG animations */

@keyframes color_anim {
    0% {
        fill: white;
    }

    50% {
        fill: #FBC638;
    }

    100% {
        fill: white;
    }
}















/* Responsive Design for Header */
@media (max-width: 768px) {
    .header-title {
        font-size: 2.5rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .header-buttons {
        flex-direction: column;
    }

        .header-buttons .btn {
            width: 100%;
            text-align: center;
        }

    .search-container .row {
        flex-direction: column;
        gap: 15px;
    }

    .search-stats {
        justify-content: flex-start;
    }
}

/* Enquiry Bot Styles */
.enquiry-bot {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'General Sans Variable';
}

.bot-toggle {
    background: linear-gradient(135deg, #e61c1c, #f63b93);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

    .bot-toggle:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(30, 58, 138, 0.4);
    }

    .bot-toggle i {
        font-size: 1.2rem;
    }

.bot-label {
    font-size: 0.9rem;
}

.bot-window {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 350px;
    height: 450px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

    .bot-window.active {
        display: flex;
    }

.bot-header {
    background: linear-gradient(135deg, #e61c1c, #f63b93);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .bot-header h6 {
        margin: 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }

.bot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

    .bot-close:hover {
        background: rgba(255, 255, 255, 0.2);
    }

.bot-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.bot-message, .user-message {
    width: 100%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.bot-message {
    background: #f1f5f9;
    color: var(--text-dark);
    align-self: flex-start;
    border-bottom-left-radius: 5px;
}

.user-message {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 5px;
}

.bot-input {
    padding: 15px 20px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 10px;
    align-items: center;
}

    .bot-input input {
        flex: 1;
        border: 1px solid #d1d5db;
        border-radius: 25px;
        padding: 10px 15px;
        font-size: 0.9rem;
        outline: none;
        transition: border-color 0.3s ease;
    }

        .bot-input input:focus {
            border-color: var(--primary-color);
        }

    .bot-input button {
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        color: white;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

        .bot-input button:hover {
            transform: scale(1.1);
        }

.btn-send {
    background: linear-gradient(135deg, #e61c1c, #f63b93) !important;
    border: none !important;
    letter-spacing: 2px !important;
    text-transform: none !important;
    font-size: 12px !important;
    color: #fff !important;
    font-family: 'General Sans Variable' !important;
    padding: 10px !important;
}

.table-responsive {
    overflow-x: scroll !important;
}

.brand-title {
    font-size: 20px;
    color: #858587;
    font-weight: 600;
}

/* Responsive Design for Bot */
@media (max-width: 768px) {
    .carousel-caption {
        left: 5%;
        right: 5%;
    }

        .carousel-caption h1 {
            font-size: 2rem;
        }

        .carousel-caption p {
            font-size: 1.1rem;
        }

    .section-title {
        font-size: 2rem;
    }

    .director-section {
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: left;
    }

    .hours-item {
        flex-direction: column;
        gap: 5px;
    }

    .bot-window {
        width: 300px;
        height: 400px;
        right: -10px;
    }

    .bot-toggle {
        padding: 12px 16px;
    }

    .bot-label {
        display: none;
    }
}

/* Date input specific styles */
.search-container input[type="date"] {
    font-family: 'General Sans Variable';
    color: #333;
}

    .search-container input[type="date"]::-webkit-calendar-picker-indicator {
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }

        .search-container input[type="date"]::-webkit-calendar-picker-indicator:hover {
            opacity: 1;
        }

.search-container .btn-primary {
    background: #50457f;
    border: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .search-container .btn-primary:hover {
        background: #8378b6;
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(80, 69, 127, 0.3);
    }

.search-container .btn-outline-secondary.btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    transition: all 0.3s ease;
}

    .search-container .btn-outline-secondary.btn-sm:hover {
        background: #f8f9fa;
        border-color: #adb5bd;
        color: #495057;
    }

/* Enhanced responsive design for search */
@media (max-width: 768px) {
    .search-container .row {
        flex-direction: column;
        gap: 15px;
    }

    .search-container .col-md-2 {
        margin-top: 10px;
    }

    .search-container .d-flex {
        justify-content: center;
    }

    .search-stats.text-end {
        text-align: left !important;
        margin-top: 10px;
    }
}





/* Table Layout */
#products .row {
    display: flex; /* Use flexbox for wrapping like a table */
    flex-wrap: wrap; /* allows multiple rows */
    justify-content: center; /* center-align cards */
    align-items: stretch; /* 🔹 ensures equal height in each row */
    gap: 20px; /* spacing between cards */
    max-width: 1400px; /* expand usable width */
    margin: 0 auto;
}
/* Each product card behaves like a table cell */
#products .product-card {
    flex: 1 1 320px; /* min width 300px, flexible beyond that */
    max-width: 350px;
    display: flex;
    flex-direction: column;
}

/* Make container use more width */
#products .container {
    max-width: 95%;
    margin: 0 auto;
}

#products .content-card,
#products .edition-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 5px;
    box-shadow: 0 8px 25px var(--card-shadow);
    transition: all 0.4s ease;
    flex: 1; /* 🔹 makes all cards same height */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* optional – keeps spacing consistent */
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}
    #products .content-card:hover,
    #products .edition-card:hover {
        transform: translateY(-8px) scale(1.02);
        box-shadow: 0 15px 35px var(--card-hover-shadow);
    }

/* Section Title */
#products .section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0832ab;
    margin-bottom: 20px;
    position: relative;
}

    #products .section-title::after {
        content: '';
        height: 4px;
        background: linear-gradient(90deg,#0a58ca, #0d6efd);
        display: block;
        margin-top: 8px;
        border-radius: 2px;
    }

/* Lists */
#products .content-card ul,
#products .edition-card ul {
    padding-left: 0px;
    margin: 0;
    list-style: none;
    flex: 1;
    max-height: 300px; /* Adjust as needed */
    overflow-y: auto;
    padding-right: 0px;
    
}

    #products .content-card ul li,
    #products .edition-card ul li {
        margin-bottom: 12px;
        font-size: 1rem;
        color: #333;
        line-height: 1.5;
        font-weight: 500;
        padding-left: 8px;
        transition: color 0.3s ease;
    }

        #products .content-card ul li::before,
        #products .edition-card ul li::before {
           
            position: absolute;
            left: 0;
            color: var(--secondary-color);
            font-weight: bold;
            font-size: 1.2rem;
            top: 0;
        }

        #products .content-card ul li:hover,
        #products .edition-card ul li:hover {
            color: var(--primary-color);
        }

/* Edition Card Ribbon */
.ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--secondary-color);
    color: #fff;
    padding: 5px 12px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

    .ribbon.premium {
        background: #ff6f61;
    }

/* Card Animation */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    #products .row {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    #products .section-title {
        font-size: 1.6rem;
        text-align: center;
    }

    #products .content-card,
    #products .edition-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    #products .row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}



/**/
/* -------------------------
   Trusted Schools
   ------------------------- */
/*#trusted-schools {
    background: var(--bg-light);
    padding: 3rem 0;
}

    #trusted-schools .school-logo-card {
        background: #fff;
        border-radius: 10px;
        padding: 18px;
        box-shadow: var(--shadow-md);
        transition: transform var(--transition-fast);
    }

        #trusted-schools .school-logo-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-strong);
        }
*/
/*#trusted-schools {
    background: #f8f9fa;
    padding: 3rem 0;
}
    #trusted-schools .row {
        display: flex;
        flex-wrap: wrap;
    }

    #trusted-schools .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        position: relative;
    }

        #trusted-schools .section-title::after {
            content: '';
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            display: block;
            margin: 10px auto 0;
            border-radius: 2px;
        }*/

   /* #trusted-schools .school-card {
        text-align: center;
    }*/
    /*#trusted-schools .school-card {
        display: flex;
        align-items: stretch;*/ /* makes all boxes equal height */
    /*}
    #trusted-schools .school-logo-card {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1;*/ /* ensures all cards stretch evenly */
    /*}*/
  /*  #trusted-schools .school-logo-card {
        background: #fff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }*/

        /*#trusted-schools .school-logo-card img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            margin-bottom: 10px;
        }

        #trusted-schools .school-logo-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }

    #trusted-schools h6 {
        font-size: 0.95rem;
        color: #333;
        font-weight: 600;
        line-height: 1.3;
        min-height: 45px;*/ /* ✅ gives consistent text spacing */
        /*display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }*/

/* Responsive */
/*@media (max-width: 768px) {
    #trusted-schools .school-logo-card {
        padding: 15px;
    }

        #trusted-schools .school-logo-card img {
            width: 80px;
            height: 80px;
        }
}*/

#trusted-schools {
    background: #f8f9fa;
    padding: 3rem 0;
}

    /* Row setup */
    #trusted-schools .row {
        display: flex;
        flex-wrap: wrap;
    }

    /* Section Title */
    #trusted-schools .section-title {
        font-size: 2rem;
        font-weight: 700;
        color: var(--primary-color);
        position: relative;
        text-align: center;
    }

        #trusted-schools .section-title::after {
            content: '';
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
            display: block;
            margin: 10px auto 0;
            border-radius: 2px;
        }

    /* Equal Height Cards */
    #trusted-schools .school-card {
        display: flex;
        align-items: stretch;
        text-align: center;
        margin-bottom: 1.5rem;
    }

    /* Card Body */
    #trusted-schools .school-logo-card {
        background: #fff;
        border-radius: 10px;
        padding: 20px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

        /* Logo styling */
        #trusted-schools .school-logo-card img {
            width: 100px;
            height: 100px;
            object-fit: contain;
            margin: 0 auto 10px;
        }

        /* Hover effect */
        #trusted-schools .school-logo-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 25px rgba(0,0,0,0.15);
        }

    /* Heading styling */
    #trusted-schools h6 {
        font-size: 0.95rem;
        color: #333;
        font-weight: 600;
        line-height: 1.3;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

/* Responsive */
@media (max-width: 768px) {
    #trusted-schools .school-logo-card {
        padding: 15px;
    }

        #trusted-schools .school-logo-card img {
            width: 80px;
            height: 80px;
        }
}

/* ===============================
   Success Modal Styling
   =============================== */
.success-modal-content {
    border: none;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

/* Green header bar */
.success-modal-header {
    background: #073b87; 
    height: 80px;
    position: relative;
}

    .success-modal-header .btn-close {
        opacity: 0.8;
        position: absolute;
        right: 12px;
        top: 12px;
    }

/* Checkmark icon */
.success-icon i {
    color: #4ed7b1;
    font-size: 60px;
}

/* Button */
.btn-success-continue {
    background: #081936;
    color: #f0f4f7;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

    .btn-success-continue:hover {
        background: #6998f0;
        color: #fff;
        transform: translateY(-2px);
    }

/* Backdrop dimming */
.modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.6);
}
