/* Variables */
:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --primary-color: #16FFB0;
    --secondary-color: #a0a0a0;
    --border-color: #333333;
    --card-bg: #242424;
    --section-bg: #1f1f1f;
    --navbar-bg: rgba(26, 26, 26, 0.95);
    --overlay-bg: rgba(0, 0, 0, 0.8);
    --gradient-primary: linear-gradient(135deg, #16FFB0 0%, #16FFB0aa 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-color);
    transition: background-color var(--transition-normal),
        color var(--transition-normal);
}

/* Theme Toggle Button */
#theme-toggle {
    display: none;
}

/* Navigation */
.navbar {
    background-color: var(--navbar-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    font-weight: 700;
    color: var(--primary-color);
    position: relative;
    transition: all var(--transition-normal);
}

.navbar-brand:hover {
    text-shadow: 0 0 15px var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-color) !important;
    transition: all var(--transition-normal);
    position: relative;
    padding: 0.5rem 1rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--primary-color);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 120px 0 60px;
    /* Increased top padding to account for navbar */
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 2rem;
    /* Added margin at the top */
}

/* Hero Title Styles */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin: 1rem 0;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    padding: 0 1rem;
    position: relative;
    display: inline-block;
}

.hero-title::before,
.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: all 0.3s ease;
}

.hero-title::before {
    left: 0;
    width: 100%;
    opacity: 0.5;
}

.hero-title::after {
    left: 25%;
    width: 50%;
    background: var(--primary-color);
    filter: blur(3px);
    animation: glow 1s ease-in-out infinite alternate;
}

.hero-title:hover::before {
    opacity: 0.8;
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.3);
}

.hero-title:hover::after {
    filter: blur(4px);
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.5);
}

.aka-text {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    color: var(--primary-color);
    margin: 0.5rem 0 2rem;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    transition: all 0.3s ease;
}

.aka-text:hover {
    opacity: 1;
    text-shadow: 0 0 15px rgba(22, 255, 176, 0.5);
    transform: translateY(-2px);
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    }

    to {
        box-shadow: 0 0 20px rgba(22, 255, 176, 0.5);
    }
}

/* Responsive adjustments for hero title */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        padding: 0 0.5rem;
    }

    .aka-text {
        font-size: clamp(1rem, 2.5vw, 1.2rem);
        margin: 0.3rem 0 1.5rem;
    }
}

.hero-description-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.1);
}

.hero-description-container::before,
.hero-description-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-description-container::before {
    animation: rotate 2s linear infinite;
}

.hero-description-container::after {
    animation: rotate 2s linear infinite reverse;
}

.hero-description-container:hover {
    transform: translateY(-5px);
    box-shadow:
        0 0 20px rgba(22, 255, 176, 0.2),
        0 0 60px rgba(22, 255, 176, 0.1);
}

.hero-description-container:hover::before,
.hero-description-container:hover::after {
    opacity: 1;
    animation-duration: 0.3s;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin: 0;
    position: relative;
    z-index: 1;
}

.hero-description strong {
    color: var(--primary-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    transition: all 0.3s ease;
}

.hero-description-container:hover .hero-description strong {
    text-shadow: 0 0 15px rgba(22, 255, 176, 0.5);
    color: #1affc4;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive adjustments for hero description */
@media (max-width: 768px) {
    .hero-description-container {
        margin: 2rem 1rem;
        padding: 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        line-height: 1.6;
    }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(22, 255, 176, 0.1), transparent);
    z-index: -1;
}

.hero-starfield {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    opacity: 0.85;
    mix-blend-mode: screen;
}

/* Media Queries for better responsiveness */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 40px;
    }

    .hero-content {
        padding: 1rem;
        margin-top: 1rem;
    }

    .hero-description-container {
        margin: 1.5rem auto;
        padding: 0 15px;
    }
}

@media (max-height: 600px) {
    .hero {
        padding: 80px 0 30px;
    }
}

/* Enhanced Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background: rgba(22, 255, 176, 0.05);
    border: 1px solid transparent;
    transition: all var(--transition-normal);
}

.social-link:hover {
    color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    background: rgba(22, 255, 176, 0.1);
    box-shadow: 0 5px 15px rgba(22, 255, 176, 0.2);
}

.social-link i {
    font-size: 1.5rem;
    transition: all var(--transition-normal);
}

.social-link:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px var(--primary-color));
}

.social-link span {
    font-size: 1rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

/* About Section */
.quick-info {
    margin: 20px 0;
    position: relative;
    z-index: 5;
}

.info-item {
    margin: 10px 0;
}

.info-item i {
    color: var(--primary-color);
    margin-right: 10px;
}

.about-content {
    position: relative;
    z-index: 5;
}

/* Section Styles */

.section {
    padding: 5rem 0;
    background-color: var(--section-bg);
    color: var(--text-color);
}

.dark-section {
    background-color: var(--section-bg);
}

.section-title {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

/* Cards and containers */
.skill-item,
.project-card,
.certification-item,
.contact-info,
.education-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover,
.project-card:hover,
.certification-item:hover,
.education-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Text colors */
.project-title,
.project-description,
.certification-content .description,
.education-content .description,
.contact-info h3,
.contact-info p,
.contact-info a {
    color: var(--text-color);
}

.project-tech,
.certification-content .date,
.education-content .year {
    color: var(--secondary-color);
}

/* Skills Section */
.section#skills {
    padding: 4rem 0;
}

.skills-container {
    margin-top: 2rem;
    width: 100%;
}

