.about-us {
    padding: 5rem 1rem;
    min-height: auto;
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 221, 0.05), transparent 70%);
    z-index: -1;
}

.about-us h2 {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--neon-teal);
    text-shadow: 0 0 30px var(--neon-teal);
    animation: glow 2s ease-in-out infinite alternate;
    position: relative;
}

.about-us h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--neon-teal), var(--neon-blue));
    box-shadow: 0 0 10px var(--neon-teal);
    transition: width 0.5s ease;
}

.about-us h2:hover::after {
    width: 150px;
}

.about-container {
    max-width: 1200px;
    margin: 3rem auto;
    position: relative;
}

.about-description {
    padding: 2rem;
    text-align: center;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 255, 221, 0.1);
    border: 1px solid rgba(0, 255, 221, 0.2);
    backdrop-filter: blur(5px);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-description:hover {
    box-shadow: 0 8px 30px rgba(0, 255, 221, 0.2);
    transform: translateY(-5px) scale(1.01);
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

/* Our Team Section */
.our-team {
    margin: 3rem auto;
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    max-width: 1200px;
}

.team-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    width: 100%;
    position: relative;
}

/* Team member cards */
.co-founder {
    position: relative;
    width: 240px;
    height: 270px;
    margin: 15px;
    cursor: pointer;
    opacity: 0;
    animation: fadeInStaggered 0.8s forwards;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 15px rgba(3, 145, 211, 0.3));
    transition: filter 0.5s ease, transform 0.5s ease;
}

.co-founder:nth-child(1) { animation-delay: 0.1s; }
.co-founder:nth-child(2) { animation-delay: 0.3s; }
.co-founder:nth-child(3) { animation-delay: 0.5s; }
.co-founder:nth-child(4) { animation-delay: 0.7s; }
.co-founder:nth-child(5) { animation-delay: 0.9s; }
.co-founder:nth-child(6) { animation-delay: 1.1s; }

@media (max-width: 1024px) {
    .team-container {
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .co-founder {
        width: 220px;
        height: 250px;
        margin: 10px;
    }
}

@media (max-width: 700px) {
    .our-team {
        height: 1000px;
        margin: 1rem auto;
        margin-bottom: 25rem;
        padding: 1rem 0;
    }
    
    .team-container {
        position: relative;
        height: 100%;
        width: 100%;
        display: block;
    }
    
    .co-founder {
        position: absolute;
        width: 200px;
        height: 230px;
        margin: 0;
        transform-origin: center;
        transition: all 0.3s ease;
    }
    
    .co-founder:nth-child(1) {
        top: 5%;
        left: calc(50% - 65px);
    }
    
    .co-founder:nth-child(2) {
        top: 27%;
        left: calc(50% - 190px);
    }
    
    .co-founder:nth-child(3) {
        top: 49%;
        left: calc(50% - 65px);
    }
    
    .co-founder:nth-child(4) {
        top: 71%;
        left: calc(50% - 190px);
    }

    .co-founder:nth-child(5) {
        top: 93%;
        left: calc(50% - 65px);
    }

    .co-founder:nth-child(6) {
        top: 115%;
        left: calc(50% - 190px)
    }
}

@media (max-width: 480px) {
    .our-team {
        height: 1000px;
    }
    
    .co-founder {
        width: 180px;
        height: 210px;
    }
    
    .co-founder:nth-child(1) {
        top: 5%;
        left: calc(50% - 60px);
    }
    
    .co-founder:nth-child(2) {
        top: 27%;
        left: calc(50% - 185px);
    }
    
    .co-founder:nth-child(3) {
        top: 49%;
        left: calc(50% - 60px);
    }
    
    .co-founder:nth-child(4) {
        top: 71%;
        left: calc(50% - 185px);
    }
}

@media (max-width: 380px) {
    .our-team {
        height: 1000px;
        margin-bottom: 35rem;
    }
    
    .co-founder {
        width: 160px;
        height: 190px;
    }
    
    .co-founder:nth-child(1) {
        top: 5%;
        left: calc(50% - 80px);
    }
    
    .co-founder:nth-child(2) {
        top: 30%;
        left: calc(50% - 150px);
    }
    
    .co-founder:nth-child(3) {
        top: 55%;
        left: calc(50% - 80px);
    }
    
    .co-founder:nth-child(4) {
        top: 80%;
        left: calc(50% - 150px);
    }

    .co-founder:nth-child(5) {
        top: 105%;
        left: calc(50% - 80px);
    }

    .co-founder:nth-child(6) {
        top: 130%;
        left: calc(50% - 150px)
    }
    
    .co-founder-overlay p {
        font-size: 1rem;
    }
    
    .co-founder-overlay h3 {
        font-size: 0.7rem;
    }
}

.co-founder:nth-child(1) { animation-delay: 0.1s; }
.co-founder:nth-child(2) { animation-delay: 0.3s; }
.co-founder:nth-child(3) { animation-delay: 0.5s; }
.co-founder:nth-child(4) { animation-delay: 0.7s; }

.co-founder:hover {
    filter: drop-shadow(0 0 25px rgba(3, 145, 211, 0.7));
}

.co-founder-front,
.co-founder-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    overflow: hidden;
}

.co-founder-front {
    z-index: 2;
    opacity: 1;
}

