/* USAKO Theme Styles */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #059669;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* Typography */
.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.title-small {
    font-size: 1.2rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.sub-title {
    font-size: 1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.text-white {
    color: #fff;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #059669;
    color: #fff;
    border: 2px solid #059669;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: transparent;
    color: #059669;
}

.btn.bg-white {
    background: #fff;
    color: #059669;
    border-color: #fff;
}

.btn.bg-white:hover {
    background: transparent;
    color: #fff;
}

/* Section */
.section {
    padding: 80px 0;
}

.gray-bg {
    background: #f8f9fa;
}

.th-bg {
    background: #059669;
}

.th-bg-top {
    border-top: 4px solid #059669;
}

.bg-50 {
    background: rgba(5, 150, 105, 0.1);
}

/* Header Styles */
.charity-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: #1a1a1a;
    padding: 10px 0;
    color: #fff;
}

.top-bar a {
    color: #fff;
}

.top-bar a:hover {
    color: #059669;
}

.short-nav ul {
    display: flex;
    gap: 20px;
}

.short-nav li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.social-share-list {
    display: flex;
    gap: 15px;
}

.social-share-list a {
    font-size: 14px;
}

.nav-area {
    padding: 15px 0;
}

.logo img {
    height: 50px;
}

.main-menu nav > ul {
    display: flex;
    gap: 30px;
}

.main-menu nav > ul > li {
    position: relative;
}

.main-menu nav > ul > li > a {
    display: block;
    padding: 10px 0;
    font-weight: 500;
    color: #1a1a1a;
}

.main-menu nav > ul > li:hover > a {
    color: #059669;
}

.main-menu nav > ul > li.active > a {
    color: #059669;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-menu nav > ul > li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

.sub-menu li a:hover {
    background: #f8f9fa;
    color: #059669;
}

.search-outer .btn {
    background: transparent;
    border: none;
    color: #1a1a1a;
    font-size: 20px;
}

/* Sub Header */
.sub-header {
    background-size: cover;
    background-position: center;
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
}

.sub-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
}

.sub-header .container {
    position: relative;
    z-index: 1;
}

.sub-header .title {
    color: #fff;
    font-size: 3rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.breadcrumb-item a {
    color: rgba(255,255,255,0.8);
}

.breadcrumb-item.active {
    color: #fff;
}

/* Data Background */
.data-bg {
    background-size: cover;
    background-position: center;
    position: relative;
}

.data-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
}

.data-bg > * {
    position: relative;
    z-index: 1;
}

/* Cards & Thumbnails */
.img-thumbnail {
    overflow: hidden;
    border-radius: 8px;
}

.img-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-thumbnail:hover img {
    transform: scale(1.05);
}

/* Services Section */
.iconiq-service {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

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

.iconiq-service .icon-block {
    width: 80px;
    height: 80px;
    background: #f0fdf4;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.iconiq-service .icon-block span {
    font-size: 32px;
    color: #059669;
}

.iconiq-service h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.iconiq-service p {
    color: #666;
    font-size: 0.9rem;
}

.readmore_btn {
    color: #059669;
    font-weight: 600;
}

/* Causes */
.causes-thumb {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.causes-thumb .thumb {
    flex-shrink: 0;
}

.causes-thumb .thumb img,
.causes-thumb .thumb.data-bg {
    width: 300px;
    height: 100%;
    min-height: 250px;
    object-fit: cover;
}

.causes-thumb .text {
    padding: 25px;
}

.causes-thumb .title {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.causes-small-thumb .thumb {
    height: 200px;
}

.progress-area {
    margin: 20px 0;
}

.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-bar {
    background: #059669;
    height: 100%;
}

.list-group-item {
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

/* Choose Section */
.choose-section {
    background: #1a1a1a;
}

.services-thumb-2 {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.icon-box-outer {
    margin-right: 20px;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-box span {
    font-size: 24px;
    color: #fff;
}

/* Testimonial */
.testimonial-thumb {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.testimonial-thumb .img-thumbnail {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto -50px;
    position: relative;
    z-index: 1;
    border: 4px solid #fff;
}

.testimonial-thumb .text {
    padding-top: 60px;
}

.testimonial-thumb .designation {
    color: #059669;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Team */
.team-thumb {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.team-thumb .img-thumbnail {
    height: 250px;
}

.team-thumb .text {
    padding: 20px;
}

.team-thumb .designation {
    color: #666;
    font-size: 0.9rem;
}

/* Brand */
.brand-thumb {
    text-align: center;
    padding: 20px;
}

.brand-thumb img {
    max-height: 60px;
    margin: 0 auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-thumb:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Newsletter */
.newsletter-wrap {
    padding: 40px 0;
}

.newsletter-text .title {
    font-size: 1.5rem;
    margin-bottom: 0;
}

.nl-email-input {
    border: none;
    border-radius: 4px 0 0 4px;
}

/* Footer */
.charity-footer {
    background: #1a1a1a;
    color: #fff;
}

.charity-footer p {
    color: rgba(255,255,255,0.7);
}

.widget {
    margin-bottom: 30px;
}

.widget-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #fff;
}

.widget_categories ul li a {
    color: rgba(255,255,255,0.7);
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.widget_categories ul li a:hover {
    color: #059669;
    padding-left: 10px;
}

.info-block {
    margin-bottom: 20px;
}

.info-block .icon-box-outer {
    margin-right: 15px;
}

.info-block .icon-box {
    width: 40px;
    height: 40px;
    font-size: 16px;
}

.info-block h6 {
    color: #059669;
    font-size: 0.9rem;
}

.info-block p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

.bottom-bar {
    background: #111;
    padding: 20px 0;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.bottom-bar .th-cl {
    color: #059669;
}

/* Blog */
.blog-thumb {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.blog-header {
    padding: 20px 20px 0;
}

.date-box {
    background: #059669;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    border-radius: 4px;
    margin-right: 15px;
}

.date-box .date {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.date-box .month {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.blog-meta {
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-top: 5px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-thumb .text {
    padding: 20px;
}

.readmore-btn {
    color: #059669;
    font-weight: 600;
}

/* Contact */
.contact-area {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: #059669;
}

.info-thumb {
    padding: 20px;
}

.info-thumb .icon-box {
    width: 50px;
    height: 50px;
    background: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.info-thumb .icon-box i,
.info-thumb .icon-box span {
    color: #fff;
    font-size: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 5px;
}

.page-link {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #333;
}

.page-link:hover {
    background: #059669;
    color: #fff;
    border-color: #059669;
}

/* Alert */
.alert {
    padding: 15px;
    border-radius: 4px;
    margin-top: 15px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
}

/* Map */
.map-thumb {
    height: 100%;
    min-height: 400px;
    background: #eee;
    border-radius: 8px;
}

.map-canvas {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* Loader */
#loader-overflow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.loader-cont {
    font-size: 1.5rem;
    color: #059669;
}

/* Section Heading */
.iconiq-section-heading {
    max-width: 700px;
    margin-bottom: 50px;
}

.iconiq-section-heading .title {
    font-size: 2.5rem;
}

.iconiq-section-heading .th-cl {
    color: #059669;
}

/* Stats */
.stats-box {
    padding: 30px;
}

.stats-box .icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
}

.stats-box .icon-box span {
    font-size: 30px;
}

/* Rover Page Styles */
.main-wrapper {
    min-height: calc(100vh - 200px);
}

/* Modal */
.modal-dialog {
    max-width: 500px;
    margin: 0 auto;
}

.modal-content {
    padding: 20px;
    border-radius: 8px;
}

/* Tabs */
.nav-tabs-1 {
    border-bottom: 2px solid #eee;
}

.nav-tabs-1 li {
    margin-bottom: 0;
}

.nav-tabs-1 a {
    padding: 15px 30px;
    color: #333;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    display: block;
}

.nav-tabs-1 a.active {
    color: #059669;
    border-bottom-color: #059669;
}

/* Video */
.video-thumb .img-thumbnail {
    position: relative;
}

video {
    width: 100%;
    border-radius: 8px;
}

/* About Section */
.about-caption {
    padding: 30px;
    background: #fff;
    border-radius: 8px;
}

.about-caption .title {
    font-size: 1.8rem;
}

/* Utility Classes */
.mb-30 { margin-bottom: 30px; }
.mb-22 { margin-bottom: 22px; }
.mb-20 { margin-bottom: 20px; }
.mb-25 { margin-bottom: 25px; }
.mt-30 { margin-top: 30px; }
.mt-minus-65 { margin-top: -65px; }
.pt-66 { padding-top: 66px; }
.pb-50 { padding-bottom: 50px; }
.pt-74 { padding-top: 74px; }
.pb-42 { padding-bottom: 42px; }
.pt-80 { padding-top: 80px; }
.pb-70 { padding-bottom: 70px; }
.pt-70 { padding-top: 70px; }
.pt-66 { padding-top: 66px; }
.d-flex { display: flex; }
.d-inline-flex { display: inline-flex; }
.align-items-center { align-items: center; }
.align-items-lg-center { align-items: center; }
.align-items-md-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }
.mlr-20 { margin-left: 20px; margin-right: 20px; }
.text-center { text-align: center; }
.text-left { text-left: text-align: left; }
.text-right { text-align: right; }
.float-right { float: right; }
.m-auto { margin-left: auto; margin-right: auto; }
.shadow { box-shadow: 0 5px 20px rgba(0,0,0,0.1); }

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

[class*="col-lg"], [class*="col-md"], [class*="col-sm"] {
    padding: 0 15px;
    margin-bottom: 30px;
}

.col-lg-12 { flex: 0 0 100%; max-width: 100%; }
.col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }

/* Responsive */
@media (max-width: 991px) {
    .hidden-991 { display: none !important; }
    .col-lg-3 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-4 { flex: 0 0 50%; max-width: 50%; }
    .col-lg-8 { flex: 0 0 100%; max-width: 100%; }
}

@media (max-width: 767px) {
    .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .d-lg-flex { display: flex !important; }
    .d-md-flex { display: flex !important; }
    .d-md-none { display: none !important; }
    .title { font-size: 2rem; }
    .section { padding: 60px 0; }
    .sub-header .title { font-size: 2rem; }
    .main-menu { display: none; }
}

@media (min-width: 768px) {
    .d-md-none { display: block !important; }
}
