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

:root {
    --primary: #0066ff;
    --primary-dark: #0052cc;
    --secondary: #00d4ff;
    --accent: #ff0066;
    --dark-bg: #0a0e27;
    --dark-card: #1a1f3a;
    --text-primary: #ffffff;
    --text-secondary: #a0a8c0;
    --border-color: rgba(0, 204, 255, 0.1);
    --gradient-1: linear-gradient(135deg, #0066ff, #00d4ff);
    --gradient-2: linear-gradient(135deg, #00d4ff, #ff0066);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============== Navigation ============== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-dot {
    color: var(--secondary);
    animation: pulse 2s infinite;
}

.brand-subtitle {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

.btn-cta {
    background: var(--gradient-1);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
}

/* ============== Hero Section ============== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
}

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

canvas {
    display: block;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 14, 39, 0.9) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-text {
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 40px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    z-index: 2;
    animation: bounce 2s infinite;
}

/* ============== Section Styles ============== */
section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============== Projects Section ============== */
.projects {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1429 100%);
}

.filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.8rem;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-1);
    color: white;
    border-color: var(--primary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(0, 204, 255, 0.15);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.9), rgba(0, 212, 255, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.overlay-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.project-cat {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* ============== Skills Section ============== */
.skills {
    background: linear-gradient(180deg, #0f1429 0%, var(--dark-bg) 100%);
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--secondary);
}

.skill-item {
    margin-bottom: 2rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.skill-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-1);
    border-radius: 10px;
    animation: fillBar 1.5s ease-out;
}

/* ============== Testimonials Section ============== */
.testimonials {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1429 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 204, 255, 0.1);
}

.stars {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #ffd700;
}

.stars i {
    font-size: 1rem;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author h4 {
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.testimonial-author p {
    color: var(--secondary);
    font-size: 0.9rem;
}

/* ============== Contact Section ============== */
.contact {
    background: linear-gradient(180deg, #0f1429 0%, var(--dark-bg) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-top: 0.3rem;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.info-item p {
    color: var(--text-secondary);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-1);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ============== Footer ============== */
.footer {
    background: rgba(10, 14, 39, 0.9);
    border-top: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.footer-content p {
    margin: 0.5rem 0;
}

.heart {
    display: inline-block;
    animation: heartbeat 1.5s infinite;
}

.artistic-date {
    font-size: 0.85rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    margin-top: 0.5rem;
}

/* ============== Animations ============== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes fillBar {
    from {
        width: 0;
    }
}

@keyframes heartbeat {

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

    50% {
        transform: scale(1.2);
    }
}

/* ============== Section Container ============== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ============== Page Hero Header ============== */
.page-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    overflow: hidden;
}

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

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(10, 14, 39, 0.95) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.page-hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============== Call to Action Section ============== */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 4rem 2rem;
    text-align: center;
    margin: 3rem 0;
}

.cta-section h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    color: white;
}

.cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ============== Skill Category with Icons ============== */
.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2rem;
    color: var(--secondary);
}

.skill-percent {
    display: inline-block;
    margin-left: 1rem;
    color: var(--secondary);
    font-weight: 600;
}

/* ============== Experience Timeline ============== */
.experience {
    background: linear-gradient(180deg, #0f1429 0%, var(--dark-bg) 100%);
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-1);
    transform: translateX(-50%);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: 45%;
    text-align: right;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: 45%;
    text-align: left;
    padding-left: 3rem;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--dark-card);
    border: 3px solid var(--secondary);
    border-radius: 50%;
    transform: translateX(-50%);
}

.timeline-content {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 204, 255, 0.1);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: var(--secondary);
}

.timeline-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .timeline::before {
        left: 10px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 50px;
        margin-right: 0;
        width: 100%;
        text-align: left;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .timeline-marker {
        left: 10px;
    }
}

/* ============== Testimonial Cards Enhanced ============== */
.testimonial-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 204, 255, 0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
}

.client-info h4 {
    margin-bottom: 0.2rem;
    color: var(--text-primary);
}

.client-info p {
    color: var(--secondary);
    font-size: 0.85rem;
}

.testimonial-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.project-type {
    display: inline-block;
    background: var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary);
}

/* ============== Stats Section ============== */
.stats {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1429 100%);
    padding: 4rem 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 204, 255, 0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============== Contact Form ============== */