.skills-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.skill-item {
    background: rgba(22, 255, 176, 0.05);
    padding: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.skill-item:hover {
    transform: translateY(-2px);
    background: rgba(22, 255, 176, 0.1);
}

.skill-name {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0.8rem;
}

.progress {
    background-color: rgba(255, 255, 255, 0.1);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.cert-icon {
    font-size: 1.2rem;
    cursor: pointer;
}

.certification-preview {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 26, 26, 0.95);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.certification-preview img {
    max-width: min(800px, 90vw);
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}

.cert-icon:hover+.certification-preview,
.certification-preview:hover {
    display: block;
}

@media (max-width: 768px) {
    .certification-preview {
        padding: 0.5rem;
    }

    .certification-preview img {
        max-width: 90vw;
        max-height: 70vh;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .skills-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 576px) {
    .skills-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-item {
        padding: 1rem;
    }
}

/* Projects Section */
.project-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-card:hover h4 {
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
}

.project-description {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.project-tech {
    color: var(--secondary-color);
}

.tag {
    background-color: var(--card-bg);
    color: var(--text-color);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

/* Certifications Section */
.certifications-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .certifications-container {
        grid-template-columns: 1fr;
    }
}

.certification-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.certification-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.certification-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    position: relative;
}

.cert-thumbnail {
    flex: 0 0 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.cert-thumbnail:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.3);
}

.cert-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cert-thumbnail:hover .cert-thumb-img {
    transform: scale(1.05);
}

.cert-details {
    flex: 1;
}

.cert-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.issuer,
.institute {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.date,
.year {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .certification-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cert-thumbnail {
        margin-bottom: 1rem;
    }
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-close {
    position: absolute;
    right: -30px;
    top: -30px;
    color: #f1f1f1;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
}

.modal-close:hover {
    color: var(--primary-color);
}

/* Certificate styles */
.cert-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.cert-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cert-thumbnail:hover .cert-thumb-img {
    transform: scale(1.05);
}

.view-cert-btn {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-thumbnail:hover .view-cert-btn {
    opacity: 1;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        padding: 10px;
    }

    .modal-close {
        right: 10px;
        top: 10px;
    }

    .cert-thumbnail {
        margin: 0 auto 1rem;
    }
}

/* Education Section */
.education-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.education-item {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.education-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.education-content {
    position: relative;
}

.edu-title {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.education-content .institute {
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.education-content .year {
    color: var(--secondary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.education-content .description {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Certificate preview styles */
.cert-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-bg);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cert-preview-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cert-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    padding: 2rem;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-preview.active {
    display: flex;
    opacity: 1;
    justify-content: center;
    align-items: center;
}

.cert-preview img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.2);
    transition: opacity 0.3s ease;
    background: #1a1a1a;
}

.cert-preview .close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--card-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 24px;
    box-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    transition: all 0.3s ease;
}

.cert-preview .close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.5);
}

.cert-title {
    transition: all 0.3s ease;
    display: inline-block;
}

.cert-title:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-info {
    background-color: var(--card-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-info h3,
.contact-info p,
.contact-info a {
    color: var(--text-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Contact Section */
.contact-form {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 22px;
}

.contact-info {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    height: 100%;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--text-color);
    font-size: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h4 {
    margin: 0 0 5px;
    font-size: 16px;
    color: var(--text-color);
}

.contact-item p,
.contact-item a {
    margin: 0;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-social {
    margin-top: 30px;
    margin-bottom: 30px;
}

.contact-social h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: var(--text-color);
}

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

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--input-bg);
    color: var(--text-color);
    transition: all 0.3s ease;
    text-decoration: none;
}

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

.resume-download {
    margin-top: 20px;
}

.form-control {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 12px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(22, 255, 176, 0.25);
    background-color: var(--input-bg);
    color: var(--text-color);
}

.quick-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.quick-contact p {
    margin: 0;
    margin-right: 10px;
}

.btn-success {
    background-color: #25D366;
    border-color: #25D366;
}

.btn-success:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
}

.btn-info {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
}

.btn-info:hover {
    background-color: #006699;
    border-color: #006699;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 991px) {

    .contact-info,
    .contact-form {
        margin-bottom: 30px;
    }
}

/* Button Styles */
.button-container {
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.button-container .btn-primary {
    margin: 0;
    position: relative;
    pointer-events: auto;
}

.button-container .btn-primary span {
    position: relative;
    z-index: 2;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), transparent);
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(22, 255, 176, 0.2);
    cursor: pointer;
    z-index: 10;
    display: inline-block;
    text-decoration: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 20px rgba(22, 255, 176, 0.3),
        0 0 40px rgba(22, 255, 176, 0.1);
    border-color: var(--primary-color);
    background: linear-gradient(45deg, transparent, var(--primary-color));
    color: var(--text-color);
}

.btn-primary:hover::before {
    opacity: 0.2;
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.2);
}

/* Add download icon */
.btn-primary[download]::after {
    content: '\f019';
    /* FontAwesome download icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 8px;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

.btn-primary[download]:hover::after {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background-color: var(--section-bg);
    color: var(--text-color);
    padding: 40px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
    padding: 0 15px;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    padding-bottom: 10px;
}

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

.footer-section p {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-section p i {
    color: var(--primary-color);
    width: 20px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section ul li a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

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

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.download-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--bg-color);
    padding: 8px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 255, 176, 0.4);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-bottom: 30px;
    }
}

/* Animations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* CRITICAL: Ensure ALL interactive elements are ALWAYS clickable regardless of AOS state */
button,
.btn,
.filter-btn,
.category-btn,
.sort-btn,
.view-btn,
input,
select,
textarea,
a,
.skill-card,
.project-card,
.dropdown,
.dropdown-menu,
.dropdown-item,
.dropdown-toggle,
.filter-button,
.category-filter,
.complexity-filter,
.cert-thumbnail,
.cert-image-container,
.education-item,
.floating-button,
.floating-buttons,
.whatsapp-button,
.card-button,
.analytics-toggle-btn,
.view-overlay,
[data-aos] button,
[data-aos] .btn,
[data-aos] .filter-btn,
[data-aos] .category-btn,
[data-aos] .sort-btn,
[data-aos] .view-btn,
[data-aos] input,
[data-aos] select,
[data-aos] textarea,
[data-aos] a,
[data-aos] .dropdown,
[data-aos] .dropdown-menu,
[data-aos] .dropdown-item,
[data-aos] .cert-thumbnail,
[data-aos] .cert-image-container,
.section-container button,
.section-container .btn,
.section-container .filter-btn,
.skills-container *,
.projects-container *,
.certifications-container * {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.8rem;
        padding-top: 3rem;
    }

    .hero {
        padding: 4rem 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-description-container {
        margin: 1.5rem auto;
        padding: 0 15px;
    }

    .section {
        padding: 60px 0;
    }

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

.accent-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* Profile Image Styles */
.profile-img {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img::before,
.profile-img::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
}

.profile-img::before {
    animation: rotate 2s linear infinite;
}

.profile-img::after {
    animation: rotate 2s linear infinite reverse;
}

.profile-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
    transition: all 0.3s ease;
    filter: brightness(0.95);
}

.profile-img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 0 20px rgba(22, 255, 176, 0.2),
        0 0 60px rgba(22, 255, 176, 0.1);
}

.profile-img:hover::before,
.profile-img:hover::after {
    opacity: 1;
    animation-duration: 0.3s;
}

.profile-img:hover img {
    filter: brightness(1.05);
    border-color: var(--primary-color);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.02);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* Common Section Container Styles */
.section-container {
    position: relative;
    padding: 2.5rem;
    background: rgba(26, 26, 26, 0.8);
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 2rem;
}

.section-container::before,
.section-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.3;
}

.section-container::before {
    animation: rotate 3s linear infinite;
}

.section-container::after {
    animation: rotate 3s linear infinite reverse;
}

.section-container:hover {
    transform: translateY(-3px);
    box-shadow:
        0 0 20px rgba(22, 255, 176, 0.1),
        0 0 40px rgba(22, 255, 176, 0.05);
}

.section-container:hover::before,
.section-container:hover::after {
    opacity: 0.6;
    animation-duration: 0.3s;
}

/* Education Styles */
.education-item {
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.6);
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.education-item:hover {
    transform: translateX(10px);
    background: rgba(22, 255, 176, 0.05);
}

.education-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.education-item:hover::before {
    height: 80%;
}

/* Skills Section */
.skill-category {
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.6);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.skill-category:hover {
    background: rgba(22, 255, 176, 0.05);
    transform: translateY(-3px);
}

.skill-item {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.5rem;
    border-radius: 20px;
    background: rgba(22, 255, 176, 0.1);
    color: var(--text-color);
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(22, 255, 176, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.2);
}

/* Section Titles */
.section-title {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 2rem;
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: bold;
    overflow: visible;
    white-space: normal;
    word-wrap: break-word;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 50%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.3s ease;
}

.section-title:hover::after {
    width: 100%;
}

/* Certifications */
.certification-item {
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.6);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    cursor: pointer;
}

.certification-item:hover {
    transform: translateX(10px);
    background: rgba(22, 255, 176, 0.05);
}

.certification-item::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.certification-item:hover::before {
    height: 80%;
}

/* Projects */
.project-card {
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    background: rgba(26, 26, 26, 0.6);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    background: rgba(22, 255, 176, 0.05);
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.1);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.project-card:hover::before {
    height: 100%;
}

.project-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    transform: translateX(10px);
}

