﻿/* ============================================================
   DirectorViewPartial.css
   Director's View - Vision, Mission, Planning & Founder Profile
   SRI VENKTESHWARA ASSOCIATES
   Fully Responsive - Mobile First
   ============================================================ */

/* ----- RESET & BASE ----- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ----- MAIN WRAPPER ----- */
.director-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ============================================================
   COMMON CARD STYLES
   ============================================================ */
.director-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 20, 30, 0.08), 0 4px 16px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.4);
    transition: all 0.3s ease;
}

    .director-card:hover {
        box-shadow: 0 20px 60px rgba(0, 20, 30, 0.12);
    }

/* ----- CARD HEADER ----- */
.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    background: linear-gradient(135deg, #f8faff, #eef4fa);
    border-bottom: 2px solid #e9eef3;
}

.header-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1e3a5f, #2a4f7a);
    color: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b1e33;
    margin: 0;
    letter-spacing: -0.02em;
}

/* ============================================================
   CARD 1: VISION, MISSION & PLANNING
   ============================================================ */
.vision-mission-card .card-body {
    padding: 28px 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* Common Section Styles */
.vision-section,
.mission-section,
.planning-section {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.section-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #eef4fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a5f;
    font-size: 18px;
    border: 2px solid #dce5ef;
    transition: all 0.3s ease;
}

.vision-section:hover .section-icon,
.mission-section:hover .section-icon,
.planning-section:hover .section-icon {
    background: #1e3a5f;
    color: #ffffff;
    border-color: #1e3a5f;
    transform: scale(1.05);
}

.section-content {
    flex: 1;
}

.section-heading {
    font-size: 1rem;
    font-weight: 700;
    color: #0b1e33;
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
}

.section-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #2c405a;
    margin: 0;
}

/* ----- PLANNING GRID ----- */
.planning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    margin-top: 8px;
}

.plan-item {
    background: #f8faff;
    padding: 16px 18px;
    border-radius: 14px;
    border-left: 4px solid #1e3a5f;
    transition: all 0.3s ease;
}

    .plan-item:hover {
        background: #eef4fa;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    }

.plan-year {
    display: block;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e3a5f;
    margin-bottom: 4px;
}

.plan-item p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: #2c405a;
    margin: 0;
}

/* ============================================================
   CARD 2: FOUNDER PROFILE (Image Right)
   ============================================================ */
.founder-card {
    background: linear-gradient(135deg, #fafcff 0%, #f0f5fb 100%);
}

.founder-layout {
    display: flex;
    flex-direction: row;
    padding: 28px 28px 32px;
    gap: 32px;
    align-items: stretch;
}

/* ----- Founder Content (Left) ----- */
.founder-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.founder-name h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0b1e33;
    margin: 0 0 2px 0;
    letter-spacing: -0.02em;
}

.founder-title {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #2a4f7a;
    background: #eef4fa;
    padding: 4px 16px;
    border-radius: 40px;
    border: 1px solid #dce5ef;
}

.founder-bio {
    font-size: 0.92rem;
    line-height: 1.8;
    color: #1f2a3f;
}

    .founder-bio p {
        margin: 0 0 10px 0;
    }

        .founder-bio p:last-child {
            margin-bottom: 0;
        }

/* ----- Founder Quote ----- */
.founder-quote {
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 16px;
    border-left: 4px solid #1e3a5f;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-top: 4px;
    position: relative;
}

.quote-icon {
    color: #1e3a5f;
    font-size: 1.2rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 4px;
}

.founder-quote blockquote {
    font-size: 0.92rem;
    font-style: italic;
    color: #1f2a3f;
    line-height: 1.6;
    margin: 0 0 6px 0;
}

.quote-author {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3a5f;
    text-align: right;
}

/* ----- Founder Image (Right) ----- */
.founder-image-wrapper {
    flex: 0 0 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.founder-image-container {
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 20, 30, 0.15);
    border: 4px solid #ffffff;
}

.founder-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.founder-image-container:hover .founder-image {
    transform: scale(1.04);
}

.image-overlay-badge {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: rgba(30, 58, 95, 0.85);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    letter-spacing: 0.3px;
}

    .image-overlay-badge i {
        margin-right: 6px;
    }

/* ----- Founder Social Links ----- */
.founder-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-link {
    width: 38px;
    height: 38px;
    background: #eef4fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e3a5f;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid #dce5ef;
}

    .social-link:hover {
        background: #1e3a5f;
        color: #ffffff;
        border-color: #1e3a5f;
        transform: translateY(-3px);
        box-shadow: 0 4px 12px rgba(30, 58, 95, 0.25);
    }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ----- Tablet (820px and below) ----- */
@media (max-width: 820px) {
    .director-wrapper {
        padding: 15px 12px;
        gap: 24px;
    }

    .card-header {
        padding: 16px 20px;
    }

    .card-title {
        font-size: 1.05rem;
    }

    .vision-mission-card .card-body {
        padding: 22px 20px 26px;
    }

    /* Founder Layout Stacks */
    .founder-layout {
        flex-direction: column;
        padding: 22px 20px 26px;
        gap: 24px;
    }

    .founder-image-wrapper {
        flex: 0 0 auto;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .founder-image-container {
        max-width: 220px;
        aspect-ratio: 1 / 1;
    }

    .founder-name h2 {
        font-size: 1.4rem;
    }

    .planning-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* ----- Mobile (480px and below) ----- */
@media (max-width: 480px) {
    .director-wrapper {
        padding: 10px 8px;
        gap: 18px;
    }

    .director-card {
        border-radius: 18px;
    }

    .card-header {
        padding: 14px 16px;
        gap: 10px;
    }

    .header-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 10px;
    }

    .card-title {
        font-size: 0.95rem;
    }

    .vision-mission-card .card-body {
        padding: 18px 16px 22px;
        gap: 20px;
    }

    .vision-section,
    .mission-section,
    .planning-section {
        gap: 12px;
    }

    .section-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .section-heading {
        font-size: 0.9rem;
    }

    .section-text {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    /* Planning Grid */
    .planning-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .plan-item {
        padding: 12px 14px;
    }

    .plan-year {
        font-size: 0.78rem;
    }

    .plan-item p {
        font-size: 0.76rem;
    }

    /* Founder Card */
    .founder-layout {
        padding: 18px 16px 22px;
        gap: 18px;
    }

    .founder-name h2 {
        font-size: 1.15rem;
    }

    .founder-title {
        font-size: 0.7rem;
        padding: 3px 12px;
    }

    .founder-bio {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .founder-quote {
        padding: 14px 16px;
    }

        .founder-quote blockquote {
            font-size: 0.82rem;
        }

    .quote-author {
        font-size: 0.7rem;
    }

    .founder-image-wrapper {
        gap: 12px;
    }

    .founder-image-container {
        max-width: 180px;
    }

    .image-overlay-badge {
        font-size: 0.6rem;
        padding: 4px 12px;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }

    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* ----- Extra Small (360px and below) ----- */
@media (max-width: 360px) {
    .card-title {
        font-size: 0.85rem;
    }

    .vision-mission-card .card-body {
        padding: 14px 12px 18px;
        gap: 16px;
    }

    .section-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .section-text {
        font-size: 0.76rem;
    }

    .founder-name h2 {
        font-size: 1rem;
    }

    .founder-bio {
        font-size: 0.76rem;
    }

    .founder-image-container {
        max-width: 140px;
    }
}
