:root {
            --primary-color: #ff6b8b;
            --primary-light: #ffd6de;
            --primary-dark: #d94a6a;
            --white: #ffffff;
            --light-gray: #f8f9fa;
            --dark-gray: #333333;
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: var(--white);
            color: var(--dark-gray);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

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

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

        header.scrolled {
            background-color: rgba(255, 255, 255, 0.98);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
        }

        .logo {
            font-size: 28px;
            font-weight: 700;
            color: var(--primary-color);
        }

        .logo span {
            color: var(--dark-gray);
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            font-weight: 500;
            position: relative;
            padding: 5px 0;
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: var(--transition);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

        .hamburger {
            display: none;
            cursor: pointer;
            font-size: 24px;
        }
        .section_w{
            padding: 100px 0;
        }

        .section_g{
            padding: 100px 0;
            background-color:  #f4f4f4;
        }

        /* Hero Section */
        .hero {
            display: flex;
            flex-wrap: wrap;
            padding: 210px;
            align-items: center;
            background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -50%;
            width: 100%;
            height: 200%;
            background: radial-gradient(circle, rgba(255,107,139,0.1) 0%, rgba(255,107,139,0) 70%);
            z-index: 0;
        }

        .hero-content {
            position: relative;
            z-index: 1;
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .hero-text {
            flex: 1;
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-image-placeholder {
            width: 450px;
            height: 550px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #ccc;
            font-size: 18px;
        }

        .hero h1 {
            font-size: 48px;
            margin-bottom: 20px;
            color: var(--dark-gray);
        }

        .hero h1 span {
            color: var(--primary-color);
        }

        .hero p {
            font-size: 18px;
            margin-bottom: 30px;
            color: #555;
            max-width: 600px;
        }

        .btn {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--primary-color);
            color: var(--white);
            border-radius: 30px;
            font-weight: 500;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 16px;
        }

        .btn:hover {
            background-color: var(--primary-dark);
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(255, 107, 139, 0.3);
        }

        .btn-outline {
            background-color: transparent;
            border: 2px solid var(--primary-color);
            color: var(--primary-color);
            margin-left: 15px;
        }

        .btn-outline:hover {
            background-color: var(--primary-color);
            color: var(--white);
        }

        .social-icons {
            display: flex;
            gap: 15px;
            margin-top: 30px;
        }

        .social-icons a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-light);
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--primary-color);
            transition: var(--transition);
        }

        .social-icons a:hover {
            background-color: var(--primary-color);
            color: var(--white);
            transform: translateY(-3px);
        }

        /* About Section */
	.clickable-span {
	    display: block;
            color: black;
            text-decoration: underline;
            cursor: pointer;
            margin-bottom: 5px;
        }

        .image-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background-color: rgba(200, 200, 200, 0.95);
            z-index: 9999;
            display: none;
            justify-content: center;
            align-items: center;
            cursor: pointer;
        }

        .image-modal.show {
            display: flex;
        }

        .modal-content {
            position: relative;
            max-width: 90vw;
            max-height: 90vh;
            cursor: default;
        }

        .modal-image {
            max-width: 85%;
            max-height: 85%;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.7);
        }

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

        .section-title h2 {
            font-size: 36px;
            color: var(--dark-gray);
            position: relative;
            display: inline-block;
            padding-bottom: 15px;
        }

        .section-title h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-color);
        }

        .about-content {
            display: flex;
            align-items: center;
            gap: 50px;
        }

        .about-image {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .about-image-placeholder {
            width: 400px;
            height: 500px;
            background-color: #f0f0f0;
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #ccc;
            font-size: 18px;
        }

        .about-text {
            flex: 1;
        }

        .about-text h3 {
            font-size: 28px;
            margin-bottom: 20px;
            color: var(--dark-gray);
        }

        .about-text p {
            margin-bottom: 20px;
            color: #555;
        }

        .skills {
            margin-top: 30px;
        }

        .skill-item {
            margin-bottom: 20px;
        }

        .skill-info {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
        }

        .skill-bar {
            height: 8px;
            background-color: #e0e0e0;
            border-radius: 4px;
            overflow: hidden;
        }

        .skill-progress {
            height: 100%;
            background-color: var(--primary-color);
            border-radius: 4px;
        }


/* Skills Section - Professional List Style */
.skills-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    justify-content: center;
}

