:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --text-color: #ecf0f1;
    --background-dark: #1a1a1a;
    --neon-glow: 0 0 10px rgba(52, 152, 219, 0.8),
                 0 0 20px rgba(52, 152, 219, 0.6),
                 0 0 30px rgba(52, 152, 219, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-dark);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
}

.rain-theme {
    background: linear-gradient(to bottom, #1a1a1a, #2c3e50);
    min-height: 100vh;
}

#rain-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cloud-divider {
    height: 2px;
    background: linear-gradient(to right, 
        transparent,
        var(--secondary-color),
        transparent
    );
    margin: 20px auto;
    width: 200px;
    position: relative;
}

.cloud-divider::before,
.cloud-divider::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--secondary-color);
    border-radius: 50%;
    top: -9px;
}

.cloud-divider::before {
    left: 50%;
    transform: translateX(-50%);
}

.story-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    padding: 2rem;
    animation: fadeIn 2s ease-in;
}

.neon-text {
    color: var(--text-color);
    text-shadow: var(--neon-glow);
    animation: flicker 3s infinite alternate;
}

.name {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 1rem 0;
    letter-spacing: 0.2em;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    background: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.cta-button .lightning {
    margin-left: 10px;
    animation: spark 1s infinite;
}

/* Roots Section */
.roots-section {
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.9), rgba(26, 26, 26, 0.9));
}

.education-timeline {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.timeline-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(52, 152, 219, 0.2),
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.timeline-item:hover::before {
    opacity: 1;
}

.timeline-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.timeline-content h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

/* Skills Section */
.skills-section {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(44, 62, 80, 0.9));
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
}

.skill-category h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 15px;
}

.skill-item {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.skill-item:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
}

.skill-item i {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.skill-item:hover i {
    color: var(--text-color);
}

.skill-item span {
    display: block;
    font-size: 0.9rem;
}

/* Theme Controls */
.theme-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--secondary-color);
    color: var(--text-color);
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.control-btn:hover {
    background: var(--secondary-color);
    box-shadow: var(--neon-glow);
    transform: translateY(-2px);
}

.control-btn i {
    font-size: 1.1rem;
}

/* Animations */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: var(--neon-glow);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

@keyframes spark {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

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

/* Experience Section */
.experience-section {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(44, 62, 80, 0.9));
}

.experience-timeline {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.experience-timeline .timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.experience-timeline .timeline-item:hover {
    transform: translateX(10px);
    box-shadow: var(--neon-glow);
}

.timeline-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.timeline-description {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
}

/* Projects Section */
.projects-section {
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.9), rgba(26, 26, 26, 0.9));
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--neon-glow);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent,
        rgba(52, 152, 219, 0.1),
        transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.project-card:hover::after {
    transform: translateX(100%);
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-content {
    padding: 20px;
}

.project-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.project-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.project-tech span {
    background: rgba(52, 152, 219, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, rgba(26, 26, 26, 0.9), rgba(44, 62, 80, 0.9));
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
    overflow: hidden;
}

.form-group::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
        transparent,
        var(--secondary-color),
        transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group:focus-within::after {
    transform: scaleX(1);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--secondary-color);
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--text-color);
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--accent-color);
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:valid + label,
.form-group textarea:valid + label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.ripple {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--secondary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.form-group input:focus ~ .ripple,
.form-group textarea:focus ~ .ripple {
    transform: scaleX(1);
}

.submit-btn {
    background: var(--secondary-color);
    color: var(--text-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--neon-glow);
}

/* Footer */
.footer {
    background: var(--background-dark);
    padding: 40px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-link {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        var(--secondary-color),
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-link:hover::before {
    opacity: 0.2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .story-text {
        font-size: 1rem;
    }

    .education-timeline {
        flex-direction: column;
        align-items: center;
    }

    .timeline-item {
        width: 100%;
        max-width: 300px;
    }

    .skills-container {
        grid-template-columns: 1fr;
    }

    .experience-timeline .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 20px;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Fade Animations */
.fade-out {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* Form Focus States */
.form-group.focused label {
    top: -20px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.form-group.focused .ripple {
    transform: scaleX(1);
}

/* Scroll Effects */
.parallax {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
}

.scroll-rain {
    position: fixed;
    pointer-events: none;
    z-index: 1000;
    filter: blur(0.5px);
}

@keyframes scrollThunder {
    0% { opacity: 0; }
    5% { opacity: 0.4; }
    10% { opacity: 0; }
    15% { opacity: 0.2; }
    20% { opacity: 0; }
    100% { opacity: 0; }
}

/* Enhanced Section Transitions */
section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
        rgba(52, 152, 219, 0.05),
        transparent 50%,
        rgba(52, 152, 219, 0.05));
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

section:hover::before {
    opacity: 0.5;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right,
        var(--secondary-color),
        var(--accent-color));
    transform-origin: 0 50%;
    transform: scaleX(0);
    z-index: 1001;
    transition: transform 0.1s ease-out;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

/* Enhanced Social Links */
.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        var(--secondary-color),
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-link:hover::before {
    opacity: 0.15;
}

/* Domain List Styles */
.domain-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.domain-link {
    display: block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    border: 1px solid rgba(52, 152, 219, 0.1);
    backdrop-filter: blur(5px);
}

/* Raindrop effect on hover */
.domain-link::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        transparent,
        rgba(52, 152, 219, 0.1),
        transparent);
    transform: translateY(-100%);
    transition: transform 0.6s ease;
    pointer-events: none;
}

.domain-link:hover::before {
    transform: translateY(100%);
}

/* Water ripple effect */
.domain-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(52, 152, 219, 0.3);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%);
    transform-origin: 50% 50%;
}

.domain-link:hover::after {
    animation: ripple 1s ease-out;
}

/* Lightning effect on hover */
.domain-link:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.3),
                0 0 30px rgba(52, 152, 219, 0.2),
                0 0 45px rgba(52, 152, 219, 0.1);
    border-color: var(--secondary-color);
    animation: lightning 0.5s ease-out;
}

