* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Particles only in hero section */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;       /* no background */
    backdrop-filter: none;         /* no blur initially */
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.5);  /* light transparent background */
    backdrop-filter: blur(15px);     /* blur effect on scroll */
}


.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: #00bcd4;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section with particles only */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: heroFadeIn 1.2s ease 0.3s forwards;
}

.hero-greeting {
    font-size: 1.2rem;
    color: #00bcd4;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-weight: 700;
    background: linear-gradient(135deg, #fff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ccc;
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.auto-slide-text {
    color: #00bcd4;
    font-weight: 600;
    position: relative;
    width: 100%;
    height: 100%;
}



 .text-slide {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(100%);
    /* Start from bottom */
    animation: slideTextUp 18s infinite;
}

.text-slide:nth-child(1) {
    animation-delay: 0s;
}

.text-slide:nth-child(2) {
    animation-delay: 3s;
}

.text-slide:nth-child(3) {
    animation-delay: 6s;
}

.text-slide:nth-child(4) {
    animation-delay: 9s;
}

.text-slide:nth-child(5) {
    animation-delay: 12s;
}

@keyframes slideTextUp {
    0%, 16.66% {
        opacity: 0;
        transform: translateY(50px) scale(0.9); /* Start smaller and lower */
    }
    20%, 36.66% {
        opacity: 1;
        transform: translateY(0) scale(1); /* Normal size in center */
    }
    40%, 100% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9); /* Shrink and move up */
    }
} 


/* Pause animation on hover */
.auto-slide-text:hover .text-slide {
    animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
        min-height: 50px;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 1.2rem;
        min-height: 40px;
    }
}


.hero-bio {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #aaa;
    line-height: 1.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-social {
    display: flex;
    justify-content: center;
    margin-left: 50px;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 188, 212, 0.3);
    font-size: 1.2rem;
    animation: bounce 2s infinite;
}

/* Different delays for each icon */
.social-icon.one {
    animation-delay: 0s;
}

.social-icon.two {
    animation-delay: 0.2s;
}

.social-icon.three {
    animation-delay: 0.4s;
}

.social-icon.four {
    animation-delay: 0.8s;
}

/* Optional: Pause animation on hover */
.social-icon:hover {
    animation-play-state: paused;
}

/* Bounce Animation Keyframes */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-15px);
    }

    60% {
        transform: translateY(-7px);
    }
}

/* Responsive Design for Mobile and Tablets */
@media (max-width: 768px) {
    .hero-social {
        gap: 15px;
    }

    /* Slightly reduce bounce height on mobile */
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-12px);
        }

        60% {
            transform: translateY(-5px);
        }
    }
}

@media (max-width: 480px) {
    .hero-social {
        gap: 12px;
    }

    /* Further reduce bounce on small screens */
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-10px);
        }

        60% {
            transform: translateY(-4px);
        }
    }
}

/* For very small screens */
@media (max-width: 360px) {
    .hero-social {
        gap: 10px;
    }

    /* Minimal bounce for tiny screens */
    @keyframes bounce {

        0%,
        20%,
        50%,
        80%,
        100% {
            transform: translateY(0);
        }

        40% {
            transform: translateY(-8px);
        }

        60% {
            transform: translateY(-3px);
        }
    }
}

.social-icon:hover {
    background: #00bcd4;
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #666;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: #00bcd4;
    margin: 0 auto 10px;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 8px solid #00bcd4;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Sections with no background particles */
.section {
    padding: 120px 0;
    background-color: #000;
    position: relative;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00bcd4, transparent);
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 4rem;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    border-radius: 2px;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 188, 212, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00bcd4;
    border: 2px solid #00bcd4;
}

