/* About Section Styles */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.about-vision-block, 
.about-approach-block, 
.about-impact-block {
    margin-bottom: 50px;
    padding: 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    background: rgba(10, 25, 47, 0.2);
    border: 1px solid transparent;
}

.about-vision-block:hover, 
.about-approach-block:hover, 
.about-impact-block:hover {
    background: rgba(10, 25, 47, 0.3);
    border: 1px solid rgba(58, 134, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.vision-header, 
.approach-header, 
.impact-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.vision-icon, 
.approach-icon, 
.impact-icon {
    color: var(--primary);
    font-size: 1.8rem;
    margin-right: 15px;
}

.about-subtitle {
    color: var(--primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    display: inline-block;
}

.about-subtitle::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    bottom: -10px;
    left: 0;
    transition: width 0.5s ease;
}

.vision-header:hover .about-subtitle::after,
.approach-header:hover .about-subtitle::after,
.impact-header:hover .about-subtitle::after {
    width: 100%;
}

.about-vision-block p,
.about-approach-block p,
.about-impact-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--gray-light);
    margin-top: 20px;
    margin-bottom: 30px;
}

.about-visual-block {
    grid-column: 2;
    grid-row: 1 / span 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tech-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.tech-sphere {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(58, 134, 255, 0.6);
    animation: pulse-sphere 5s infinite alternate;
}

@keyframes pulse-sphere {
    0% {
        box-shadow: 0 0 30px rgba(58, 134, 255, 0.6);
        transform: translate(-50%, -50%) scale(0.95);
    }
    100% {
        box-shadow: 0 0 50px rgba(58, 134, 255, 0.8);
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.tech-ring {
    position: absolute;
    width: 220px;
    height: 220px;
    border: 2px solid rgba(58, 134, 255, 0.3);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate-ring 20s linear infinite;
}

@keyframes rotate-ring {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.tech-dot {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary);
}

.d1 {
    top: 30px;
    left: 140px;
    animation: pulse-dot 3s infinite alternate;
    animation-delay: 0s;
}

.d2 {
    top: 80px;
    right: 60px;
    animation: pulse-dot 3s infinite alternate;
    animation-delay: 0.5s;
}

.d3 {
    bottom: 60px;
    right: 80px;
    animation: pulse-dot 3s infinite alternate;
    animation-delay: 1s;
}

.d4 {
    bottom: 30px;
    left: 140px;
    animation: pulse-dot 3s infinite alternate;
    animation-delay: 1.5s;
}

.d5 {
    top: 140px;
    left: 60px;
    animation: pulse-dot 3s infinite alternate;
    animation-delay: 2s;
}

@keyframes pulse-dot {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.5);
        opacity: 1;
    }
}

.tech-orbit {
    position: absolute;
    border: 1px dashed rgba(131, 56, 236, 0.5);
    border-radius: 50%;
    top: 50%;
    left: 50%;
}

.o1 {
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%) rotate(30deg);
}

.o2 {
    width: 240px;
    height: 100px;
    transform: translate(-50%, -50%) rotate(60deg);
    border-color: rgba(255, 0, 110, 0.5);
}

/* Impact Animation Section */
.about-stats-block {
    grid-column: 1 / span 2;
    margin-top: 20px;
}

.impact-animation {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    padding: 50px 30px;
    background: rgba(10, 25, 47, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(58, 134, 255, 0.2);
    margin-top: 20px;
}

.impact-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.impact-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(58, 134, 255, 0.3);
}

.impact-icon {
    font-size: 3rem;
    color: var(--light);
}

.impact-ripple {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid rgba(58, 134, 255, 0.5);
    animation: ripple 4s infinite ease-out;
}

/* Add a second ripple effect for each container */
.impact-container:nth-child(1) .impact-circle::after,
.impact-container:nth-child(2) .impact-circle::after,
.impact-container:nth-child(3) .impact-circle::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border-radius: 50%;
    border: 1px solid rgba(58, 134, 255, 0.3);
    animation: ripple 4s infinite ease-out;
    animation-delay: 1s;
}

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

.impact-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    text-align: center;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.impact-container:hover .impact-circle {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(58, 134, 255, 0.4);
}

/* Icon Animation */
.impact-icon i,
.vision-icon,
.approach-icon,
.impact-icon {
    transition: all 0.5s ease;
}

.impact-container:hover .impact-icon i,
.about-vision-block:hover .vision-icon,
.about-approach-block:hover .approach-icon,
.about-impact-block:hover .impact-icon {
    transform: scale(1.2) rotate(10deg);
    color: #ffffff;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-visual-block {
        grid-column: 1;
        grid-row: auto;
        margin: 20px 0;
    }
    
    .impact-animation {
        flex-direction: column;
        align-items: center;
    }
    
    .impact-container {
        margin-bottom: 40px;
    }
    
    .impact-container:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .about-subtitle {
        font-size: 1.6rem;
    }
    
    .tech-animation {
        width: 250px;
        height: 250px;
    }
}
