/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --primary-light: #dbeafe;
    --secondary: #0ea5e9;
    --dark: #1e293b;
    --gray-dark: #475569;
    --gray: #64748b;
    --gray-light: #e2e8f0;
    --light: #f8fafc;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-radius: 6px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --sidebar-width: 280px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-size: 16px;
    line-height: 1.5;
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
    color: white;
}

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

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

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

.btn-secondary:hover {
    background-color: #0284c7;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    text-align: center;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

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

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

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    /* Start off-screen */
    width: var(--sidebar-width);
    height: 100vh;
    background-color: white;
    z-index: 1000;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    overflow-y: auto;
    padding: 20px;
    visibility: hidden;
    /* Hide by default */
    opacity: 0;
}

.sidebar.active {
    left: 0;
    visibility: visible;
    opacity: 1;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
    margin-bottom: 20px;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.sidebar-logo img {
    height: 40px;
    margin-right: 10px;
}

.sidebar-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray);
    cursor: pointer;
    transition: var(--transition);
}

.sidebar-close:hover {
    color: var(--primary);
}

.sidebar-nav {
    margin-bottom: 30px;
}

.sidebar-nav-item {
    margin-bottom: 5px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: var(--gray-dark);
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

.sidebar-nav-link i {
    margin-right: 10px;
    font-size: 18px;
}

.sidebar-divider {
    height: 1px;
    background-color: var(--gray-light);
    margin: 20px 0;
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--gray-light);
}

.sidebar-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.sidebar-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--gray-light);
    color: var(--gray-dark);
    border-radius: 50%;
    transition: var(--transition);
}

.sidebar-social-link:hover {
    background-color: var(--primary);
    color: white;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: all 0.3s ease;
}

