/* ===== VARIABLES ===== */
:root {
    --primary-color: #64ffda; /* Modern mint/cyan */
    --secondary-color: #0a192f; /* Dark navy */
    --background-color: #0a192f; /* Dark navy background */
    --text-color: #ccd6f6; /* Light slate */
    --text-light: #8892b0; /* Slate */
    --card-bg-color: #112240; /* Light navy */
    --font-mono: 'SF Mono', 'Fira Code', monospace;
    --shadow: 0 10px 30px -15px rgba(2,12,27,0.7);
    --nav-height: 100px;
    --transition: all 0.25s cubic-bezier(0.645,0.045,0.355,1);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'SF Mono', 'Fira Code', monospace;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

/* Adding starry background animation */
@keyframes move-twinkle {
    from { transform: translateY(0); }
    to { transform: translateY(-1000px); }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 50px 160px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #ffffff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, #ffffff, rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 200px;
    animation: move-twinkle 50s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-greeting {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 16px;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(40px, 8vw, 80px);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-subtitle {
    font-size: clamp(30px, 6vw, 60px);
    font-weight: 600;
    line-height: 1.1;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-description {
    color: var(--text-light);
    font-size: 18px;
    max-width: 540px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-terminal {
    background: rgba(2, 12, 27, 0.7);
    border-radius: 10px;
    padding: 20px;
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(10px);
    min-height: 400px;
}

.terminal-header {
    display: flex;
    align-items: center;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    margin-bottom: 15px;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.terminal-button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-button.red { background-color: #ff5f56; }
.terminal-button.yellow { background-color: #ffbd2e; }
.terminal-button.green { background-color: #27c93f; }

.terminal-title {
    color: var(--text-light);
    font-size: 14px;
    font-family: var(--font-mono);
}

.terminal-content {
    color: var(--primary-color);
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.8;
}

.terminal-content .prompt {
    color: var(--text-light);
    margin-right: 10px;
}

/* Terminal Typing Effect */
.typing-cursor {
    display: inline-block;
    width: 10px;
    height: 20px;
    background-color: var(--primary-color);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsive Styles */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        padding: 120px 20px;
    }

    .hero-content {
        text-align: center;
        margin-bottom: 40px;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-light);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.header.scrolled .logo {
    color: var(--secondary-color);
}

.hamburger-menu {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    position: relative;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

.header.scrolled .bar {
    background-color: var(--primary-color);
}

.bar:before,
.bar:after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: var(--transition);
}

.header.scrolled .bar:before,
.header.scrolled .bar:after {
    background-color: var(--primary-color);
}

.bar:before {
    transform: translateY(-8px);
}

.bar:after {
    transform: translateY(8px);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.header.scrolled .nav-link {
    color: var(--text-color);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 250px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding-top: 60px;
    }

    .nav-list.show {
        right: 0;
    }

    .nav-link {
        color: var(--text-color);
        margin: 15px 0;
    }
    
    .hamburger-menu.active .bar {
        background-color: transparent;
    }
    
    .hamburger-menu.active .bar:before {
        transform: translateY(0) rotate(45deg);
        background-color: var(--text-color);
    }
    
    .hamburger-menu.active .bar:after {
        transform: translateY(0) rotate(-45deg);
        background-color: var(--text-color);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.75rem;
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.section-line {
    border-bottom: 1px solid var(--gray-light);
    width: 80px;
    height: 3px;
    background-color: var(--white);
    margin: 0 auto 15px;
    opacity: 0.3;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
    line-height: 1.8;
}

/* ===== ABOUT SECTION ===== */
.about-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.about-image {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: linear-gradient(to right, rgba(138, 43, 226, 0.1), rgba(0, 255, 255, 0.05));
}

.about-image img {
    width: 100%;
    height: auto;
    transition: var(--transition);
    border-radius: var(--border-radius);
    filter: brightness(0.9) contrast(1.1);
}

.about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1) contrast(1.1);
}

.experience-box {
    position: relative;
    background: linear-gradient(45deg, var(--primary-color), rgba(138, 43, 226, 0.8));
    color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.years {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    display: block;
    margin-bottom: 5px;
    color: var(--text-color);
}

.exp-text {
    font-size: 12px;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.about-text h3 {
    color: var(--text-color);
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-light);
    line-height: 1.8;
    letter-spacing: 0.3px;
}

.skills-container {
    margin-bottom: 30px;
    background-color: rgba(18, 18, 18, 0.6);
    padding: 25px;
    border-radius: var(--border-radius);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.skill-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    position: relative;
    animation: skillProgress 2s ease-in-out;
}

@keyframes skillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== SERVICES SECTION ===== */
.services-section {
    background-color: var(--gray-light);
    position: relative;
    min-height: 100vh;
}

.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    position: relative;
}

.service-card {
    background-color: var(--card-bg-color);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--gray-light);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--gray-light);
    color: var(--white);
    font-size: 28px;
    border-radius: 20%;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: var(--white);
    color: var(--primary-color);
}

.service-card h3 {
    color: var(--text-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
}

/* ===== PORTFOLIO SECTION ===== */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px;
    gap: 15px;
    position: relative;
    margin-bottom: 40px;
}

.filter-btn {
    background-color: var(--card-bg-color);
    color: var(--text-color);
    border: 1px solid var(--gray-light);
    padding: 10px 25px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: var(--white);
    color: var(--background-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    font-size: 14px;
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.overlay {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    padding: 20px;
    transform: translateY(20px);
    transition: all 0.4s ease 0.1s;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: var(--white);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
}

.overlay-content p {
    color: var(--gray-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.overlay-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.overlay-link {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-light);
}

.overlay-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="10" height="10" fill="%234A6FA5" fill-opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.testimonial-content {
    background-color: var(--background-color);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--gray-light);
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-right: 15px;
    box-shadow: var(--shadow);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .bar {
    cursor: pointer;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--primary-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--white);
    color: var(--background-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--white);
}

.contact-card-icon {
    background-color: var(--gray-light);
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-card-content p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    color: var(--text-color);
    padding: 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--card-bg-color);
    color: var(--text-color);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--background-color);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-light);
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 120px 0 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    
    .typed-text {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
        background: rgba(2, 12, 27, 0.7);
        border-radius: 10px;
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin: 0 auto;
        max-width: 450px;
    }
    
    .about-text {
        text-align: center;
    }
}

/* Skills Section */
.skills-section {
    background-color: var(--background-color);
    position: relative;
    padding: var(--section-padding);
    max-width: 600px;
    margin: 0 auto;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.skill-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    position: relative;
    animation: skillProgress 2s ease-in-out;
}

@keyframes skillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="10" height="10" fill="%234A6FA5" fill-opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.testimonial-content {
    background-color: var(--background-color);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--gray-light);
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-right: 15px;
    box-shadow: var(--shadow);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .bar {
    cursor: pointer;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--primary-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--white);
    color: var(--background-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--white);
}

.contact-card-icon {
    background-color: var(--gray-light);
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-card-content p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    color: var(--text-color);
    padding: 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--card-bg-color);
    color: var(--text-color);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--background-color);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-light);
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 120px 0 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    
    .typed-text {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
        background: rgba(2, 12, 27, 0.7);
        border-radius: 10px;
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin: 0 auto;
        max-width: 450px;
    }
    
    .about-text {
        text-align: center;
    }
}

/* Skills Section */
.skills-section {
    background-color: var(--background-color);
    position: relative;
    padding: var(--section-padding);
    max-width: 600px;
    margin: 0 auto;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.skill-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    position: relative;
    animation: skillProgress 2s ease-in-out;
}

@keyframes skillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="10" height="10" fill="%234A6FA5" fill-opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.testimonial-content {
    background-color: var(--background-color);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--gray-light);
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-right: 15px;
    box-shadow: var(--shadow);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .bar {
    cursor: pointer;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--primary-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--white);
    color: var(--background-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--white);
}

.contact-card-icon {
    background-color: var(--gray-light);
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-card-content p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    color: var(--text-color);
    padding: 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--card-bg-color);
    color: var(--text-color);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--background-color);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-light);
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 120px 0 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    
    .typed-text {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
        background: rgba(2, 12, 27, 0.7);
        border-radius: 10px;
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin: 0 auto;
        max-width: 450px;
    }
    
    .about-text {
        text-align: center;
    }
}

