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

:root {

/* i'm gonna use them a lot, found from coolers and with the help of chatgpt */
    --primary-color: #00ff88;
    --secondary-color: #ff6b6b;
    --accent-color: #00d4ff;
    --dark-bg: #0a0a0a;
    --light-dark-bg: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-color-hover: var(--primary-color);
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    

    --accent-gradient: linear-gradient(45deg, #00ff88, #00d4ff);
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --skill-gradient: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    --testimonial-gradient: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(255, 107, 107, 0.1));
    

    --section-padding: clamp(60px, 8vw, 100px);
    --container-padding: clamp(15px, 3vw, 30px);
    --card-padding: clamp(20px, 4vw, 40px);
    --border-radius-sm: 10px;
    --border-radius-md: 15px;
    --border-radius-lg: 20px;
    --border-radius-xl: 25px;
    --border-radius-full: 50px;
    

    --font-family: 'Courier New', monospace;
    --font-size-xs: clamp(0.75rem, 2vw, 0.8rem);
    --font-size-sm: clamp(0.85rem, 2.5vw, 0.9rem);
    --font-size-base: clamp(1rem, 3vw, 1.1rem);
    --font-size-lg: clamp(1.2rem, 3.5vw, 1.5rem);
    --font-size-xl: clamp(1.5rem, 4vw, 2rem);
    --font-size-2xl: clamp(2rem, 5vw, 3rem);
    --font-size-3xl: clamp(2.5rem, 6vw, 4rem);
    

    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
 
    --shadow-sm: 0 5px 15px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.3);
    --shadow-primary: 0 10px 30px rgba(0, 255, 136, 0.3);
    --shadow-whatsapp: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* css starts from here */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--dark-bg);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: min(1200px, 95vw);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section-title {
    font-size: var(--font-size-2xl);
    text-align: center;
    margin-bottom: clamp(20px, 4vw, 40px);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.contact-subtitle {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: clamp(30px, 6vw, 50px);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* loading screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--dark-bg);
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    font-family: var(--font-family);
}

#loading-screen h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeInOut 2s infinite;
    margin-bottom: clamp(15px, 3vw, 20px);
    text-align: center;
}

.loader {
    width: clamp(30px, 8vw, 50px);
    height: clamp(30px, 8vw, 50px);
    border: clamp(3px, 0.5vw, 5px) solid var(--primary-color);
    border-top: clamp(3px, 0.5vw, 5px) solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* animation for loading screen(i might make a better loading screen later) */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

.floating {
    animation: float 6s ease-in-out infinite;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Navbar (it is in bottom) */
.nav {
    position: fixed;
    bottom: clamp(15px, 3vw, 20px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-xl);
    padding: clamp(10px, 2vw, 12px) clamp(16px, 3vw, 20px);
    z-index: 1000;
    transition: transform var(--transition-base), opacity var(--transition-base);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.nav.hidden {
    transform: translateX(-50%) translateY(100px);
    opacity: 0;
    pointer-events: none;
}

.nav-menu {
    display: flex;
    gap: clamp(20px, 4vw, 30px);
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(40px, 8vw, 45px);
    height: clamp(40px, 8vw, 45px);
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-base);
    position: relative;
}

.nav-link:hover {
    background: var(--card-bg-hover);
    background: var(--accent-gradient);
    transform: translateY(-2px);
}

.nav-link.active {
    background: var(--accent-gradient);
    color: #000;
}

.nav-link [data-lucide] {
    width: clamp(16px, 3vw, 20px);
    height: clamp(16px, 3vw, 20px);
}

.nav-link::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: var(--font-size-xs);
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}

.nav-link:hover::after {
    opacity: 1;
}

/* hero section starts from here */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 var(--container-padding);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    z-index: 2;
    text-align: center;
    width: 100%;
}

.glitch {
    font-size: var(--font-size-3xl);
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    color: var(--text-primary);
    letter-spacing: clamp(2px, 1vw, 5px);
    margin-bottom: clamp(15px, 3vw, 20px);
    line-height: 1.1;
}

.typewriter {
    font-size: var(--font-size-lg);
    margin: clamp(15px, 3vw, 20px) 0;
    color: var(--primary-color);
}

