/* ===================================
   IBR GROUP - Professional Theme CSS
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Roboto, sans-serif;
    color: #e0e0e0;
    background-color: #0a0e27;
    line-height: 1.8;
}

h1, h2, h3, h4 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { color: #ef46bc; font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

a { color: #ef46bc; text-decoration: none; transition: color 0.3s ease; }
a:hover { color: #ef46bc; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* HEADER & NAVIGATION */
.site-header {
    background: #ffffff;
    padding: 0.75rem 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar .brand {
    color: #ef46b7;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar .brand:hover { color: #e91e98; }

.logo-img {
    height: 90x;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.navbar .brand:hover .logo-img {
    transform: scale(1.15);
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #181818;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    font-weight: 500;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover { color: #e91e98; border-bottom-color: #e91e98; }
.nav-item.active a { color: #e91e98; border-bottom: 2px solid #e91e98; }

/* CONTENT & FOOTER */
.content { padding: 2rem 0; }

footer.site-footer {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #cbd5e1;
    padding: 4rem 2rem 2rem;
    border-top: none;
    margin-top: 0;
}

footer.site-footer .container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-brand h3 {
    font-size: 1.75rem;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    font-weight: 700;
}

.brand-highlight {
    color: #ef4444;
}

.footer-tagline {
    color: #a5d3ff;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin: 0 0 1.5rem 0;
    font-weight: 600;
}

.footer-section a {
    display: block;
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-section a:hover {
    color: #ffffff;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    color: #e0e0e0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-contact a {
    color: #e0e0e0;
    text-decoration: none;
    margin-bottom: 0;
    display: inline;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-bottom p {
    color: #a5d3ff;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-contact {
        text-align: center;
    }
    .footer-section h4 {
        text-align: center;
    }
    .footer-section a {
        display: inline;
        margin-right: 1rem;
    }
}

/* HERO SECTION */
.hero {
    text-align: center;
    padding: 8rem 0;
    /* background set inline in template using {% static 'images/homeBG.jpg' %} */
    background: none;
    border-bottom: 1px solid rgba(217, 70, 239, 0.05);
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero .container { max-width: 900px; position: relative; z-index: 2; }

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero .tagline {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {\n    display: flex;\n    gap: 1.5rem;\n    justify-content: center;\n    flex-wrap: wrap;\n}\n\n.hero-buttons .btn { display: inline-block; }

/* BUTTONS */
.btn {
    background: rgb(254, 0, 174); 
    color: #ffffff;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    display: inline-block;
    border: 2px solid rgb(254, 0, 174); 
    cursor: pointer;
}

.btn:hover {
    /* background: #e44e80;
    border-color: #e44e80; */
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgb(254, 0, 174); 
}

.btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
}

.btn-outline:hover {
    background: rgba(217, 70, 239, 0.2);
    color: #ffffff;
    border-color: #d946ef;
}

/* CARDS & GRIDS */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: repeat(2, 1fr); }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
    background: rgba(30, 40, 70, 0.4);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid rgba(217, 70, 239, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(227, 27, 161, 0.916);
    box-shadow: 0 16px 48px rgba(239, 70, 177, 0.975);
}

.card h3 { margin-bottom: 1rem; }
.card p { color: #b0b9c1; line-height: 1.8; }

/* SECTIONS */
section {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(217, 70, 239, 0.05);
}

section:last-child { border-bottom: none; }

section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* PROJECT GRID */
.projects-section .project-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* .project-card {
    background: linear-gradient(135deg, rgb(254, 0, 178) 0%, rgba(30, 40, 70, 0.3) 100%);
} */

/* STATS SECTION */
.stats-section {
    padding: 4rem 0;
    background: #f8f9fa;
    border-bottom: 1px solid rgba(217, 70, 239, 0.05);
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
}

/* MISSION SECTION */
.mission-section {
    padding: 6rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    text-align: center;
    border-bottom: none;
}

.mission-section h2 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.mission-tagline {
    color: #e0e7ff;
    font-size: 1.4rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.mission-support {
    color: #e0e7ff;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 400;
}

/* CONTACT & DONATE CARDS */
.contact-card, .donate-card {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card p, .donate-card p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}





.donate-card ul {
    list-style: none;
    padding: 0;
}

.donate-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(217, 70, 239, 0.1);
    color: #b0b9c1;
}

.donate-card li:last-child { border-bottom: none; }

/* ABOUT SECTION */
.about-section { max-width: 900px; margin: 0 auto; }
.about-section > p { font-size: 1.1rem; color: #b0b9c1; margin-bottom: 2rem; line-height: 1.9; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero .tagline { font-size: 1.25rem; }
    .hero { padding: 4rem 0; }
    section h1 { font-size: 2rem; }
    section h2 { font-size: 1.75rem; }
    .nav-links { gap: 1rem; }
    .btn { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
    .card { padding: 2rem; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero .tagline { font-size: 1rem; }
    .navbar .brand { font-size: 1.25rem; }
    .nav-links { gap: 0.75rem; font-size: 0.85rem; }
    .hero-buttons { flex-direction: column; gap: 1rem; }
    .btn { width: 100%; padding: 0.75rem 1.5rem; }
    .card { padding: 1.5rem; }
    section h1 { font-size: 1.5rem; }
    section h2 { font-size: 1.25rem; }
    .hero { padding: 3rem 0; }
    section { padding: 2rem 0; }
}

.custom-title {
    color: rgb(254, 0, 174);
}

.project-image {
    width: 100%;
    height: 200px;        /* fixed height for all images */
    object-fit: cover;    /* crops image nicely instead of stretching */
    border-radius: 8px;   /* optional: rounded corners */
}

.custom-tagline{
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
     color:  #0a0e27;
}

.projects-subtitle{
    text-align: center;
    color:  #b0b9c1;
}

.support-btn{
    display: inline-block;       
    background-color : rgb(254, 0, 174); 
    color: #fff;                 
    padding: 10px 20px;          
    border-radius: 8px;          
    font-weight: 600;            
    cursor: pointer;           
    text-align: center;          
    transition: transform 0.2s;  
}

.mission-support:hover{
    transform: scale(1.05);      /* slight zoom on hover */
}