/* About Page Specific Styles */

/* Navigation Styles */
.main-nav {
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-menu li.active a, 
.nav-menu li a:hover {
    color: var(--primary-color);
}

.nav-menu li.active a::after,
.nav-menu li a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.emergency-btn a {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 50px;
}

.emergency-btn a:hover {
    background-color: var(--secondary-dark);
}

.emergency-btn a::after {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: var(--transition);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        flex-direction: column;
        background-color: var(--white);
        width: 80%;
        height: calc(100vh - 90px);
        padding: 20px;
        transition: var(--transition);
        box-shadow: var(--shadow-md);
        gap: 15px;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }
}

/* Hero Section */
.about-page-hero {
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    margin-bottom: 60px;
}

.about-page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.about-page-hero h1 {
    position: relative;
    font-size: 3rem;
    text-align: center;
    margin: 0;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* About Section */
.about-section {
    padding: 60px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.about-text h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.feature-icon span {
    font-size: 24px;
}

/* Mission & Vision Section */
.mission-vision {
    padding: 60px 0;
    background: var(--light-bg);
}

.mission-vision-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.mission-card,
.vision-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-5px);
}

.mission-card h3,
.vision-card h3 {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.mission-card span,
.vision-card span {
    font-size: 24px;
}

/* Team Section */
.team-section {
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    padding: 20px;
    text-align: center;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.team-info {
    padding: 0 15px;
}

.team-info h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.team-position {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.team-social a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: var(--primary-dark);
}

/* History Timeline */
.history-section {
    padding: 60px 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: var(--primary-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    width: calc(50% - 30px);
}

.timeline-item:nth-child(even) {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border-radius: 50%;
    top: 10px;
    box-shadow: 0 0 0 4px var(--light-bg), 0 0 0 6px var(--primary-color), 0 0 20px rgba(0, 128, 128, 0.3);
    z-index: 2;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -38px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -38px;
}

.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.timeline-date {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    .mission-vision-container {
        grid-template-columns: 1fr;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 60px;
    }

    .timeline-item:nth-child(even) {
        margin-left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 22px;
    }
}

@media (max-width: 768px) {
    .about-page-hero {
        height: 40vh;
        padding: 60px 0;
    }

    .about-page-hero h1 {
        font-size: 2rem;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
    }

    .about-text {
        width: 100%;
        text-align: center;
    }

    .about-features {
        justify-content: center;
        flex-wrap: wrap;
    }

    .feature-item {
        width: calc(50% - 15px);
        text-align: center;
    }

    .mission-vision-container {
        flex-direction: column;
        gap: 30px;
    }

    .mission-card,
    .vision-card {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
    }

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

    .timeline {
        padding: 0;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 60px;
    }

    .timeline-dot {
        left: 11px;
    }

    .timeline-content {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .feature-item {
        width: 100%;
    }

    .team-member {
        max-width: 300px;
        margin: 0 auto;
    }

    .reason-item {
        padding: 20px;
    }

    .reason-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-dot {
        left: 6px;
        width: 18px;
        height: 18px;
    }
}

/* Tablet Responsiveness */
@media (max-width: 992px) and (min-width: 769px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-text {
        text-align: center;
    }
    
    .about-features {
        justify-content: center;
    }
    
    .mission-vision-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .reasons-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .about-page-hero {
        height: 30vh;
        padding: 40px 0;
    }

    .about-page-hero h1 {
        font-size: 2rem;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .about-image {
        width: 100%;
    }

    .about-text {
        width: 100%;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .mission-vision-container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .mission-card,
    .vision-card {
        width: 100%;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-member {
        max-width: 300px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .about-page-hero {
        height: 25vh;
    }
    
    .about-page-hero h1 {
        font-size: 1.7rem;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .timeline {
        padding-left: 40px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 20px;
    }
    
    .timeline-dot {
        left: 12px;
    }
} 