:root {
    --primary-color: #00ff00;
    --primary-color-dark: #00cc00;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-color: #ffffff;
    --text-color-muted: #888888;
    --glow-color: rgba(0, 255, 0, 0.5);
}

html{
    overflow-x: hidden;

}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background-color: var(--background-dark);
    color: var(--text-color);
    line-height: 1.6;
}

/* Glow Effects */
.glow-text {
    text-shadow: 0 0 10px var(--glow-color),
                 0 0 20px var(--glow-color),
                 0 0 30px var(--glow-color);
}

.glow-text-hover:hover {
    text-shadow: 0 0 10px var(--glow-color),
                 0 0 20px var(--glow-color),
                 0 0 30px var(--glow-color);
    transition: text-shadow 0.3s ease;
}

.animate__delay-2s{
    color: #ffffff;
    font-size: 60px;
}

.animate__delay-3s{
    font-size: 20px;
}

.glow-button {
    box-shadow: 0 0 10px var(--glow-color),
                0 0 20px var(--glow-color);
    transition: all 0.3s ease;
}

.glow-button:hover {
    box-shadow: 0 0 15px var(--glow-color),
                0 0 30px var(--glow-color),
                0 0 45px var(--glow-color);
    transform: translateY(-2px);
}

.glow-border {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 10px var(--glow-color);
    transition: all 0.3s ease;
}

.glow-border:hover {
    box-shadow: 0 0 15px var(--glow-color),
                0 0 30px var(--glow-color);
    background-color: var(--primary-color);
    color: var(--background-dark);
}

.glow-card {
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.glow-card:hover {
    box-shadow: 0 0 20px var(--glow-color),
                0 0 40px rgba(0, 255, 0, 0.2);
    transform: translateY(-5px);
}

.glow-effect {
    box-shadow: 0 0 20px var(--glow-color),
                0 0 40px rgba(0, 255, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px var(--glow-color);
    }
    50% {
        box-shadow: 0 0 40px var(--glow-color),
                    0 0 60px rgba(0, 255, 0, 0.3);
    }
    100% {
        box-shadow: 0 0 20px var(--glow-color);
    }
}

/* Enhanced Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    background: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(0, 255, 0, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    position: relative;
}

.logo {
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(45deg, var(--primary-color), #00ffaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.logo::before {
    content: '';
    position: absolute;
    width: 160%;
    height: 160%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    filter: blur(20px);
    opacity: 0.15;
    z-index: -1;
    transition: all 0.4s ease;
}

.logo:hover::before {
    opacity: 0.3;
    width: 180%;
    height: 180%;
}

.nav-links {
    display: flex;
    gap: 2.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-links a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.nav-links a:hover::before,
.nav-links a.active::before {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
}

.contact-btn {
    position: relative;
    padding: 0.7rem 1.6rem;
    background: transparent;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: var(--primary-color);
    transform: translate(-50%, -50%) rotate(45deg) translateY(100%);
    transition: all 0.4s ease;
    z-index: -1;
}

.contact-btn:hover {
    color: var(--background-dark);
    border-color: transparent;
}

.contact-btn:hover::before {
    transform: translate(-50%, -50%) rotate(45deg) translateY(0);
}

/* Progress Bar */
.scroll-progress {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #00ffaa);
    transition: width 0.1s linear;
}

/* Hero Section Enhancements */
.hero {
    min-height: 100%;
    padding: 200px 0 60px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.profile-circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--background-light);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    /* height: 100%; */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-circle:hover .profile-img {
    transform: scale(1.1);
}

.hero-shape {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    pointer-events: none;
}

.wave-shape {
    width: 100%;
    height: auto;
    opacity: 0.5;
}

.hero-content {
    padding-right: 2rem;
}

.greeting {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color-muted);
}

.cta-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.primary-btn, .download-cv {
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--primary-color);
    color: var(--background-dark);
    border: none;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.download-cv {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
}

.download-cv:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.download-cv i {
    font-size: 1rem;
    transition: transform 0.2s ease;
}

.download-cv:hover i {
    transform: translateY(1px);
}

/* Profile Circle */
.status-badge {
    position: absolute;
    bottom: 71px;
    right: 86px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--background-dark);
}

.status-badge i {
    color: var(--background-dark);
    font-size: 1.5rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    perspective: 1000px;
}

