/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Global Styles */
:root {
    --primary-gradient: linear-gradient(45deg, #ff5733, #ff8c42);
    --primary-color: #ff5733;
    --secondary-color: #ff8c42;
    --accent-color: #ffcc29;
    --dark-color: #333;
    --light-color: #f8f8f8;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
    transition: background 0.3s ease-in-out;
}

/* Header Styles with Animation */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--primary-gradient);
    padding: 15px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-speed) ease-in-out;
}

.logo {
    text-align: center;
}

.logo img {
    width: 120px;
    transition: transform 0.4s ease-in-out;
}

.logo img:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    position: relative;
}

nav ul li a::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: white;
    transform: scaleX(0);
    transition: transform 0.3s ease-in-out;
}

nav ul li a:hover::after {
    transform: scaleX(1);
}

/* About Section Styles with Animations */
.about {
    max-width: 1200px;
    margin: 120px auto 3rem;
    padding: 0 2rem;
    opacity: 0;
    animation: fadeInUp 1.5s ease-in-out forwards;
}

.about h2 {
    text-align: center;
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 2rem;
    position: relative;
    animation: fadeIn 1.5s ease-in-out;
}

.about h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-gradient);
    margin: 1rem auto;
    border-radius: 3px;
    animation: expandWidth 0.8s ease forwards;
}

.about-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 40px;
    transition: transform var(--transition-speed) ease, 
                box-shadow var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.about-content:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 18px;
    color: var(--dark-color);
    opacity: 0;
    animation: slideIn 1.8s ease-in-out forwards;
}

.about-text h3 {
    color: var(--dark-color);
    font-size: 28px;
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    opacity: 0;
    animation: slideIn 1.5s ease-in-out forwards;
}

.about-text ul {
    list-style: none;
    margin: 1rem 0 2rem;
}

.about-text ul li {
    margin: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease-in-out forwards;
    animation-delay: calc(0.2s * var(--li-index, 1));
}

.about-text ul li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -0.2rem;
}

.about-text ul li:hover {
    transform: translateX(10px);
    color: var(--primary-color);
    transition: all var(--transition-speed) ease-in-out;
}

/* Footer Styles */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 30px;
    transition: background 0.3s ease-in-out;
}

footer:hover {
    background: #333;
}

/* Keyframe Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 60px; }
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
    }

    nav ul li {
        margin: 0.5rem 0;
    }

    .about {
        margin-top: 180px;
    }

    .about h2 {
        font-size: 32px;
    }

    .about-text h3 {
        font-size: 24px;
    }

    .about-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 0 1rem;
    }

    .about-content {
        padding: 15px;
    }

    .about-text p {
        font-size: 16px;
    }
}
