/* ========== CSS VARIABLES ========== */
:root {
    --primary-color: #6366f1;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --bg-dark: #0a0e1a;
    --bg-darker: #020617;
    --bg-card: rgba(255, 255, 255, 0.03);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    --gradient-3: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-darker: #ffffff;
    --bg-card: rgba(0, 0, 0, 0.03);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow: rgba(0, 0, 0, 0.1);
}

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        sans-serif;
    background-color: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: 1440px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
    position: relative;
}

/* ========== BACKGROUND ANIMATION ========== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: var(--bg-darker);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 25s infinite ease-in-out;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--gradient-1);
    top: -300px;
    right: -300px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-2);
    bottom: -250px;
    left: -250px;
    animation-delay: 8s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--gradient-3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 16s;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, -100px) scale(1.1);
    }
    66% {
        transform: translate(-100px, 100px) scale(0.9);
    }
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* ========== NAVIGATION ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 14, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 10px 30px var(--shadow);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 18px;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    gap: 35px;
    align-items: center;
}

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

.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,
.nav-link.active {
    color: var(--text-primary);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(20deg);
    background: var(--gradient-1);
    color: white;
}

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

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========== HERO SECTION ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-greeting {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 15px;
    font-weight: 500;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

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

.hero-subtitle {
    font-size: 28px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    height: 42px;
}

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

.cursor {
    animation: blink 1s infinite;
    color: var(--primary-color);
}

@keyframes blink {
    0%,
    50% {
        opacity: 1;
    }
    51%,
    100% {
        opacity: 0;
    }
}

.hero-description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 20px 25px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.2);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span,
.btn i {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-link:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

/* Hero Image */
.hero-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    border: 3px solid var(--border-color);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    border-radius: 30px;
    top: 30px;
    left: 30px;
    z-index: 1;
    opacity: 0.3;
}

.floating-card {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    font-weight: 600;
    animation: float-card 3s infinite ease-in-out;
}

.floating-card i {
    font-size: 24px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card-1 {
    top: 50px;
    left: -50px;
    animation-delay: 0s;
}

.card-2 {
    top: 200px;
    right: -60px;
    animation-delay: 1s;
}

.card-3 {
    bottom: 80px;
    left: -40px;
    animation-delay: 2s;
}

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

/* ========== SECTION TITLES ========== */
.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.title-number {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.title-line {
    flex: 1;
    height: 2px;
    background: var(--border-color);
    margin-left: 20px;
}

/* ========== ABOUT SECTION ========== */
.about-section {
    background: rgba(255, 255, 255, 0.02);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
}

.skill-info {
    display: flex;
    gap: 40px;
    align-items: center;
    width: auto;
    justify-content: space-between;
}

.about-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    flex-shrink: 0;
}

.highlight-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.highlight-content p,
.highlight-content a {
    color: var(--text-muted);
    font-size: 15px;
    text-decoration: none;
}

.highlight-content a:hover {
    color: var(--primary-color);
}

.certifications h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.cert-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-secondary);
    padding: 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.cert-item:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.cert-item i {
    color: var(--accent-color);
    font-size: 20px;
}

.footer-logo-wrapper img.footer-logo {
    width: 250px;
}

/* Skills Preview Circles */
.skills-preview {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 30px;
    flex-direction: column;
}

.skill-circle {
    position: relative;
    width: 140px;
    height: 140px;
}

.skill-circle svg {
    transform: rotate(-90deg);
}

.skill-circle circle {
    fill: none;
    stroke-width: 8;
}

.skill-circle circle:first-child {
    stroke: var(--bg-card);
}

.skill-circle circle.progress {
    stroke: var(--color);
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: calc(283 - (283 * var(--progress)) / 100);
    transition: stroke-dashoffset 1.5s ease;
}

.skill-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.skill-circle-content i {
    font-size: 36px;
    color: var(--color);
    display: block;
    margin-bottom: 5px;
}