.section-subtitle {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: rgba(0, 255, 0, 0.1);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.1);
    animation: floatEffect 3s ease-in-out infinite;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

.section-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 15px 0;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 50%, var(--text-color) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    transform-style: preserve-3d;
    transition: all 0.3s ease;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-title::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.5;
    filter: blur(8px);
    transform: translateZ(-10px);
    animation: glowPulse 2s ease-in-out infinite;
}

.section-line {
    width: 200px;
    height: 3px;
    background: transparent;
    margin: 30px auto;
    position: relative;
    overflow: hidden;
}

.section-line::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--primary-color) 25%,
        var(--primary-color) 75%,
        transparent 100%
    );
    animation: lineSlide 3s linear infinite;
}

.section-line::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 
        0 0 20px var(--primary-color),
        0 0 40px var(--primary-color),
        0 0 60px var(--primary-color);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes floatEffect {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-10px) scale(1.05);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        filter: blur(8px);
    }
    50% {
        opacity: 0.8;
        filter: blur(12px);
    }
}

@keyframes lineSlide {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes dotPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.5;
        box-shadow: 
            0 0 30px var(--primary-color),
            0 0 50px var(--primary-color),
            0 0 70px var(--primary-color);
    }
}

.section-header:hover .section-title {
    transform: translateZ(30px) rotateX(10deg);
    letter-spacing: 5px;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--background-dark) 0%, rgba(0,0,0,0.98) 100%);
    position: relative;
    z-index: 1;
}

.services .container {
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    perspective: 1000px;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(45deg, var(--primary-color), #80ff80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.service-card {
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(0, 255, 0, 0.1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.03), transparent);
    transform: translateY(-100%);
    transition: transform 0.6s ease;
}

.service-card:hover::before {
    transform: translateY(100%);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 255, 0, 0.15);
    border-color: rgba(0, 255, 0, 0.3);
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
}

.service-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.05), rgba(0, 255, 0, 0.1));
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 0, 0.1);
}

.service-icon::before {
    content: '';
    position: absolute;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 255, 0, 0.1), transparent 70%);
    filter: blur(20px);
    opacity: 0.15;
    z-index: -1;
    transition: all 0.4s ease;
}

