@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
    --bg-color: #f2f6fa;
    --text-color: #1e1e2f;
    --text-muted: #6b6b7f;
    --primary-color: #3a86ff;
    /* Vibrant Blue */
    --primary-light: #e6f0ff;
    --accent-color: #00b4d8;
    /* Cyan */
    --card-bg: #ffffff;
    --border-color: #f0f0f0;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.06);
    --blob-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    --blob-color-1: #a0c4ff;
    --blob-color-2: #90e0ef;
}

[data-theme="dark"] {
    --bg-color: #0f172a;
    --text-color: #f1f5f9;
    --text-muted: #94a3b8;
    --primary-color: #3a86ff;
    --primary-light: rgba(58, 134, 255, 0.15);
    --accent-color: #00b4d8;
    --card-bg: #1e293b;
    --border-color: #334155;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.5);
    --blob-color-1: rgba(58, 134, 255, 0.1);
    --blob-color-2: rgba(0, 180, 216, 0.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Manrope', 'Poppins', sans-serif;
}

h2 {
    text-align: center;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

body::before {
    background: radial-gradient(circle, var(--blob-color-1) 0%, rgba(255, 255, 255, 0) 70%);
    top: -100px;
    left: -100px;
}

body::after {
    background: radial-gradient(circle, var(--blob-color-2) 0%, rgba(255, 255, 255, 0) 70%);
    top: 20%;
    right: -200px;
    opacity: 0.3;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}

/* Preloader */
#preload {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#preload.dispear {
    opacity: 0;
    pointer-events: none;
}

.spinner-blobs {
    display: flex;
    gap: 15px;
}

.blob {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: blob-bounce 1.5s infinite ease-in-out;
}

.blob.red {
    background-color: #ff0055;
    animation-delay: 0s;
}

.blob.yellow {
    background-color: #ffcc00;
    animation-delay: 0.2s;
}

.blob.green {
    background-color: #00ffaa;
    animation-delay: 0.4s;
}

.blob.blue {
    background-color: #00ccff;
    animation-delay: 0.6s;
}

.blob.purple {
    background-color: #9900ff;
    animation-delay: 0.8s;
}

@keyframes blob-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-20px);
        opacity: 1;
    }
}

/* Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: var(--card-bg);
    /* Use var! */
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}

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

.header-socials {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--border-color);
}

.header-socials a {
    display: flex;
    align-items: center;
}

.header-socials a img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
    transition: 0.3s;
    filter: grayscale(100%);
}

.header-socials a:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: translateY(-2px);
}

/* Theme Toggle Button */
.theme-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    transition: 0.3s;
    background: var(--primary-light);
    color: var(--primary-color);
}

.theme-toggle:hover {
    transform: rotate(15deg);
    background: var(--primary-color);
    color: #fff;
}

.logo img {
    height: 32px;
}

nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a:hover::after {
    width: 100%;
}

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

.profile-icon {
    width: 35px;
    height: 35px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#toggle {
    display: none;
    cursor: pointer;
}

#toggle img {
    width: 30px;
    filter: invert(1);
}

/* Sidebar */
#sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#sidebar.active {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.sidebar-header img {
    height: 40px;
}

#closed {
    cursor: pointer;
    filter: invert(1);
    transition: transform 0.3s;
}

#closed:hover {
    transform: rotate(90deg) scale(1.1);
}

#sidebar li {
    list-style: none;
    margin-bottom: 25px;
}

#sidebar li a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

#sidebar li a:hover {
    color: var(--accent-color);
}

/* Hero Sections */
/* Actually fits nicely as the main About section structure */
#hero-about {
    padding: 100px 8% 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.hero-text-content {
    flex: 1;
}

.section-label {
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    display: block;
}

.hero-intro {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-blob-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-blob-image img {
    width: 450px;
    height: 450px;
    object-fit: cover;
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    background: #f0f0f0;
    animation: blobMorph 8s ease-in-out infinite;
}

@keyframes blobMorph {
    0% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }

    33% {
        border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%;
    }

    66% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    }

    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
}