.filter-btn {
    padding: 8px 20px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 40px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    color: #555;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.skills-list {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

.skill-item {
    padding: 15px 25px;
}

.skill-name {
    font-size: 16px;
    color: black;
    font-weight: bold;
}

.skill-separator {
    height: 2px;
    background: var(--primary-light);
    margin-top: 15px;
}

.skill-item:last-child .skill-separator {
    display: none;
}

/* JavaScript will handle these */
.skill-item[data-category] {
    display: block;
}

@media (max-width: 768px) {
    .skill-item {
        padding: 12px 20px;
    }
}       

/* Portfolio Section */
        .portfolio-filter {
            display: flex;
            justify-content: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .filter-btn {
            padding: 8px 20px;
            background-color: transparent;
            border: 1px solid #ddd;
            border-radius: 30px;
            cursor: pointer;
            transition: var(--transition);
            font-weight: 500;
        }

        .filter-btn.active,
        .filter-btn:hover {
            background-color: var(--primary-color);
            color: var(--white);
            border-color: var(--primary-color);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
            gap: 30px;
        }

        .portfolio-item {
            border-radius: 15px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

	.portfolio-img-placeholder img {
            width: 100%;
   	    height: 100%; /* Maintains aspect ratio */
        }
        .portfolio-img-placeholder {
            width: 100%;
            height: 250px;
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            color: #ccc;
            font-size: 18px;
        }

        .portfolio-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 107, 139, 0.8);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: var(--transition);
        }

        .portfolio-item:hover .portfolio-overlay {
            opacity: 1;
        }

        .portfolio-overlay h3 {
            color: var(--white);
	    text-align: center;
	    margin: 3px;
            font-size: 22px;
            margin-bottom: 10px;
            transform: translateY(20px);
            transition: var(--transition);
            font-size: 1.4rem; /* Slightly smaller than default */
            font-weight: normal;
            line-height: 1.3;
            margin-bottom: 8px;
            letter-spacing: 0.5px;
        }

        .portfolio-overlay p {
            color: var(--white);
	    margin: 3px;
            transform: translateY(20px);
            transition: var(--transition);
            transition-delay: 0.1s;
            font-size: 0.9rem;
            margin-top: 10px;
            letter-spacing: 1px;
        }


        .portfolio-item:hover .portfolio-overlay h3,
        .portfolio-item:hover .portfolio-overlay p {
            transform: translateY(0);
        }
.video_h3 {
    font-size: 1.0rem !important; /* Larger size for testing */
    text-align: center;
}

.video_p {
    font-size: 0.7rem !important; /* Smaller size for testing */
    text-align: center;
}

/* Experience Section */
.experience-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.experience-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.experience-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 20px;
    transition: var(--transition);
}


.experience-header h3 {
    font-size: 24px;
    color: var(--dark-gray);
    /* Removed the ::after pseudo-element that created the underline */
}

.experience-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px solid #eee;
    gap: 25px;
}

.experience-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
	
}

.experience-image-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.experience-image-placeholder:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.experience-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.experience-image-placeholder:hover .experience-img {
    transform: scale(1.05);
}

.experience-content-wrapper {
    flex: 1;
}

.experience-date {
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 10px;
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-light);
    border-radius: 20px;
    font-size: 14px;
}

.experience-content h4 {
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-size: 20px;
    /* Removed the ::after pseudo-element that created the underline */
}

.experience-subtitle {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
    font-style: italic;
}

.experience-details {
    padding-left: 20px;
    color: #555;
}

.experience-details li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
    line-height: 1.5;
}

.experience-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
}

