html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}
S
html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

/* ============================================
   FIX 1: Prevent Horizontal Scrolling
   ============================================ */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
}

*, *::before, *::after {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   FIX 2: Force Hamburger Menu to Show on Mobile
   ============================================ */


.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}
:root {

    --navy: #2563eb;
    --navy-dark: #1d4ed8;
    --navy-light: #60a5fa;

    --teal: #22c55e;
    --teal-dark: #16a34a;
    --teal-light: #86efac;

    --orange: #fb923c;
    --orange-dark: #f97316;

    --white: #ffffff;

    --gray-100: #f8fafc;
    --gray-200: #e5e7eb;
    --gray-600: #64748b;
}

html, body {
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--white);
}

* {
    font-family: 'Inter', sans-serif;
}

main {
    flex: 1;  
}

header {
    width:100%;
    margin:0;
    padding:0;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    margin: 0;

    z-index: 1000;
    transition: all 0.3s ease;
}
html,body{
  height: 100%;
  margin:0;
  padding:0;
}
body.home-page {
    background-image: url('/images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;   /* သို့မဟုတ် ဒီတစ်ကြောင်းကို လုံးဝဖျက်လိုက်ပါ */
}
nav {
    display: flex;
    align-items: center;


    flex-wrap: wrap;
    box-sizing: border-box;
    background-color:white;
    width: 100%;
    margin:0 !important;
    padding: 0px 0px !important;
    min-height: 70px;

}


@media (max-width: 1000px) and (min-width: 769px) {
    nav {
        flex-direction: column;
        top:0;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Logo SVG */
.logo {
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    transition: transform 0.3s ease;
    padding-left: 20px;
}
 
.logo:hover { 
 transform: scale(1.05); 
} 
 
.logo svg { 
 width: 40px; 
 height: 40px; 
} 
 
.logo-text { 
 font-size: 1.8rem; 
 font-weight: bold; 
 background: #F97316; 
 -webkit-background-clip: text; 
 -webkit-text-fill-color: transparent; 
 background-clip: text; 
 margin-left: 5px;
 font-family: 'Playfair Display', serif;
} 
 
.nav-links { 
 display: flex; 
 list-style: none; 
 padding-left: 100px;
} 
 
.nav-links a { 
 text-decoration: none; 
 color: black !important;
 font-weight: 500; 
 font-size: 1rem; 
 transition: all 0.3s ease; 
 position: relative; 
 padding: 0.6rem 1.2rem; 
 border-radius: 6px; 
 border: 1px solid transparent; 
} 
 
.nav-links a:hover { 
 color: var(--primary); 
 background: #F97316; 
 border-color: #F97316; 
} 
 
.nav-links a.active { 
 color: white; 
 
}

.logo-text{
    color:#fff;
    font-size:1.5rem;
    font-weight:800;
}

.navbar-nav .nav-link{
    color:black !important;
    font-weight:600;
}

.navbar-right-section{
    display:flex;
    align-items:center;
    gap:1rem;
}

.login-link{
    color:black!important;
    text-decoration:none;
}

.donate-btn{
    background:#f97316 !important;
    color:#fff !important;
    border-radius:50px;
    padding:.7rem 1.8rem !important;
    text-decoration:none;
}
.btn-donate{
    background-color:#F97316;
    color: white;
    border: none;
    margin-right: 250px;
    transition: 0.3s;
}

.btn-donate:hover{
    background-color: white !important;
    color: orange !important;
}


.btn-learn{
    background:#0d6efd !important;
    color:#fff !important;
    border-radius:50px;
    padding:.7rem 1.8rem !important;
    text-decoration:none;
    margin-left:5px;
}

.btn-learn:hover{
    background-color: white !important;
    color: #0d6efd !important;
}
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-left:0;
    margin-left: 0;
    justify-content: flex-start;
    padding-top: 80px;
    text-align: justify;
}
 
/* Central Light Core */ 
#hero::before { 
 content: ''; 
 position: absolute; 
 top: 50%; 
 left: 50%; 
 width: 800px; 
 height: 800px; 
 background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%); 
 transform: translate(-50%, -50%); 
 z-index: 0; 
}
.hero-content { 
 text-align: center; 
 z-index: 1; 
 padding: 2rem; 
 max-width: 800px; 
 position: relative; 
} 

.hero-content d-flex{
    padding-left:20px;
}
 
.hero-content h1 { 
font-size:2.5rem;
 color: white; 
 margin-bottom: 1rem; 
 animation: fadeInUp 1s ease; 
 text-align: left; 
 line-height: 1.625;
} 
 
.hero-content p { 
 font-size: 1.3rem; 
 color: rgba(255, 255, 255, 0.9); 
 margin-bottom: 2rem; 
 animation: fadeInUp 1s ease 0.2s; 
 animation-fill-mode: both; 
 text-align: justify;
} 
 
