:root {
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --primary-text: #2d3436;
    --accent-yellow: #f9ca24;
    --accent-blue: #22a6b3;
    --accent-pink: #ff7979;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-gradient);
    color: var(--primary-text);
    overflow-x: hidden;
}

/* --- Animated Blobs --- */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: floatBlob 10s infinite ease-in-out;
}
.blob-1 { top: -10%; left: -10%; width: 500px; height: 500px; background: #ffeaa7; }
.blob-2 { bottom: 10%; right: -10%; width: 400px; height: 400px; background: #74b9ff; animation-delay: 2s; }

@keyframes floatBlob {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 50px); }
}

/* --- Header --- */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.avatar-circle {
    width: 40px; height: 40px; background: var(--accent-pink);
    border-radius: 50%; color: white; display: flex; align-items: center; justify-content: center;
}
nav a { text-decoration: none; color: var(--primary-text); margin-right: 20px; font-weight: 600; }
.btn-main {
    padding: 0.5rem 1.5rem; border: none; border-radius: 20px;
    background: var(--primary-text); color: white; cursor: pointer; transition: 0.3s;
}
.btn-main:hover { transform: scale(1.05); }

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    padding-top: 80px;
}

.hero-text { max-width: 50%; }
.hero-text h1 { font-family: 'Fredoka One', cursive; font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; }
.highlight { color: var(--accent-pink); }
.hero-text p { font-size: 1.2rem; margin-bottom: 30px; color: #636e72; }
.btn-cta {
    padding: 1rem 2rem; font-size: 1.1rem; border: none; border-radius: 30px;
    background: linear-gradient(45deg, var(--accent-blue), #686de0);
    color: white; cursor: pointer; box-shadow: 0 5px 15px rgba(34, 166, 179, 0.4);
    transition: 0.3s;
}
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(34, 166, 179, 0.6); }

.hero-image img { width: 100%; max-width: 500px; }

/* Animation Classes */
.float-animation { animation: floatImage 6s ease-in-out infinite; }
@keyframes floatImage {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.fade-in-up { animation: fadeInUp 1s ease-out forwards; opacity: 0; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Cards Section --- */
.cards-section {
    display: flex; justify-content: center; gap: 30px; padding: 50px 5%;
    margin-bottom: 100px; flex-wrap: wrap;
}

.card {
    background: white; width: 300px; padding: 2rem; border-radius: 30px;
    text-align: center; cursor: pointer; transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); position: relative; overflow: hidden;
}

.card:hover { transform: translateY(-15px) scale(1.02); }

.card h3 { font-family: 'Fredoka One'; margin-bottom: 15px; font-size: 1.5rem; }
.card-icon { width: 120px; height: 120px; object-fit: contain; margin-bottom: 20px; }
.card p { color: #636e72; font-size: 0.95rem; margin-bottom: 20px; }

/* Card specific accents */
.card-yellow { border-bottom: 8px solid var(--accent-yellow); }
.card-blue { border-bottom: 8px solid var(--accent-blue); }
.card-pink { border-bottom: 8px solid var(--accent-pink); }

.card-action {
    font-weight: 800; font-size: 0.9rem; text-transform: uppercase; opacity: 0; transform: translateY(20px); transition: 0.3s;
}
.card:hover .card-action { opacity: 1; transform: translateY(0); }
.card-yellow .card-action { color: var(--accent-yellow); }
.card-blue .card-action { color: var(--accent-blue); }
.card-pink .card-action { color: var(--accent-pink); }

/* --- Modals --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center;
    z-index: 1000; opacity: 0; pointer-events: none; transition: 0.3s; backdrop-filter: blur(5px);
}

.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-content {
    background: white; padding: 3rem; border-radius: 20px; max-width: 500px; width: 90%;
    position: relative; transform: scale(0.8); transition: 0.3s; text-align: center;
}

.modal-overlay.active .modal-content { transform: scale(1); }

.close-btn {
    position: absolute; top: 15px; right: 20px; font-size: 2rem;
    background: none; border: none; cursor: pointer; color: #aaa;
}

.tech-tags span {
    display: inline-block; padding: 5px 15px; background: #eee;
    border-radius: 15px; margin: 5px; font-size: 0.8rem; font-weight: bold;
}

.gallery-placeholder { display: flex; gap: 10px; margin-top: 20px; justify-content: center; }
.gallery-box { width: 60px; height: 60px; border-radius: 10px; }

/* --- Footer --- */
footer { text-align: center; padding: 2rem; color: #636e72; font-size: 0.9rem; }
.social-links { margin-top: 10px; }
.social-links a { margin: 0 10px; color: var(--primary-text); font-weight: bold; text-decoration: none; }
:root {
    --bg-gradient: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    --primary-text: #2d3436;
    --accent-yellow: #f9ca24;
    --accent-blue: #22a6b3;
    --accent-pink: #ff7979;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
}

/* (Previous Global Styles, Blobs, Header, Hero, and Card Styles remain here) */

/* --- NEW: Content Sections General Styles --- */
.content-section {
    padding: 80px 10%;
    margin: 50px 0;
    background-color: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: var(--accent-blue);
}

/* --- NEW: About Section Styles --- */
.about-section {
    background: linear-gradient(135deg, #ffffff 0%, #fefefe 100%);
}

.about-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.about-text {
    flex: 2;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #555;
}

.about-text strong {
    color: var(--accent-pink);
    font-weight: 800;
}

.about-photo {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-photo img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* --- NEW: Contact Section Styles --- */
.contact-section {
    background-color: #f7f7f7;
    text-align: center;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--accent-pink);
    margin-bottom: 15px;
}

.contact-card p {
    color: #777;
    margin-bottom: 15px;
    min-height: 40px; /* Ensures cards are roughly same height */
}

.contact-link {
    display: block;
    font-weight: 700;
    color: var(--accent-blue);
    transition: color 0.3s;
    text-decoration: underline;
}

.contact-link:hover {
    color: var(--accent-pink);
}

.cta-note {
    font-style: italic;
    color: #666;
    margin-top: 20px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 800px) {
    .about-grid {
        flex-direction: column;
    }
    .about-photo {
        order: -1; /* Move photo above text on mobile */
        margin-bottom: 30px;
    }
}

html {
    /* Enables smooth scrolling animation when jumping between anchor links */
    scroll-behavior: smooth; 
}