﻿/* === Base Reset === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #fff;
}

/* === Navbar === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.logo {
    margin: 0 10px;
}

    .logo img {
        height: 50px;
    }

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin: 0 10px;
}

    .menu-toggle span {
        height: 3px;
        width: 25px;
        background: black;
        margin: 4px 0;
    }

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

    .nav-links a {
        text-decoration: none;
        color: black;
        font-weight: 500;
    }

/* === Dropdown === */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 999;
    min-width: 250px;
    padding: 10px 15px;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content .category {
    font-weight: bold;
    margin-top: 10px;
    color: #333;
}

.dropdown-content p {
    font-size: 14px;
    color: #555;
    margin: 5px 0 10px;
}

.login-btn {
    background-color: #6c63ff;
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
}

/* === Mobile View === */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        padding: 20px;
        background: #fff;
        z-index: 1000;
    }

        .nav-links.active {
            display: flex;
        }

    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        padding: 10px 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .login-btn {
        width: 100%;
        text-align: center;
        margin-top: 15px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .logo, .menu-toggle {
        margin: 0 10px;
    }
}

/* === Carousel Section === */
#pwSlider {
    width: 100vw;
    margin: 0 auto;
}

    #pwSlider .carousel-item img {
        width: 100%;
        height: 450px;
        object-fit: cover;
    }

/* Mobile Carousel */
@media (max-width: 767.98px) {
    #pwSlider .carousel-item img {
        height: 220px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        background-color: rgba(0, 0, 0, 0.4);
        padding: 10px;
        border-radius: 50%;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 50%;
}

/* === Extra Styles === */
.text-purple {
    color: #4B0082;
}

/* Hide elements in mobile */
@media (max-width: 767.98px) {
    .speech-box,
    .speech-box2 {
        display: none !important;
    }
}

/* Card Hover Effect */
.custom-card {
    transition: all 0.3s ease;
}

    .custom-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

/* Icon Circle */
.icon-circle {
    width: 60px;
    height: 60px;
    background-color: #e0f0ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badges */
.custom-badge {
    margin: 3px;
    background: linear-gradient(45deg, #fdfdfd, #f1f1f1);
    color: #333;
    border: 1px solid #ccc;
    font-size: 0.85rem;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

    .custom-badge:hover {
        background: #007bff;
        color: white;
        border-color: #007bff;
    }
 
.info-card {
    overflow: hidden;
    height: 170px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-content {
    position: relative;
    z-index: 2;
    transition: transform 0.4s ease;
}

.info-icon {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: all 0.4s ease;
}

/* ↓↓↓ Change made here ↓↓↓ */
.info-card:hover .info-content {
    transform: translateY(-10px); /* earlier -40px */
}

.info-card:hover .info-icon {
    bottom: 20px;
    opacity: 1;
}

@@media (max-width: 767px) {
    .info-card {
        height: auto;
        padding: 20px;
    }

    .info-icon {
        display: none;
    }

    .info-card:hover .info-content {
        transform: none;
    }
}

 