/* Contact Section */
.contact-info {
    position: relative;
    padding: 2rem;
    border-radius: 15px;
    background: rgba(26, 26, 26, 0.6);
    transition: all 0.3s ease;
}

.contact-info:hover {
    transform: translateY(-3px);
    background: rgba(22, 255, 176, 0.05);
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.1);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(22, 255, 176, 0.1);
    transform: translateX(10px);
}

.contact-item i {
    color: var(--primary-color);
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.2);
}

/* Typed.js styles */
.typed-cursor,
#typed {
    font-size: 1.8rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    transition: all 0.3s ease;
}

#typed {
    display: inline-block;
    margin: 1rem 0;
}

#typed:hover {
    text-shadow: 0 0 15px rgba(22, 255, 176, 0.5);
    color: #1affc4;
}

.typed-cursor {
    opacity: 1;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.typed-cursor--blink {
    animation: none;
}

/* Certificate Preview */
.cert-preview {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    background: rgba(26, 26, 26, 0.95);
    padding: 10px;
}

.cert-preview img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
    display: block;
}

.cert-preview.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.cert-preview::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -48%);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.cert-preview .close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--card-bg);
    font-size: 18px;
    box-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    transition: all 0.3s ease;
}

.cert-preview .close-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.5);
}

/* Achievements & Hobbies Section */
.achievements-container,
.hobbies-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item,
.hobby-item {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.achievement-item:hover,
.hobby-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(22, 255, 176, 0.1);
    border-color: var(--primary-color);
}