.hero-content p { 
 font-size: 1.3rem; 
 color: rgba(255, 255, 255, 0.9); 
 margin-bottom: 2rem; 
 animation: fadeInUp 1s ease 0.2s; 
 animation-fill-mode: both; 
} 
.hero-buttons{
    margin-right: 40%;
}

.stats-section{
    background:#f8fafc;
}

.stats-wrapper{

    display:grid;
    grid-template-columns:repeat(4,1fr);

    border-radius:20px;
    overflow:hidden;

    background:#f8fafc;

}
.stat-card{
    background:#fff;
    border-radius:22px;
    padding:35px 20px;
    text-align:center;
    transition:.35s;
    box-shadow:0 10px 30px rgba(0,0,0,.07);
}

.stat-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}


.stat-item{

    text-align:center;

    padding:35px 20px;

    position:relative;

}


.stat-item:not(:last-child)::after{

    content:"";

    position:absolute;

    right:0;
    top:25%;

    height:50%;

    width:1px;

    background:#e5e7eb;

}
.stat-item h2{

    font-size:2.2rem;

    font-weight:800;

    color:#16a34a;

    margin-bottom:8px;

}
.stat-item p{

    margin:0;

    color:#64748b;

    font-size:1rem;

}

.stat-item:hover h2{

    color:#f97316;

    transition:.3s;

}


.stat-icon{
    width:70px;
    height:70px;
    margin:auto;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
    margin-bottom:20px;
}

.stat-card h2{
    font-size:2rem;
    font-weight:700;
}

.stat-card p{
    color:#6c757d;
    margin:0;
}


/* Mobile */

@media(max-width:768px){

    .stats-wrapper{

        grid-template-columns:repeat(2,1fr);

    }

}


@media(max-width:480px){

    .stats-wrapper{

        grid-template-columns:1fr;

    }

    .stat-item:not(:last-child)::after{

        display:none;

    }

}

/* ========================= */

.section-tag{
    display:inline-block;
    padding:6px 16px;
    background:#fff3cd;
    color:#ff9800;
    border-radius:50px;
    font-size:.85rem;
    font-weight:600;
    margin-bottom:10px;
}

/* =========================
   Campaign Section Header
========================= */

.section-header{
    position:relative;
    text-align:center;
    min-height:90px;
}


.section-title{
    text-align:center;
    font-size:2rem;
    font-weight:700;
    margin:0;
    color:#1f2937;
}

.logo-slider{
    width:100%;
    overflow:hidden;
    position:relative;
}

.logo-track{
    display:flex;
    align-items:center;
    gap:40px;
    animation:scroll 20s linear infinite;
}

.logo-item{
    width:150px;
    height:80px;

    display:flex;
    justify-content:center;
    align-items:center;

    flex-shrink:0;
}

.logo-item img{
    max-width:100%;
    max-height:80px;
    object-fit:contain;
    transition:.3s;
    
}

.logo-item img:hover{
    transform:scale(1.08);
}

