/* assets/css/about.css – specific styles for about page */
:root {
    --blue: #1E64C8;
    --green: #2E7D32;
    --red: #D32F2F;
    --bg-light: #F9FAFB;
}

/* Page hero (smaller) */
.page-hero {
    position: relative;
    height: 45vh;
    min-height: 300px;
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.about-hero {
    background-image: linear-gradient(rgba(10,38,71,0.8), rgba(10,38,71,0.8)), url('../images/bg.jpg');
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.page-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-hero-content h1 .accent {
    color: var(--red);
}

/* story section */
.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.story-text {
    min-width: 0;
}

.story-image {
    min-width: 0;
}

.story-text h2 {
    color: var(--blue);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.story-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.story-image {
    position: relative;
}

.story-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 20px 30px -10px rgba(0,0,0,0.15);
    border: 4px solid white;
}

.story-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 60px;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

/* mission grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.mission-card {
    min-width: 0;
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 25px -10px rgba(30,100,200,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.mission-card:hover {
    transform: translateY(-8px);
}

.mission-card i {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.mission-card h3 {
    margin-bottom: 1rem;
    color: var(--blue);
}

/* founder */
.founder-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3rem;
    align-items: start;
}

.founder-image {
    min-width: 0;
}

.founder-text {
    min-width: 0;
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 30px;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.2);
    border: 5px solid var(--blue-light);
}

.founder-text h3 {
    font-size: 2rem;
    color: var(--blue);
    margin-bottom: 1rem;
}

.founder-text p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.founder-text i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    opacity: 0.8;
}

/* team grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-card {
    min-width: 0;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.2s;
    padding-bottom: 1.5rem;
}

.team-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(30,100,200,0.15);
}

.team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 3px solid var(--red);
}

.team-card h4 {
    margin: 1rem 0 0.3rem;
    color: var(--blue);
}

.team-card p {
    font-size: 0.9rem;
    color: #4b5563;
}

/* infrastructure */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.infra-item {
    min-width: 0;
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.infra-item i {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.infra-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--blue);
}

.infra-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.infra-gallery img {
    display: block;
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* bank details */
.bank-card {
    background: white;
    padding: 2rem 2.2rem;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    max-width: 780px;
    margin: 2rem auto 0;
}

.bank-card p {
    margin: 0.9rem 0;
    font-size: 1rem;
    line-height: 1.8;
    color: #1f2937;
}

.bank-card span {
    display: inline-block;
    min-width: 190px;
    font-weight: 700;
    color: var(--blue);
}

.bank-card p:last-child {
    margin-bottom: 0;
}


/* partners */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
}

.partner-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 5px 10px rgba(0,0,0,0.03);
}

.partner-card img {
    max-width: 100%;
    max-height: 60px;
    filter: grayscale(0.2);
    transition: filter 0.2s;
}

.partner-card img:hover {
    filter: grayscale(0);
}

.partners-note {
    text-align: center;
    font-style: italic;
    color: #4b5563;
}

/* cta section */
.cta-section {
    background: linear-gradient(135deg, var(--blue) 0%, #0A2A5A 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* responsive */
@media (max-width: 900px) {
    .story-grid,
    .founder-grid,
    .mission-grid,
    .infra-grid {
        grid-template-columns: 1fr;
    }
    .story-text p,
    .founder-text p {
        font-size: 0.95rem;
    }
    .infra-gallery {
        grid-template-columns: 1fr 1fr;
    }
    .page-hero-content h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .infra-gallery {
        grid-template-columns: 1fr;
    }
    .team-grid {
        grid-template-columns: 1fr;
    }
    .story-text p,
    .founder-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* Council Section Styles - For the actual content from client */
.council-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.council-intro {
    margin-bottom: 2.5rem;
}

.council-message {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
    margin-bottom: 1.2rem;
    padding: 0 1rem;
    border-left: 4px solid var(--blue);
    background: rgba(30, 100, 200, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 16px;
}

.council-block {
    background: white;
    padding: 2rem;
    border-radius: 24px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.council-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(30, 100, 200, 0.1);
}

.council-block h3 {
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}

.council-block p {
    color: #334155;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.council-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.council-list li {
    padding-left: 1.8rem;
    position: relative;
    margin-bottom: 0.8rem;
    color: #334155;
    line-height: 1.6;
}

.council-list li::before {
    content: "✓";
    color: var(--green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.council-conclusion {
    background: linear-gradient(135deg, #eef2ff 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 24px;
    margin-top: 1rem;
    border: 1px solid rgba(30, 100, 200, 0.2);
}

.council-conclusion h3 {
    color: var(--blue);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.council-conclusion p {
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.council-signature {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--blue);
    text-align: right;
    font-style: italic;
    color: #475569;
}

.council-signature p {
    margin-bottom: 0.2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .council-block {
        padding: 1.5rem;
    }
    
    .council-block h3 {
        font-size: 1.2rem;
    }
    
    .council-message {
        font-size: 1rem;
        padding: 0.8rem 1rem;
    }
}