.achievement-item h4,
.hobby-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.achievement-item:hover h4,
.hobby-item:hover h4 {
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
}

.achievement-item p,
.hobby-item p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.achievement-date,
.hobby-icon {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.hobby-icon i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Timeline connector effect */
.achievements-container .achievement-item::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(22, 255, 176, 0.5);
}

.achievements-container .achievement-item::after {
    content: '';
    position: absolute;
    left: -16px;
    top: -50%;
    width: 2px;
    height: calc(100% + 1.5rem);
    background: var(--primary-color);
    opacity: 0.3;
}

.achievements-container .achievement-item:first-child::after {
    top: 50%;
    height: calc(50% + 1.5rem);
}

.achievements-container .achievement-item:last-child::after {
    height: 50%;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.floating-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: white;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 9999;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.floating-button i {
    font-size: 2rem;
}

.floating-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.button-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.button-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 8px 0 8px 8px;
    border-style: solid;
    border-color: transparent transparent transparent rgba(0, 0, 0, 0.8);
}

.floating-button:hover .button-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.whatsapp-button {
    background-color: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.card-button {
    background-color: #4285F4;
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.4);
}

.card-button:hover {
    box-shadow: 0 6px 16px rgba(66, 133, 244, 0.6);
}

/* Digital Business Card */
.digital-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.digital-card.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color), transparent);
    color: var(--text-color);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 {
    margin: 0;
    font-size: 24px;
}

.card-header button {
    background: transparent;
    border: none;
    color: var(--text-color);
    font-size: 20px;
    cursor: pointer;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.card-image {
    text-align: center;
    margin-bottom: 15px;
}

.card-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-bg);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-info {
    text-align: center;
}

.card-title {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.card-contact {
    margin-bottom: 20px;
}

.card-contact p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--text-color);
}

.card-contact i {
    color: var(--primary-color);
}

.card-contact a {
    color: var(--text-color);
    text-decoration: none;
}

.card-contact a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.card-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.card-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-actions a:hover {
    transform: scale(1.1);
}