@keyframes scroll{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

/* ========================= */

.campaign-link{
    text-decoration:none;
    color:inherit;
}



.campaign-img{

    width:100%;
    height:250px;
    object-fit:cover;
    transition:.5s;

}

.campaign-card{

    background:white;
    border-radius:22px;
    overflow:hidden;
    height: 100%;
    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:all .35s ease;
}


.campaign-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.campaign-image-wrapper{

    width:100%;
    height:240px;

    overflow:hidden;
    position:relative;

}



.campaign-body{

    padding:25px;

}

.campaign-title{

    font-size:1.35rem;
    font-weight:700;

}


.campaign-date{

    color:#64748b;

    font-size:.9rem;

}


.progress-info{

    display:flex;

    justify-content:space-between;

    margin-top:10px;

    font-size:.9rem;

    color:#64748b;

}

.campaign-title{

    font-size:1.3rem;

    font-weight:700;

    color:#1f2937;

    margin-bottom:12px;

}

.campaign-description{

    color:#6b7280;

    line-height:1.7;

    display:-webkit-box;

    -webkit-line-clamp:3;

    -webkit-box-orient:vertical;

    overflow:hidden;

    min-height:35px;

}

.progress{

    height:10px;

    border-radius:50px;

    background:#e5e7eb;

    overflow:hidden;

}


.progress-bar{

    height:100%;

    background:linear-gradient(
        90deg,
        #16a34a,
        #22c55e
    );

    border-radius:50px;

}




/* ================= FOOTER ================= */

footer{
    background:#1c2331;
    color:#fff;
    width:100%;
    
}

footer h6{
    color:#fff;
    font-weight:bold;
}

footer p{
    color:#ddd;
    line-height:1.7;
}

footer a{
    color:#fff;
    text-decoration:none;
}

footer a:hover{
    color:#7c4dff;
}

footer .container{
    padding-top:10px;
}

footer-line hr{
    opacity:1;
    margin:10px 0 20px;
}

footer .copyright{
    border-top:1px solid rgba(255,255,255,.15);
}

/* Mobile */

@media (max-width:991px){

    .navbar-right-section{
        border:none;
        margin-top:15px;
        justify-content:center;
    }

    .navbar-nav{
        text-align:center;
    }

    footer{
        text-align:center;
    }
}
   .accordion-item {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.accordion-button {
    font-size: 18px;
    font-weight: 600;
    padding: 20px 25px;
    background: #fff;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background: #fff;
    color: #198754;
}

.accordion-body {
    font-size: 16px;
    color: #666;
    padding: 20px 25px;
}
.w-full{
    margin-top:0 !important;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row;
}
@media(max-width:991px){

    .nav-right {
        flex-direction: column;
        align-items: stretch;
        width:100%;
    }

}

        .user-dropdown-menu {
            min-width: 280px;
            border: none;
            border-radius: 16px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
            padding: 0;
            overflow: hidden;
            margin-top: 0.5rem;
        }
.user-profile-header {
            background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
            padding: 1.5rem;
            color: white;
            text-align: center;
        }
.menu-section {
            padding: 0.5rem 0;
        }

    .menu-item-link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1.5rem;
            color: #374151;
            text-decoration: none;
            transition: all 0.2s;
            font-size: 0.95rem;
        }

     .menu-item-link:hover {

    background:#fff7ed;

    color:#F97316;

}

        .menu-item-link i {
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }
.menu-item-donations {

    background:linear-gradient(
        135deg,
        #F97316,
        #EA580C
    );

    color:white;

    margin:0 .75rem;

    border-radius:12px;

    padding:.875rem 1.5rem;

    font-weight:600;

}

        .menu-item-donations:hover {

    background:linear-gradient(
        135deg,
        #EA580C,
        #C2410C
    );

    color:white;

}

        .logout-section {
            border-top: 1px solid #e5e7eb;
            padding-top: 0.5rem;
        }

        .logout-section .menu-item-link {
            color: #ef4444;
            font-weight: 600;
        }

        .logout-section .menu-item-link:hover {
            background: #fef2f2;
            color: #dc2626;
        }
        .user-avatar-sm {

    width:36px;
    height:36px;

    border-radius:50%;

    background:linear-gradient(135deg,#F97316,#EA580C);

    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    font-weight:700;
    font-size:.9rem;

    flex-shrink:0;
}

        .user-name-text {
            font-weight: 600;
            color: #1f2937;
            font-size: 0.9rem;
        }
      .user-profile-header {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    padding:1.5rem;
    color:white;
    text-align:center;

}
       .user-avatar-lg {

    width:70px;
    height:70px;

    border-radius:50%;

    background:rgba(255,255,255,.25);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:2rem;
    font-weight:700;

    margin:0 auto .75rem;

    border:3px solid rgba(255,255,255,.3);
}
        .user-name-lg {
            font-size: 1.2rem;
            font-weight: 700;
            margin: 0;
        }

        .user-role-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
            background: rgba(255, 255, 255, 0.2);
            padding: 0.25rem 0.75rem;
            border-radius: 50px;
            font-size: 0.7rem;
            font-weight: 600;
            margin-top: 0.5rem;
        }
        /* ===============================
   Terms & Privacy Modal Design
================================ */

.modal-content{

    border:none;
    border-radius:25px;
    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.2);

}


/* Header */

.modal-header{

    background:linear-gradient(
        135deg,
        #F97316,
        #EA580C
    );

    color:white;

    padding:20px 30px;

    border:none;

}


.modal-title{

    font-size:1.25rem;

    font-weight:700;

}


.modal-header .btn-close{

    filter:brightness(0) invert(1);

    opacity:.9;

}


.modal-header .btn-close:hover{

    opacity:1;

}



/* Body */

.modal-body{

    padding:30px 35px;

    max-height:65vh;

    overflow-y:auto;

    color:#374151;

    line-height:1.9;

    font-size:15px;

}



/* Paragraph */

.modal-body p{

    margin-bottom:20px;

    text-align:justify;

}



/* Section Title */

.modal-body h6{

    margin-top:25px;

    margin-bottom:12px;

    padding-left:12px;

    border-left:5px solid #F97316;

    color:#1f2937;

    font-size:1.05rem;

    font-weight:700;

}



/* List */

.modal-body ul{

    padding-left:25px;

    margin-bottom:20px;

}


.modal-body li{

    margin-bottom:8px;

}



/* Scroll bar */

.modal-body::-webkit-scrollbar{

    width:8px;

}


.modal-body::-webkit-scrollbar-thumb{

    background:#F97316;

    border-radius:20px;

}


.modal-body::-webkit-scrollbar-track{

    background:#f3f4f6;

}



/* Modal Animation */

.modal.fade .modal-dialog{

    transform:translateY(-30px);

    transition:.3s ease;

}


.modal.show .modal-dialog{

    transform:translateY(0);

}



/* Mobile */

@media(max-width:576px){

    .modal-body{

        padding:20px;

        font-size:14px;

    }


    .modal-header{

        padding:15px 20px;

    }


    .modal-title{

        font-size:1rem;

    }

}
  