.header.sticky {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo img {
    height: 50px;
    margin-right: 12px;
    transition: var(--transition);
}

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

.nav-list {
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--dark);
    font-weight: 500;
    font-size: 16px;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.nav .btn {
    padding: 10px 24px;
    font-weight: 600;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.nav .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover {
    background-color: var(--primary-light);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--dark);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }

    .nav-list {
        display: none;
    }

    .nav .btn {
        display: none;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    color: var(--dark);
    position: relative;
}

.hero-title span {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(59, 130, 246, 0.2);
    z-index: -1;
    border-radius: 4px;
}

.hero-text {
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 35px;
    line-height: 1.8;
}

.hero-btns {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btns .btn {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-btns .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    z-index: -1;
    transition: opacity 0.3s ease;
}

.hero-btns .btn:hover::before {
    opacity: 0.9;
}

.hero-btns .btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.hero-btns .btn-outline::before {
    opacity: 0;
}

.hero-btns .btn-outline:hover {
    color: white;
}

.hero-btns .btn-outline:hover::before {
    opacity: 1;
}

.hero-img {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.hero-img::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: 20px;
    z-index: -1;
}

.hero-img img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.hero-img:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.hero-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

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

.hero-stat-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.hero-stat-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.hero-stat-content p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
}

@media (max-width: 1024px) {
    .hero {
        padding: 140px 0 80px;
    }

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

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
    }

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

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

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

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

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

.features {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.features .section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.features .section-subtitle {
    font-size: 18px;
    color: var(--gray-dark);
    margin-bottom: 60px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--primary);
    font-size: 28px;
    transition: all 0.4s ease;
    position: relative;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
    position: relative;
    padding-bottom: 15px;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.feature-card:hover .feature-title::after {
    width: 60px;
}

.feature-text {
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 0;
    font-size: 16px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary);
    font-weight: 600;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.feature-link svg {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.feature-link:hover {
    color: var(--primary-dark);
}

.feature-link:hover svg {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .features .section-title {
        font-size: 28px;
    }

    .features .section-subtitle {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

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

/* About Section */
.about {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight-text {
    font-size: 18px;
    color: var(--gray-dark);
    line-height: 1.8;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.about-features {
    display: grid;
    gap: 25px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.about-feature .feature-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.about-feature .feature-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

.about-feature .feature-content p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 2rem;
}

.stat-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-text {
    color: var(--gray);
    font-size: 14px;
    font-weight: 500;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 800;
    display: block;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .about-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .image-container {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-text h2 {
        font-size: 28px;
    }

    .highlight-text {
        font-size: 16px;
    }

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

    .stat-item {
        padding: 20px;
    }

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

    .experience-badge {
        bottom: 20px;
        right: -10px;
        padding: 15px;
    }

    .experience-badge .years {
        font-size: 28px;
    }
}

/* Projects Section */
.projects {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.projects-container {
    position: relative;
    padding: 20px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-img-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(59, 130, 246, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

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

.project-link {
    width: 45px;
    height: 45px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.project-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-3px);
}

.project-content {
    padding: 25px;
}

.project-category {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
}

.project-desc {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 4px 12px;
    background: var(--gray-light);
    color: var(--gray-dark);
    border-radius: 15px;
    font-size: 13px;
    font-weight: 500;
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: white;
    border: 2px solid var(--primary);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--primary);
    font-size: 15px;
}

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

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .projects-container {
        overflow-x: auto;
        padding: 20px 0;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

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

    .projects-grid {
        display: flex;
        gap: 20px;
        padding: 10px;
        min-width: min-content;
    }

    .project-card {
        min-width: 300px;
        scroll-snap-align: start;
    }

    .projects-filter {
        gap: 10px;
        padding: 0 20px;
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

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

    .filter-btn {
        padding: 8px 20px;
        font-size: 14px;
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .project-card {
        min-width: 330px;
    }

    .project-img-container {
        height: 200px;
    }

    .project-content {
        padding: 20px;
    }

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

/* Team Section */
.team {
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
    padding: 60px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 1;
}

/* Responsive Design Improvements */
@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .team {
        padding: 40px 0;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .team-card {
        max-width: 100%;
    }

    .team-img-container {
        height: 160px;
    }

    .team-content {
        padding: 12px;
    }

    .team-name {
        font-size: 15px;
        margin: 8px 0 3px;
    }

    .team-position {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .team-bio {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 10px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .team-stats {
        gap: 10px;
        margin-top: 10px;
        padding-top: 10px;
    }

    .team-stat-number {
        font-size: 14px;
    }

    .team-stat-label {
        font-size: 11px;
    }

    .social-link {
        width: 28px;
        height: 28px;
    }

    .social-link svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .team-card {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 10px;
    }

    .team-img-container {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        border-radius: 10px;
    }

    .team-content {
        padding: 0;
        text-align: left;
    }

    .team-content::before {
        display: none;
    }

    .team-name {
        font-size: 16px;
        margin: 0 0 3px;
    }

    .team-position {
        font-size: 13px;
        margin-bottom: 5px;
    }

    .team-bio {
        font-size: 12px;
        -webkit-line-clamp: 2;
        margin-bottom: 8px;
    }

    .team-stats {
        justify-content: flex-start;
        gap: 15px;
        margin-top: 8px;
        padding-top: 8px;
    }

    .team-overlay {
        display: none;
    }
}

@media (max-width: 360px) {
    .team-card {
        padding: 8px;
        gap: 12px;
    }

    .team-img-container {
        width: 80px;
        height: 80px;
    }

    .team-name {
        font-size: 14px;
    }

    .team-position {
        font-size: 12px;
    }

    .team-bio {
        font-size: 11px;
    }

    .team-stats {
        gap: 10px;
    }

    .team-stat-number {
        font-size: 13px;
    }

    .team-stat-label {
        font-size: 10px;
    }
}

.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.team-img-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.9), rgba(37, 99, 235, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.team-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.team-content {
    padding: 20px;
    text-align: center;
    position: relative;
}

.team-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.team-name {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0 5px;
    color: var(--dark);
}

.team-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.team-bio {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.team-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--gray-light);
}

.team-stat {
    text-align: center;
}

.team-stat-number {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.team-stat-label {
    font-size: 12px;
    color: var(--gray);
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, var(--dark), #1a1a2e);
    color: white;
    padding: 80px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%233b82f6' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.footer-col {
    min-width: 250px;
}

.footer-col h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    padding-bottom: 1rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.footer-social-link:hover {
    background: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.footer-link svg {
    margin-right: 0.75rem;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: white;
    transform: translateX(5px);
}

.footer-link:hover svg {
    transform: translateX(3px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-contact-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 60px 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col h3 {
        font-size: 1.25rem;
    }

    .footer-contact-item {
        margin-bottom: 1rem;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 140px 0 80px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 50px 0;
    }

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

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

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

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

    .modal-content {
        width: 95%;
    }

    .modal-img {
        height: 200px;
    }

    .gallery-img {
        width: calc(50% - 5px);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 24px;
    }

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

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

    .hero-btns .btn {
        width: 100%;
        text-align: center;
    }

    .projects-filter {
        gap: 5px;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
}

.show-more-btn {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.show-more-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.project-card.hidden {
    display: none;
}

/* Projects Hero Section */
.projects-hero {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.projects-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.projects-hero-text {
    max-width: 100%;
}

.projects-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #2d3436;
}

.projects-hero-title span {
    color: #0984e3;
    position: relative;
}

.projects-hero-title span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(9, 132, 227, 0.2);
    z-index: -1;
}

.projects-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #636e72;
    margin-bottom: 0.75rem;
}

.projects-hero-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #636e72;
    margin-bottom: 1.5rem;
}

.projects-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0984e3;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #636e72;
}

.projects-hero-image {
    position: relative;
    max-width: 100%;
}

.projects-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.projects-hero-shape {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    background: #0984e3;
    border-radius: 15px;
    z-index: 1;
    opacity: 0.1;
}

.projects-filter-container {
    margin-top: 40px;
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.projects-search {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper svg {
    position: absolute;
    left: 0.75rem;
    color: #636e72;
    width: 18px;
    height: 18px;
}

.search-input {
    width: 100%;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #0984e3;
    outline: none;
    box-shadow: 0 0 0 3px rgba(9, 132, 227, 0.1);
}

.search-btn {
    padding: 0.75rem 1.5rem;
    background: #0984e3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: #0873c4;
    transform: translateY(-2px);
}

.projects-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #636e72;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn svg {
    width: 16px;
    height: 16px;
    color: #0984e3;
}

.category-btn:hover {
    background: #e9ecef;
    border-color: #0984e3;
    color: #0984e3;
}

.category-btn.active {
    background: #0984e3;
    border-color: #0984e3;
    color: #fff;
}

.category-btn.active svg {
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .projects-hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .projects-hero-text {
        text-align: center;
    }

    .projects-hero-stats {
        justify-content: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .projects-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .projects-hero {
        padding: 80px 0 30px;
    }

    .projects-hero-title {
        font-size: 2rem;
    }

    .projects-hero-subtitle {
        font-size: 1.1rem;
    }

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

    .projects-search {
        flex-direction: column;
    }

    .search-btn {
        width: 100%;
    }

    .projects-categories {
        justify-content: center;
    }

    .category-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

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

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

    .stat-number {
        font-size: 1.75rem;
    }

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

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 1rem;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    color: #636e72;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-btn:hover:not(.disabled) {
    background: #f8f9fa;
    border-color: #0984e3;
    color: #0984e3;
    transform: translateY(-2px);
}

.page-btn.active {
    background: #0984e3;
    border-color: #0984e3;
    color: #fff;
    box-shadow: 0 4px 12px rgba(9, 132, 227, 0.2);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.page-btn.prev,
.page-btn.next {
    gap: 0.5rem;
    padding: 0 1.25rem;
}

.page-btn.prev svg,
.page-btn.next svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.page-btn.prev:hover svg {
    transform: translateX(-3px);
}

.page-btn.next:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .pagination {
        margin-top: 2rem;
        flex-wrap: wrap;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .page-btn.prev,
    .page-btn.next {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .pagination {
        gap: 0.25rem;
    }

    .page-btn {
        min-width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .page-btn.prev,
    .page-btn.next {
        padding: 0 0.75rem;
    }
}