/* Skills Section */
.skills-section {
    background-color: var(--background-color);
    position: relative;
    padding: var(--section-padding);
    max-width: 600px;
    margin: 0 auto;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.skill-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    position: relative;
    animation: skillProgress 2s ease-in-out;
}

@keyframes skillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="10" height="10" fill="%234A6FA5" fill-opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.testimonial-content {
    background-color: var(--background-color);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--gray-light);
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-right: 15px;
    box-shadow: var(--shadow);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .bar {
    cursor: pointer;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--primary-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--white);
    color: var(--background-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--white);
}

.contact-card-icon {
    background-color: var(--gray-light);
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-card-content p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    color: var(--text-color);
    padding: 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--card-bg-color);
    color: var(--text-color);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--background-color);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-light);
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 120px 0 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    
    .typed-text {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
        background: rgba(2, 12, 27, 0.7);
        border-radius: 10px;
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin: 0 auto;
        max-width: 450px;
    }
    
    .about-text {
        text-align: center;
    }
}

/* Skills Section */
.skills-section {
    background-color: var(--background-color);
    position: relative;
    padding: var(--section-padding);
    max-width: 600px;
    margin: 0 auto;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.skill-category {
    background: rgba(30, 30, 30, 0.95);
    border-radius: 10px;
    padding: 30px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 4px;
    transition: var(--transition);
}

.skill-item:hover {
    background-color: rgba(100, 255, 218, 0.1);
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.skill-info h4 {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
}

.skill-bar {
    width: 100%;
    height: 6px;
    background-color: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    position: relative;
    animation: skillProgress 2s ease-in-out;
}

@keyframes skillProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    background-color: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Crect width="10" height="10" fill="%234A6FA5" fill-opacity="0.05"/%3E%3C/svg%3E');
    opacity: 0.3;
}

.testimonial-content {
    background-color: var(--background-color);
    padding: 35px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--gray-light);
    position: relative;
}

