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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #14a800;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: #14a800;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #14a800 0%, #0d7f00 100%);
    color: white;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-text h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    margin-top: 0;
}

.hero-text p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    text-align: justify;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-image-container {
    position: relative;
    animation: fadeInUp 1s ease 0.6s both;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 20px;
    height: fit-content;
}

/* Modern Circular Profile Design with Rotating Neon Glow */
.profile-img {
    width: clamp(200px, 25vw, 280px);
    height: clamp(200px, 25vw, 280px);
    position: relative;
    margin-bottom: 2rem;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Rotating Neon Glow Ring - Outside the image boundary */
.profile-img::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        transparent 60deg,
        #14a800 90deg,
        #0d7f00 120deg,
        #14a800 150deg,
        transparent 180deg,
        transparent 240deg,
        #14a800 270deg,
        #0d7f00 300deg,
        #14a800 330deg,
        transparent 360deg
    );
    z-index: -1;
    animation: rotateGlow 3s linear infinite;
    filter: blur(8px);
}

/* Additional outer glow for fireball effect */
.profile-img::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(20, 168, 0, 0.3) 0%,
        rgba(20, 168, 0, 0.1) 40%,
        transparent 70%
    );
    z-index: -2;
    animation: pulse 2s ease-in-out infinite alternate;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.profile-img:hover img {
    transform: scale(1.05);
}

/* Profile Info Section */
.profile-info {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.profile-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.profile-info h1 {
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
}

.profile-info .subtitle {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #f0f0f0;
    margin-bottom: 1rem;
    line-height: 1.4;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Data Analyst Specific Styling */
.data-metrics {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.8rem;
    color: #f0f0f0;
    text-align: center;
    line-height: 1.2;
}

.cta-button {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 1s ease 0.8s both;
    margin-top: 1rem;
    align-self: flex-start;
}

.cta-button:hover {
    background: white;
    color: #14a800;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

/* Keyframes for rotating glow */
@keyframes rotateGlow {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

/* Keyframes for pulsing outer glow */
@keyframes pulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-image-container {
        order: -1;
        position: static;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text p {
        text-align: left;
    }

    .hero {
        padding: 40px 0;
    }

    .profile-info {
        min-height: auto;
        padding: 1rem;
    }

    .data-metrics {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-content {
        gap: 1.5rem;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .profile-info h1 {
        font-size: 1.5rem;
    }

    .profile-info .subtitle {
        font-size: 0.9rem;
    }
}

/* Background Pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="70" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="90" cy="80" r="2.5" fill="rgba(255,255,255,0.04)"/></svg>');
    border-radius: 20px;
    pointer-events: none;
}

/* Stats Section */
.stats {
    background: white;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    margin-top: 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #14a800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #666;
}

/* Skills Section */
.skills {
    background: #f8f9fa;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border-left: 4px solid #14a800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.skill-category h3 {
    color: #14a800;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category h3 i {
    font-size: 1.5rem;
}

.skill-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tag {
    background: #14a800;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(20, 168, 0, 0.3);
}

/* Projects Section */
.projects {
    background: white;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.project-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(45deg, #0b5e00, #0d7f00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    overflow: hidden;
    border-radius: 10px;
    padding: 1px;
    margin: auto;
}

.project-image img {
    width: 99%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
}

.project-content {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: #e9ecef;
    color: #495057;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-outcome {
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    border-left: 4px solid #14a800;
}

/* Testimonials */
.testimonials {
    background: #f8f9fa;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(45deg, #14a800, #0d7f00);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: bold;
    color: #333;
}

/* Contact Section */
.contact {
    background: white;
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-3px);
}

.contact-icon {
    background: #14a800;
    color: white;
    padding: 1rem;
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.5s ease;
}

.contact-item:hover .contact-icon {
    transform: rotate(360deg);
}

.contact-details h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-details p, .contact-details a {
    color: #666;
    text-decoration: none;
}

.contact-details a:hover {
    color: #14a800;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem 0;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    background: #14a800;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #0d7f00;
    transform: translateY(-3px);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    overscroll-behavior: contain;
    overflow: auto;
    max-height: 100vh;
}

.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: #14a800;
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #0d7f00;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #14a800;
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100vh;
}

/* Modal animation */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
    }

    .nav-links {
        display: none;
    }

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

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

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

    .contact-info {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
