/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-purple: #9b59b6;
    --dark-purple: #8e44ad;
    --light-purple-bg: #f3e5f5;
    /* Very light purple for general background */
    --hero-bg: #9C70C3;
    /* Adjusted to match the specific purple in image */
    --accent-pink: #FF85A5;
    /* Pink button color */
    --accent-pink-hover: #ff6b81;
    --text-white: #ffffff;
    --text-dark: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    /* Gradient background for the whole page */
    /* background: linear-gradient(180deg, var(--hero-bg) 0%, var(--hero-bg) 600px, var(--light-purple-bg) 600px, var(--light-purple-bg) 100%); */
    background-attachment: fixed;
    background-color: var(--hero-bg);
    /* Keeps background fixed while scrolling */
    padding-top: 80px;
    /* Prevent content hidden behind fixed navbar */
}

.main-container {
    background-color: var(--hero-bg);
}

/* Navbar Customization */
.main-navbar {
    background-color: #8e44ad !important;
    /* Bootstrap uses !important sometimes */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 15px 0;
}

.navbar-brand span {
    color: white;
}

.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 5px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-pink) !important;
}

/* Custom Navbar CSS */

/* Ensure the navbar stays on top and has the tab shape */
.navbar-custom {
    background-color: transparent !important;
    /* Let the container handle bg */
    padding: 0;
    margin-top: 20px;
}

.header-container {
    background-color: #8e44ad;
    /* Dark purple */
    border-radius: 20px 20px 0 0;
    /* Rounded top corners */
    padding: 10px 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 100%;
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: white !important;
}

.navbar-brand i {
    font-size: 2rem;
    margin-right: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-text .title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-text .subtitle {
    font-size: 0.8rem;
    font-weight: 400;
}

.nav-link {
    color: white !important;
    font-weight: 500;
    margin-left: 15px;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #FF85A5 !important;
    /* Accent pink */
}

/* Toggler override for white icon */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Content Section */

.content-section {
    padding: 60px 0;
    background-color: var(--light-purple-bg);
}

/* Slide Section */
.slide-section {
    padding: 10px 0 0 0;
    background-color: var(--light-purple-bg);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 60px;
}

.btn-primary {
    background-color: var(--accent-pink);
    border-color: var(--accent-pink);
    box-shadow: 0 4px 10px rgba(255, 107, 129, 0.4);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--accent-pink-hover);
    border-color: var(--accent-pink-hover);
    box-shadow: 0 6px 12px rgba(255, 107, 129, 0.5);
}

/* Cards */
.card {
    border-radius: 12px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-footer.bg-purple {
    background-color: var(--primary-purple);
}

/* News Section Buttons */
.btn-info {
    background-color: #2980b9;
    border-color: #2980b9;
    color: white;
}

.btn-info:hover {
    background-color: #3498db;
    border-color: #3498db;
    color: white;
}

/* Footer */
/* Footer Styling Override */
/* Footer General */
.footer-section {
    padding-bottom: 50px;
    padding-top: 0;
    background-color: var(--hero-bg);

}

.footer-content {
    background: var(--dark-purple) !important;
    /* Fallback */
    border-radius: 0 0 40px 40px;
    padding: 3rem !important;
    color: white;
    box-shadow: 0 15px 35px rgba(142, 62, 179, 0.3);
}

/* Typography */
.footer-content a {
    color: white;
    text-decoration: none;
}

.footer-content h6 {
    font-size: 1rem;
    line-height: 1.4;
}

.footer-content .small p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Social Icons */
.icon-wrap {
    width: 25px;
    height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 13px;
    flex-shrink: 0;
}

.icon-wrap.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.icon-wrap.facebook {
    background-color: #1877F2;
}

.icon-wrap.twitter {
    /* X logo background usually black */
    background-color: #000;
}

.icon-wrap.tiktok {
    background-color: #000;
}

.social-links .d-flex span.text-white {
    font-size: 0.95rem;
}

/* Form Inputs */
.footer-input {
    background-color: rgba(255, 255, 255, 0.25) !important;
    border: none !important;
    border-radius: 12px !important;
    color: white !important;
    padding: 12px 20px;
    font-size: 0.95rem;
}

.footer-input::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.footer-input:focus {
    background-color: rgba(255, 255, 255, 0.35) !important;
    box-shadow: none !important;
    color: white !important;
}

/* Layout Tweaks */
@media (max-width: 768px) {
    .footer-content {
        border-radius: 30px;
        padding: 2rem !important;
    }

    .col-md-4 {
        text-align: center;
    }

    .social-links {
        align-items: center;
    }
}

.bg-light-transparent {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.bg-light-transparent::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.bg-light-transparent:focus {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    box-shadow: none;
}

/* Ripple Effect Helper */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn {
    position: relative;
    overflow: hidden;
}