/* About Section Enhanced Styles */
.about-a {
    padding: 120px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    color: #fff;
    z-index: 1;
}

/* Energy Icons Container */
.energy-icons-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.energy-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.energy-icon-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.energy-icon-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #f39c12;
}

.energy-icon-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Target Icon */
.target-icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.target-card:hover .target-icon {
    opacity: 0.8;
    transform: scale(1.2) rotate(15deg);
    color: #f39c12;
}

/* Background Elements */
.about-a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s infinite linear;
    opacity: 0.5;
}

/* Floating Particles */
.about-a .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.about-a .particle {
    position: absolute;
    display: block;
    pointer-events: none;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 50%;
    }
    100% {
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }
}

/* Enhanced Content Layout */
.about-a .container {
    position: relative;
    z-index: 2;
}

.about-a .section-header {
    margin-bottom: 60px;
    position: relative;
}

.about-a .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.about-a .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #f39c12, #2c5aa0);
    border-radius: 2px;
}

.about-a .section-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

/* Enhanced Cards */
.about-a .about-content {
    display: grid;
    gap: 50px;
    position: relative;
}

.about-a .main-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s, box-shadow 0.5s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-a .main-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.about-a .main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(44, 90, 160, 0.2), rgba(243, 156, 18, 0.2));
    opacity: 0;
    transition: opacity 0.5s;
}

.about-a .main-card:hover::before {
    opacity: 1;
}

.about-a .card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #2c5aa0, #f39c12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: white;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-a .main-card:hover .card-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.about-a .card-icon::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 120%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.about-a .main-card h3 {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.about-a .main-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

/* Enhanced Target Cards */
.about-a .targets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-a .target-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 5px solid #f39c12;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-a .target-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-left-width: 10px;
}

.about-a .target-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s;
}

.about-a .target-card:hover::before {
    left: 100%;
}

.about-a .target-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    top: 10px;
    right: 20px;
    transition: all 0.3s;
}

.about-a .target-card:hover .target-number {
    color: rgba(255, 255, 255, 0.4);
    transform: scale(1.2);
}

.about-a .target-card h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
}

.about-a .target-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    position: relative;
}

/* Animation for elements */
.about-a .animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-a .animate-in {
    opacity: 1;
    transform: translateY(0);
}

.about-a .section-header.animate-in {
    transition-delay: 0.2s;
}

.about-a .main-card.animate-in {
    transition-delay: 0.4s;
}

.about-a .target-card:nth-child(1).animate-in {
    transition-delay: 0.6s;
}

.about-a .target-card:nth-child(2).animate-in {
    transition-delay: 0.8s;
}

.about-a .target-card:nth-child(3).animate-in {
    transition-delay: 1s;
}

/* Glowing effect for energy icons */
.energy-icon-item i {
    position: relative;
}

.energy-icon-item i::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.8) 0%, rgba(243, 156, 18, 0) 70%);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
    transition: all 0.5s ease;
}

.energy-icon-item:hover i::after {
    width: 60px;
    height: 60px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .about-a {
        padding: 80px 0;
    }
    
    .about-a .section-title {
        font-size: 2.5rem;
    }
    
    .about-a .main-card {
        padding: 30px;
    }
    
    .energy-icons-container {
        gap: 15px;
    }
    
    .energy-icon-item {
        padding: 10px;
    }
}

@media (max-width: 768px) {
    .about-a .targets-grid {
        grid-template-columns: 1fr;
    }
    
    .about-a .section-title {
        font-size: 2rem;
    }
    
    .about-a .card-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .energy-icons-container {
        flex-wrap: wrap;
        justify-content: space-around;
    }
}

/* Illustration Containers */
.about-a .illustration-container {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.about-a .illustration-sdg-logo {
    top: -50px;
    right: -100px;
    width: 200px;
    height: 200px;
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="%23f39c12" stroke="%23fff" stroke-width="2"/><text x="50" y="55" font-family="Arial" font-size="12" text-anchor="middle" fill="%23fff">SDG 7</text><path d="M30,40 L70,40 L70,60 L30,60 Z" fill="none" stroke="%23fff" stroke-width="2"/><circle cx="50" cy="50" r="5" fill="%23fff"/><path d="M50,30 L50,40 M50,60 L50,70 M30,50 L40,50 M60,50 L70,50" stroke="%23fff" stroke-width="2"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.about-a .illustration-energy {
    bottom: -50px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="45" fill="%232c5aa0" stroke="%23fff" stroke-width="1" opacity="0.6"/><path d="M50,20 L30,60 L50,60 L50,80 L70,40 L50,40 Z" fill="%23f39c12" stroke="%23fff" stroke-width="1"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23fff" stroke-width="1" opacity="0.3"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23fff" stroke-width="1" opacity="0.2"/><circle cx="50" cy="50" r="40" fill="none" stroke="%23fff" stroke-width="1" opacity="0.1"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

/* Prevent downloading or opening */
.about-a .illustration-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: transparent;
    pointer-events: none;
}

.about-a .illustration-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 50%, rgba(102, 126, 234, 0.5) 100%);
    z-index: 2;
    animation: pulse-illustration 4s infinite alternate;
    pointer-events: none;
}

/* Additional protection */
.about-a .illustration-container {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
}

/* Enhance visual appearance */
.about-a .illustration-sdg-logo {
    opacity: 0.4;
    animation: float-logo 15s infinite ease-in-out;
}

.about-a .illustration-energy {
    opacity: 0.4;
    animation: float-energy 18s infinite ease-in-out;
}

@keyframes float-logo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(3deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-3deg);
    }
}

@keyframes float-energy {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(15px) rotate(-2deg);
    }
    66% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes pulse-illustration {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* Decorative Elements */
.about-a .decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(44, 90, 160, 0.3), rgba(243, 156, 18, 0.3));
    filter: blur(40px);
    z-index: 0;
}

.about-a .circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
}

.about-a .circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    right: -100px;
}