
/* ================= RESET ================= */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Segoe UI", Arial, sans-serif;
}

body{
    background: url('img/1.jpg') no-repeat center center;
    background-size: cover;
    color:#0f3d3e;
}

/* ================= HEADER ================= */
header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 30px;
    background:linear-gradient(90deg,#0ea5a4,#22c55e);
    color:#fff;
    position:sticky;
    top:0;
    z-index:1000;
}

.logo{
    font-size:20px;
    font-weight:700;
}

/* Desktop Menu */
.desktop-menu{
    display:flex;
    gap:18px;
}

.desktop-menu a{
    color:#ecfeff;
    text-decoration:none;
    padding:8px 14px;
    border-radius:8px;
}

.desktop-menu a:hover{
    background:rgba(255,255,255,0.25);
}

.desktop-menu a.active {
    background:rgba(255,255,255,0.4);
    font-weight: bold;
    border-bottom: 2px solid #ffffff;
}

/* Mobile Menu Button */
.menu-btn{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* ================= MOBILE SIDEBAR (GLASS) ================= */
.mobile-sidebar{
    position:fixed;
    top:0;
    left:-280px;
    width:280px;
    height:100%;
    padding:20px;
    background:linear-gradient(
        180deg,
        rgba(14,165,164,0.9),
        rgba(34,197,94,0.9)
    );
    backdrop-filter:blur(14px);
    transition:0.4s;
    z-index:2000;
}

.mobile-sidebar.active{
    left:0;
}

/* Back Button */
.back-btn{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    font-size:16px;
    margin-bottom:20px;
    cursor:pointer;
}

/* Menu */
.mobile-sidebar ul{
    list-style:none;
}

.mobile-sidebar li{
    margin-bottom:14px;
}

.mobile-sidebar a,
.mobile-sidebar span{
    display:block;
    padding:12px;
    color:#f0fdfa;
    text-decoration:none;
    border-radius:10px;
    cursor:pointer;
}

.mobile-sidebar a:hover,
.mobile-sidebar span:hover{
    background:rgba(255,255,255,0.25);
}

.mobile-sidebar a.active {
    background:rgba(255,255,255,0.4);
    font-weight: bold;
}

/* Sub Menu */
.sub-menu{
    display:none;
    margin-left:12px;
}

.has-sub.open .sub-menu{
    display:block;
}

/* Desktop Sub Menu Dropdown */
.desktop-menu .has-sub {
    position: relative;
    display: inline-block;
    align-self: center;
}

.desktop-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(90deg,#0ea5a4,#22c55e);
    min-width: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1001;
}

.desktop-menu .sub-menu li {
    margin: 0 0 5px 0;
}

.desktop-menu .sub-menu a {
    display: block;
    padding: 10px 14px;
    color: #ecfeff;
    text-decoration: none;
    border-radius: 0;
}

.desktop-menu .sub-menu a:hover {
    background: rgba(255,255,255,0.25);
}

/* Donate Page Styles */
.amount-btn.active {
    background-color: #0ea5a4;
    border-color: #0ea5a4;
    color: white;
}

.cause-card.selected {
    border-color: #0ea5a4;
    box-shadow: 0 0 0 0.2rem rgba(14, 165, 164, 0.25);
}

.payment-method.active {
    background-color: #0ea5a4;
    border-color: #0ea5a4;
    color: white;
}

.trust-indicators {
    margin-top: 2rem;
    text-align: center;
}

.trust-indicators h6 {
    color: #0f3d3e;
    margin-bottom: 1rem;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
}

.trust-item i {
    color: #22c55e;
}
.slider{
    position:relative;
    height:420px;
    overflow:hidden;
}

/* Hero Section */
.hero {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img/1.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #0f3d3e;
}

/* Cards */
.card {
    border: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

/* Counters */
.counter {
    font-size: 3rem;
    font-weight: bold;
    color: #22c55e;
}

.counter-text {
    font-size: 1.1rem;
    color: #6b7280;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 50px 0;
    }
    .section-title {
        font-size: 2rem;
    }
    .counter {
        font-size: 2.5rem;
    }
}

.slide{
    position:absolute;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:opacity 1s;
}

.slide.active{
    opacity:1;
}

/* ================= SECTIONS ================= */
.section{
    padding:70px 30px;
}

/* Glass Content Box */
.box{
    max-width:1100px;
    margin:auto;
    display:flex;
    gap:40px;
    background:rgba(255,255,255,0.85);
    backdrop-filter:blur(10px);
    border-radius:22px;
    padding:30px;
    box-shadow:0 25px 45px rgba(0,0,0,0.12);
}

.box img{
    max-width:420px;
    width:100%;
    border-radius:18px;
    object-fit:cover;
}

.box h2{
    font-size:30px;
    color:#0ea5a4;
    margin-bottom:14px;
}

.box p{
    line-height:1.7;
    margin-bottom:12px;
}

/* ================= FOOTER ================= */
footer{
    background:#0f766e;
    color:#ecfeff;
    text-align:center;
    padding:20px;
}

/* Enhanced Footer Styles */
footer.bg-dark {
    background-color: #0f3d3e !important;
    padding: 2rem 0;
}

footer h5 {
    color: #ecfeff;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

footer a {
    color: #ecfeff;
    text-decoration: none;
}

footer a:hover {
    color: #22c55e;
}

.social-icons {
    margin-top: 1rem;
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.social-icons a:hover {
    color: #22c55e !important;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer address {
    font-style: normal;
}

footer address p {
    margin-bottom: 0.5rem;
}

footer address i {
    width: 20px;
}

.section-header {
    margin-bottom: 1.5rem;
}

.section-header h5 {
    color: #0f3d3e;
    border-bottom: 2px solid #22c55e;
    padding-bottom: 0.5rem;
}

.icon-box {
    width: 60px;
    height: 60px;
    background-color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

/* ================= RESPONSIVE ================= */
@media(max-width:768px){
    .desktop-menu{
        display:none;
    }

    .menu-btn{
        display:block;
    }

    .slider{
        height:260px;
    }

    .box{
        flex-direction:column;
        text-align:center;
    }

    /* Login Page Mobile Styles */
    .card-body {
        padding: 1.5rem !important;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-tabs .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }

    /* Donate Page Mobile Styles */
    .card-body {
        padding: 1.5rem !important;
    }

    .amount-btn, .payment-method {
        font-size: 0.9rem;
        padding: 0.5rem;
    }

    .cause-card .card-body {
        padding: 1rem;
    }

    .trust-items {
        flex-direction: column;
        gap: 0.5rem;
    }
}
