/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #001a33 100%);
    color: #FFFFFF;
    line-height: 1.6;
}

/* Boxed width layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Apply boxed width to all main sections */
body > header,
body > section,
body > footer,
body > .hero,
body > .benefits,
body > .stats,
body > .member-benefits,
body > .cta-section,
body > .main-content,
body > .department-section,
body > .visit-section,
body > .impact-section,
body > .donation-help-section,
body > .ways-section,
body > .transparency-section,
body > .projects-section {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.orange {
    color: #FF5722;
}

.form-group {
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #CCCCCC;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group:focus-within label {
    color: #FF5C1B;
    transform: translateX(3px);
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #CCCCCC;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group:focus-within label {
    color: #FF5C1B;
    transform: translateX(3px);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border: 2px solid #333;
    border-radius: 8px;
    background: #2a2a2a;
    color: #FFFFFF;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF5C1B;
    box-shadow: 0 0 0 4px rgba(255, 92, 27, 0.3);
    background: #333;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 15px;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* Improved responsive grid */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Modern Form Styles */
.modern-form {
    background: linear-gradient(145deg, #1a1a1a, #151515);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.modern-form:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
}

.form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
    transition: all 0.3s ease;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FF5C1B;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-left: 4px solid #FF5C1B;
    padding-left: 15px;
    background: rgba(255, 92, 27, 0.05);
    border-radius: 0 8px 8px 0;
}

.input-wrapper {
    position: relative;
    margin-bottom: 5px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #FF5C1B;
    font-size: 1.1rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.form-control {
    padding: 14px 15px 14px 45px !important;
    transition: all 0.3s ease;
    border: 2px solid #333;
    background: #2a2a2a;
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #FF5C1B;
    box-shadow: 0 0 0 4px rgba(255, 92, 27, 0.3);
    background: #333;
    outline: none;
}

.form-control:hover:not(:focus) {
    border-color: #444;
}

.search-input {
    background: #2a2a2a url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FF5C1B"><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>') no-repeat 15px center;
    background-size: 18px;
    padding-left: 48px !important;
    transition: all 0.3s ease;
}

.select-input {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23FF5C1B"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 50px !important;
    transition: all 0.3s ease;
}

.date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.8;
    cursor: pointer;
}

.textarea-input {
    min-height: 140px;
    resize: vertical;
    padding: 15px 15px 15px 48px !important;
}

.form-hint {
    display: block;
    font-size: 0.875rem;
    color: #999;
    margin-top: 8px;
    font-style: italic;
}

.fine-balance-card {
    background: linear-gradient(135deg, #1a2a4a 0%, #0d1a2a 100%);
    border: 1px solid #334a7a;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

.fine-balance-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.fine-balance-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.fine-balance-label {
    font-weight: 600;
    color: #FF9800;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.fine-balance-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4CAF50;
    margin: 15px 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.fine-balance-note {
    font-size: 0.95rem;
    color: #AAA;
    text-align: center;
    line-height: 1.5;
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #333;
    justify-content: center;
}

.btn-large {
    padding: 16px 35px;
    font-size: 1.15rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-large:active {
    transform: translateY(0);
}

.required label {
    position: relative;
}

.required label::after {
    content: "*";
    color: #ff5252;
    margin-left: 5px;
    font-weight: bold;
}

/* Header Styles */
.header {
    background: #1a1a1a;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile menu toggle button */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.nav-menu ul {
    display: flex;
    list-style: none;
}

.nav-menu ul li {
    margin: 0 15px;
}

.nav-menu ul li a {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-menu ul li a:hover,
.nav-menu ul li a.active {
    color: #FF5722;
}

.nav-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid #AAAAAA;
    color: #FFFFFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    background: #FF5722;
    border-color: #FF5722;
    color: #FFFFFF;
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.3);
    transform: translateY(-3px);
}

.btn-orange {
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    border: none;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.4);
}

.btn-orange:hover {
    background: linear-gradient(135deg, #e64a19 0%, #F57C00 100%);
    box-shadow: 0 6px 20px rgba(255, 87, 34, 0.6);
    transform: translateY(-3px);
}

.btn-primary {
    background: linear-gradient(135deg, #2196F3 0%, #21CBF3 100%);
    border: none;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1976D2 0%, #03A9F4 100%);
    box-shadow: 0 6px 20px rgba(33, 150, 243, 0.6);
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #000000 0%, #001a33 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #DDDDDD;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 30px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #001a33 0%, #000000 100%);
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.benefits::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.benefits h2 {
    font-size: 2.8rem;
    margin-bottom: 50px;
    font-weight: 800;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    display: inline-block;
}

.benefits h2::after {
    content: "";
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #FF5722, #FF9800);
    border-radius: 2px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    width: 100%;
    padding: 0 20px;
}

.card {
    background: rgba(30, 30, 30, 0.8);
    padding: 40px 25px;
    border-radius: 15px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 87, 34, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #FF5722, #FF9800);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}

.card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 15px 35px rgba(255, 87, 34, 0.25);
    border-color: rgba(255, 87, 34, 0.4);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover .icon {
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 20px rgba(255, 87, 34, 0.7);
}

.card .icon {
    font-size: 3rem;
    margin-bottom: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 87, 34, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 25px;
    line-height: 80px;
    border: 2px solid rgba(255, 87, 34, 0.3);
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    font-weight: 700;
    transition: color 0.3s ease;
}

.card:hover h3 {
    color: #FF5722;
}

.card p {
    color: #CCCCCC;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Vision & Mission Section Specific Styles */
/* Removed specific grid layout for vision-mission to allow 4-column display */

/* Stats Section */
.stats {
    background: #1E1E1E;
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.stats .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    margin: 20px;
    flex: 1;
    min-width: 200px;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: #2a2a2a;
    box-shadow: 0 5px 15px rgba(255, 87, 34, 0.1);
}

.stat-item h3 {
    color: #FF5722;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    color: #FFFFFF;
    font-size: 1.1rem;
    margin: 0;
}

/* Member Benefits */
.member-benefits {
    padding: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.member-benefits h2 {
    color: #FFFFFF;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    margin: 30px 0;
}

.benefits-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.benefits-list {
    flex: 1;
}

.benefits-list p {
    color: #AAAAAA;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
}

.check {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.benefits-cta {
    flex: 1;
}

.cta-box {
    background: #1E1E1E;
    padding: 25px;
    border-radius: 10px;
}

.cta-box h3 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: #FFFFFF;
}

.cta-box p {
    color: #AAAAAA;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.cta-box ul {
    list-style: none;
    text-align: left;
    margin: 20px 0;
}

.cta-box li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.cta-box .product-card {
    background: #1E1E1E;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.cta-box .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.2);
    border-color: #FF5722;
}

.cta-box .product-card h4 {
    color: #FF5722;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

.product-card {
    background: #1E1E1E;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid #333;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 87, 34, 0.2);
    border-color: #FF5722;
}

.product-card h3 {
    color: #FF5722;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
}

.product-card p {
    color: #CCCCCC;
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-card ul {
    list-style: none;
    margin: 20px 0;
}

.product-card li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
}

.product-card .check {
    color: #4CAF50;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.2rem;
}

.project-card {
    background: #1E1E1E;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.project-card h3 {
    color: #FF5722;
    margin-bottom: 15px;
}

.project-card h4 {
    color: #FF5722;
    margin-bottom: 10px;
}

.project-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #333;
}

.project-details p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.department-card {
    background: #1E1E1E;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.department-card h3 {
    color: #FF5722;
    margin-bottom: 15px;
}

.contact-card {
    background: #1E1E1E;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.contact-card h3 {
    color: #FF5722;
    margin-bottom: 15px;
}

.donation-option {
    background: #1E1E1E;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.donation-option h3 {
    color: #FF5722;
    margin-bottom: 15px;
}

.bank-details, .mobile-money {
    background: #1E1E1E;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.bank-details p, .mobile-money p {
    margin-bottom: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    background: #1E1E1E;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: #AAAAAA;
    font-style: italic;
}

.map-placeholder {
    background: #1E1E1E;
    height: 200px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.contact-form {
    text-align: left;
}

.donation-form {
    text-align: left;
    margin-top: 20px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #FF5722;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

.timeline-icon {
    position: absolute;
    left: -35px;
    top: 0;
    font-size: 1.5rem;
    background: #1a1a1a;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FF5722;
}

.timeline-content {
    padding-left: 20px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: #FFFFFF;
}

.timeline-content p {
    color: #AAAAAA;
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2b0000 0%, #4a0000 100%);
    padding: 50px 0;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.cta-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
    color: #DDDDDD;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 60px 0 30px;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    border-top: 1px solid rgba(255, 87, 34, 0.2);
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF5722, #FF9800);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.8rem;
    margin-bottom: 0;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
    transition: transform 0.3s ease;
}

.footer-logo .circle:hover {
    transform: rotate(10deg) scale(1.1);
}

.footer-logo h4 {
    color: #FFFFFF;
    font-weight: 700;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
}

.footer-logo p {
    color: #AAAAAA;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.footer-links h4,
.footer-info h4,
.contact-info h4 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: #FFFFFF;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-info h4::after,
.contact-info h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #FF5722, #FF9800);
    border-radius: 3px;
}

.footer-links ul,
.footer-info ul,
.contact-info ul {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-info li,
.contact-info li {
    margin-bottom: 15px;
}

.footer-links a,
.footer-info a,
.contact-info a {
    color: #AAAAAA;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover,
.footer-info a:hover,
.contact-info a:hover {
    color: #FF5722;
    transform: translateX(5px);
}

.footer-links a::before,
.footer-info a::before,
.contact-info a::before {
    content: "→";
    margin-right: 10px;
    color: #FF5722;
    font-size: 0.8rem;
}

.contact-info li {
    margin-bottom: 15px;
    color: #AAAAAA;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.contact-info li i {
    color: #FF5722;
    min-width: 20px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #FFFFFF;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    text-align: center;
    color: #AAAAAA;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #FF5722;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #FF9800;
    text-decoration: underline;
}

/* Sign-in Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1E1E1E;
    margin: 10% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    position: relative;
    border: 1px solid #333;
}

.modal-content h2 {
    color: #FF5722;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.modal-content p {
    color: #AAAAAA;
    margin-bottom: 25px;
}

.close {
    color: #AAAAAA;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
}

.close:hover {
    color: #FF5722;
}

.error-message {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin-top: 15px;
    border: 1px solid #f44336;
}

/* Financial Cards Styles */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.financial-card {
    background: #1B1B1B;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #333333;
}

.financial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: #FF5C1B;
}

.card-top-border {
    height: 4px;
    width: 100%;
}

.card-content {
    padding: 20px;
    display: flex;
    align-items: center;
}

.card-icon {
    font-size: 2rem;
    margin-right: 15px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.card-info {
    flex: 1;
}

.card-info h3 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #CCCCCC;
    font-weight: 600;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    color: #FFFFFF;
}

.trend {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0 10px 0;
}

.trend.positive {
    color: #4CAF50;
}

.trend.negative {
    color: #F44336;
}

.trend.neutral {
    color: #2196F3;
}

.card-link {
    color: #FF5C1B;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.card-link:hover {
    text-decoration: underline;
}

/* Theme Colors - Matching Website Colors */
.emerald-theme .card-top-border {
    background-color: #4CAF50;
}

.emerald-theme .card-icon {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.red-theme .card-top-border {
    background-color: #F44336;
}

.red-theme .card-icon {
    background-color: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.blue-theme .card-top-border {
    background-color: #2196F3;
}

.blue-theme .card-icon {
    background-color: rgba(33, 150, 243, 0.2);
    color: #2196F3;
}

.cyan-theme .card-top-border {
    background-color: #00BCD4;
}

.cyan-theme .card-icon {
    background-color: rgba(0, 188, 212, 0.2);
    color: #00BCD4;
}

.amber-theme .card-top-border {
    background-color: #FFC107;
}

.amber-theme .card-icon {
    background-color: rgba(255, 193, 7, 0.2);
    color: #FFC107;
}

.violet-theme .card-top-border {
    background-color: #9C27B0;
}

.violet-theme .card-icon {
    background-color: rgba(156, 39, 176, 0.2);
    color: #9C27B0;
}

/* Progress Bar */
.progress-bar {
    height: 8px;
    background-color: #333333;
    border-radius: 4px;
    margin: 10px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.emerald-theme .progress-fill {
    background-color: #4CAF50;
}

/* Secondary Row */
.secondary-row {
    margin-top: 30px;
}

.secondary-heading {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #FF5C1B;
}

/* Recent Activity */
.recent-activity {
    margin-top: 40px;
}

.recent-activity h2 {
    color: #FF5C1B;
    margin-bottom: 20px;
}

.activity-list {
    background: #1B1B1B;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid #333333;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #333333;
}

.activity-item:last-child {
    border-bottom: none;
}

.activity-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: rgba(255, 92, 27, 0.2);
    color: #FF5C1B;
}

.activity-details {
    flex: 1;
}

.activity-details p {
    margin: 0 0 5px 0;
    font-weight: 500;
    color: #FFFFFF;
}

.timestamp {
    font-size: 0.85rem;
    color: #CCCCCC;
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(27, 27, 27, 0.7);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #FF5C1B;
    margin-bottom: 30px;
}

.dashboard-header h1 {
    color: #FF5C1B;
    margin: 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    font-weight: 500;
    color: #CCCCCC;
}

#logout-btn {
    background: #F44336;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.3s;
}

#logout-btn:hover {
    background: #D32F2F;
}

/* Dashboard Main */
.dashboard-main {
    background: #000000;
    padding: 32px;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-form {
        padding: 25px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-section-title {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        width: 100%;
        padding: 12px 20px;
        justify-content: center;
    }
    
    .fine-balance-amount {
        font-size: 1.8rem;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .user-info {
        align-self: flex-end;
    }
    
    /* Mobile menu toggle button */
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 80px;
        transition: right 0.3s ease-in-out;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        z-index: 9;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu ul li {
        width: 100%;
        text-align: center;
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-menu ul li a {
        display: block;
        padding: 15px 0;
        font-size: 1.1rem;
    }
    
    .nav-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Small screen enhancements */
@media (max-width: 480px) {
    .modern-form {
        padding: 20px;
    }
    
    .form-section-title {
        font-size: 1.1rem;
    }
    
    .form-control {
        padding: 12px 12px 12px 40px !important;
    }
    
    .search-input, .textarea-input {
        padding-left: 42px !important;
    }
    
    .fine-balance-amount {
        font-size: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .container {
        width: 95%;
    }
    
    .cards {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-content {
        flex-direction: column;
    }
}

@media (max-width: 992px) {
    .header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        flex: 1;
        min-width: fit-content;
    }
    
    .nav-menu {
        order: 3;
        width: 100%;
        text-align: center;
    }
    
    .nav-buttons {
        display: flex;
        gap: 10px;
    }
    
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .nav-menu ul li {
        margin: 5px 5px;
        white-space: nowrap;
    }
    
    .stats .container {
        flex-direction: column;
    }
    
    .stat-item {
        margin: 15px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        align-items: center;
        text-align: center;
    }
    
    .dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .member-info-cards {
        justify-content: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 40px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .benefits h2,
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .dashboard-container {
        margin: 20px auto;
        padding: 15px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .dashboard-card {
        padding: 20px 15px;
    }
    
    .dashboard-header {
        padding: 20px 15px 15px 15px;
    }
    
    .dashboard-main {
        padding: 20px 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-links h4,
    .footer-info h4,
    .contact-info h4 {
        font-size: 1.1rem;
    }
    
    .greeting-section h1 {
        font-size: 1.5rem;
    }
    
    .member-info-cards {
        flex-direction: column;
        align-items: center;
    }
    
    .info-card {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 10px 15px;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav-menu ul li {
        margin: 3px;
    }
    
    .nav-menu ul li a {
        font-size: 0.9rem;
        padding: 8px 0;
    }
    
    .nav-buttons {
        gap: 8px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .hero {
        padding: 30px 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }
    
    .benefits h2,
    .cta-section h2 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 25px 15px;
    }
    
    .card h3 {
        font-size: 1.3rem;
    }
    
    .card .icon {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .stat-item p {
        font-size: 1rem;
    }
    
    .cta-box h3 {
        font-size: 2rem;
    }
    
    .product-card h3 {
        font-size: 1.3rem;
    }
    
    .dashboard-header h1 {
        font-size: 1.5rem;
    }
    
    .dashboard-card h3 {
        font-size: 1rem;
    }
    
    .card-value {
        font-size: 1.5rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .modal-content {
        margin: 5% auto;
        padding: 15px;
    }
    
    .modal-content h2 {
        font-size: 1.5rem;
    }
    
    .close {
        font-size: 24px;
        right: 15px;
        top: 10px;
    }
}

@media (max-width: 400px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 20px 10px;
    }
    
    .card h3 {
        font-size: 1.1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
}

/* Hide mobile logout button on desktop */
@media (min-width: 992px) {
    .logout-mobile {
        display: none !important;
    }
}

/* Show mobile logout button on mobile/tablet */
@media (max-width: 991px) {
    .logout-mobile {
        display: block;
    }
}