/* call to action buttons */
.primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #00ff88, #00d4ff);
    color: #000;
    padding: 16px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 30px 15px 30px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

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

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

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    background: linear-gradient(45deg, #00e67a, #00bfee);
}

/* view service cta button */
.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #00ff88;
    padding: 16px 20px;
    border: 2px solid #00ff88;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 30px 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.secondary-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00ff88;
    z-index: -1;
    transition: left 0.3s ease;
}

.secondary-cta:hover::before {
    left: 0;
}

.secondary-cta:hover {
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.3);
    border-color: #00ff88;
}


.primary-cta svg,
.secondary-cta svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.primary-cta:hover svg,
.secondary-cta:hover svg {
    transform: translateX(3px);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

/* terminal prompt */
.terminal-prompt {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-sm);
    padding: var(--card-padding);
    margin: clamp(20px, 4vw, 30px) 0;
    font-family: var(--font-family);
    font-size: var(--font-size-sm);
}

.terminal-line {
    margin: 5px 0;
}

.prompt {
    color: var(--primary-color);
}

.command {
    color: var(--text-primary);
}

.output {
    color: var(--text-secondary);
    margin-left: 20px;
}


/* contact section starts from here */
.contact-section {
    padding: clamp(40px, 6vw, 60px) 0 20px 0;
    border-top: 1px solid var(--border-color);
}

/* primary contact cta */
.primary-contact {
    text-align: center;
    margin-bottom: clamp(50px, 8vw, 60px);
}

.primary-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 2.5vw, 15px);
    background: var(--whatsapp-green);
    color: white;
    padding: clamp(16px, 3vw, 20px) clamp(30px, 5vw, 40px);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-size-lg);
    transition: all var(--transition-base);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.2);
}

.primary-contact-btn:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-whatsapp);
    background: var(--whatsapp-dark);
}

.primary-contact-text {
    margin-top: clamp(12px, 2.5vw, 15px);
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

/* Secondary Contact */
.secondary-contacts {
    display: flex;
    justify-content: center;
    gap: clamp(20px, 4vw, 30px);
    flex-wrap: wrap;
    margin-bottom: clamp(30px, 6vw, 40px);
}

.secondary-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(8px, 2vw, 10px);
    padding: clamp(15px, 3vw, 20px);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-base);
    min-width: clamp(140px, 25vw, 150px);
    text-align: center;
}

.secondary-contact:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    background: var(--card-bg-hover);
}

.secondary-contact-icon {
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.secondary-contact-title {
    font-size: var(--font-size-base);
    font-weight: bold;
    color: var(--text-primary);
}

.secondary-contact-desc {
    font-size: var(--font-size-xs);
    color: var(--text-secondary);
    text-align: center;
}

/* response promise */
.response-badge {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1.5vw, 8px);
    background: rgba(0, 255, 136, 0.1);
    color: var(--primary-color);
    padding: clamp(8px, 2vw, 10px) clamp(16px, 3vw, 20px);
    border-radius: var(--border-radius-xl);
    font-size: var(--font-size-sm);
    font-weight: bold;
    margin: clamp(15px, 3vw, 20px) auto;
    border: 1px solid rgba(0, 255, 136, 0.3);
    justify-self: center;
}