.btn-secondary:hover {
    background: #00bcd4;
    color: #000;
    transform: translateY(-3px);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* About Text Section */
.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 188, 212, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-card:hover::before {
    opacity: 1;
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.about-card:hover .about-icon {
    transform: scale(1.1);
}

.about-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.about-card-content {
    flex: 1;
}

.about-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.about-card p {
    color: #ccc;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* About Stats Section */
.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-content: start;
}

.stat {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 188, 212, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.stat:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 188, 212, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border: 2px solid rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
}

.stat:hover .stat-icon {
    background: rgba(0, 188, 212, 0.2);
    border-color: rgba(0, 188, 212, 0.5);
    transform: scale(1.1);
}

.stat-icon i {
    font-size: 1.2rem;
    color: #00bcd4;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.counter {
    font-size: 2.5rem;
    font-weight: bold;
    color: #00bcd4;
    margin: 0;
    text-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.stat p {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        gap: 3rem;
    }

    .about-card {
        padding: 1.5rem;
    }

    .about-icon {
        width: 55px;
        height: 55px;
    }

    .about-icon i {
        font-size: 1.4rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .counter {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }

    .about-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .about-icon {
        margin: 0 auto;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .counter {
        font-size: 2rem;
    }

    .stat p {
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat {
        padding: 1.5rem;
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }

    .stat-icon {
        margin: 0;
        flex-shrink: 0;
    }

    .stat-content {
        flex: 1;
    }

    .counter {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .about-content {
        gap: 2rem;
        padding: 0 0.5rem;
    }

    .about-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }

    .about-icon {
        width: 50px;
        height: 50px;
    }

    .about-icon i {
        font-size: 1.3rem;
    }

    .about-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .about-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .stat {
        padding: 1.2rem;
        border-radius: 15px;
    }

    .stat-icon {
        width: 45px;
        height: 45px;
    }

    .stat-icon i {
        font-size: 1.1rem;
    }

    .counter {
        font-size: 1.6rem;
    }

    .stat p {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .about-card {
        padding: 1rem;
    }

    .about-card h3 {
        font-size: 1.1rem;
    }

    .about-card p {
        font-size: 0.85rem;
    }

    .stat {
        padding: 1rem;
        gap: 0.8rem;
    }

    .counter {
        font-size: 1.4rem;
    }

    .stat p {
        font-size: 0.75rem;
    }
}


/* Simple Skills Section */
.skills-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    /* background: rgba(255, 255, 255, 0.05); */
    border-radius: 20px;
    /* border: 1px solid rgba(0, 188, 212, 0.2); */
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.skills-container:hover {
    border-color: rgba(0, 188, 212, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.skill-tag {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem 1rem;
    border-radius: 15px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.skill-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    transition: all 0.3s ease;
    z-index: -1;
}

.skill-tag i {
    font-size: 2rem;
    transition: transform 0.3s ease;
}

.skill-tag span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Frontend Skills */
.skill-tag.frontend {
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.3);
}

.skill-tag.frontend::before {
    background: rgba(255, 107, 107, 0.1);
}

.skill-tag.frontend:hover {
    color: #fff;
    border-color: #ff6b6b;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 107, 107, 0.3);
}

.skill-tag.frontend:hover::before {
    background: rgba(255, 107, 107, 0.2);
}

.skill-tag.frontend:hover i {
    transform: scale(1.1);
    color: #ff6b6b;
}

/* Backend Skills */
.skill-tag.backend {
    color: #4ecdc4;
    border-color: rgba(78, 205, 196, 0.3);
}

.skill-tag.backend::before {
    background: rgba(78, 205, 196, 0.1);
}

.skill-tag.backend:hover {
    color: #fff;
    border-color: #4ecdc4;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(78, 205, 196, 0.3);
}

.skill-tag.backend:hover::before {
    background: rgba(78, 205, 196, 0.2);
}

.skill-tag.backend:hover i {
    transform: scale(1.1);
    color: #4ecdc4;
}

/* Tools & Technologies */
.skill-tag.tools {
    color: #00bcd4;
    border-color: rgba(0, 188, 212, 0.3);
}

.skill-tag.tools::before {
    background: rgba(0, 188, 212, 0.1);
}

.skill-tag.tools:hover {
    color: #fff;
    border-color: #00bcd4;
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 188, 212, 0.3);
}

.skill-tag.tools:hover::before {
    background: rgba(0, 188, 212, 0.2);
}

.skill-tag.tools:hover i {
    transform: scale(1.1);
    color: #00bcd4;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .skills-container {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.2rem;
    }

    .skill-tag {
        padding: 1.2rem 0.8rem;
    }

    .skill-tag i {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .skills-container {
        padding: 1rem;
        margin: 0 1rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1rem;
    }

    .skill-tag {
        padding: 1rem 0.6rem;
        gap: 0.6rem;
    }

    .skill-tag i {
        font-size: 1.6rem;
    }

    .skill-tag span {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .skills-container {
        margin: 0 0.5rem;
        padding: 0.8rem;
        border-radius: 15px;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.8rem;
    }

    .skill-tag {
        padding: 0.8rem 0.4rem;
        gap: 0.5rem;
    }

    .skill-tag i {
        font-size: 1.4rem;
    }

    .skill-tag span {
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .skill-tag {
        padding: 0.7rem 0.3rem;
    }

    .skill-tag i {
        font-size: 1.2rem;
    }

    .skill-tag span {
        font-size: 0.75rem;
    }
}


/* Horizontal Projects Section */
/* Enhanced Projects Carousel Section */
.projects-carousel-container {
    position: relative;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 1rem;
}

.projects-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    /* background: rgba(255, 255, 255, 0.05); */
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(0, 188, 212, 0.2); */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.projects-carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.project-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(100px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.project-slide.prev {
    transform: translateX(-100px);
}

.project-card {
    position: relative;
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: hidden;
}

.project-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
    backdrop-filter: blur(8px);
    color: white;
    z-index: 5;
    max-height: 35%;
    overflow-y: auto;
}

.project-category {
    color: #00bcd4;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 0.3rem 0.6rem;
    background: rgba(0, 188, 212, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(0, 188, 212, 0.4);
    width: fit-content;
}

.project-info h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    line-height: 1.2;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.project-info>p {
    color: #e0e0e0;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.tech-tag {
    background: rgba(0, 188, 212, 0.25);
    color: #00bcd4;
    padding: 0.3rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 188, 212, 0.4);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tech-tag:hover {
    background: rgba(0, 188, 212, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 188, 212, 0.3);
}

/* Small Action Links in Bottom Right */
.project-links-corner {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 15;
}

.mini-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.mini-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

.mini-demo-btn {
    color: #fff;
}

.mini-demo-btn::before {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
}

.mini-github-btn {
    color: #fff;
}

.mini-github-btn::before {
    background: rgba(0, 0, 0, 0.7);
}

.mini-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.mini-demo-btn:hover {
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.5);
}

.mini-demo-btn:hover::before {
    background: linear-gradient(135deg, #00acc1, #00838f);
}

.mini-github-btn:hover::before {
    background: rgba(0, 0, 0, 0.9);
}

/* Tooltip for mini buttons */
.mini-btn::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.mini-btn:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 55px;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 20;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border: none;
    background: rgba(0, 188, 212, 0.9);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    pointer-events: all;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.prev-btn {
    margin-left: -10px;
}

.next-btn {
    margin-right: -10px;
}

.nav-btn:hover {
    background: rgba(0, 188, 212, 1);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.5);
}

.nav-btn:active {
    transform: scale(0.95);
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.indicator.active {
    background: #00bcd4;
    transform: scale(1.2);
}

.indicator:hover {
    background: #00bcd4;
    transform: scale(1.1);
}

.indicator.active::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid rgba(0, 188, 212, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
    .projects-carousel-container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    .projects-carousel-container {
        max-width: 1000px;
        padding: 0 0.8rem;
    }

    .projects-carousel {
        height: 550px;
    }

    .project-info {
        padding: 1.3rem;
    }

    .project-info h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 1024px) {
    .projects-carousel-container {
        max-width: 900px;
        padding: 0 0.6rem;
    }

    .projects-carousel {
        height: 500px;
    }

    .project-info {
        padding: 1.2rem;
        max-height: 40%;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }

    .project-info>p {
        font-size: 0.8rem;
    }

    .tech-tag {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .projects-carousel-container {
        padding: 0 0.5rem;
    }

    .projects-carousel {
        height: 480px;
    }

    .projects-carousel-wrapper {
        border-radius: 18px;
    }

    .project-info {
        padding: 1rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 90%);
        max-height: 45%;
    }

    .project-category {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }

    .project-info h3 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
    }

    .project-info>p {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        -webkit-line-clamp: 2;
    }

    .nav-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .carousel-controls {
        padding: 0 15px;
    }

    .project-links-corner {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }

    .mini-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .tech-tags {
        gap: 0.3rem;
    }

    .tech-tag {
        font-size: 0.6rem;
        padding: 0.2rem 0.4rem;
    }
}

@media (max-width: 640px) {
    .projects-carousel {
        height: 450px;
    }

    .project-info {
        padding: 0.9rem;
        max-height: 48%;
    }

    .project-info h3 {
        font-size: 1rem;
    }

    .project-info>p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .projects-carousel-container {
        margin: 0 -0.5rem;
        padding: 0;
    }

    .projects-carousel-wrapper {
        border-radius: 15px;
    }

    .projects-carousel {
        height: 420px;
    }

    .project-info {
        padding: 0.8rem;
        max-height: 50%;
    }

    .project-category {
        font-size: 0.65rem;
        margin-bottom: 0.4rem;
    }

    .project-info h3 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .project-info>p {
        font-size: 0.75rem;
        margin-bottom: 0.7rem;
        -webkit-line-clamp: 1;
    }

    .tech-tags {
        gap: 0.25rem;
    }

    .tech-tag {
        padding: 0.15rem 0.35rem;
        font-size: 0.55rem;
    }

    .carousel-controls {
        padding: 0 10px;
    }

    .nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .project-links-corner {
        bottom: 10px;
        right: 10px;
        gap: 6px;
    }

    .mini-btn {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .mini-btn::after {
        font-size: 0.7rem;
        padding: 4px 8px;
        bottom: 40px;
    }

    .mini-btn:hover::after {
        bottom: 45px;
    }
}

@media (max-width: 360px) {
    .projects-carousel {
        height: 380px;
    }

    .project-info {
        padding: 0.7rem;
    }

    .project-info h3 {
        font-size: 0.9rem;
    }

    .project-info>p {
        font-size: 0.7rem;
    }

    .tech-tag {
        font-size: 0.5rem;
        padding: 0.1rem 0.3rem;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .mini-btn {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }

    .slide-indicators {
        gap: 0.8rem;
        margin-top: 1.5rem;
    }

    .indicator {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 320px) {
    .projects-carousel {
        height: 350px;
    }

    .project-info {
        padding: 0.6rem;
    }

    .project-category {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
    }

    .project-info h3 {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .project-info>p {
        font-size: 0.65rem;
        margin-bottom: 0.6rem;
    }

    .tech-tags {
        gap: 0.2rem;
    }

    .tech-tag {
        font-size: 0.45rem;
        padding: 0.1rem 0.25rem;
    }

    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .carousel-controls {
        padding: 0 5px;
    }

    .mini-btn {
        width: 26px;
        height: 26px;
        font-size: 0.65rem;
    }

    .project-links-corner {
        bottom: 8px;
        right: 8px;
        gap: 4px;
    }
}



/* Certificates Section */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.certificate-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 188, 212, 0.5);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.certificate-card:hover::before {
    opacity: 1;
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.certificate-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-icon i {
    font-size: 1.5rem;
    color: #fff;
}

.certificate-badge {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.certificate-badge i {
    font-size: 1.2rem;
    color: #00bcd4;
}

.certificate-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.certificate-content p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.certificate-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.certificate-issuer {
    color: #00bcd4;
    font-weight: 600;
    font-size: 0.9rem;
}

.certificate-date {
    color: #999;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Certificate Links */
.certificate-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cert-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid;
    position: relative;
    overflow: hidden;
}

.cert-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: -1;
}

/* View Certificate Link */
.view-cert {
    color: #00bcd4;
    border-color: rgba(0, 188, 212, 0.3);
}

.view-cert::before {
    background: rgba(0, 188, 212, 0.1);
}

.view-cert:hover {
    color: #fff;
    border-color: #00bcd4;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 188, 212, 0.4);
}

.view-cert:hover::before {
    background: rgba(0, 188, 212, 0.2);
}

/* Verify Certificate Link */
.verify-cert {
    color: #4ecdc4;
    border-color: rgba(78, 205, 196, 0.3);
}

.verify-cert::before {
    background: rgba(78, 205, 196, 0.1);
}

.verify-cert:hover {
    color: #fff;
    border-color: #4ecdc4;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.4);
}

.verify-cert:hover::before {
    background: rgba(78, 205, 196, 0.2);
}

/* Tooltip for certificate links */
.cert-link::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.cert-link:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: 55px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 1.5rem;
    }

    .certificate-card {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .certificate-card {
        padding: 1.5rem;
    }

    .certificate-content h3 {
        font-size: 1.2rem;
    }

    .certificate-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }

    .certificate-links {
        gap: 1.5rem;
    }

    .cert-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .certificates-grid {
        padding: 0 0.5rem;
    }

    .certificate-card {
        padding: 1rem;
        border-radius: 15px;
    }

    .certificate-header {
        margin-bottom: 1rem;
    }

    .certificate-icon {
        width: 50px;
        height: 50px;
    }

    .certificate-icon i {
        font-size: 1.3rem;
    }

    .certificate-badge {
        width: 35px;
        height: 35px;
    }

    .certificate-badge i {
        font-size: 1rem;
    }

    .certificate-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }

    .certificate-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .certificate-meta {
        margin-bottom: 1rem;
    }

    .certificate-issuer {
        font-size: 0.85rem;
    }

    .certificate-date {
        font-size: 0.8rem;
        padding: 0.2rem 0.6rem;
    }

    .cert-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .cert-link::after {
        font-size: 0.7rem;
        padding: 4px 8px;
        bottom: 45px;
    }

    .cert-link:hover::after {
        bottom: 50px;
    }
}

@media (max-width: 320px) {
    .certificate-card {
        padding: 0.8rem;
    }

    .certificate-content h3 {
        font-size: 1rem;
    }

    .certificate-content p {
        font-size: 0.8rem;
    }

    .cert-link {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* Email और Phone Links की styling */
.email-link,
.phone-link {
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    word-break: break-word;
}

.email-link:hover,
.phone-link:hover {
    color: #00bcd4 !important;
    transform: translateX(5px);
    cursor: pointer;
}

/* Hover effect के लिए underline */
.email-link::after,
.phone-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(90deg, #00bcd4, #0097a7);
    transition: width 0.3s ease;
}

.email-link:hover::after,
.phone-link:hover::after {
    width: 100%;
}

/* Mobile devices के लिए better touch targets */
@media (max-width: 768px) {
    .email-link,
    .phone-link {
        padding: 0.2rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}

/* Contact method hover effect को enhance करें */
.contact-method:hover .email-link,
.contact-method:hover .phone-link {
    color: #00bcd4 !important;
}

/* Click feedback effect */
.email-link:active,
.phone-link:active {
    transform: scale(0.98);
    color: #00acc1 !important;
}






/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(10px);
    height: fit-content;
}

.contact-card h3 {
    color: #00bcd4;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.contact-card>p {
    color: #ccc;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.contact-methods {
    margin-bottom: 2.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(0, 188, 212, 0.1);
    transform: translateY(-2px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.label {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
}

.value {
    color: #fff;
    font-weight: 600;
    word-break: break-word;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 188, 212, 0.1);
    color: #00bcd4;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.social-link:hover {
    background: #00bcd4;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(0, 188, 212, 0.2);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.form-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-header p {
    color: #ccc;
}

.contact-form {
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00bcd4;
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.1);
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #00acc1, #00838f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 188, 212, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success Message Styling */
.success-message {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.7);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 100;
}

.success-message.show {
  opacity: 1;
  transform: scale(1);
}

.success-content {
  text-align: center;
  color: white;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 90%;
  position: relative;
  overflow: hidden;
}

.success-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4caf50, #2e7d32);
}

.success-content i {
  font-size: 4rem;
  color: #4caf50;
  margin-bottom: 1.5rem;
  animation: successBounce 0.8s ease;
  text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.success-content h4 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #4caf50;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.success-content p {
  color: #e0e0e0;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

/* Success Animation */
@keyframes successBounce {
  0% {
    transform: scale(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.3) rotate(180deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(360deg);
    opacity: 1;
  }
}

/* Pulse effect for icon */
.success-content i::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(76, 175, 80, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: successPulse 2s infinite;
}

@keyframes successPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .success-content {
    padding: 2.5rem 1.5rem;
    max-width: 350px;
  }
  
  .success-content i {
    font-size: 3.5rem;
    margin-bottom: 1.2rem;
  }
  
  .success-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }
  
  .success-content p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .success-content {
    padding: 2rem 1rem;
    max-width: 300px;
    border-radius: 15px;
  }
  
  .success-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .success-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }
  
  .success-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 320px) {
  .success-content {
    padding: 1.5rem 0.8rem;
    max-width: 280px;
  }
  
  .success-content i {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }
  
  .success-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
  }
  
  .success-content p {
    font-size: 0.8rem;
  }
}


/* Responsive Design */
@media (max-width: 1024px) {
    .contact-content {
        gap: 3rem;
        max-width: 900px;
    }

    .contact-card {
        padding: 2.5rem;
    }

    .contact-card h3 {
        font-size: 1.8rem;
    }

    .form-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-card {
        padding: 2rem;
    }

    .contact-card h3 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }

    .contact-card>p {
        margin-bottom: 2rem;
        line-height: 1.6;
    }

    .contact-methods {
        margin-bottom: 2rem;
    }

    .contact-method {
        gap: 1rem;
        margin-bottom: 1rem;
        padding: 0.8rem;
    }

    .contact-icon {
        width: 45px;
        height: 45px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-header {
        padding: 1.5rem;
    }

    .form-header h3 {
        font-size: 1.4rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .form-group {
        margin-bottom: 1.2rem;
    }

    .social-links {
        gap: 0.8rem;
    }

    .social-link {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .contact-content {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }

    .contact-card {
        padding: 1.5rem;
        border-radius: 15px;
    }

    .contact-card h3 {
        font-size: 1.4rem;
        margin-bottom: 0.6rem;
    }

    .contact-card>p {
        margin-bottom: 1.5rem;
        font-size: 0.9rem;
    }

    .contact-methods {
        margin-bottom: 1.5rem;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
        padding: 1rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .label {
        font-size: 0.8rem;
    }

    .value {
        font-size: 0.9rem;
    }

    .social-links {
        flex-direction: column;
        gap: 0.6rem;
    }

    .social-link {
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .contact-form-container {
        border-radius: 15px;
    }

    .form-header {
        padding: 1rem;
    }

    .form-header h3 {
        font-size: 1.2rem;
    }

    .form-header p {
        font-size: 0.9rem;
    }

    .contact-form {
        padding: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 100px;
    }

    .submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 320px) {
    .contact-card {
        padding: 1rem;
    }

    .contact-card h3 {
        font-size: 1.2rem;
    }

    .contact-card>p {
        font-size: 0.85rem;
    }

    .contact-method {
        padding: 0.8rem;
    }

    .contact-icon {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .form-header {
        padding: 0.8rem;
    }

    .form-header h3 {
        font-size: 1.1rem;
    }

    .contact-form {
        padding: 0.8rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }

    .submit-btn {
        font-size: 0.9rem;
        padding: 0.7rem 1rem;
    }
}


/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 35, 58, 0.95));
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0, 188, 212, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00bcd4, transparent);
    opacity: 0.6;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-text p {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-text p:first-child {
    font-weight: 500;
}

.footer-text p:last-child {
    color: #b0b0b0;
    font-size: 0.85rem;
}

.footer-text i {
    color: #ff6b6b;
    margin: 0 0.3rem;
    animation: heartbeat 2s ease-in-out infinite;
    font-size: 0.9rem;
}

@keyframes heartbeat {

    0%,
    50%,
    100% {
        transform: scale(1);
    }

    25%,
    75% {
        transform: scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0;
    }

    .footer-text p {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .footer-text p:last-child {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0;
    }

    .footer-text p {
        font-size: 0.8rem;
    }

    .footer-text p:last-child {
        font-size: 0.75rem;
    }
}

@media (max-width: 320px) {
    .footer-text p {
        font-size: 0.75rem;
    }

    .footer-text p:last-child {
        font-size: 0.7rem;
    }
}


/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Counter Animation */
.counter {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }

    .certificates-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section {
        padding: 80px 0;
    }

    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .project-info {
        padding: 1.5rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}














