/* about.css - College Adventiste de Gitwe About Page */

/* ===== ABOUT HERO SECTION ===== */
.image-only-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: linear-gradient(rgba(13, 21, 48, 0.8), rgba(26, 35, 126, 0.8)),
                url('../image/about-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--pure-white);
    padding: 0 5%;
    margin-top: 70px;
}

.image-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    animation: fadeInDown 1s ease;
}

.image-content p {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease 0.3s both;
}

.image-content i {
    color: var(--accent-blue);
    margin-right: 10px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== HISTORY SECTION ===== */
.history-section {
    padding: 80px 5%;
    background: var(--off-white);
}

.section-container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 40px;
    font-weight: 800;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.section-title i {
    color: var(--accent-blue);
    margin-right: 15px;
}

.history-text {
    color: var(--medium-gray);
    line-height: 1.8;
    font-size: 1.1rem;
    text-align: justify;
    padding: 30px;
    background: var(--pure-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.history-text i {
    color: var(--accent-blue);
    margin-right: 10px;
    font-size: 1rem;
}

/* History Image Container */
.history-image-container {
    margin-bottom: 30px;
    text-align: center;
}

.history-image {
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    object-fit: cover;
}

/* ===== SHAPES SECTION ===== */
.shapes-section {
    padding: 80px 5%;
    background: var(--pure-white);
}

.shapes-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 60px;
    font-weight: 800;
    position: relative;
}

.shapes-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.shapes-title i {
    color: var(--accent-blue);
    margin-right: 15px;
}

.shape-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.shape-card {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.shape-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-blue);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.shape-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.shape-card:hover::before {
    transform: scaleX(1);
}

.shape-icon {
    width: 70px;
    height: 70px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.8rem;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}

.shape-card:hover .shape-icon {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: rotate(360deg);
}

.shape-card.mission .shape-icon {
    background: rgba(33, 150, 243, 0.1);
    color: var(--accent-blue);
}

.shape-card.vision .shape-icon {
    background: rgba(156, 39, 176, 0.1);
    color: #9c27b0;
}

.shape-card.values .shape-icon {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.shape-card.goals .shape-icon {
    background: rgba(76, 175, 80, 0.1);
    color: #4caf50;
}

.shape-card h3 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.shape-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Dynamic Lists for Values and Goals */
.dynamic-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.dynamic-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.dynamic-list li:last-child {
    border-bottom: none;
}

.dynamic-list li i {
    color: var(--accent-blue);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
}

/* ===== ADDITIONAL INFO SECTION ===== */
.additional-info {
    padding: 80px 5%;
    background: var(--off-white);
}

.info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-card {
    background: var(--pure-white);
    padding: 35px 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--light-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition-smooth);
}

.info-card:hover .info-icon {
    background: var(--primary-blue);
    color: var(--pure-white);
    transform: scale(1.1);
}

.info-card h3 {
    color: var(--dark-blue);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.info-card p {
    color: var(--medium-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Image Containers for Additional Info */
.faculty-image-container,
.community-image-container {
    margin-bottom: 20px;
    text-align: center;
}

.faculty-image,
.community-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    object-fit: cover;
    margin-bottom: 15px;
}

/* Achievements List */
.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.achievements-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: flex-start;
}

.achievements-list li:last-child {
    border-bottom: none;
}

.achievements-list li i {
    color: #FFD700; /* Gold color for trophies */
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
}

/* ===== QUICK FACTS SECTION ===== */
.quick-facts {
    padding: 80px 5%;
    background: linear-gradient(135deg, var(--primary-blue), var(--dark-blue));
    color: var(--pure-white);
}

.facts-container {
    max-width: 1000px;
    margin: 0 auto;
}

.quick-facts h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 800;
    position: relative;
}

.quick-facts h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.quick-facts h2 i {
    color: var(--accent-blue);
    margin-right: 15px;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.fact {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.fact:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.fact h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

.fact p {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets */
@media (max-width: 992px) {
    .image-only-section {
        height: 50vh;
        min-height: 350px;
    }
    
    .image-content h1 {
        font-size: 2.5rem;
    }
    
    .image-content p {
        font-size: 1.1rem;
    }
    
    .section-title,
    .shapes-title,
    .quick-facts h2 {
        font-size: 2.2rem;
    }
    
    .history-text {
        padding: 25px;
        font-size: 1rem;
    }
    
    .shape-container,
    .info-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
    
    .history-image {
        max-height: 300px;
    }
}

/* Small Tablets */
@media (max-width: 768px) {
    .image-only-section {
        height: 45vh;
        min-height: 300px;
    }
    
    .image-content h1 {
        font-size: 2rem;
    }
    
    .image-content p {
        font-size: 1rem;
    }
    
    .section-title,
    .shapes-title,
    .quick-facts h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .history-section,
    .shapes-section,
    .additional-info,
    .quick-facts {
        padding: 60px 4%;
    }
    
    .history-text {
        padding: 20px;
    }
    
    .shape-card,
    .info-card {
        padding: 30px 25px;
    }
    
    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .history-image,
    .faculty-image,
    .community-image {
        max-height: 250px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .image-only-section {
        height: 40vh;
        min-height: 250px;
        margin-top: 70px;
    }
    
    .image-content h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
    
    .image-content p {
        font-size: 0.95rem;
    }
    
    .section-title,
    .shapes-title,
    .quick-facts h2 {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .history-section,
    .shapes-section,
    .additional-info,
    .quick-facts {
        padding: 50px 4%;
    }
    
    .shape-container,
    .info-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .fact {
        padding: 25px;
    }
    
    .fact h3 {
        font-size: 2rem;
    }
    
    .history-image,
    .faculty-image,
    .community-image {
        max-height: 200px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .image-only-section {
        height: 35vh;
        min-height: 200px;
    }
    
    .image-content h1 {
        font-size: 1.6rem;
    }
    
    .image-content p {
        font-size: 0.9rem;
    }
    
    .section-title,
    .shapes-title,
    .quick-facts h2 {
        font-size: 1.6rem;
    }
    
    .history-text {
        padding: 15px;
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .shape-card,
    .info-card {
        padding: 25px 20px;
    }
    
    .shape-icon,
    .info-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    .shape-card h3,
    .info-card h3 {
        font-size: 1.2rem;
    }
    
    .shape-card p,
    .info-card p {
        font-size: 0.9rem;
    }
    
    .history-image,
    .faculty-image,
    .community-image {
        max-height: 150px;
    }
}

/* Add to existing about.css */

/* History Image Container */
.history-image-container {
    margin-bottom: 30px;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.history-image {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.history-image:hover {
    transform: scale(1.02);
}

/* Faculty and Community Images */
.faculty-image-container,
.community-image-container {
    margin-bottom: 20px;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faculty-image,
.community-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    display: block;
}

/* Dynamic Lists */
.dynamic-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.dynamic-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    color: var(--medium-gray);
}

.dynamic-list li:last-child {
    border-bottom: none;
}

.dynamic-list li i {
    color: var(--accent-blue);
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
}

/* Achievements List */
.achievements-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.achievements-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    color: var(--medium-gray);
}

.achievements-list li:last-child {
    border-bottom: none;
}

.achievements-list li i {
    color: #FFD700;
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.9rem;
}

/* Fact Animations */
.fact.animated {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

@keyframes loading {
    0% { background-position: -200px 0; }
    100% { background-position: 200px 0; }
}

/* Error Message */
.error-message {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    text-align: center;
    border-left: 4px solid #ff4444;
}

/* Responsive Images */
@media (max-width: 768px) {
    .history-image {
        max-height: 300px;
    }
    
    .faculty-image,
    .community-image {
        max-height: 200px;
    }
}

@media (max-width: 480px) {
    .history-image {
        max-height: 200px;
    }
    
    .faculty-image,
    .community-image {
        max-height: 150px;
    }
}