/* footer */
.footer {
    background: var(--dark-bg);
    padding: clamp(25px, 4vw, 30px) 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom {
    color: var(--text-secondary);
}

.footer-bottom p {
    margin-bottom: clamp(8px, 2vw, 10px);
    font-size: var(--font-size-sm);
}

/* scroll bar customised */
::-webkit-scrollbar {
    width: clamp(6px, 1.5vw, 8px);
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* repsonsiveness first */


@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
    
    .about-content {
        gap: 80px;
    }
    
    .projects-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


@media (min-width: 992px) and (max-width: 1399px) {
    .hero {
        padding: 0 40px;
    }
    
    .about-content {
        gap: 50px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    .nav {
        bottom: 15px;
        padding: 10px 18px;
    }
    
    .nav-menu {
        gap: 25px;
    }
    
    .hero {
        text-align: center;
    }
    
    .secondary-cta {
        margin-left: 0;
        margin-top: 15px;
        display: block;
        text-align: center;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .skills-grid,
    .services-grid,
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
   .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .secondary-contacts {
        gap: 20px;
    }

     .services-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: clamp(30px, 6vw, 40px);
        justify-items: center;
    }
    
    .service-card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 450px;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    .nav {
        bottom: 15px;
        padding: 10px 16px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero {
        height: 90vh;
    }
    
    .skills-grid,
    .services-grid,
    .testimonials-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .secondary-contacts {
        flex-direction: column;
        align-items: center;
        max-width: 300px;
        margin: 0 auto clamp(25px, 5vw, 30px) auto;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 575px) {
    .nav {
        bottom: 15px;
        padding: 8px 12px;
        border-radius: 15px;
    }
    
    .nav-menu {
        gap: 15px;
        justify-content: space-between;
    }
    
    .nav-link {
        width: 35px;
        height: 35px;
    }
    
    .nav-link [data-lucide] {
        width: 16px;
        height: 16px;
    }
    
    .hero {
        height: 85vh;
        text-align: center;
    }
    
    .primary-cta,
    .secondary-cta {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        margin-left: 0;
        margin-right: 0;
    }
    
    .secondary-cta {
        margin-top: 15px;
    }
    
    /* all grids should become single column */
    .skills-grid,
    .services-grid,
    .testimonials-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .code-window {
        font-size: 11px;
    }
    
    .project-preview {
        height: 180px;
    }
    
    .secondary-contacts {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
    }
    
    .secondary-contact {
        width: 100%;
        max-width: 250px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .primary-contact-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}


@media (max-width: 374px) {
    :root {
        --container-padding: 10px;
        --card-padding: 15px;
    }
    
    .nav {
        bottom: 10px;
        width: calc(100% - 10px);
        padding: 6px 8px;
    }
    
    .nav-menu {
        gap: 12px;
    }
    
    .nav-link {
        width: 32px;
        height: 32px;
    }
    
    .nav-link [data-lucide] {
        width: 14px;
        height: 14px;
    }
    
    .hero {
        height: 85vh;
    }
    
    .terminal-prompt {
        font-size: 11px;
        padding: 12px;
    }
    
    .code-window {
        font-size: 10px;
    }
    
    .window-header {
        padding: 8px 10px;
    }
    
    .control {
        width: 8px;
        height: 8px;
    }
    
    .tech-tag {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .primary-contact-btn {
        padding: 14px 20px;
        font-size: 1rem;
    }
}

/* if someone use landscape orientation in phone */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        padding: 15px;
    }
    
    .nav {
        bottom: 5px;
        padding: 6px 12px;
    }
    
    .glitch {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        margin-bottom: 10px;
    }
    
    .typewriter {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin: 10px 0;
    }
    
    .primary-cta,
    .secondary-cta {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .terminal-prompt {
        margin: 15px 0;
        padding: 15px;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .project-image,
    .code-window {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating {
        animation: none;
    }
    
    .loader {
        animation: none;
        border: 3px solid var(--primary-color);
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --card-bg: rgba(255, 255, 255, 0.15);
        --border-color: rgba(255, 255, 255, 0.3);
        --text-secondary: #e0e0e0;
    }
}



/* print style (chatgpt said to put it haha) */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .nav,
    .floating-whatsapp,
    .primary-contact-btn,
    .service-cta {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 20px 0;
    }
    
    .section-title {
        color: black !important;
        -webkit-text-fill-color: black !important;
    
    padding: clamp(14px, 3vw, 16px) clamp(24px, 5vw, 32px);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-size-base);
    margin: clamp(20px, 4vw, 30px) 0;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    z-index: 1;
}
};

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

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

.primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 2vw, 10px);
    background: transparent;
    color: var(--primary-color);
    padding: clamp(14px, 3vw, 16px) clamp(24px, 5vw, 32px);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-full);
    text-decoration: none;
    font-weight: bold;
    margin-left: clamp(0px, 3vw, 20px);
    margin-top: clamp(10px, 2vw, 0px);
    transition: all var(--transition-base);
}

.secondary-cta:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
}



/* about section starts here */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-gradient);
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
    gap: clamp(40px, 8vw, 60px);
    align-items: center;
}

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