@media (max-width: 768px) {
    .experience-item {
        flex-direction: column;
    }
    
    .experience-image-placeholder {
        width: 100%;
        height: 200px;
        margin-bottom: 20px;
    }
    
    .experience-header {
        flex-direction: column;
        text-align: center;
    }
    
    .experience-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

 /* Contact Section */
        .contact-content {
            display: flex;
            gap: 50px;
        }

        .contact-info {
            display: block;
            flex: 1;
            margin-top: 20px;
        }

        .contact-info h3 {
            font-size: 24px;
            margin-bottom: 20px;
            color: var(--dark-gray);
        }

        .contact-info p {
            margin-bottom: 50px;
            color: #555;
        }

        .contact-details {
            margin-bottom: 30px;
        }

        .contact-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }

        .contact-icon {
            width: 40px;
            height: 40px;
            background-color: var(--primary-light);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--primary-color);
            margin-right: 15px;
        }

        .contact-form {
            flex: 1;
            background-color: var(--light-gray);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: var(--dark-gray);
        }

        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 8px;
            font-size: 16px;
            transition: var(--transition);
        }

        .form-control:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(255, 107, 139, 0.2);
        }

        textarea.form-control {
            min-height: 150px;
            resize: vertical;
        }

/* Footer */
        footer {
            background-color: var(--dark-gray);
            color: var(--white);
            padding: 50px 0 20px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            margin-bottom: 40px;
        }

        .footer-col {
            flex: 1;
            padding: 0 15px;
        }

        .footer-col h3 {
            font-size: 20px;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .footer-col h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }

        .footer-col p {
            margin-bottom: 20px;
            color: #bbb;
        }

        .footer-links li {
            margin-bottom: 10px;
        }

        .footer-links a {
            color: #bbb;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--primary-color);
            padding-left: 5px;
        }

        .footer-bottom {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #444;
            color: #bbb;
            font-size: 14px;
        }

        /* Back to Top Button */
        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background-color: var(--primary-color);
            color: var(--white);
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            cursor: pointer;
            opacity: 0;
            visibility: hidden;
            transition: var(--transition);
            z-index: 999;
        }

        .back-to-top.active {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background-color: var(--primary-dark);
            transform: translateY(-5px);
        }

        
        /* Responsive Styles */
        @media (max-width: 992px) {
            .hero-content,
            .about-content,
            .contact-content {
                flex-direction: column;
            }

            .hero-text,
            .about-text,
            .contact-info {
                text-align: center;
                margin-bottom: 50px;
            }

            .social-icons {
                justify-content: center;
            }

            .btn-outline {
                margin-left: 0;
                margin-top: 15px;
            }

            .footer-content {
                flex-wrap: wrap;
            }

            .footer-col {
                flex: 0 0 50%;
                margin-bottom: 30px;
            }
        }

        @media (max-width: 768px) {
            .nav-links {
                position: fixed;
                top: 80px;
                left: -100%;
                width: 100%;
                height: calc(100vh - 80px);
                background-color: var(--white);
                flex-direction: column;
                align-items: center;
                padding: 40px 0;
                transition: var(--transition);
                box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            }

            .nav-links.active {
                left: 0;
            }

            .hamburger {
                display: block;
            }

            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 16px;
            }

            .section-title h2 {
                font-size: 30px;
            }

            .portfolio-grid {
                grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            }
        }

        @media (max-width: 576px) {
            .hero h1 {
                font-size: 30px;
            }

            .btn {
                padding: 10px 20px;
                font-size: 14px;
            }

            .section {
                padding: 70px 0;
            }

            .footer-col {
                flex: 0 0 100%;
            }
        }
.about-img {
    width: 100%;
    height: 100%;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    border: none;


    padding: 10px; /* Creates subtle inner spacing */
}
.portfolio-filter-container {
    margin-bottom: 10px;
}

.portfolio-description {
    text-align: center;
    margin: 15px 0 50px;
    min-height: 40px;
}

.description-text {
    display: none;
    font-size: 15px;
    color: var(--dark-gray);
    font-weight: 500;
    margin: 0 auto;
    max-width: 80%;
}

.description-text.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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