


.cover {
    position: relative;
    height: 65vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0)), 
                url("images/aboutus.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
    overflow: hidden;
}

.cover-content {
    color: var(--white);
    max-width: 600px;
    position: relative;
    z-index: 1;
}



.cover-title h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s forwards 0.6s;
}

.cover-title h1::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 80px;
    height: 4px;
    background-color: var(--primary);
}

.cover-description {
    font-size: 1.2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s forwards 0.9s;
}




.section {
    padding: 6rem 0;
    position: relative;
}

.section:nth-child(odd) {
    background-color: var(--light-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-subtitle {
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.2rem;
    position: relative;
    display: inline-block;
}



.section-description {
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary);
    font-size: 1.1rem;
}

/* Mission & Vision */
.mission-vision {
    display: flex;
    gap: 2rem;
}

.mission-vision-card {
    flex: 1;
    background-color: var(--light);
    border-radius: 10px;
    padding: 3rem;
    position: relative;
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
}

.mission-vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.mission-vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.mission-vision-card:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Quality Section */
.quality-section {
    background: var(--light);
    position: relative;
    overflow: hidden;
}

.quality-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: var(--primary-light);
    z-index: 0;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quality-item {
    background-color: var(--light);
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.quality-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--secondary);
    opacity: 0.03;
    transition: var(--transition);
    z-index: -1;
}

.quality-item:hover {
    transform: translateY(-10px);
}

.quality-item:hover::after {
    height: 100%;
}

.quality-icon {
    width: 60px;
    height: 60px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.quality-item:hover .quality-icon {
    background-color: var(--primary);
    transform: rotateY(180deg);
}

.quality-icon i {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.quality-item:hover .quality-icon i {
    color: var(--white);
    transform: rotateY(180deg);
}

.quality-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

/* Commitment */
.commitment {
    margin-top: 4rem;
    background-color: var(--primary);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(255, 186, 6, 0.2);
}

.commitment::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 60%);
    animation: commitmentPulse 6s linear infinite;
}

.commitment p {
    color: var(--gray);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}





/* Team Section */
/* Team Section */
.team-section {
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Fixed 4 columns for first row */
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
}

/* Second row container for 3 centered cards */
.team-grid-second-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns for second row */
    gap: 1.5rem;
    max-width: 75%; /* Adjust width to ensure it's centered but not full width */
    margin: 0 auto; /* Center the grid */
}

/* Third row container for 1 centered card - hidden by default */
.team-grid-third-row {
    display: none; /* Hidden by default on desktop */
}

.team-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card:hover::before {
    opacity: 1;
}

.team-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.team-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.team-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.team-count {
    font-weight: 600;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.team-tagline {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.team-tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 1s ease;
}

.team-tagline.animate::after {
    width: 100px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    /* Large tablets and small desktops */
    .team-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .team-grid-second-row {
        max-width: 85%;
    }
}

@media (max-width: 992px) {
    /* Medium tablets and landscape phones */
    .team-grid {
        grid-template-columns: repeat(3, 1fr); /* First row with 3 boxes */
        gap: 1.2rem;
    }
    
    /* Hide the fourth item from first row to move it to third row */
    .team-grid .team-card:nth-child(4) {
        display: none;
    }
    
    .team-grid-second-row {
        grid-template-columns: repeat(3, 1fr); /* Second row with 3 boxes */
        max-width: 100%;
        gap: 1.2rem;
    }
    
    /* Third row with 1 centered box */
    .team-grid-third-row {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 33.33%; /* Width of just one box */
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    /* Small tablets and portrait phones */
    .team-grid, .team-grid-second-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid-second-row {
        max-width: 100%;
    }
    
    /* Hide the third row completely on smaller screens */
    .team-grid-third-row {
        display: none;
    }
    
    /* Show the fourth card in the grid again */
    .team-grid .team-card:nth-child(4) {
        display: block;
    }
}

@media (max-width: 576px) {
    /* Extra small devices */
    .team-grid, .team-grid-second-row {
        grid-template-columns: 1fr;
    }
    
    .team-card {
        padding: 1.25rem;
    }
    
    .team-title {
        font-size: 1rem;
    }
    
    .team-count {
        font-size: 0.9rem;
    }
}

/* 
.team-section {
    background-color: var(--light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.team-card {
    background-color: var(--light);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-light) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-card:hover::before {
    opacity: 1;
}

.team-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.team-icon i {
    font-size: 1.2rem;
    color: var(--white);
}

.team-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    position: relative;
    z-index: 1;
}

.team-count {
    font-weight: 600;
    color: var(--secondary);
    position: relative;
    z-index: 1;
}

.team-tagline {
    text-align: center;
    margin-top: 3rem;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--dark);
    position: relative;
    padding-bottom: 1rem;
}

.team-tagline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 1s ease;
}

.team-tagline.animate::after {
    width: 100px;
} */







/* Safety Section */
.safety-section {
    position: relative;
    overflow: hidden;
}



.safety-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

.safety-cards {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.safety-card {
    flex: 1;
    max-width: 270px;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.safety-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.safety-banner {
    padding: 1.5rem;
    background-color: var(--gray);
    color: var(--white);
    position: relative;
}

.safety-banner::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--gray);
}

.safety-banner i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
    display: block;
}

.safety-banner h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.safety-content {
    padding: 2.5rem 1.5rem 1.5rem;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes commitmentPulse {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.active, .slide-right.active {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.active {
    opacity: 1;
    transform: scale(1);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .cover {
        height: 60vh;
        justify-content: center;
        text-align: center;
        padding: 0 2rem;
    }
    
    .cover-title h1::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .mission-vision {
        flex-direction: column;
    }
    
    .quality-item, .safety-card {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .cover {
        height: 50vh;
    }
    
    .cover-title h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .safety-cards {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .cover-subtitle {
        font-size: 0.9rem;
    }
    
    .cover-title h1 {
        font-size: 2rem;
    }
    
    .cover-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
}