/* ===================================
   BlueTanzanite Volunteer Charity Website
   Custom Styles
   =================================== */

/* Root Variables - Brand Colors */
:root {
    --primary-color: #2596be;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --white: #ffffff;
    --tanzanite-blue: #1a7a9e;
    --tanzanite-purple: #2596be;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--dark-color);
    overflow-x: hidden;
}

/* Bootstrap Overrides */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Smooth Scrolling & Selection */
::selection {
    background: var(--primary-color);
    color: #fff;
}

html {
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.display-3 {
    font-size: 3.5rem;
    font-weight: 800;
}

.display-4 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Navigation */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
}

.navbar-brand img {
    border-radius: 50%;
    object-fit: cover;
}

.nav-link {
    font-weight: 500;
    color: var(--dark-color) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

/* Mega Menu */
.mega-menu-item .mega-menu {
    min-width: 380px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    margin-top: 0.5rem;
    padding: 0;
    overflow: hidden;
}

.mega-menu-content {
    padding: 2rem 1.5rem;
}

.mega-menu-title {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: rgba(37, 150, 190, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(37, 150, 190, 0.1);
    transform: translateX(5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
}

.contact-details {
    flex: 1;
    min-width: 0;
}

.contact-link {
    display: block;
    color: var(--dark-color);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    transition: all 0.3s ease;
    word-break: break-all;
}

.contact-link:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.mega-menu .btn-primary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/6.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
    animation: kenburns 20s ease-in-out infinite alternate;
}

@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 122, 158, 0.9) 0%, rgba(37, 150, 190, 0.8) 50%, rgba(26, 122, 158, 0.9) 100%);
    z-index: 1;
}

.hero-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: fadeInUp 0.8s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1.2s ease;
    font-weight: 400;
}

/* Hero Stats */
.hero-stats-wrapper {
    margin-top: 3rem;
    animation: fadeInUp 1.4s ease;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.hero-stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.hero-stat-card .stat-icon {
    font-size: 2.5rem;
    color: white;
    opacity: 0.9;
}

.hero-stat-card .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1;
}

.hero-stat-card .stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
}

/* Hero Buttons */
.hero-section .btn {
    animation: fadeInUp 1.6s ease;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-width: 2px;
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

.hero-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border-color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.hero-section .btn-primary:hover {
    background: var(--primary-color);
    color: white;
    border-color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-section .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}


/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    animation: fadeIn 2s ease;
}

.scroll-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.75rem;
    transition: all 0.4s ease;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-link:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Statistics Cards */
.stat-card {
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.stat-card i {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.stat-card:hover i {
    transform: scale(1.2);
    color: var(--tanzanite-blue) !important;
}

/* Service Cards */
.service-card {
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--tanzanite-blue));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    display: block;
    transition: transform 0.4s ease;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* Carousel Testimonials */
.testimonial-card {
    background: var(--white);
    min-height: 300px;
    border-radius: 20px !important;
    border: none;
    position: relative;
    z-index: 1;
}

.testimonial-card::after {
    content: '\F4AD'; /* bootstrap quote icon */
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-size: 8rem;
    color: rgba(37, 150, 190, 0.05);
    z-index: -1;
    pointer-events: none;
}

/* Help Cards */
.help-card {
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 20px;
}

.help-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

/* Sponsorship Card */
.sponsorship-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tanzanite-purple) 100%);
}

/* Material Needs Card */
.needs-card {
    background: var(--white);
    border: 1px solid #e9ecef;
}

/* Contact Section */
.contact-section {
    position: relative;
    overflow: hidden;
}

.contact-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/12.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 122, 158, 0.92) 0%, rgba(37, 150, 190, 0.88) 100%);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

/* Section Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

/* Contact Cards */
.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
}

.contact-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-card-icon {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.contact-card .contact-link {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-card .contact-link:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(5px);
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.contact-form-info {
    background: linear-gradient(135deg, var(--primary-color), var(--tanzanite-blue));
    padding: 3rem 2.5rem;
    color: white;
}

.contact-form-fields {
    padding: 3rem 2.5rem;
    background: white;
}

/* Contact Features */
.contact-features {
    margin-top: 2rem;
}

.contact-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.contact-feature-item i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Social Connect */
.social-connect .social-icon-btn {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-connect .social-icon-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

/* Form Floating Styles */
.form-floating > .form-control,
.form-floating > .form-select {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem 1rem;
    height: calc(3.5rem + 2px);
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(37, 150, 190, 0.15);
}

.form-floating > label {
    padding: 1rem 1rem;
    color: #6c757d;
}

.form-floating textarea.form-control {
    height: auto;
    min-height: 150px;
}

.contact-form-fields .btn-primary {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-form-fields .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 150, 190, 0.4);
}

/* Footer - Modern Design */
.footer-modern {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.footer-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--tanzanite-purple), var(--primary-color));
}

/* Footer Main Section */
.footer-main {
    padding: 60px 0 40px;
    position: relative;
}

