@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.7.1/font/bootstrap-icons.css");
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif !important;
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
.logo-title {
    font-family: 'Archivo Black', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    color: #FF8000;
    font-weight: 900;
    letter-spacing: 1px;
}

.title {
    font-size: 22px;
    text-transform: uppercase;
    color: #080808;
    font-weight: 700;
}

.section-title h4 {
    color: #222;
    font-size: 30px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.project {
    font-size: 50px;
    color: green;
}

.heading {
    font-weight: 700;
    position: relative;
}

.heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FF8000;
    margin-top: 8px;
    border-radius: 5px;
}

.text-orange {
    color: #FF8000 !important;
}

.bold {
    font-weight: 900;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-toggler-icon {
    display: inline-block;
    width: 1.5em;
    height: 0px !important;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-link {
    display: block;
    padding: .5rem 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    color: #fff !important;
    font-weight: bold;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
    position: relative;
}

.nav-link:hover {
    color: #FF8000 !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #FF8000;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.navborder {
    border-top: 2px solid #FF8000 !important;
    border-bottom: 2px solid #FF8000 !important;
}

.nav-link-footer {
    display: block;
    padding: .5rem 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    color: #fff !important;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.nav-link-footer:hover {
    color: #FF8000 !important;
}

.admin-link {
    display: block;
    padding: .5rem 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
    color: #000000 !important;
    font-weight: bold;
    text-decoration: none;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out;
}

.admin-link:hover {
    color: #FF8000 !important;
}

/* ===== BUTTONS & BADGES ===== */
.bg-orange {
    background-color: #FF8000 !important;
}

.bg-blue {
    background-color: #242438 !important;
}

/* ===== CARDS ===== */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.13);
    border-radius: 0.5rem !important;
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.card-header {
    padding: 0rem 1rem;
    margin-bottom: 0;
    background-color: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

/* ===== SCROLLABLE DIV ===== */
div.scroll {
    margin: 4px 4px;
    padding: 4px;
    background-color: #fff;
    width: 100%;
    height: 500px;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: justify;
}

div.scroll::-webkit-scrollbar {
    width: 8px;
}

div.scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

div.scroll::-webkit-scrollbar-thumb {
    background: #FF8000;
    border-radius: 10px;
}

div.scroll::-webkit-scrollbar-thumb:hover {
    background: #e67300;
}

/* ===== IMAGES ===== */
.sliderimg {
    max-height: 350px;
    max-width: 100%;
    height: auto;
    width: auto;
}

/* ===== TEXT STYLES ===== */
.text-decoration-none {
    color: #000000 !important;
    text-decoration: none !important;
}

.text-decoration-none:hover {
    color: #FF8000 !important;
}

.master-color {
    color: {{$index->web_color}} !important;
}

/* ===== CUSTOM CLASSES ===== */
.cause-list {
    font-size: 48px;
    padding: 26px 10px;
}

.head-margin-right {
    margin-left: 20px;
}

/* ===== FONT SIZES ===== */
.font-1 {
    font-size: 52px;
}

.font-2 {
    font-size: 30px;
}

/* ===== HEADER ===== */
.header-email {
    color: #0d0d0d;
    font-weight: 700;
    line-height: 26px;
    margin-bottom: 0;
}

/* ===== TEXT BLOCK OVERLAY ===== */
.text-block {
    position: absolute;
    top: 0%;
    left: 35%;
    background-color: rgb(41, 36, 36);
    color: white;
    padding-left: 20px;
    padding-right: 20px;
}

.container {
    position: relative;
}

/* ===== NEWS TICKER ===== */
.news {
    width: 160px;
}

.news-scroll a {
    text-decoration: none;
}

.dot {
    height: 6px;
    width: 6px;
    margin-left: 3px;
    margin-right: 3px;
    margin-top: 2px !important;
    background-color: rgb(207, 23, 23);
    border-radius: 50%;
    display: inline-block;
}

/* ===== FOOTER ===== */
.admin-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 60px;
    background-color: #f5f5f5;
}

/* ===== CUSTOM COMPONENTS ===== */
/* Icon Circle */
.icon-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icon-circle:hover {
    transform: scale(1.1) rotate(10deg);
}

/* Service Point */
.wedo-point {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.wedo-point:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    border-color: #FF8000;
}

.icon-serv {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.wedo-point:hover .icon-serv {
    transform: scale(1.1);
}

/* Statistics Box */
.stat-box {
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: default;
}

.stat-box:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Divider */
.divider {
    width: 80px;
    height: 3px;
    border-radius: 5px;
    margin: 15px auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .logo-title {
        font-size: 20px;
    }
    
    .title {
        font-size: 18px;
    }
    
    .section-title h4 {
        font-size: 24px;
    }
    
    .font-1 {
        font-size: 32px;
    }
    
    .font-2 {
        font-size: 22px;
    }
    
    .cause-list {
        font-size: 32px;
        padding: 18px 10px;
    }
    
    div.scroll {
        height: 300px;
    }
    
    .sliderimg {
        max-height: 200px;
    }
    
    .text-block {
        left: 10%;
        right: 10%;
        padding: 10px;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .card {
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .logo-title {
        font-size: 16px;
    }
    
    .heading {
        font-size: 20px;
    }
    
    .cause-list {
        font-size: 24px;
        padding: 12px 5px;
    }
    
    .wedo-point {
        padding: 15px;
    }
    
    .icon-serv {
        width: 50px;
        height: 50px;
    }
    
    .icon-serv i {
        font-size: 20px !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* ===== CAROUSEL ===== */
.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.carousel-caption {
    z-index: 2;
    bottom: 20%;
}

.carousel-caption h3 {
    font-weight: 700;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: #f8f9fa;
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.btn-outline-success {
    color: #FF8000 !important;
    border-color: #FF8000 !important;
}

.btn-outline-success:hover {
    background-color: #FF8000 !important;
    color: #fff !important;
}

/* ===== UTILITY CLASSES ===== */
.shadow-hover {
    transition: all 0.3s ease;
}

.shadow-hover:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.transition {
    transition: all 0.3s ease;
}

.overflow-hidden {
    overflow: hidden;
}

/* ===== BORDER RADIUS ===== */
.rounded-10 {
    border-radius: 10px;
}

.rounded-15 {
    border-radius: 15px;
}

.rounded-20 {
    border-radius: 20px;
}