/* ==========================================================================
   NEW ABOUT PAGE STYLES
   ========================================================================== */

/* Header Center Align */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 20px;
    color: var(--dark);
}
.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

/* New Vision Mission */
.new-vm {
    display: flex;
    gap: 30px;
}

.vm-card {
    flex: 1;
    border-radius: 20px;
    padding: 60px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vm-card:hover {
    transform: translateY(-10px);
}

.vm-card.vision {
    background: linear-gradient(135deg, #ff9a44, #fc6076);
}

.vm-card.mission {
    background: linear-gradient(135deg, #0062cc, #004a99);
}

.vm-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.vm-content h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 15px;
    display: inline-block;
}

/* Mission List Styles */
.mission-list {
    text-align: left;
    counter-reset: mission-counter;
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.mission-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 20px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.mission-list li strong {
    font-weight: 800;
    color: white;
}

.mission-list li::before {
    counter-increment: mission-counter;
    content: counter(mission-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
}

/* Message Section */
.message-section {
    background: #f8fafc; /* Light background to make white cards pop */
    padding: 100px 0;
}

.message-row {
    display: flex;
    align-items: center;
    gap: 80px;
    background: white;
    border-radius: 40px;
    padding: 60px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.04);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.message-row:hover {
    transform: translateY(-5px);
}

.message-row.reverse {
    flex-direction: row-reverse;
}

.msg-img {
    flex: 0 0 280px;
    display: flex;
    justify-content: center;
}

.msg-img img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    border: 10px solid white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.msg-content {
    flex: 1;
}

/* Specific Badge Style for Messages */
.message-section .badge {
    background: #e0f2fe;
    color: #0284c7;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.msg-content h3 {
    font-size: 1.8rem;
    color: #ff6b00; /* Bright Orange */
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.msg-text p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.9;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 400;
}

.msg-author {
    margin-top: 35px;
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
}

.msg-author h5 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 5px;
}

.msg-author span {
    font-size: 0.85rem;
    color: #0062cc;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section Dark */
/* Team Section Modern - Clean (No BG) */
.team-section-dark {
    padding: 100px 0;
    background: white;
    color: var(--dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-top: 60px;
    justify-content: center;
}

.team-card.dark-mode {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card.dark-mode:hover {
    transform: translateY(-10px);
}

.team-card.dark-mode .team-img {
    width: 220px;
    height: 220px;
    border-radius: 20px;
    margin: 0 auto 20px;
    overflow: hidden;
    /* Soft shadow instead of white border */
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    background: #f1f5f9;
}

/* Internal dark gradient over image if needed, or just pure image */
.team-card.dark-mode .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-card.dark-mode:hover .team-img img {
    transform: scale(1.1);
}

.team-card.dark-mode h4 {
    color: var(--dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 800;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    text-shadow: none;
}

.team-card.dark-mode p {
    color: var(--gray);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 15px;
    text-shadow: none;
}

.social-icons {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-icons a {
    color: var(--primary);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    font-size: 0.9rem;
}

.social-icons a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,98,204,0.3);
    border-color: var(--primary);
}

/* Why Us Grid */
.why-us-section {
    padding: 100px 0;
    background: #fdfdfd;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.why-item {
    text-align: left;
    padding: 35px;
    border-radius: 20px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    transition: 0.3s;
    border: 1px solid #f1f5f9;
}

.why-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,98,204,0.08);
    border-color: rgba(0,98,204,0.1);
}

.why-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 25px;
    display: inline-block;
    padding: 15px;
    background: rgba(0,98,204,0.05);
    border-radius: 12px;
}

.why-item h4 {
    color: var(--secondary);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.why-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Institutions */
/* Institutions */
.institutions-section {
    padding: 100px 0;
    background: white;
}

.inst-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.inst-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    transition: 0.4s;
    border: 1px solid #f1f5f9;
}

.inst-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.inst-img {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.inst-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.inst-card:hover .inst-img img {
    transform: scale(1.1);
}

.inst-content {
    padding: 35px;
}

.inst-content h4 {
    font-size: 1.25rem;
    color: var(--dark);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.4;
}

.inst-content .location {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.inst-content p {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-link {
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-link:hover {
    gap: 12px;
    color: var(--primary);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .about-hero {
        padding-top: 180px;
        height: auto;
        min-height: 50vh;
    }
    .about-hero h1 { font-size: 3rem; }
    
    .new-vm { flex-direction: column; }
    .vm-card { padding: 40px 30px; }
    
    .message-row, .message-row.reverse { 
        flex-direction: column; 
        text-align: center; 
        gap: 40px;
        padding: 40px;
    }
    
    .msg-content { text-align: center !important; }
    .msg-img { margin: 0 auto; }
    
    .team-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 30px;
    }
    .why-grid, .inst-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .section-header { margin-bottom: 40px; }
    .section-title { font-size: 2.2rem; }
    
    .about-hero h1 { font-size: 2.2rem; }
    .about-hero p { font-size: 1rem; }
    
    .message-row, .message-row.reverse { padding: 30px 20px; }
    .msg-img img { width: 220px; height: 220px; }
    .msg-content h3 { font-size: 1.5rem; }
    .msg-text p { font-size: 1rem; }
    
    .team-grid, .why-grid, .inst-grid { grid-template-columns: 1fr; }
    
    .vm-card { padding: 30px 20px; }
    .vm-content h3 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .about-hero { padding-top: 150px; }
    .about-hero h1 { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    
    .message-row, .message-row.reverse { border-radius: 20px; }
    .msg-img img { width: 180px; height: 180px; }
}