.testimonial-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 32px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-content p {
    font-style: italic;
}

.testimonial-author img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-light);
    margin-right: 15px;
    box-shadow: var(--shadow);
}

.author-info h4 {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.testimonials-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.testimonial-prev,
.testimonial-next {
    width: 45px;
    height: 45px;
    background-color: var(--white);
    color: var(--white);
    border: 1px solid var(--gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
}

.header.scrolled .bar {
    cursor: pointer;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    color: var(--primary-color);
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background-color: var(--white);
    color: var(--background-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: scale(1.1);
}

/* ===== CONTACT SECTION ===== */
.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    padding: 20px;
    transition: var(--transition);
}

.contact-card:hover {
    border-color: var(--white);
}

.contact-card-icon {
    background-color: var(--gray-light);
    color: var(--white);
}

.contact-card-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-card-content p {
    font-size: 14px;
    color: var(--text-light);
}

.contact-form-container {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    position: relative;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-light);
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    background-color: var(--card-bg-color);
    border: 1px solid var(--gray-light);
    color: var(--text-color);
    padding: 15px;
    border-radius: 4px;
    transition: var(--transition);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--white);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--card-bg-color);
    color: var(--text-color);
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-info h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
}

.footer-info p {
    color: var(--text-light);
    max-width: 400px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 8px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.1;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--white);
    color: var(--background-color);
    border-radius: 10px;
    border: 1px solid rgba(100, 255, 218, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top:hover {
    background-color: var(--primary-light);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background-color: var(--background-color);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gray-light);
    border: 2px solid var(--background-color);
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section {
        grid-template-columns: 1fr;
        padding: 120px 0 60px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 30px;
    }

    .hero-terminal {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 36px;
    }
    
    .typed-text {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }

    .hero-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-info p {
        margin: 0 auto 20px;
    }

    .footer-social {
        justify-content: center;
        background: rgba(2, 12, 27, 0.7);
        border-radius: 10px;
        padding: 20px;
    }
}

@media (max-width: 991px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        margin: 0 auto;
        max-width: 450px;
    }
    
    .about-text {
        text-align: center;
    }
}