.contact-form select {
    width: 100%;
    padding: 1rem;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.contact-form select:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 204, 255, 0.2);
}

.contact-form select option {
    background: var(--dark-bg);
    color: var(--text-primary);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-group label {
    margin: 0;
    color: var(--text-secondary);
    cursor: pointer;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.1rem;
}

/* ============== Contact Info ============== */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.info-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--secondary);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.info-details h4 {
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.info-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.response-time {
    font-size: 0.8rem;
    color: var(--secondary);
    margin-top: 0.3rem;
}

/* ============== Social Links Extended ============== */
.social-links-extended {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link-ext {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-ext:hover {
    border-color: var(--secondary);
    background: rgba(0, 204, 255, 0.05);
    transform: translateX(5px);
}

.social-link-ext i {
    font-size: 1.3rem;
}

.social-link-ext span {
    font-weight: 600;
}

/* ============== Availability ============== */
.availability {
    background: var(--dark-card);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.avail-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.avail-item:last-child {
    margin-bottom: 0;
}

.avail-label {
    color: var(--text-secondary);
}

.avail-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.avail-status.available {
    color: #4ade80;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 2s infinite;
}

/* ============== FAQ Section ============== */
.faq {
    background: linear-gradient(180deg, #0f1429 0%, var(--dark-bg) 100%);
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--secondary);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: var(--dark-card);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(0, 204, 255, 0.05);
}

.faq-question h4 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.faq-question i {
    color: var(--secondary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ============== Responsive ============== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu.active {
        display: flex;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: var(--dark-bg);
        padding: 2rem;
        gap: 1rem;
        border-top: 1px solid var(--border-color);
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 4rem 1rem;
    }

    .page-hero {
        min-height: 300px;
    }

    .page-hero-title {
        font-size: 1.8rem;
    }

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

    .social-links-extended {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .nav-brand {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        margin-bottom: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }
}

/* ============== Preview Sections on Home ============== */
.projects-preview,
.skills-preview,
.testimonials-preview {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-preview {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1429 100%);
}

.skills-preview {
    background: linear-gradient(180deg, #0f1429 0%, var(--dark-bg) 100%);
}

.testimonials-preview {
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0f1429 100%);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Projects Preview Grid */
.projects-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.project-card-preview {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card-preview:hover {
    transform: translateY(-8px);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(0, 204, 255, 0.15);
}

.project-card-preview img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card-preview:hover img {
    transform: scale(1.05);
}

.project-preview-info {
    padding: 1.5rem;
}

.project-preview-info h4 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.project-preview-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Skills Preview Grid */
.skills-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.skill-preview-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-preview-card:hover {
    border-color: var(--secondary);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 204, 255, 0.15);
}

.skill-preview-card i {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
}

.skill-preview-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.skill-preview-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Testimonials Preview Grid */
.testimonials-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-preview-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-preview-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 204, 255, 0.1);
}

.testimonial-preview-card .quote {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-preview-card h4 {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* ============== Success Modal ==============*/
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.success-modal-content {
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(30, 35, 70, 0.98) 100%);
    border: 2px solid var(--secondary);
    border-radius: 20px;
    padding: 4rem 2rem;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.3), inset 0 0 60px rgba(0, 212, 255, 0.05);
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal-icon {
    font-size: 4rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.success-modal-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.success-modal-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-small {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .success-modal-content {
        padding: 2.5rem 1.5rem;
        max-width: 90%;
    }

    .success-modal-icon {
        font-size: 3rem;
    }

    .success-modal-content h3 {
        font-size: 1.5rem;
    }
}

/* ============== About Section ==============*/
.about {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.5) 0%, rgba(30, 35, 70, 0.3) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-block {
    animation: fadeInUp 0.8s ease-out forwards;
}

.about-block h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-block h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 24px;
    background: var(--gradient-1);
    border-radius: 2px;
}

.about-block p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    text-align: justify;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.highlight-card {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05) 0%, rgba(0, 212, 255, 0.05) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.highlight-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

.highlight-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    animation: bounce 2s ease-in-out infinite;
}

.highlight-card h3 {
    font-size: 1.8rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.highlight-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ============== CTA Section ==============*/
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.05) 100%);
    border-top: 1px solid rgba(0, 212, 255, 0.2);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.cta-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

    .about-block h2 {
        font-size: 1.3rem;
    }

    .about-block p {
        text-align: left;
    }

    .about-highlights {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}