/* ===================================
   Why Us Page - Modern University Design
   =================================== */

/* Hero Section */
.whyus-hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 8rem 0 5rem;
    overflow: hidden;
}

.whyus-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/11_1080px.jpg') center/cover;
    opacity: 0.50;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(19, 19, 20, 0.88) 0%, 
        rgba(20, 20, 20, 0.78) 100%);
    z-index: 1;
}

.whyus-hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: left;
    max-width: 800px;
    margin: 3 auto;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin-top: 1.5rem;
}

/* Better Education Section */
.better-education-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.education-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.education-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.education-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-body);
    margin-bottom: 1.5rem;
}

.education-image {
    position: relative;
}

.feature-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Reasons Section */
.reasons-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.15rem;
    color: var(--text-body);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.reason-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.reason-card:hover {
    border-color: var(--accent);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.reason-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.3);
    transition: all var(--transition-base);
}

.reason-card:hover .reason-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

.reason-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.reason-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
}

/* Founder Quote Section */
.founder-quote-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.founder-quote-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/analyst-analytics-blur-106344.jpg') center/cover;
    opacity: 0.08;
}

.quote-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.quote-image {
    position: relative;
}

.founder-img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.quote-content {
    position: relative;
}

.quote-icon {
    font-size: 3rem;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -1rem;
}

blockquote {
    margin: 0;
    padding: 0;
}

blockquote p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
    font-style: italic;
    margin: 0 0 2rem 0;
}

.quote-author {
    border-top: 3px solid var(--accent);
    padding-top: 1.5rem;
}

.author-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.author-title {
    font-size: 1rem;
    color: var(--text-body);
}

/* Campus Gallery Section */
.campus-gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.gallery-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all var(--transition-base);
}

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

/* Accreditations Section */
.accreditations-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.accreditation-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    border: 2px solid transparent;
}

.accreditation-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.accreditation-logo {
    max-width: 120px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    display: block;
}

.accreditation-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.accreditation-card p {
    font-size: 0.9rem;
    color: var(--text-body);
    line-height: 1.5;
}

/* CTA Section */
.whyus-cta {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.whyus-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/23_1080px.jpg') center/cover;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .education-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .quote-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quote-image {
        max-width: 250px;
        margin: 0 auto;
    }

    .reasons-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .whyus-hero {
        min-height: 45vh;
        padding: 7rem 0 4rem;
    }

    .education-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .quote-card {
        padding: 2rem;
    }

    blockquote p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .accreditations-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 480px) {
    .accreditations-grid {
        grid-template-columns: 1fr;
    }

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .reason-card,
    .gallery-item,
    .accreditation-card,
    .hero-content {
        animation: none;
        transition: none;
    }
}


/* ===================================
   What Sets Us Apart - Split Layout
   =================================== */

.apart-section {
    width: 100%;
    overflow: hidden;
}

.apart-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 700px;
}

/* ── IMAGE SIDE ── */
.apart-image-side {
    position: relative;
    overflow: hidden;
}

.apart-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.7s ease;
}

.apart-image-side:hover .apart-image {
    transform: scale(1.04);
}

.apart-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(19, 19, 20, 0.85) 0%,
        rgba(19, 19, 20, 0.35) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 3rem;
}

.apart-overlay-text span {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.apart-overlay-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.5vw, 2.4rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    margin: 0;
}

.apart-overlay-text h3 strong {
    font-weight: 700;
    color: var(--accent);
}

/* ── CONTENT SIDE ── */
.apart-content-side {
    background: #1a1a1b;
    padding: 4.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    overflow-y: auto;
}

.apart-eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
}

.apart-title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    font-weight: 400;
    color: #ffffff;
    line-height: 1.35;
    margin: 0;
    max-width: 440px;
}

/* ── LIST ── */
.apart-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.apart-item {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.25s ease;
}

.apart-item:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.apart-item:hover {
    background: rgba(212, 175, 55, 0.04);
    padding-left: 0.5rem;
}

.apart-item-icon {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.apart-item:hover .apart-item-icon {
    background: var(--accent);
    color: #1a1a1b;
    border-color: var(--accent);
}

.apart-item-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem;
}

.apart-item-text p {
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* ── BUTTON ── */
.apart-cta {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .apart-inner {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .apart-image-side {
        height: 420px;
    }

    .apart-content-side {
        padding: 3rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .apart-image-side {
        height: 300px;
    }

    .apart-content-side {
        padding: 2.5rem 1.5rem;
        gap: 1.25rem;
    }

    .apart-image-overlay {
        padding: 2rem;
    }

    .apart-cta {
        align-self: stretch;
        text-align: center;
        justify-content: center;
    }
}