.footer-brand img {
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.footer-text {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Footer Titles */
.footer-title {
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 12px;
    margin-right: 8px;
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
    color: var(--primary-color);
}

/* Footer Contact */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 12px;
    margin-top: 2px;
    min-width: 20px;
}

.footer-contact li span {
    line-height: 1.6;
}

/* Social Icons */
.footer-social .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.footer-social .social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 150, 190, 0.3);
}

/* Newsletter Form */
.footer-newsletter .input-group {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-radius: 50px;
    overflow: hidden;
}

.footer-newsletter .form-control {
    border: none;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50px 0 0 50px;
}

.footer-newsletter .form-control:focus {
    box-shadow: none;
    background: var(--white);
}

.footer-newsletter .btn {
    border-radius: 0 50px 50px 0;
    padding: 12px 25px;
    border: none;
}

/* Footer CTA Banner */
.footer-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--tanzanite-purple));
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.footer-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.footer-cta .container {
    position: relative;
    z-index: 2;
}

.footer-cta h4 {
    font-size: 1.8rem;
}

.footer-cta .btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.footer-cta .btn-light:hover {
    background: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.footer-cta .btn-outline-light {
    border: 2px solid var(--white);
}

.footer-cta .btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom strong {
    color: var(--white);
}

.footer-bottom .badge {
    padding: 6px 12px;
    font-weight: 600;
}

.footer-bottom .text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Buttons */
.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--tanzanite-blue);
    border-color: var(--tanzanite-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 150, 190, 0.3);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal-header {
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.modal-footer {
    border-top: 1px solid #dee2e6;
}

.bank-details {
    border-left: 4px solid var(--primary-color);
}

/* Social Links */
.social-links a {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(37, 150, 190, 0.3);
}

/* Page Headers for Sub-pages */
.page-header {
    position: relative;
    overflow: hidden;
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--tanzanite-blue) 100%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/6.jpg') center/cover;
    opacity: 0.15;
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-header .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Page Header Breadcrumb */
.page-header-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.page-header-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-header-breadcrumb a:hover {
    color: white;
}

.page-header-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.6);
}

.page-header-breadcrumb .current {
    color: white;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        min-height: 90vh;
    }
    
    .hero-background {
        background-attachment: scroll;
    }
    
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.75rem;
    }
    
    .page-header .lead {
        font-size: 1.15rem;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .mega-menu {
        min-width: 100% !important;
        border-radius: 5px;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-stat-card {
        padding: 1.5rem 1rem;
    }

    .hero-stat-card .stat-icon {
        font-size: 2rem;
    }

    .hero-stat-card .stat-number {
        font-size: 2.5rem;
    }

    .hero-section .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2rem;
    }

    /* Footer Responsive */
    .footer-main {
        padding: 40px 0 30px;
    }

    .footer-cta h4 {
        font-size: 1.5rem;
    }

    .footer-cta .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    /* Contact Section Responsive */
    .contact-background {
        background-attachment: scroll;
    }

    .contact-form-info,
    .contact-form-fields {
        padding: 2.5rem 2rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        min-height: 100vh;
    }
    
    .page-header {
        padding: 80px 0 50px;
    }
    
    .page-header h1 {
        font-size: 2.25rem;
    }
    
    .page-header .lead {
        font-size: 1.05rem;
    }
    
    .page-header-breadcrumb {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .hero-stat-card {
        padding: 1.25rem 0.75rem;
    }

    .hero-stat-card .stat-icon {
        font-size: 1.75rem;
    }

    .hero-stat-card .stat-number {
        font-size: 2rem;
    }

    .hero-stat-card .stat-label {
        font-size: 0.85rem;
    }

    .hero-section .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
    }

    .scroll-indicator {
        bottom: 2rem;
    }
    
    .scroll-link {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .display-3 {
        font-size: 2rem;
    }

    .display-4 {
        font-size: 1.75rem;
    }

    .hero-section .lead {
        font-size: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .gallery-item img {
        height: 250px;
    }

    /* Footer Mobile */
    .footer-brand {
        text-align: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links,
    .footer-contact {
        text-align: center;
    }

    .footer-links a {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-social {
        text-align: center;
    }

    .footer-social .d-flex {
        justify-content: center;
    }

    .footer-cta h4 {
        font-size: 1.3rem;
    }

    .footer-cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }

    /* Contact Section Mobile */
    .contact-form-info,
    .contact-form-fields {
        padding: 2rem 1.5rem;
    }

    .contact-card {
        padding: 1.25rem 1rem;
    }

    .contact-card-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .contact-form-wrapper {
        border-radius: 20px;
    }

    .social-connect {
        margin-top: 2rem !important;
    }
}

@media (max-width: 575px) {
    .display-3 {
        font-size: 1.75rem;
    }

    .btn-lg {
        padding: 0.6rem 1.5rem;
        font-size: 1rem;
    }

    .stat-card h3 {
        font-size: 1.5rem;
    }

    .gallery-item img {
        height: 200px;
    }
}

/* Accessibility */
.btn:focus,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Skip to main content link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Smooth Scrolling Offset for Fixed Navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    footer,
    .modal {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    h1, h2, h3 {
        page-break-after: avoid;
    }
}