.about-intro {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: clamp(20px, 4vw, 25px);
    line-height: 1.5;
}

.about-text p {
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: clamp(15px, 3vw, 20px);
}

.about-stats {
    display: flex;
    gap: clamp(30px, 6vw, 40px);
    margin-top: clamp(30px, 6vw, 40px);
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 8px;
}

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

.about-card {
    background: var(--card-bg);
    border-radius: var(--border-radius-md);
    padding: clamp(15px, 3vw, 20px);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 350px;
}

.code-window {
    background: #1e1e1e;
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: clamp(12px, 2.5vw, 14px);
    width: 100%;
}

.window-header {
    background: #333;
    padding: clamp(10px, 2vw, 12px) clamp(12px, 2.5vw, 15px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control {
    width: clamp(10px, 2vw, 12px);
    height: clamp(10px, 2vw, 12px);
    border-radius: 50%;
}

.control.red { background: #ff5f56; }
.control.yellow { background: #ffbd2e; }
.control.green { background: #27ca3f; }

.window-title {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

.code-content {
    padding: clamp(15px, 3vw, 20px);
    line-height: 1.6;
}

.code-line {
    margin: 8px 0;
}

.indent {
    padding-left: clamp(15px, 3vw, 20px);
}

.code-keyword { color: #569cd6; }
.code-variable { color: #9cdcfe; }
.code-property { color: #92c5f7; }
.code-string { color: #ce9178; }
.code-boolean { color: #569cd6; }

/* skills section starts here */
.skills {
      padding-top: 80px;    
}
.bubbles-container {
            position: relative;
            min-height: 70vh;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 20px;
            padding: 40px 20px;
        }

        .bubbles-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: 
                radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
            pointer-events: none;
            z-index: 0;
        }

        .skill-bubble {
            position: relative;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(15px);
            border: 2px solid rgba(255, 255, 255, 0.15);
            animation: float 8s ease-in-out infinite;
            user-select: none;
            z-index: 1;
            flex-shrink: 0;
        }

        .skill-bubble::before {
            content: '';
            position: absolute;
            top: -2px;
            left: -2px;
            right: -2px;
            bottom: -2px;
            border-radius: 50%;
            background: linear-gradient(45deg, 
                rgba(255, 255, 255, 0.1), 
                rgba(255, 255, 255, 0.05), 
                rgba(255, 255, 255, 0.1));
            z-index: -1;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .skill-bubble:hover::before {
            opacity: 1;
        }

        .skill-bubble:hover {
            transform: scale(1.1);
            z-index: 10;
        }

        .skill-bubble:hover .bubble-tooltip {
            opacity: 1;
            transform: translateY(-10px);
        }

        /* Bubble sizes and colors based on skill level */
        .bubble-expert {
            width: clamp(100px, 12vw, 140px);
            height: clamp(100px, 12vw, 140px);
            background: radial-gradient(circle at 30% 30%, rgba(0, 255, 136, 0.3), rgba(0, 255, 136, 0.1));
            border-color: rgba(0, 255, 136, 0.4);
        }

        .bubble-advanced {
            width: clamp(90px, 10vw, 120px);
            height: clamp(90px, 10vw, 120px);
            background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.3), rgba(0, 212, 255, 0.1));
            border-color: rgba(0, 212, 255, 0.4);
        }

        .bubble-intermediate {
            width: clamp(80px, 9vw, 100px);
            height: clamp(80px, 9vw, 100px);
            background: radial-gradient(circle at 30% 30%, rgba(255, 165, 0, 0.3), rgba(255, 165, 0, 0.1));
            border-color: rgba(255, 165, 0, 0.4);
        }

        .bubble-learning {
            width: clamp(80px, 9vw, 95px);
            height: clamp(80px, 9vw, 95px);
            background: radial-gradient(circle at 30% 30%, rgba(255, 99, 132, 0.3), rgba(255, 99, 132, 0.1));
            border-color: rgba(255, 99, 132, 0.4);
        }

        .bubble-tools {
            width: clamp(75px, 8.5vw, 90px);
            height: clamp(75px, 8.5vw, 90px);
            background: radial-gradient(circle at 30% 30%, rgba(147, 51, 234, 0.3), rgba(147, 51, 234, 0.1));
            border-color: rgba(147, 51, 234, 0.4);
        }

        .bubble-icon {
            width: clamp(1.5rem, 3vw, 2.5rem);
            height: clamp(1.5rem, 3vw, 2.5rem);
            margin-bottom: 6px;
            stroke-width: 1.5;
            color: currentColor;
        }

        .bubble-title {
            font-size: clamp(0.6rem, 1.8vw, 0.9rem);
            font-weight: 600;
            color: #ffffff;
            line-height: 1.2;
        }

        .bubble-tooltip {
            position: absolute;
            top: -45px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.9);
            padding: 8px 12px;
            border-radius: 6px;
            font-size: 0.8rem;
            white-space: nowrap;
            opacity: 0;
            transition: all 0.3s ease;
            pointer-events: none;
            border: 1px solid rgba(255, 255, 255, 0.2);
            z-index: 20;
        }

        /* floating animations with staggered delays */
        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            33% { transform: translateY(-15px) rotate(1deg); }
            66% { transform: translateY(8px) rotate(-1deg); }
        }

        .skill-bubble:nth-child(1) { animation-delay: 0s; }
        .skill-bubble:nth-child(2) { animation-delay: 0.8s; }
        .skill-bubble:nth-child(3) { animation-delay: 1.6s; }
        .skill-bubble:nth-child(4) { animation-delay: 2.4s; }
        .skill-bubble:nth-child(5) { animation-delay: 3.2s; }
        .skill-bubble:nth-child(6) { animation-delay: 4s; }
        .skill-bubble:nth-child(7) { animation-delay: 4.8s; }
        .skill-bubble:nth-child(8) { animation-delay: 0.4s; }
        .skill-bubble:nth-child(9) { animation-delay: 1.2s; }
        .skill-bubble:nth-child(10) { animation-delay: 2s; }
        .skill-bubble:nth-child(11) { animation-delay: 2.8s; }
        .skill-bubble:nth-child(12) { animation-delay: 3.6s; }

        .legend {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
            gap: 15px;
            margin-top: 40px;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            padding: 0 20px;
        }

        .legend-item {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: clamp(0.8rem, 2vw, 0.9rem);
            color: #b0b0b0;
            padding: 10px 15px;
            border-radius: 25px;
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.08);
            transition: all 0.3s ease;
        }

        .legend-item:hover {
            background: rgba(255, 255, 255, 0.08);
            color: #e0e0e0;
            transform: translateY(-2px);
        }

        .legend-circle {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .legend-expert { background: rgba(0, 255, 136, 0.6); }
        .legend-advanced { background: rgba(0, 212, 255, 0.6); }
        .legend-intermediate { background: rgba(255, 165, 0, 0.6); }
        .legend-learning { background: rgba(255, 99, 132, 0.6); }
        .legend-tools { background: rgba(147, 51, 234, 0.6); }

/* some complex responsive code */

       
        @media (min-width: 1200px) {
            .bubbles-container {
                min-height: 80vh;
                gap: 30px;
            }
            
            .bubble-tooltip {
                font-size: 0.85rem;
                padding: 10px 15px;
            }
        }

      
        @media (min-width: 1024px) {
            .bubbles-container {
                gap: 25px;
                padding: 60px 40px;
            }
        }

       
        @media (max-width: 1023px) {
            .bubbles-container {
                min-height: 60vh;
                gap: 20px;
                padding: 30px 20px;
            }

            .bubble-tooltip {
                display: none; /* Hide tooltips on touch devices */
            }
        }

       
        @media (max-width: 768px) {
            .section-title {
                margin-bottom: 30px;
            }
            
            .bubbles-container {
                min-height: 50vh;
                gap: 18px;
                padding: 25px 15px;
            }

            .legend {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
                margin-top: 30px;
            }

            .legend-item {
                padding: 8px 12px;
                gap: 6px;
            }

            .legend-circle {
                width: 10px;
                height: 10px;
            }
        }

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

            .bubbles-container {
                min-height: 45vh;
                gap: 15px;
                padding: 20px 10px;
            }

            .legend {
                gap: 10px;
                margin-top: 25px;
            }

            .legend-item {
                padding: 6px 10px;
                font-size: 0.75rem;
            }
        }

     
        @media (max-width: 360px) {
            .bubbles-container {
                gap: 12px;
                padding: 15px 5px;
            }

            .legend {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }

            .legend-item {
                padding: 5px 8px;
                font-size: 0.7rem;
            }
        }


        @media (max-height: 500px) and (orientation: landscape) {
            .section-title {
                font-size: 2rem;
                margin-bottom: 20px;
            }

            .bubbles-container {
                min-height: 40vh;
                gap: 15px;
                padding: 15px 10px;
            }

            .legend {
                margin-top: 20px;
                grid-template-columns: repeat(5, 1fr);
            }

            .legend-item {
                padding: 5px 8px;
                font-size: 0.7rem;
            }
        }

       
        @media (max-height: 400px) and (orientation: landscape) {
            .section-title {
                font-size: 1.5rem;
                margin-bottom: 15px;
            }

            .bubbles-container {
                min-height: 35vh;
                gap: 10px;
                padding: 10px;
            }

            .legend {
                margin-top: 15px;
            }

            .legend-item {
                padding: 4px 6px;
                font-size: 0.65rem;
            }

            .legend-circle {
                width: 8px;
                height: 8px;
            }
        }

/* service section starts here */
.services {
    padding: var(--section-padding) 0;
    background: var(--dark-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: clamp(30px, 6vw, 40px);
    margin-top: clamp(40px, 6vw, 50px);
}

.service-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    padding: var(--card-padding);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: -1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
}

.service-icon {
    font-size: clamp(2.5rem, 5vw, 3rem);
    margin-bottom: clamp(15px, 3vw, 20px);
    color: var(--primary-color);
}

.service-title {
    font-size: var(--font-size-lg);
    margin-bottom: clamp(12px, 2.5vw, 15px);
    color: var(--text-primary);
}

.service-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: clamp(20px, 4vw, 25px);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: #000;
    padding: clamp(10px, 2vw, 12px) clamp(20px, 4vw, 24px);
    border-radius: var(--border-radius-xl);
    text-decoration: none;
    font-weight: bold;
    font-size: var(--font-size-sm);
    transition: all var(--transition-base);
    margin-top: clamp(8px, 2vw, 10px);
}

.service-cta:hover {
    background: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

.pricing-hint {
    font-size: var(--font-size-xs);
    color: var(--primary-color);
    margin: clamp(8px, 2vw, 10px) 0 clamp(4px, 1vw, 5px) 0;
    font-weight: bold;
}

/* project section starts here */
.projects {
    padding-top: var(--section-padding);
    background: var(--dark-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(350px, 100%), 1fr));
    gap: clamp(30px, 6vw, 40px);
    margin-top: clamp(50px, 8vw, 60px);
}

.project-card {
    background: var(--card-bg);
    border-radius: clamp(12px, 2vw, 16px);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.project-preview {
    position: relative;
    height: clamp(200px, 35vw, 280px);
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-card:hover .project-image {
    transform: scale(1.08);
}

.project-info {
    padding: var(--card-padding);
}

.project-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: clamp(10px, 2vw, 12px);
}

.project-desc {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: clamp(15px, 3vw, 20px);
    font-size: var(--font-size-sm);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 1.5vw, 8px);
    margin-bottom: clamp(20px, 4vw, 25px);
}

.tech-tag {
    background: rgba(0, 255, 157, 0.1);
    color: var(--accent-color);
    padding: clamp(4px, 1vw, 6px) clamp(8px, 2vw, 12px);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-xs);
    font-weight: 500;
    border: 1px solid rgba(0, 255, 157, 0.2);
}

.project-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    padding: clamp(10px, 2vw, 12px) 0;
    position: relative;
}



.project-link:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.project-link::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--accent-color);
    position: absolute;
    bottom: 0;
    left: 0;
    transition: width var(--transition-base);
}

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

  /* testimonials section starts here */
        .testimonials {
            padding: var(--section-padding) 0;
            background: var(--testimonial-gradient);
            position: relative;
            overflow: hidden;
        }

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

        .section-title {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: 700;
            text-align: center;
            margin-bottom: 50px;
            background: var(--accent-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .testimonials-wrapper {
            position: relative;
            max-width: 900px;
            margin: 0 auto;
        }

        .testimonials-container {
            position: relative;
            min-height: 400px;
            overflow: hidden;
            border-radius: var(--border-radius-lg);
        }


        .testimonial-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transform: translateX(30px);
            transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            pointer-events: none;
        }

        .testimonial-slide.active {
            opacity: 1;
            transform: translateX(0);
            pointer-events: auto;
            position: relative;
        }

        .testimonial-card {
            background: var(--card-bg);
            backdrop-filter: blur(20px);
            border-radius: var(--border-radius-lg);
            padding: clamp(30px, 5vw, 50px);
            border: 1px solid var(--border-color);
            width: 100%;
            max-width: 700px;
            text-align: center;
            position: relative;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            inset: -1px;
            background: var(--accent-gradient);
            border-radius: var(--border-radius-lg);
            z-index: -1;
            opacity: 0.1;
        }

        .testimonial-text {
            font-size: var(--font-size-base);
            line-height: 1.8;
            color: var(--text-primary);
            margin-bottom: 30px;
            position: relative;
            font-style: italic;
        }

        .testimonial-text::before {
            content: '" ';
            position: absolute;
            top: -20px;
            left: -15px;
            font-size: 4rem;
            color: var(--primary-color);
            opacity: 0.2;
            font-family: serif;
            line-height: 1;
        }

        .testimonial-author {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
        }

        .author-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: var(--accent-gradient);
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            color: #000;
            font-size: 1.2rem;
            flex-shrink: 0;
        }

        .author-info h4 {
            color: var(--text-primary);
            margin-bottom: 4px;
            font-size: 1.1rem;
            font-weight: 600;
        }

        .author-info p {
            color: var(--text-secondary);
            font-size: var(--font-size-sm);
            margin-bottom: 6px;
        }

        .author-location {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: var(--font-size-sm);
            color: var(--text-secondary);
            justify-content: center;
        }

        .location-flag {
            font-size: 16px;
        }

        /* nav of testimonals */
        .testimonial-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin-top: 40px;
        }

        .nav-arrow {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition-base);
            color: var(--text-primary);
            backdrop-filter: blur(20px);
        }

        .nav-arrow:hover:not(:disabled) {
            background: var(--primary-color);
            color: #000;
            transform: scale(1.1);
        }

        .nav-arrow:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .testimonial-progress {
            display: flex;
            justify-content: center;
            gap: 12px;
        }

        .progress-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transition: var(--transition-base);
            cursor: pointer;
        }

        .progress-dot.active {
            background: var(--primary-color);
            transform: scale(1.2);
            box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
        }

        .progress-dot:hover:not(.active) {
            background: rgba(255, 255, 255, 0.4);
            transform: scale(1.1);
        }

        /* bette for mobile */
        @media (max-width: 768px) {
            .testimonials {
                padding: 60px 0;
            }

            .testimonials-container {
                min-height: 350px;
            }

            .testimonial-card {
                padding: 25px;
            }

            .testimonial-author {
                flex-direction: column;
                gap: 15px;
            }

            .author-avatar {
                width: 50px;
                height: 50px;
                font-size: 1rem;
            }

            .nav-arrow {
                width: 45px;
                height: 45px;
            }

            .testimonial-nav {
                gap: 20px;
                margin-top: 30px;
            }

            .progress-dot {
                width: 10px;
                height: 10px;
            }
        }

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

            .testimonial-text {
                font-size: 1rem;
            }
        }

        /* accessibility */
        @media (prefers-reduced-motion: reduce) {
            .testimonial-slide,
            .nav-arrow,
            .progress-dot {
                transition: none;
            }
        }

        .nav-arrow:focus,
        .progress-dot:focus {
            outline: 2px solid var(--primary-color);
            outline-offset: 2px;
        }

/*process section starts here */
.process-section {
    padding: var(--section-padding) 0 clamp(40px, 6vw, 60px) 0;
}

.process-timeline {
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: var(--card-padding);
    border: 1px solid var(--border-color);
}

.process-title {
    font-size: var(--font-size-xl);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: clamp(25px, 4vw, 30px);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
    gap: clamp(25px, 4vw, 30px);
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-gradient);
    color: #000;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

.step-title {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}