/* External link arrow with rain effect */
.domain-link .external-link {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.domain-link:hover .external-link {
    opacity: 1;
    right: 10px;
    animation: rainDrop 0.5s ease-out;
}

/* Raindrop animation */
@keyframes rainDrop {
    0% {
        transform: translateY(-10px) translateX(0);
        opacity: 0;
    }
    50% {
        transform: translateY(0) translateX(5px);
        opacity: 1;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 1;
    }
}

/* Ripple animation */
@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

/* Lightning flash animation */
@keyframes lightning {
    0% {
        background: rgba(255, 255, 255, 0.1);
    }
    5% {
        background: rgba(255, 255, 255, 0.2);
    }
    10% {
        background: rgba(255, 255, 255, 0.1);
    }
    15% {
        background: rgba(255, 255, 255, 0.15);
    }
    20% {
        background: rgba(255, 255, 255, 0.1);
    }
    100% {
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Cloud hover effect */
.domain-link .cloud-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(52, 152, 219, 0.1),
        transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.domain-link:hover .cloud-effect {
    opacity: 1;
    animation: cloudFloat 2s ease-in-out infinite;
}

@keyframes cloudFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Responsive adjustments for domain list */
@media (max-width: 768px) {
    .domain-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
        padding: 15px;
    }

    .domain-link {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .domain-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 1px;
    }

    .domain-link {
        padding: 10px;
        font-size: 0.85rem;
    }
}

/* Freelancing Section Styles */
.freelancing-section {
    background: linear-gradient(to bottom, rgba(44, 62, 80, 0.9), rgba(26, 26, 26, 0.9));
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.freelancing-section::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"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat;
    opacity: 0.1;
    animation: rainBackground 20s linear infinite;
}

.freelancing-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.quote {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.quote::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 30px;
    font-size: 6rem;
    color: var(--secondary-color);
    opacity: 0.15;
    font-family: serif;
}

.quote:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
}

.freelancing-story {
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    position: relative;
    text-align: center;
}

.freelancing-story p {
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-size: 1.2rem;
}

.freelancing-story p:last-child {
    margin-bottom: 0;
}

.highlight {
    font-size: 2.2rem !important;
    color: var(--secondary-color);
    text-align: center;
    margin: 3.5rem 0;
    padding: 2rem;
    position: relative;
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.6);
    font-weight: 300;
    letter-spacing: 1.5px;
    font-style: italic;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(52, 152, 219, 0.1);
    transition: all 0.4s ease;
}

.highlight:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(52, 152, 219, 0.2);
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.05);
}

.highlight::before,
.highlight::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(to right,
        transparent,
        var(--secondary-color),
        transparent);
    opacity: 0.7;
}

.highlight::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.highlight::after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Add decorative elements */
.highlight::before {
    content: '☔';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

.highlight::after {
    content: '⚡';
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite reverse;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .highlight {
        font-size: 1.8rem !important;
        padding: 1.5rem;
        margin: 3rem 0;
    }
}

@media (max-width: 480px) {
    .highlight {
        font-size: 1.5rem !important;
        padding: 1.2rem;
        margin: 2.5rem 0;
        letter-spacing: 1px;
    }
}

@keyframes rainBackground {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 1000px;
    }
}

/* Enhanced raindrop animations */
.freelancing-story::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg,
        transparent,
        rgba(52, 152, 219, 0.05),
        transparent);
    animation: rainDrop 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rainDrop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Responsive styles for freelancing section */
@media (max-width: 768px) {
    .quote {
        font-size: 1.6rem;
        padding: 2rem;
    }

    .freelancing-story {
        padding: 2rem;
    }

    .freelancing-story p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .quote {
        font-size: 1.3rem;
        padding: 1.5rem;
    }

    .freelancing-story {
        padding: 1.5rem;
    }

    .freelancing-story p {
        font-size: 1rem;
    }
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    left: 20px;
    bottom: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float::before {
    content: "Hi! I have a query";
    position: absolute;
    right: -220px;
    background: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    pointer-events: none;
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

.whatsapp-float:hover {
    transform: scale(1.2);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.6);
    animation: none;
}

.whatsapp-float .whatsapp-number {
    position: absolute;
    left: 70px;
    background: white;
    color: #25d366;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.whatsapp-float:hover .whatsapp-number {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive styles for WhatsApp float */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }

    .whatsapp-float::before {
        right: -180px;
        font-size: 12px;
        padding: 8px 12px;
    }

    .whatsapp-float .whatsapp-number {
        font-size: 12px;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 45px;
        height: 45px;
        font-size: 22px;
        left: 15px;
        bottom: 15px;
    }

    .whatsapp-float::before {
        right: -150px;
        font-size: 11px;
        padding: 6px 10px;
    }

    .whatsapp-float .whatsapp-number {
        font-size: 11px;
        padding: 5px 10px;
    }
}

/* Rain Animation */
.raindrop {
    position: absolute;
    top: -20px;
    width: 1px;
    height: 15px;
    background: linear-gradient(transparent, rgba(255, 255, 255, 0.3));
    border-radius: 50%;
    filter: blur(0.5px);
    animation: rain 3s linear infinite; /* Slower animation */
}

@keyframes rain {
    0% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(100vh);
    }
} 
@media (max-width: 576px) {
    .experience-timeline {
       justify-content: center;
      align-items: center;
    }
    
   }

.form-message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background-color: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    border: 1px solid #2ed573;
}

.form-message.error {
    display: block;
    background-color: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid #ff4757;
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}