.co-founder-back {
    z-index: 1;
    opacity: 0;
    background: linear-gradient(135deg, var(--neon-blue), var(--neon-teal));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.co-founder.flipped .co-founder-front {
    opacity: 0;
    z-index: 1;
}

.co-founder.flipped .co-founder-back {
    opacity: 1;
    z-index: 2;
}

.co-founder-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.co-founder-front:hover .co-founder-img {
    transform: scale(1.05);
}

.co-founder-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 25px 15px;
    /*transform: translateY(100%);*/
    transition: transform 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.co-founder-front:hover .co-founder-overlay {
    transform: translateY(0);
}

.co-founder-overlay p {
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin: 100px 0 5px;
}

.co-founder-overlay h3 {
    text-align: center;
    font-size: 1rem;
    color: white;
    margin: 0;
}

.co-founder-back h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.co-founder-back p {
    color: white;
    font-size: 0.9rem;
    margin: 5px 0;
    text-align: center;
}

.co-founder-back hr {
    width: 100%;
}

.co-founder-back .social-icons {
    margin-top: 15px;
}

.co-founder-back .social-icons a {
    color: white;
    font-size: 1.5rem;
    margin: 0 8px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.co-founder-back .social-icons a:hover {
    transform: scale(1.2);
    color: #00ffff;
}

.co-founder:hover {
    opacity: 1;
}

/* Certification Section */
.certifications {
    margin-top: 30px;
    padding: 5rem 1rem;
    min-height: auto;
    position: relative;
}

.certifications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(3, 145, 211, 0.05), transparent 70%);
    z-index: -1;
}

.certifications h2 {
    text-align: center;
    font-size: 2.5rem;
    text-transform: uppercase;
    margin-bottom: 3rem;
    color: var(--neon-teal);
    text-shadow: 0 0 30px var(--neon-teal);
    animation: glow 2s ease-in-out infinite alternate;
}

.certification-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.certification-description {
    padding: 2rem;
    text-align: center;
    background: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 255, 221, 0.1);
    border: 1px solid rgba(0, 255, 221, 0.2);
    backdrop-filter: blur(5px);
    transform: translateY(20px);
    opacity: 0;
    animation: fadeIn 1s forwards 0.5s;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.certification-description:hover {
    box-shadow: 0 8px 30px rgba(0, 255, 221, 0.2);
    transform: translateY(-5px) scale(1.01);
}

.certification-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: white;
}

.cert-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto;
}

.cert-img {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 1rem;
}

.cert-item {
    position: relative;
    width: 100px;
    height: 100px;
    cursor: pointer;
    transition: transform 0.5s ease;
    opacity: 0;
    animation: fadeInStaggeredCerts 0.8s forwards;
}

.cert-item:nth-child(1) { animation-delay: 0.1s; }
.cert-item:nth-child(2) { animation-delay: 0.2s; }
.cert-item:nth-child(3) { animation-delay: 0.3s; }
.cert-item:nth-child(4) { animation-delay: 0.4s; }
.cert-item:nth-child(5) { animation-delay: 0.5s; }
.cert-item:nth-child(6) { animation-delay: 0.6s; }
.cert-item:nth-child(7) { animation-delay: 0.7s; }
.cert-item:nth-child(8) { animation-delay: 0.8s; }

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

.cert-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: drop-shadow(0 0 5px rgba(0, 255, 221, 0.3));
}

.cert-item:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 255, 221, 0.7));
}

.cert-tooltip {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    white-space: nowrap;
    pointer-events: none;
    transition: transform 0.3s ease;
    z-index: 10;
    border: 1px solid var(--neon-teal);
}

.cert-item:hover .cert-tooltip {
    transform: translateX(-50%) scale(1);
}

/* Animations */
@keyframes glow {
    0% { text-shadow: 0 0 10px var(--neon-teal), 0 0 20px var(--neon-teal); }
    100% { text-shadow: 0 0 20px var(--neon-teal), 0 0 30px var(--neon-teal), 0 0 40px var(--neon-teal); }
}

@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInStaggered {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInStaggeredCerts {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

@media (min-width: 768px) {
    .about-description {
        padding: 3rem;
    }

    .certification-description {
        padding: 3rem;
    }

    .team-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .about-description {
        padding: 3rem 5rem;
        text-align: start;
    }

    .certification-description {
        padding: 3rem 5rem;
        text-align: start;
    }

    .co-founder {
        width: 240px;
        height: 270px;
        margin: 0 15px;
    }

    .cert-item {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 767px) {
    .about-us h2, .certifications h2 {
        font-size: 2rem;
    }

    .about-description {
        padding: 1.5rem;
    }

    .certification-description {
        padding: 1.5rem;
    }

    .co-founder {
        width: 240px;
        height: 270px;
        margin-bottom: 2rem;
    }

    .cert-item {
        width: 80px;
        height: 80px;
    }

    .cert-img {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .co-founder {
        width: 240px;
        height: 270px;
    }

    .co-founder-overlay p {
        font-size: 1.5rem;
    }

    .cert-item {
        width: 70px;
        height: 70px;
    }

    .cert-img {
        gap: 1rem;
    }
}

/* For touch devices */
@media (hover: none) {
    .co-founder-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    }

    .co-founder-overlay p {
        font-size: 1.5rem;
    }

    .co-founder-overlay h3 {
        font-size: 1rem;
    }

    .cert-tooltip {
        display: none;
    }
}