.ctas {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(112, 71, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(112, 71, 235, 0.4);
    color: #fff;
}

.btn-secondary {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

.btn-secondary:hover {
    color: var(--primary-color);
}

/* Stats Row */
.stats-row {
    padding: 40px 8%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 24px;
    color: var(--text-color);
}

.stat-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin: 0;
}

.stat-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Sections Global */
section {
    padding: 100px 50px;
    position: relative;
}

section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    color: #fff;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-head-subtitle {
    text-align: center;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* About Section */
#about {
    background: rgba(15, 22, 36, 0.7);
    /* Semi-transparent overlay */
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    right: -100px;
    top: 20%;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    filter: blur(120px);
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
}

.code-icon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.code-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.code-icon:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.code-icon:hover::after {
    transform: scaleX(1);
}

.code-icon img {
    width: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: transform 0.3s;
}

.code-icon:hover img {
    transform: scale(1.1) rotate(5deg);
}

.code-text h3 {
    font-size: 22px;
    margin-bottom: 10px;
    color: #fff;
    font-weight: 600;
}

.code-text p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.about-content-two {
    margin-top: 100px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.image-about {
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 450px;
    display: block;
    margin: 0 auto;
}

.image-about:hover {
    transform: scale(1.02) rotate(-2deg);
}

.about-img-content {
    padding-left: 30px;
}

.about-img-content h3 {
    font-size: 32px;
    margin-bottom: 25px;
    background: linear-gradient(90deg, #fff, var(--text-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.personal-info {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-image {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.info-image:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.info-image img {
    width: 24px;
    filter: invert(1);
    opacity: 0.7;
}

.info-image p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.info-image span {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 2px;
}

.info-image a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

.info-image a:hover {
    text-decoration: underline;
}

/* Skills */
.skill {
    padding: 100px 50px;
    background: rgba(20, 30, 48, 0.6);
}

.skill .col-lg-6 {
    margin-bottom: 20px;
}

.progress {
    height: auto;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 25px;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.progress::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--accent-color));
    opacity: 0.5;
}

.progress:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.skill-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.val {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    background: var(--accent-color);
    padding: 2px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(255, 0, 85, 0.4);
}

.progress-bar-wrap {
    height: 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 15px rgba(76, 106, 210, 0.5);
    width: 0;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
    animation: gradientMove 3s linear infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 100% 0;
    }

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

/* Resume */
#resume {
    background: rgba(15, 22, 36, 0.7);
}

.resume-content {
    background: transparent;
    color: #fff;
}

.relative {
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    padding-left: 30px;
    margin-left: 10px;
}

.resume-text {
    position: relative;
    margin-bottom: 50px;
}

.resume-text::before {
    content: '';
    position: absolute;
    left: -39px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-color);
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.resume-text h4 {
    color: var(--primary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.resume-text .box {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 15px;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

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

/* Services Grid */
#service {
    padding: 80px 8%;
    background: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    font-size: 24px;
}

.service-icon img {
    width: 30px;
    height: 30px;
}

.service-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color);
}

.service-card p {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    text-decoration: underline;
}

/* Pricing Section */
#pricing {
    padding: 80px 8%;
}

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

.price-card {
    background: var(--card-bg);
    padding: 50px 30px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.price-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.price-card.popular {
    background: #1e1e2f;
    color: #fff;
}

.price-card.popular h3,
.price-card.popular .amount,
.price-card.popular p,
.price-card.popular li {
    color: #fff;
}

.price-tag {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
}

.amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 10px;
}

.amount span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-muted);
}

.price-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
    padding-left: 20px;
}

.price-features li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: var(--text-muted);
    font-size: 15px;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 50px;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s;
}

.btn-price:hover {
    background: var(--primary-color);
    color: #fff;
}

.price-card.popular .btn-price {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.price-card.popular .btn-price:hover {
    background: #fff;
    color: var(--primary-color);
}

.box-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
    height: 100%;
}

.box-container:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(76, 106, 210, 0.1), rgba(255, 0, 85, 0.1));
    border-color: rgba(255, 255, 255, 0.2);
}

.service-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.box-container:hover .service-image {
    background: var(--primary-color);
}

.service-image img {
    width: 40px;
    filter: invert(1);
}

.service-text h4 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}

.service-text p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Portfolio / Projects */
#portfolio {
    padding: 80px 8%;
    background: transparent;
}

.portfolio-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    cursor: pointer;
    margin-bottom: 30px;
}

.portfolio-container:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.portfolio-container:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(112, 71, 235, 0.9);
    /* Primary color opacity */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-container:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h4 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    transform: translateY(20px);
    transition: 0.3s;
}