.service-icon i {
    font-size: 2.8rem;
    background: linear-gradient(45deg, var(--primary-color), #80ff80);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
}

.service-title {
    font-size: 1.6rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 600;
    letter-spacing: 1px;
}

.service-description {
    color: #a0a0a0;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    padding: 10px 25px;
    border: 2px solid rgba(0, 255, 0, 0.2);
    border-radius: 30px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-top: 20px;
    background: rgba(0, 255, 0, 0.05);
}

.service-link:hover {
    background: linear-gradient(45deg, rgba(0, 255, 0, 0.1), rgba(0, 255, 0, 0.2));
    transform: translateX(5px);
    border-color: rgba(0, 255, 0, 0.3);
}

.service-link i {
    margin-left: 10px;
    font-size: 1em;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-features li {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0, 255, 0, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.service-features li:hover {
    transform: translateX(5px);
    background: rgba(0, 255, 0, 0.1);
    border-color: rgba(0, 255, 0, 0.2);
}

.service-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 1rem;
    background: rgba(0, 255, 0, 0.1);
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Responsive adjustments for services */
@media (max-width: 1399px) {
    .experience-badge{
        top: 20px !important;
    right: 4px !important;
    }
    .profile-circle{
        width: 500px;
        height: 500px;
    }
    .status-badge{
        bottom: 62px;
    right: 63px;
    }
}

@media (max-width: 1199px) {
    .experience-badge{
        top: 400px !important;
        left: 0 !important;
    }

    .splide__arrow.splide__arrow--prev{
        left: 30% !important;
    }
    .splide__arrow.splide__arrow--next{
        right: 30% !important;
    }

    .status-badge{
        bottom: 50px;
        right: 63px;
    }

    .profile-circle{
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 991px) {
    .service-card {
        margin-bottom: 30px;
    }
    .status-badge{
        bottom: 10px;
    right: 63px;
    }

    .profile-circle{
        width: 400px;
        height: 400px;
    }
}

@media (max-width: 768px) {
    .services {
        padding: 80px 0;
    }

    .footer-links h4::after{
        left: 202px !important;
    }

    .status-badge {
        bottom: 15px;
        right: 47px;
        width: 40px;
    height: 40px;
    }

    .portfolio-filter{
        display: flex;
    justify-content: center;
    flex-direction: column;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
    
    .service-card {
        padding: 35px 25px;
    }
    
    .service-icon {
        width: 85px;
        height: 85px;
        margin-bottom: 25px;
    }
    
    .service-icon i {
        font-size: 2.4rem;
    }
    
    .service-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(-45deg, rgba(0,255,0,0.05) 0%, rgba(0,0,0,0) 100%);
    position: relative;
    z-index: 1;
}

.projects{
    padding-top: 100px;

}

.about-wrapper {
    margin-top: 60px;
}

.about-image {
    position: relative;
    padding-bottom: 100%;
    background: var(--background-light);
    border-radius: 20px;
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    top: 25px;
    right: 80px;
    width: 150px;
    height: 150px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    text-align: center;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.experience-badge .years {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 0.9rem;
    line-height: 1.2;
}

.about-content {
    padding: 0 0 0 30px;
}

.about-text {
    margin-bottom: 40px;
}

.about-text .lead {
    font-size: 1.25rem;
    color: var(--text-color);
    line-height: 1.8;
}

.skills-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.skills-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.skill-item {
    margin-bottom: 25px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-bar {
    height: 8px;
    background: var(--background-light);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
    position: relative;
    width: 0;
    transition: width 1.5s ease;
}

.skill-fill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: skillShine 2s infinite linear;
}

/* About Gallery Styles */
.about-gallery {
    position: relative;
}

.gallery-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.main-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: transform 0.5s ease;
}

.gallery-main:hover .main-img {
    transform: scale(1.05);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 30px;
}

.gallery-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}

/* Stats Enhancement */
.stats-wrapper {
    margin-top: 50px;
}

.stat-card {
    padding: 30px 20px;
    text-align: center;
    background: var(--background-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.stat-card p {
    color: var(--text-color-muted);
    margin: 0;
    position: relative;
    z-index: 1;
}

.stat-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0,255,0,0.1) 0%, rgba(0,0,0,0) 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover .stat-bg {
    opacity: 1;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding: 100px 0 40px;
    }

    .hero-content {
        padding-top: 80px !important;
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .profile-circle {
        width: 300px;
        height: 300px;
    }

    .about-content {
        padding: 30px 0 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid img {
        height: 100px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 80px 0 30px;
    }

    .nav-wrapper {
        padding: 1rem;
    }

    .nav-links {
        display: none;
    }

    .profile-circle {
        width: 250px;
        height: 250px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .experience-badge {
        width: 120px;
        height: 120px;
    }

    .experience-badge .years {
        font-size: 2.5rem;
    }

    .about-content {
        padding: 20px 0 0;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-links h4::after {
        left: 158px !important;
    }

    .gallery-grid img {
        height: 200px;
    }
}

/* Fix for section overlapping */
section {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* Portfolio Section */
.portfolio {
    padding: 100px 0;
    background: var(--background-dark);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid rgba(0, 255, 0, 0.2);
    background: transparent;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.2);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: var(--background-light);
    transition: all 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
    opacity: 1;
    transform: scale(1);
}

.portfolio-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.8);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.15);
}

.portfolio-img {
    position: relative;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
}

.portfolio-info h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.portfolio-info p {
    color: var(--primary-color);
    font-size: 0.9rem;
    margin: 0;
}

.portfolio-link {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-dark);
    transform: translateY(-100px);
    transition: all 0.3s ease;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

/* Clients Section */
.clients {
    padding: 80px 0;
    background: var(--background-light);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.client-item {
    background: rgba(26, 26, 26, 0.5);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.client-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
    border-color: var(--primary-color);
}

.client-item img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%) brightness(200%);
    transition: all 0.3s ease;
}

.client-item:hover img {
    filter: grayscale(0%) brightness(100%);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--background-dark);
    position: relative;
    overflow: hidden;
}

.testimonial-slider {
    padding: 40px 20px !important;
    margin-top: 30px;
    overflow: visible;
}

.testimonial-item {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.testimonial-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-color);
    position: relative;
    z-index: 1;
}

.testimonial-img::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.2));
    z-index: -1;
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 20px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.client-info {
    margin-top: 20px;
}