.skill-circle-content span {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========== SKILLS SECTION ========== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.skill-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(99, 102, 241, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.skill-card:hover::before {
    left: 100%;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.skill-icon {
    font-size: 64px;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.3s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.2) rotateY(360deg);
}

.skill-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.skill-bar {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 15px;
}

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

/* ========== PROJECTS SECTION ========== */
.projects-section {
    background: rgba(255, 255, 255, 0.02);
}

.projects-loading {
    text-align: center;
    padding: 60px 20px;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.projects-slider-wrapper {
    position: relative;
    padding: 0 70px;
}

.projects-slider {
    display: flex;
    gap: 30px;
    overflow: hidden;
    padding: 20px 0;
}

.projects-slider.slick-dotted.slick-slider {
    margin-bottom: 0;
    position: static !important;
    padding: 0;
}

.project-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.projects-slider::-webkit-scrollbar {
    display: none;
}

.project-card {
    min-width: 380px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    /* cursor: pointer; */
    position: relative;
}

.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-title a,
.project-content h3 {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    text-transform: uppercase;
}

.project-card:hover {
    transform: translateY(-15px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 10px rgba(99, 102, 241, 0.4);
}

.project-card:hover .project-content {
    opacity: 0;
    transition: all 0.3s ease-in-out;
    z-index: -1;
}

.project-overlay .fa-github:before {
    font-size: 50px;
    color: #ffffff;
}

.project-image {
    width: 100%;
    height: auto;
    min-height: 250px;
    background: linear-gradient(
        135deg,
        rgba(99, 102, 241, 0.3) 0%,
        rgba(139, 92, 246, 0.3) 100%
    );
    position: relative;
    overflow: hidden;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
}

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

.project-link {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-link:hover {
    transform: scale(1.2) rotate(360deg);
}

.project-content {
    padding: 30px;
    position: relative;
    z-index: 1;
}

.project-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
    min-height: 66px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* margin-bottom: 20px; */
}

.tag {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.project-stats {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.project-stats i {
    color: var(--primary-color);
    margin-right: 5px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: var(--gradient-1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.slider-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.6);
}

.slider-nav.prev {
    left: 0;
}

.slider-nav.next {
    right: 0;
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--gradient-1);
    width: 35px;
    border-radius: 10px;
}

/* ========== BLOG SECTION ========== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(99, 102, 241, 0.2);
}

.blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 16px;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 15px;
}

.blog-meta i {
    margin-right: 5px;
}

.blog-content h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-primary);
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.blog-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.blog-link:hover {
    gap: 15px;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
    background: rgba(255, 255, 255, 0.02);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h3 {
    font-size: 32px;
    margin-bottom: 20px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-info > p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: start;
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-item p,
.contact-item a {
    color: var(--text-muted);
    font-size: 15px;
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.contact-social h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.social-links-contact {
    display: flex;
    gap: 15px;
}

.social-links-contact a {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links-contact a:hover {
    background: var(--gradient-1);
    border-color: transparent;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

/* Contact Form */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 15px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 80px 40px;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.form-success.show {
    display: block;
}

.success-animation {
    width: 100px;
    height: 100px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: success-pop 0.5s ease;
}

@keyframes success-pop {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-animation i {
    font-size: 48px;
    color: white;
}

.form-success h3 {
    font-size: 28px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.form-success p {
    color: var(--text-muted);
    font-size: 16px;
}

/* ========== FOOTER ========== */
.footer {
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    padding: 50px 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.footer-logo-wrapper img.footer-logo {
    width: 250px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 8px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom i {
    color: var(--accent-color);
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* ========== ANIMATIONS ========== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-image {
        order: -1;
    }

    .image-wrapper {
        max-width: 400px;
        height: 400px;
    }

    .floating-card {
        display: none;
    }

    .hero-title {
        font-size: 48px;
    }

    .section-title {
        font-size: 36px;
    }

    .skills-preview {
        margin-top: 30px;
    }
    .project-card {
        min-width: 340px;
    }
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 76px;
        left: -100%;
        padding: 32px;
        height: auto;
        background: rgba(10, 14, 26, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        gap: 15px;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
    }

        .nav-links.active {
        left: 0;
    }

    .nav-link {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 22px;
        height: 33px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .stat-card {
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .image-wrapper {
        width: 320px;
        height: 320px;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .title-number {
        font-size: 20px;
    }

    .about-visual {
        margin-top: 40px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .project-card {
        min-width: 300px;
    }

    .slider-nav {
        width: 45px;
        height: 45px;
        font-size: 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-content {
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

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

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
        height: 27px;
    }

    .section-title {
        font-size: 26px;
        flex-direction: column;
        align-items: flex-start;
    }

    .title-line {
        display: none;
    }

    .image-wrapper {
        width: 280px;
        height: 280px;
    }

    .stat-number {
        font-size: 24px;
    }

    .projects-slider-wrapper {
        padding: 0 40px;
    }

    .project-card {
        min-width: 260px;
    }

    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .blog-image {
        height: 200px;
    }

    .contact-form {
        padding: 25px 15px;
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ========== ACCESSIBILITY ========== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .social-links {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ========== CUSTOM SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 12px;
}

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

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

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

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-darker);
}

/* Add these styles to your existing style.css file */
/* Place these after the existing project section styles */

/* ========== SLICK SLIDER CUSTOMIZATION ========== */

/* Slider wrapper */
.projects-slider-wrapper {
    position: relative;
    padding: 0 20px;
    margin: 0 auto;
}

.projects-slider {
    margin: 0 -15px;
}

.projects-slider .slick-slide {
    outline: none;
}

.projects-slider .slick-list {
    overflow: visible;
    padding-bottom: 35px !important;
}

.slick-next:before,
.slick-prev:before {
    display: none;
}

.slick-next:focus,
.slick-next:hover,
.slick-prev:hover {
    color: #fff;
}

/* Custom arrow buttons */
.projects-slider .slick-prev,
.projects-slider .slick-next {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.projects-slider .slick-prev:before,
.projects-slider .slick-next:before {
    display: none;
}

.projects-slider .slick-prev i,
.projects-slider .slick-next i {
    color: white;
    font-size: 20px;
}

/* Dots customization */
.projects-slider .slick-dots {
    bottom: 0;
    display: flex !important;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.projects-slider .slick-dots li {
    width: 12px;
    height: 12px;
    margin: 0;
}

.projects-slider .slick-dots li button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.projects-slider .slick-dots li button:before {
    display: none;
}

.projects-slider .slick-dots li.slick-active button {
    background: var(--gradient-1);
    width: 35px;
    border-radius: 10px;
}

/* Project card adjustments for Slick */
.projects-slider .project-card {
    min-width: auto;
    width: 100%;
    margin: 0;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.projects-slider .slick-slide.slick-current .project-card {
    transform: scale(1);
}

.projects-slider .slick-slide:not(.slick-current) .project-card {
    opacity: 0.7;
}

.projects-slider .slick-slide .project-card {
    transition: all 0.4s ease;
}

/* Responsive adjustments for Slick */

@media (max-width: 768px) {
    .projects-slider .slick-prev {
        left: 0;
        width: 45px;
        height: 45px;
    }

    .projects-slider .slick-next {
        right: 0;
        width: 45px;
        height: 45px;
    }

    .projects-slider .slick-prev i,
    .projects-slider .slick-next i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .projects-slider .slick-prev,
    .projects-slider .slick-next {
        display: none !important;
    }

    .projects-slider .slick-dots {
        bottom: -40px;
    }
}

/* Remove old slider styles - these are no longer needed */
.slider-nav.prev,
.slider-nav.next,
.slider-pagination,
.dot {
    display: none !important;
}
/* End of style.css */



/* ...existing code... */

/* Fix horizontal overflow on small screens */
html, body {
    overflow-x: hidden;
}

/* Ensure all elements use border-box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent media (images/canvas/svg) from stretching past viewport */
img,
picture,
svg,
canvas,
iframe,
.video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Background / decorative orbs and particle canvas adjustments */
.background-animation,
#particleCanvas {
    width: 100vw;
    left: 0;
    right: 0;
    max-width: 100%;
    overflow: hidden;
}

/* If gradient-orb is absolutely positioned and large, center and limit size */
.gradient-orb {
    left: 50%;
    transform: translateX(-50%);
    max-width: 140vw;
}

/* Small-screen specific fixes */
@media (max-width: 450px) {
    .hero-content,
    .about-content {
        flex-wrap: wrap;
    }

    .gradient-orb {
        max-width: 120vw;
    }

    #particleCanvas {
        /* make sure canvas does not overflow viewport on small devices */
        width: 100vw !important;
        height: auto !important;
    }

    /* if any element uses large negative margins, reset them */
    [style*="margin-left"],
    [style*="margin-right"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