.portfolio-container:hover .portfolio-overlay h4 {
    transform: translateY(0);
}

.portfolio-overlay .btn-view {
    padding: 10px 30px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transform: translateY(20px);
    transition: 0.3s;
}

.portfolio-overlay .btn-view:hover {
    background: var(--text-color);
    color: #fff;
}

.portfolio-container:hover .portfolio-overlay .btn-view {
    transform: translateY(0);
}

.portfolio-container:hover .portfolio-overlay .btn-view {
    transform: translateY(0);
}

/* Contact Section */
#contact {
    padding: 80px 8%;
    background: transparent;
}

.contact-container {
    background: var(--card-bg);
    border-radius: 30px;
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.contact-text h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.medias {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
}

.medias i {
    width: 45px;
    height: 45px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.medias i:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.medias img {
    width: 20px;
    filter: brightness(0) saturate(100%) invert(32%) sepia(34%) saturate(3025%) hue-rotate(248deg) brightness(97%) contrast(92%);
    /* Purple filter approx */
}

.medias i:hover img {
    filter: brightness(0) invert(1);
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: var(--bg-color);
    /* Was #f9f9f9 */
    border-radius: 15px;
}

.contact-info-item h5 {
    margin: 0;
    font-size: 14px;
    color: var(--text-muted);
}

.contact-info-item p {
    margin: 0;
    font-weight: 700;
    color: var(--text-color);
}

.contact-form form input,
.contact-form form textarea {
    width: 100%;
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    color: var(--text-color);
    padding: 18px 25px;
    border-radius: 15px;
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
    font-size: 15px;
}

.contact-form form input:focus,
.contact-form form textarea:focus {
    border-color: var(--primary-color);
    background: var(--card-bg);
    box-shadow: 0 0 0 4px var(--primary-light);
}

#submit {
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(112, 71, 235, 0.3);
}

#submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(112, 71, 235, 0.5);
    background: #5b32d6;
    /* Darker purple */
}

/* Footer */
footer {
    padding: 80px 8% 30px;
    background: var(--bg-color);
    border-top: 1px solid var(--border-color);
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-brand h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

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

.footer-col h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: 0.3s;
}

.social-links a img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: 0.3s;
}

.social-links a:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

.social-links a:hover img {
    opacity: 1;
    filter: grayscale(0%);
}

.footer-bottom {
    margin-top: 60px;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}

/* Payment & Checkout */
.checkout-section {
    padding: 120px 8% 80px;
}

.payment-methods-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-tab {
    padding: 15px 30px;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-muted);
    transition: 0.3s;
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.payment-tab.active,
.payment-tab:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.payment-form-container {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.payment-form {
    display: none;
    animation: fadeIn 0.5s;
}

.payment-form.active {
    display: block;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.form-control-custom {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    margin-bottom: 20px;
    outline: none;
    transition: 0.3s;
}

.form-control-custom:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.order-summary {
    background: var(--primary-light);
    padding: 30px;
    border-radius: 20px;
    height: fit-content;
}

.order-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--text-color);
}

.order-total {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    font-weight: 800;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.client-logo {
    height: 100px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.client-logo h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-muted);
    transition: 0.3s;
}

.client-logo:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(58, 134, 255, 0.15);
}

.client-logo:hover h3 {
    color: var(--primary-color);
    background: -webkit-linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive */
@media screen and (max-width: 991px) {
    header {
        padding: 15px 5%;
    }

    nav {
        display: none;
    }

    #toggle {
        display: block;
    }

    #hero-about {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero-text-content {
        padding-right: 0;
        align-items: center;
    }

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

    .hero-blob-image {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .stats-row {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }

    .stat-item {
        flex: 1 1 40%;
        justify-content: center;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .header-actions {
        display: none;
        /* Hide profile/socials on mobile optional, or keep */
    }

    #toggle {
        order: 2;
    }

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

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

    .stat-item {
        flex: 1 1 100%;
        text-align: center;
        justify-content: flex-start;
        padding-left: 20%;
    }

    .contact-container {
        padding: 30px;
    }

    .contact-text2 {
        flex-direction: column;
    }

    footer {
        padding: 50px 5% 30px;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

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

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

    .stat-item {
        padding-left: 0;
        justify-content: center;
    }
}