.client-info h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.client-info span {
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

/* Custom Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.2);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 255, 0, 0.2);
    transform: scale(1.1);
}

.swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    background: var(--primary-color) !important;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color) !important;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
}

/* Enhanced Footer */
.footer {
    background: linear-gradient(to top, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.8));
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0, 255, 0, 0.1);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info {
    max-width: 400px;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, var(--primary-color), #00ffaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    color: var(--text-color-muted);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 255, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--background-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
}

.footer-links h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-color-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 1.2rem;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 1.5rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-color-muted);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--background-dark);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-card {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(0, 255, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 255, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.contact-card h3 {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-color-muted);
}

.contact-form {
    background: rgba(26, 26, 26, 0.9);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(0, 255, 0, 0.1);
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-control {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    border-radius: 10px;
    color: var(--text-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control::placeholder{
    color: var(--primary-color-dark) !important;
}

.form-control:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--primary-color);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.focus-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.form-control:focus ~ .focus-border {
    width: 100%;
}

.submit-btn {
    background: var(--primary-color);
    color: var(--background-dark);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.2);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 1rem;
    text-align: center;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeSlideDown 0.3s forwards;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #ff3333;
    color: #ff3333;
}

@keyframes fadeSlideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--background-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top i {
    color: var(--primary-color);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.scroll-top:hover i {
    transform: translateY(-3px);
}

.progress-ring {
    position: absolute;
    /* top: 0;
    left: 0; */
    transform: rotate(-90deg);
}

.progress-ring-circle {
    fill: transparent;
    stroke: var(--primary-color);
    stroke-width: 2;
    stroke-dasharray: 125.6;
    stroke-dashoffset: 125.6;
    transition: stroke-dashoffset 0.3s ease;
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
    .cursor {
        display: none;
    }
    
    a, button, .interactive {
        cursor: pointer;
    }
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }

    .progress-ring{
        position: absolute
    }
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Cursor Follower */
.cursor-follower {
    position: fixed;
    width: 30px;
    height: 30px;
    background: rgba(0, 255, 0, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background 0.3s ease, opacity 0.3s ease;
    mix-blend-mode: difference;
    will-change: transform;
    left: 0;
    top: 0;
}

.cursor-follower.cursor-hover {
    width: 50px;
    height: 50px;
    background: rgba(0, 255, 0, 0.15);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s;
}

@media screen and (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background: var(--background-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(50px);
        transition: 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .hero-content {
        text-align: center;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        margin-bottom: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .primary-btn,
    .download-cv {
        /* width: 100%; */
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 20px;
        margin-bottom: 20px;
    }
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    margin: 5px 0;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        opacity: 0;
        transform: translateX(-20px);
        transition: 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    .contact-btn {
        display: none;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-content {
        text-align: center;
        padding: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content h2 {
        font-size: 1.8rem;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-info,
    .contact-form {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media screen and (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .service-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .about-gallery {
        margin-bottom: 30px;
    }

    .about-content {
        text-align: center;
    }

    .testimonial-card {
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media screen and (max-width: 576px) {
    .container {
        padding: 0 15px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .primary-btn,
    .secondary-btn,
    .download-cv {
        /* width: 100%; */
        text-align: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-control {
        padding: 12px;
    }

    .scroll-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Fix for notched devices */
@supports (padding: max(0px)) {
    .nav-wrapper,
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }
}

.splide__slide {
    padding: 40px 10px;
    text-align: center;
    font-size: 24px;
    border-radius: 10px;
  }

  .splide__pagination__page.is-active{
    background-color: var(--primary-color) !important;
  }

  /* .splide__arrow.splide__arrow--prev, .splide__arrow.splide__arrow--next{
   background-color: #4f4f4f;
} */
.splide__arrow.splide__arrow--prev{
    position: absolute;
    left: 45%;
    top: 98%;
    background-color: #4f4f4f;

}
.splide__arrow.splide__arrow--next{
    position: absolute;
    right: 45%;
    background-color: #4f4f4f;
    top: 98%;

}
.fa-chevron-left:before{
    color: #fff;
}
.fa-chevron-right:before{
    color: #fff;
}