.download-resume-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--card-bg);
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.download-resume-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 255, 176, 0.4);
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .card-content {
        flex-direction: row;
        align-items: center;
    }

    .card-image {
        margin-right: 20px;
        margin-bottom: 0;
    }

    .card-info {
        text-align: left;
        flex: 1;
    }

    .card-contact p {
        justify-content: flex-start;
    }

    .card-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }

    .floating-button {
        width: 50px;
        height: 50px;
    }

    .floating-button i {
        font-size: 1.75rem;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .whatsapp-floating {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button i {
        font-size: 1.75rem;
    }
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.whatsapp-link i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.whatsapp-link:hover {
    background-color: #22c15e;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}


.gallery-item {
    color: var(--primary-color);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(22, 255, 176, 0.2);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Modal for Image Preview */
.modal-preview {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1050;
    cursor: pointer;
}

.modal-preview img {
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsiveness for Gallery */
@media (max-width: 768px) {
    .gallery-item img {
        height: 250px;
    }

    .gallery-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar styles */
.navbar {
    padding: 1rem 0;
}

.navbar-toggler {
    border: 2px solid #16FFB0 !important;
    padding: 0.5rem;
    margin-right: 1rem;
    background-color: transparent !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2316FFB0' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 24px;
    height: 24px;
}

@media (max-width: 991px) {
    .navbar {
        background-color: var(--bg-primary) !important;
    }

    .navbar-collapse {
        background-color: var(--bg-primary);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .navbar-nav {
        padding: 0.5rem 0;
    }

    .navbar-nav .nav-item {
        margin: 0.25rem 0;
    }

    .navbar-nav .nav-link {
        color: #16FFB0 !important;
        font-size: 1.1rem;
        padding: 0.75rem 1.5rem !important;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    .navbar-nav .nav-link:hover,
    .navbar-nav .nav-link:focus {
        background-color: rgba(22, 255, 176, 0.1);
        color: #16FFB0 !important;
    }

    .navbar-brand {
        color: #16FFB0 !important;
    }
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 20px;
}

.certificate-modal .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}

.certificate-modal .modal-close {
    position: absolute;
    right: 35px;
    top: 15px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.modal-close:hover {
    color: #16FFB0;
}

/* Certificate thumbnails */
.cert-thumbnail {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.cert-thumbnail:hover {
    transform: scale(1.05);
}

/* Certificate Modal */
.certificate-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.certificate-modal .modal-content {
    margin: auto;
    display: block;
    width: auto;
    max-width: 90%;
    max-height: 85vh;
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(0.1);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.certificate-modal .modal-close {
    position: absolute;
    right: 35px;
    top: 25px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 10000;
}

.modal-close:hover {
    color: #16FFB0;
    text-shadow: 0 0 8px rgba(22, 255, 176, 0.6);
}

/* Certificate thumbnails */
.cert-thumbnail {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.cert-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cert-thumbnail:hover .cert-thumb-img {
    transform: scale(1.05);
}

/* Certificate thumbnails */
.cert-thumbnail {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.cert-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.cert-thumb-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cert-thumbnail:hover .cert-thumb-img {
    transform: scale(1.1);
}

.view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.cert-thumbnail:hover .view-overlay {
    opacity: 1;
}

.view-overlay span {
    color: var(--bg-color);
    background-color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(22, 255, 176, 0.3);
    transition: all 0.3s ease;
}

/* CRIT
ICAL FIX: Override AOS opacity to make content visible */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Ensure all sections are visible */
.section {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure section containers are visible */
.section-container {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Ensure section titles are visible */
.section-title {
    opacity: 1 !important;
    visibility: visible !important;
}

/* E
NHANCED VISIBILITY AND ANIMATIONS */

/* Enhanced About Section */
.enhanced-visibility .info-item {
    background: rgba(22, 255, 176, 0.1);
    border: 1px solid rgba(22, 255, 176, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    margin: 8px 0;
    transition: all 0.3s ease;
}

.enhanced-visibility .info-item:hover {
    background: rgba(22, 255, 176, 0.2);
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(22, 255, 176, 0.3);
}

.info-icon {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--primary-color);
}

.info-text {
    color: var(--text-color);
    font-size: 1.1em;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: #1affc4;
    text-shadow: 0 0 8px rgba(22, 255, 176, 0.6);
}

/* Enhanced Button Animations */
.btn-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(22, 255, 176, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Enhanced Skills Grid Animations */
.skill-card {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    border: 1px solid transparent;
    will-change: transform, opacity;
}

.skill-card:hover {
    transform: translateY(-5px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(22, 255, 176, 0.3);
}

.skill-card:hover .skill-name {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5);
}

/* Enhanced Filter Transition Animations */
.skills-grid {
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    will-change: contents;
}

/* Smooth layout transitions for grid changes */
.skills-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.skills-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Filter button active state transitions */
.filter-btn {
    transition: all 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform: translateY(0);
}

.filter-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 255, 176, 0.3);
}

.filter-btn:hover {
    transform: translateY(-1px);
}

/* Prevent layout shift during animations */
.skills-grid-container {
    min-height: 400px;
    transition: min-height 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Enhanced card entrance animations */
@keyframes skillCardEnter {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes skillCardExit {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

/* Smooth filter transition classes */
.skill-card.entering {
    animation: skillCardEnter 0.3s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

.skill-card.exiting {
    animation: skillCardExit 0.15s cubic-bezier(0.4, 0.0, 0.2, 1) forwards;
}

/* Enhanced Project Cards */
.project-card {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(22, 255, 176, 0.3);
}

.project-card:hover .project-title {
    color: var(--primary-color);
}

/* Enhanced Navigation */
.navbar {
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.nav-link {
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Enhanced Social Links */
.social-link {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(22, 255, 176, 0.4);
    background: rgba(22, 255, 176, 0.1);
}

/* Enhanced Form Elements */
.form-control,
.textbox,
input,
textarea,
select {
    transition: all 0.3s ease;
    border: 1px solid rgba(22, 255, 176, 0.3);
}

.form-control:focus,
.textbox:focus,
input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(22, 255, 176, 0.3);
    background: rgba(22, 255, 176, 0.05);
}

/* Enhanced Buttons */
button {
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

button:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(22, 255, 176, 0.3);
}

/* Glow Effects */
.glow-on-hover {
    transition: all 0.3s ease;
}

.glow-on-hover:hover {
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.6);
    border-color: var(--primary-color);
}

/* Pulse Animation */
@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 5px rgba(22, 255, 176, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(22, 255, 176, 0.6);
    }

    100% {
        box-shadow: 0 0 5px rgba(22, 255, 176, 0.3);
    }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 768px) {
    .enhanced-visibility .info-item {
        padding: 10px 12px;
        margin: 6px 0;
    }

    .info-text {
        font-size: 1em;
    }

    .skill-card:hover {
        transform: translateY(-3px) scale(1.01);
    }

    .project-card:hover {
        transform: translateY(-5px);
    }
}

/* M
OBILE RESPONSIVENESS FIXES */

/* Education & Certifications Section - Stack vertically on mobile */
@media (max-width: 768px) {
    .education-certifications-container {
        flex-direction: column !important;
    }

    .education-section,
    .certifications-section {
        width: 100% !important;
        margin-bottom: 2rem;
    }

    /* Make education and certification sections equal height */
    .education-container,
    .certifications-container {
        min-height: auto;
        padding: 1.5rem;
    }

    /* Skills grid mobile optimization */
    .skills-container {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .skill-card {
        margin-bottom: 1rem;
    }

    /* Filter buttons mobile layout */
    .skills-filters {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .skills-filters button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    /* Projects mobile layout */
    .projects-container {
        grid-template-columns: 1fr !important;
    }

    .project-card {
        margin-bottom: 1.5rem;
    }

    /* Contact form mobile optimization */
    .contact-form-grid {
        grid-template-columns: 1fr !important;
    }

    /* Navigation mobile improvements */
    .navbar-nav {
        text-align: center;
        padding: 1rem 0;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1.1rem;
    }
}

/* Tablet responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
    .skills-container {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* Large screen optimization */
@media (min-width: 1200px) {
    .skills-container {
        grid-template-columns: repeat(4, 1fr);
    }

    .projects-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* FLOATING WIDGETS POSITIONING FIX */

/* WhatsApp Widget - Bottom position */
.whatsapp-widget,
.whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    z-index: 9998 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3) !important;
}

/* Analytics Dashboard Toggle - Middle position */
.analytics-toggle-btn {
    position: fixed !important;
    bottom: 100px !important;
    /* Position above WhatsApp */
    right: 20px !important;
    z-index: 9997 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(22, 255, 176, 0.3) !important;
}

/* Contact Card Widget - Top position */
.floating-contact-widget,
.contact-float {
    position: fixed !important;
    bottom: 180px !important;
    /* Position above analytics button */
    right: 20px !important;
    z-index: 9996 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3) !important;
}

/* Additional floating widgets */
.floating-widget {
    position: fixed !important;
    right: 20px !important;
    z-index: 9995 !important;
    width: 60px !important;
    height: 60px !important;
    border-radius: 50% !important;
}

/* Stack additional widgets vertically */
.floating-widget:nth-child(1) {
    bottom: 260px !important;
}

.floating-widget:nth-child(2) {
    bottom: 340px !important;
}

.floating-widget:nth-child(3) {
    bottom: 420px !important;
}

/* Mobile widget positioning */
@media (max-width: 768px) {

    .whatsapp-widget,
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .analytics-toggle-btn {
        bottom: 200px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-widget {
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .floating-widget:nth-child(1) {
        bottom: 135px;
    }

    .floating-widget:nth-child(2) {
        bottom: 195px;
    }

    .floating-widget:nth-child(3) {
        bottom: 255px;
    }
}

/*
 ENHANCED VISUAL EFFECTS FOR ALL SECTIONS */

/* Technical Skills & Expertise Section */
.skills-container .skill-card {
    background: rgba(22, 255, 176, 0.05) !important;
    border: 2px solid rgba(22, 255, 176, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.skills-container .skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 255, 176, 0.1), transparent);
    transition: left 0.6s ease;
}

.skills-container .skill-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 40px rgba(22, 255, 176, 0.3) !important;
    background: rgba(22, 255, 176, 0.1) !important;
}

.skills-container .skill-card:hover::before {
    left: 100%;
}

.skills-container .skill-card .skill-header {
    position: relative;
    z-index: 2;
}

.skills-container .skill-card .skill-name {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.skills-container .skill-card:hover .skill-name {
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5) !important;
}

.skills-container .skill-card .proficiency-bar {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    height: 8px !important;
    margin: 1rem 0 !important;
}

.skills-container .skill-card .proficiency-fill {
    background: linear-gradient(90deg, var(--primary-color), #00D4AA) !important;
    height: 100% !important;
    border-radius: 10px !important;
    transition: width 1s ease-in-out !important;
    position: relative !important;
}

.skills-container .skill-card .proficiency-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skills-container .skill-card .skill-actions {
    margin-top: 1.5rem !important;
    display: flex !important;
    gap: 1rem !important;
}

.skills-container .skill-card .btn {
    background: linear-gradient(135deg, var(--primary-color), #00D4AA) !important;
    border: none !important;
    color: #000 !important;
    padding: 0.7rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.skills-container .skill-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.skills-container .skill-card .btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 25px rgba(22, 255, 176, 0.4) !important;
}

.skills-container .skill-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Filter Buttons Enhancement */
.skills-section .filter-btn,
.projects-section .filter-btn {
    background: rgba(22, 255, 176, 0.1) !important;
    border: 2px solid rgba(22, 255, 176, 0.3) !important;
    color: var(--primary-color) !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
}

.skills-section .filter-btn::before,
.projects-section .filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 255, 176, 0.2), transparent);
    transition: left 0.5s ease;
}

.skills-section .filter-btn:hover,
.projects-section .filter-btn:hover {
    background: rgba(22, 255, 176, 0.2) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(22, 255, 176, 0.3) !important;
}

.skills-section .filter-btn:hover::before,
.projects-section .filter-btn:hover::before {
    left: 100%;
}

.skills-section .filter-btn.active,
.projects-section .filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #00D4AA) !important;
    color: #000 !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 20px rgba(22, 255, 176, 0.4) !important;
}

/* Featured Projects Section Enhancement */
.projects-container .project-card {
    background: rgba(22, 255, 176, 0.05) !important;
    border: 2px solid rgba(22, 255, 176, 0.2) !important;
    border-radius: 20px !important;
    padding: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.projects-container .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 255, 176, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.projects-container .project-card:hover {
    transform: translateY(-15px) scale(1.03) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 25px 50px rgba(22, 255, 176, 0.3) !important;
    background: rgba(22, 255, 176, 0.1) !important;
}

.projects-container .project-card:hover::before {
    left: 100%;
}

.projects-container .project-card .project-image-container {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px 20px 0 0 !important;
    min-height: 200px !important;
}

.projects-container .project-card .project-image-container img {
    transition: transform 0.4s ease !important;
    width: 100% !important;
    height: 200px !important;
    object-fit: contain !important;
    display: block !important;
    opacity: 1 !important;
}

.projects-container .project-card:hover .project-image-container img {
    transform: scale(1.05) !important;
}

.projects-container .project-card .project-content {
    padding: 2rem !important;
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    color: #fff !important;
}

.projects-container .project-card .project-title {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.projects-container .project-card:hover .project-title {
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5) !important;
}

.projects-container .project-card .project-description {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
    margin-bottom: 1.5rem !important;
}

.projects-container .project-card .project-tech {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-bottom: 1.5rem !important;
}

.projects-container .project-card .tech-tag {
    background: rgba(22, 255, 176, 0.2) !important;
    color: var(--primary-color) !important;
    padding: 0.3rem 0.8rem !important;
    border-radius: 15px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(22, 255, 176, 0.3) !important;
    transition: all 0.3s ease !important;
}

.projects-container .project-card:hover .tech-tag {
    background: rgba(22, 255, 176, 0.3) !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
}

.projects-container .project-card .project-actions {
    display: flex !important;
    gap: 1rem !important;
}

.projects-container .project-card .btn {
    background: linear-gradient(135deg, var(--primary-color), #00D4AA) !important;
    border: none !important;
    color: #000 !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
}

.projects-container .project-card .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.projects-container .project-card .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 12px 30px rgba(22, 255, 176, 0.4) !important;
}

.projects-container .project-card .btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Achievements & Hobbies Section Enhancement */
.achievements-container .achievement-item,
.hobbies-container .hobby-item {
    background: rgba(22, 255, 176, 0.05) !important;
    border: 2px solid rgba(22, 255, 176, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.achievements-container .achievement-item::before,
.hobbies-container .hobby-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 255, 176, 0.1), transparent);
    transition: left 0.6s ease;
}

.achievements-container .achievement-item:hover,
.hobbies-container .hobby-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 35px rgba(22, 255, 176, 0.3) !important;
    background: rgba(22, 255, 176, 0.1) !important;
}

.achievements-container .achievement-item:hover::before,
.hobbies-container .hobby-item:hover::before {
    left: 100%;
}

.achievements-container .achievement-item .achievement-year,
.hobbies-container .hobby-item .hobby-icon {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.achievements-container .achievement-item:hover .achievement-year,
.hobbies-container .hobby-item:hover .hobby-icon {
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5) !important;
}

.achievements-container .achievement-item .achievement-title,
.hobbies-container .hobby-item .hobby-title {
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
    transition: all 0.3s ease !important;
}

.achievements-container .achievement-item .achievement-description,
.hobbies-container .hobby-item .hobby-description {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
}

/* Educatio
n & Certifications Section Enhancement */
.education-container .education-item,
.certifications-container .certification-item {
    background: rgba(22, 255, 176, 0.05) !important;
    border: 2px solid rgba(22, 255, 176, 0.2) !important;
    border-radius: 15px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.education-container .education-item::before,
.certifications-container .certification-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 255, 176, 0.1), transparent);
    transition: left 0.6s ease;
}

.education-container .education-item:hover,
.certifications-container .certification-item:hover {
    transform: translateY(-8px) scale(1.02) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 15px 35px rgba(22, 255, 176, 0.3) !important;
    background: rgba(22, 255, 176, 0.1) !important;
}

.education-container .education-item:hover::before,
.certifications-container .certification-item:hover::before {
    left: 100%;
}

.education-container .education-item .edu-title,
.certifications-container .certification-item .cert-title {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.education-container .education-item:hover .edu-title,
.certifications-container .certification-item:hover .cert-title {
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5) !important;
}

.education-container .education-item .institute,
.certifications-container .certification-item .cert-issuer {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    margin-bottom: 0.5rem !important;
}

.education-container .education-item .year,
.certifications-container .certification-item .cert-year {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    margin-bottom: 1rem !important;
}

.education-container .education-item .description,
.certifications-container .certification-item .cert-description {
    color: rgba(255, 255, 255, 0.9) !important;
    line-height: 1.6 !important;
}

/* Certificate Image Enhancement */
.cert-image-container {
    position: relative !important;
    display: inline-block !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.cert-image-container:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 10px 25px rgba(22, 255, 176, 0.3) !important;
}

.cert-thumb-img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    border: 2px solid rgba(22, 255, 176, 0.3) !important;
    transition: all 0.3s ease !important;
    display: block !important;
}

.cert-image-container:hover .cert-thumb-img {
    border-color: var(--primary-color) !important;
}

.view-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(22, 255, 176, 0.9) !important;
    color: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
}

.cert-image-container:hover .view-overlay {
    opacity: 1 !important;
}

.certifications-section .cert-thumb-img {
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

/* 
Contact Form Enhancement */
.contact-form {
    background: rgba(22, 255, 176, 0.05) !important;
    border: 2px solid rgba(22, 255, 176, 0.2) !important;
    border-radius: 20px !important;
    padding: 3rem !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(10px) !important;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(22, 255, 176, 0.1), transparent);
    transition: left 0.6s ease;
}

.contact-form:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 20px 40px rgba(22, 255, 176, 0.3) !important;
    background: rgba(22, 255, 176, 0.1) !important;
}

.contact-form:hover::before {
    left: 100%;
}

.contact-form .form-group {
    margin-bottom: 2rem !important;
    position: relative !important;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 2px solid rgba(22, 255, 176, 0.3) !important;
    border-radius: 10px !important;
    padding: 1rem 1.5rem !important;
    color: #fff !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    z-index: 2 !important;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}

.contact-form .form-control:focus {
    outline: none !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.3) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.contact-form .form-label {
    color: var(--primary-color) !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    display: block !important;
}

.contact-form .btn-submit {
    background: linear-gradient(135deg, var(--primary-color), #00D4AA) !important;
    border: none !important;
    color: #000 !important;
    padding: 1rem 3rem !important;
    border-radius: 30px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

.contact-form .btn-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.contact-form .btn-submit:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 35px rgba(22, 255, 176, 0.4) !important;
}

.contact-form .btn-submit:hover::before {
    width: 300px;
    height: 300px;
}

/* E
nhanced Education & Certifications Section Separation */
.education-section {
    background: linear-gradient(135deg, rgba(22, 255, 176, 0.02) 0%, rgba(22, 255, 176, 0.05) 100%);
    border-bottom: 2px solid rgba(22, 255, 176, 0.1);
    position: relative;
}

.certifications-section {
    background: linear-gradient(135deg, rgba(22, 255, 176, 0.05) 0%, rgba(22, 255, 176, 0.02) 100%);
    position: relative;
}

.education-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.certifications-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

/* Enhanced Section Titles with Icons */
.section-title i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 0.9em;
}

/* Education Items Enhancement */
.education-item {
    position: relative;
    overflow: hidden;
}

.education-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.education-item:hover::after {
    opacity: 1;
}

/* Certification Items Enhancement */
.certification-item {
    position: relative;
    overflow: hidden;
}

.certification-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.certification-item:hover::after {
    opacity: 1;
}

/* Certificate Image Enhancements */
.cert-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: all var(--transition-normal);
}

.cert-image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(22, 255, 176, 0.2);
}

.view-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(22, 255, 176, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-normal);
    color: var(--bg-color);
    font-weight: 600;
}

.cert-image-container:hover .view-overlay {
    opacity: 1;
}

/* Responsive Improvements */
@media (max-width: 768px) {

    .education-section,
    .certifications-section {
        padding: 3rem 0;
    }

    .section-title i {
        display: block;
        margin-bottom: 0.5rem;
        font-size: 1.5em;
    }
}

/* 
Certificate Modal Styles */
.certificate-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.certificate-modal.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform var(--transition-normal);
}

.certificate-modal.show .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10000;
}

.modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.modal-caption {
    text-align: center;
    padding: 1rem 0 0;
    color: var(--text-color);
}

.modal-caption h3 {
    margin: 0 0 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.modal-caption p {
    margin: 0;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        padding: 0.5rem;
    }

    .modal-image {
        max-height: 60vh;
    }

    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
}

/* COMPRE
HENSIVE HOVER EFFECTS RESTORATION */

/* Ensure all interactive elements have proper hover effects */
.skill-card:hover,
.project-card:hover,
.education-item:hover,
.certification-item:hover,
.achievement-item:hover,
.hobby-item:hover,
.contact-info:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(22, 255, 176, 0.2) !important;
    border-color: var(--primary-color) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced glow effects on hover */
.skill-card:hover::before,
.project-card:hover::before,
.education-item:hover::before,
.certification-item:hover::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #16FFB0, #00D4AA, #16FFB0);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.7;
    filter: blur(8px);
    animation: glow-pulse 4s ease-in-out infinite alternate;
}

@keyframes glow-pulse {
    0% {
        opacity: 0.5;
    }

    100% {
        opacity: 0.8;
    }
}

/* Button hover effects */
.btn:hover,
.filter-btn:hover,
.view-btn:hover,
button:hover {
    transform: translateY(-2px) scale(1.05) !important;
    box-shadow: 0 8px 25px rgba(22, 255, 176, 0.3) !important;
    background: linear-gradient(135deg, #16FFB0, #00D4AA) !important;
    color: #000 !important;
    transition: all 0.3s ease !important;
}

/* Form elements hover effects */
.form-control:hover,
input:hover,
textarea:hover,
select:hover {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 20px rgba(22, 255, 176, 0.2) !important;
    transform: translateY(-1px) !important;
    transition: all 0.3s ease !important;
}

/* Image hover effects */
img:hover,
.cert-thumb-img:hover {
    transform: scale(1.05) !important;
    filter: brightness(1.1) !important;
    transition: all 0.3s ease !important;
}

/* Link hover effects */
a:hover {
    color: var(--primary-color) !important;
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5) !important;
    transform: translateY(-1px) !important;
    transition: all 0.3s ease !important;
}

/* Card content hover effects */
.skill-card:hover .skill-name,
.project-card:hover .project-title,
.education-item:hover .edu-title,
.certification-item:hover .cert-title {
    color: var(--primary-color) !important;
    text-shadow: 0 0 15px rgba(22, 255, 176, 0.6) !important;
}

/* Progress bar animations on hover */
.skill-card:hover .proficiency-fill,
.skill-card:hover .progress-bar {
    animation: progress-glow 3s ease-in-out infinite alternate !important;
}

@keyframes progress-glow {
    0% {
        box-shadow: 0 0 5px rgba(22, 255, 176, 0.5);
    }

    100% {
        box-shadow: 0 0 20px rgba(22, 255, 176, 0.8);
    }
}

/* Floating elements enhanced hover */
.floating-button:hover {
    transform: scale(1.15) translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(22, 255, 176, 0.4) !important;
    filter: brightness(1.2) !important;
}

/* Navigation hover effects */
.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
    text-shadow: 0 0 10px rgba(22, 255, 176, 0.5) !important;
}

/* Ensure all hover effects work on touch devices */
@media (hover: hover) {

    .skill-card,
    .project-card,
    .education-item,
    .certification-item,
    .achievement-item,
    .hobby-item {
        cursor: pointer;
    }
}

/* Mobile touch feedback */
@media (hover: none) {

    .skill-card:active,
    .project-card:active,
    .education-item:active,
    .certification-item:active {
        transform: scale(0.98) !important;
        transition: transform 0.1s ease !important;
    }
}

/*
 FAQ Section Styling */
.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(22, 255, 176, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(22, 255, 176, 0.2);
}

.faq-item h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0;
}
.skill-category {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(22, 255, 176, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    font-size: 0.8rem;
    margin-top: 8px;
    border: 1px solid rgba(22, 255, 176, 0.2);
}
