:root {
    --primary-color: #002245;
    --secondary-color: #f8f9fa;
    --accent-color: #0d6efd;
    --text-color: #333;
    --light-text: #6c757d;
    --pink-color: #e91e63;
    --pink-dark: #c2185b;
    --pink-light: #fce4ec;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
}

.navbar {
    background-color: white;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    transition: all 0.3s;
}

.navbar-brand img {
    height: 50px;
    transition: all 0.3s;
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004080 100%);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    opacity: 0.15;
}

.hero-title {
    font-weight: 600;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-weight: 400;
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Support Schools Button Styles */
.btn-custom-support {
    background-color: white;
    color: var(--primary-color);
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.btn-custom-support::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.btn-custom-support:hover::before {
    left: 100%;
}

.btn-custom-support:hover {
    background: linear-gradient(45deg, var(--pink-color), #ff4081);
    color: white;
    border-color: transparent;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(233, 30, 99, 0.4);
    padding-right: 45px;
}

/* Heart Icon Animation */
.heart-icon {
    font-size: 1.3rem;
    color: var(--pink-color);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateX(-20px) scale(0.8);
    display: inline-block;
}

.btn-custom-support:hover .heart-icon {
    opacity: 1;
    transform: translateX(0) scale(1.2);
    color: white;
    animation: heartbeat 1.2s ease infinite;
}

/* Text Animation */
.btn-text {
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-custom-support:hover .btn-text {
    transform: translateX(5px);
}

/* Sparkle Effect */
.sparkle {
    position: absolute;
    right: 15px;
    opacity: 0;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-custom-support:hover .sparkle {
    opacity: 1;
    animation: sparkleTwinkle 1.5s infinite;
}

/* Heart Beat Animation */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.2);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* Sparkle Animation */
@keyframes sparkleTwinkle {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* Pulse Animation on Hover */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.btn-custom-support:hover {
    animation: pulse 0.6s ease;
}

/* Glow Effect */
.btn-custom-support {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-custom-support:hover {
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.5),
                0 15px 30px rgba(233, 30, 99, 0.3);
}

/* Other Button Styles */
.btn-custom, .btn-custom-login, .btn-custom-donation-req {
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-custom-login {
    color: #f8f9fa;
}

.btn-custom-donation-req {
    border: 1px solid #001a36;
    color: #001a36;
}

.btn-custom-donation-req:hover {
    background-color: #001a36;
    color: #f8f9fa;
    border: 1px solid #001a36;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary-custom:hover {
    background-color: #001a36;
    border-color: #001a36;
    transform: translateY(-2px);
}

.btn-custom-login:hover {
    color: aliceblue;
}

/* Section Styles */
.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-weight: 600;
    color: #002245;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(0, 34, 69, 0.05);
    color: var(--primary-color);
    font-weight: 500;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 34, 69, 0.1);
}

.accordion-item {
    margin-bottom: 15px;
    border-radius: 8px !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

footer {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 30px;
}

footer h5 {
    font-weight: 600;
    margin-bottom: 1.2rem;
}

footer p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

footer a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

footer a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

.accordion-button:not(.collapsed) i {
    transform: scale(1.1);
    transition: all 0.3s ease;
}

.accordion-button i {
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .btn-custom-support {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .btn-custom-support:hover {
        transform: translateY(-3px) scale(1.03);
    }
}