/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #1a1a1a;
    background: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    animation: slideInRight 0.3s ease;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.notification.success {
    background: #ffffff;
    color: #000000;
    border: 2px solid #000000;
}

.notification.error {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.notification.info {
    background: #f8f9fa;
    color: #000000;
    border: 2px solid #000000;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.notification-message {
    font-size: 0.95rem;
    line-height: 1.4;
    flex: 1;
    display: flex;
    align-items: center;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: all 0.3s ease;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.notification-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
    color: #000000;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 0.8rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.08);
}

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

.logo {
    color: #000000;
    font-weight: 700;
    font-size: 1.6rem;
    text-decoration: none;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
    color: #000000;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s ease;
}

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

.mobile-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu span {
    width: 22px;
    height: 2px;
    background: #000000;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    color: #1a1a1a;
    padding-top: 80px;
    position: relative;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #000000;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: #444444;
    font-weight: 500;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #666666;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: #000000;
    color: white;
    border: 2px solid #000000;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #333333;
    border-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: #000000;
    border: 2px solid #000000;
}

.btn-secondary:hover {
    background: #000000;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.code-animation {
    background: #000000;
    padding: 2rem;
    border-radius: 12px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    line-height: 1.6;
    border: 1px solid #333333;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.code-line {
    color: #00ff00;
    margin-bottom: 0.4rem;
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.code-line:nth-child(1) { animation-delay: 0.1s; }
.code-line:nth-child(2) { animation-delay: 0.2s; }
.code-line:nth-child(3) { animation-delay: 0.3s; }
.code-line:nth-child(4) { animation-delay: 0.4s; }
.code-line:nth-child(5) { animation-delay: 0.5s; }
.code-line:nth-child(6) { animation-delay: 0.6s; }

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #000000;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #000000;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #666666;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about, .skills, .portfolio, .services, .contact {
    padding: 5rem 0;
}

/* About Section */
.about {
    background: #fafafa;
}

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

.about-text p {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: #444444;
    line-height: 1.7;
}

.about-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 2rem;
    color: #000000;
    border-bottom: 2px solid #000000;
    padding-bottom: 0.5rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text strong {
    color: #000000;
    font-weight: 600;
}

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

.stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8e8e8;
}

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

.stat-label {
    color: #666666;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.about-image {
    display: flex;
    justify-content: center;
}

.profile-photo {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid #000000;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border-color: #333333;
}

.image-placeholder {
    width: 280px;
    height: 280px;
    background: #000000;
    border: 2px solid #333333;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    gap: 0.8rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.image-placeholder i {
    font-size: 3.5rem;
    color: #ffffff;
}

/* Skills Section - Redesigned */
.skills {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='%23000000' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
}

.skills-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.skill-category {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    padding: 3rem 2.5rem;
    border-radius: 24px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.skill-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.6s ease;
}

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

.skill-category:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 8px 24px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #000000;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.skill-category h3::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #000000, #333333);
    border-radius: 2px;
}

.skill-category h3 i {
    color: #000000;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.skill-category:hover h3 i {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.skill-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    min-width: 160px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 2px 8px rgba(0, 0, 0, 0.04);
}

.skill-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.05), transparent);
    transition: left 0.6s ease;
}

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

.skill-item:hover {
    background: linear-gradient(145deg, #000000, #1a1a1a);
    transform: translateY(-8px) scale(1.05);
    border-color: #000000;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 8px 16px rgba(0, 0, 0, 0.1);
}

.skill-item i {
    font-size: 2.8rem;
    color: #000000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.skill-item:hover i {
    color: #ffffff;
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

.skill-item span {
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.3;
}

.skill-item:hover span {
    color: #ffffff;
    transform: scale(1.05);
}

/* Portfolio Section */
.portfolio {
    background: #fafafa;
}

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

.filter-btn {
    padding: 10px 20px;
    border: 1px solid #000000;
    background: transparent;
    color: #000000;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    min-width: 120px;
    text-align: center;
}

.filter-btn:hover,
.filter-btn.active {
    background: #000000;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.portfolio-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

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

.portfolio-image .image-placeholder {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0;
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    font-size: 0.9rem;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    border: 2px solid #000000;
}

.portfolio-overlay i {
    color: #ffffff;
    font-size: 2.2rem;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.portfolio-item:hover .portfolio-overlay i {
    transform: scale(1.1);
    color: #ffffff;
}

/* Portfolio Modal Styles */
.portfolio-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: #ffffff;
    margin: 20px;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.7);
    transition: transform 0.3s ease;
    border: 2px solid #000000;
}

.portfolio-modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444444;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

/* Analytics Dashboard Gallery */
.analytics-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analytics-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.5s ease;
}

.analytics-item:hover::before {
    left: 100%;
}

.analytics-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: #000000;
}

.analytics-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 2px solid #e8e8e8;
    transition: all 0.3s ease;
}

.analytics-item:hover img {
    border-color: #000000;
    transform: scale(1.02);
}

.analytics-item h3 {
    color: #000000;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.analytics-item p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.analytics-description {
    background: linear-gradient(135deg, #fafafa, #ffffff);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e8e8e8;
    border-left: 4px solid #000000;
}

.analytics-description h3 {
    color: #000000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.analytics-description p {
    color: #444444;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.analytics-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

.feature-item i {
    color: #000000;
    font-size: 1.1rem;
}

.feature-item span {
    color: #333333;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Swipeable Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.gallery-modal.show {
    display: flex;
    opacity: 1;
}

.gallery-popup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 80vw;
    height: 80vh;
    max-width: 1200px;
    max-height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.gallery-header {
    background: linear-gradient(135deg, #000000, #333333);
    color: #ffffff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #444444;
    flex-shrink: 0;
}

.gallery-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.gallery-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.gallery-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background: transparent;
    min-height: 300px;
    max-height: calc(80vh - 120px);
}

.gallery-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
}

.gallery-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    width: auto;
    height: auto;
    background: #ffffff;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 2rem;
}

.gallery-next {
    right: 2rem;
}

.gallery-info {
    background: #f8f9fa;
    color: #333333;
    padding: 1rem 2rem;
    text-align: center;
    flex-shrink: 0;
    border-top: 1px solid #e9ecef;
}

.gallery-info span {
    font-size: 1rem;
    font-weight: 500;
}

/* Touch/Swipe Support */
.gallery-slide {
    touch-action: pan-x;
    user-select: none;
}

/* Responsive Design for Gallery */
@media (max-width: 768px) {
    .gallery-header {
        padding: 0.8rem 1rem;
    }
    
    .gallery-header h2 {
        font-size: 1.2rem;
    }
    
    .gallery-popup {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .gallery-container {
        padding: 1rem;
        min-height: 300px;
        max-height: 50vh;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .gallery-prev {
        left: 1rem;
    }
    
    .gallery-next {
        right: 1rem;
    }
    
    .gallery-info {
        padding: 0.8rem 1rem;
    }
}

.portfolio-content {
    padding: 1rem;
}

.portfolio-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: #000000;
}

.portfolio-content p {
    color: #666666;
    margin-bottom: 0.8rem;
    line-height: 1.4;
    font-size: 0.8rem;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.portfolio-tags span {
    background: #fafafa;
    color: #000000;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid #000000;
}

/* Services Section */
.services {
    background: #ffffff;
}

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

.service-card {
    background: #fafafa;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.03), transparent);
    transition: left 0.5s ease;
}

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

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #000000;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: #000000;
}

.service-card p {
    color: #666666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: #fafafa;
    padding: 4rem 0;
}

.contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-info h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #000000;
}

.contact-info p {
    color: #666666;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.contact-details {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #444444;
    background: white;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 300px;
    height: 80px;
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.contact-item i {
    color: #000000;
    width: 20px;
    font-size: 1.2rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    color: #000000;
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.contact-item p {
    color: #666666;
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.contact-item p a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.contact-item p a:hover {
    color: #666666;
    text-decoration: underline;
}

/* Responsive Design for Contact Section */
@media (max-width: 768px) {
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .contact-info h3 {
        font-size: 1.8rem;
    }
    
    .contact-info p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-details {
        flex-direction: column;
        max-width: 400px;
    }
    
    .contact-item {
        min-width: 280px;
        padding: 1rem 1.5rem;
        gap: 0.8rem;
        height: 70px;
    }
    
    .contact-item i {
        font-size: 1.1rem;
        width: 18px;
    }
    
    .contact-item h4 {
        font-size: 0.95rem;
    }
    
    .contact-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .contact-item {
        min-width: 250px;
        padding: 0.8rem 1.2rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        height: auto;
        min-height: 80px;
    }
    
    .contact-item i {
        margin-bottom: 0.3rem;
    }
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 1.2rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

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

.footer-section li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: #ffffff;
}



.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333333;
    color: #cccccc;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Medium screens (tablets) */
@media (min-width: 769px) and (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .gallery-popup {
        width: 80vw;
        height: 80vh;
        max-width: 900px;
        max-height: 600px;
    }
    
    .gallery-container {
        max-height: calc(80vh - 120px);
    }
}

/* Desktop Gallery Adjustments */
@media (min-width: 1025px) {
    .gallery-popup {
        width: 70vw;
        height: 70vh;
        max-width: 1000px;
        max-height: 700px;
    }
    
    .gallery-container {
        max-height: calc(70vh - 120px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 20px;
    }

    /* Header responsive */
    .mobile-menu {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    /* Hero section responsive */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

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

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
    }

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

    .btn {
        padding: 12px 24px;
        font-size: 0.85rem;
        min-width: 120px;
    }

    /* About section responsive */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .about-text {
        padding: 0 1rem;
    }

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

    .stat-item {
        padding: 1.5rem;
    }

    /* Contact section responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Skills section responsive */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .skill-category {
        padding: 1.5rem;
    }

    /* Services section responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    /* Portfolio section responsive */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .portfolio-item {
        margin-bottom: 1rem;
    }

    .portfolio-filters {
        justify-content: center;
        gap: 0.6rem;
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        min-width: 100px;
    }

    /* Section titles responsive */
    .section-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    /* Contact form responsive */
    .contact-form .btn {
        width: 100%;
        margin-top: 0.8rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Modal responsive */
    .modal-content {
        margin: 5% auto;
        width: 90%;
        max-width: 500px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 1rem;
    }

    /* Gallery modal responsive */
    .gallery-popup {
        max-width: 95vw;
        max-height: 95vh;
    }

    .gallery-container {
        padding: 1rem;
        min-height: 300px;
        max-height: 50vh;
    }

    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .gallery-prev {
        left: 1rem;
    }

    .gallery-next {
        right: 1rem;
    }

    .gallery-info {
        padding: 0.8rem 1rem;
    }

    .gallery-header h2 {
        font-size: 1.2rem;
    }

    /* Notification responsive design */
    .notification {
        top: 80px;
        right: 15px;
        left: 15px;
        max-width: none;
    }

    .notification-content {
        padding: 0.8rem 1.2rem;
        gap: 1rem;
    }

    .notification-message {
        font-size: 0.9rem;
    }

    /* Footer responsive */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    /* Container adjustments for small screens */
    .container {
        padding: 0 15px;
    }

    /* Hero section small screens */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.1;
    }

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

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 250px;
        padding: 14px 20px;
        font-size: 0.85rem;
    }

    /* About section small screens */
    .about-text {
        padding: 0 0.5rem;
    }

    .about-text h3 {
        font-size: 1.3rem;
    }

    .about-text p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Skills and services small screens */
    .skill-category,
    .service-card {
        padding: 1.5rem;
    }

    .skill-category h3,
    .service-card h3 {
        font-size: 1.2rem;
    }

    .skill-category p,
    .service-card p {
        font-size: 0.9rem;
    }

    /* Portfolio section small screens */
    .portfolio-filters {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .filter-btn {
        width: 100%;
        max-width: 180px;
        padding: 10px 16px;
        font-size: 0.8rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .portfolio-item {
        margin-bottom: 1rem;
    }

    /* Contact form small screens */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-form .form-group {
        margin-bottom: 1.2rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .contact-form label {
        font-size: 0.9rem;
    }

    /* Modal small screens */
    .modal-content {
        margin: 2% auto;
        width: 95%;
        max-width: 400px;
    }

    .modal-header h2 {
        font-size: 1.2rem;
    }

    .modal-body {
        padding: 0.8rem;
    }

    /* Gallery modal small screens */
    .gallery-popup {
        max-width: 98vw;
        max-height: 98vh;
    }

    .gallery-container {
        padding: 0.5rem;
        min-height: 250px;
        max-height: 45vh;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .gallery-prev {
        left: 0.5rem;
    }

    .gallery-next {
        right: 0.5rem;
    }

    .gallery-info {
        padding: 0.6rem 0.8rem;
    }

    .gallery-header h2 {
        font-size: 1.1rem;
    }

    .gallery-header {
        padding: 0.8rem 1rem;
    }

    /* Notification responsive design for small screens */
    .notification {
        top: 70px;
        right: 10px;
        left: 10px;
    }

    .notification-content {
        padding: 0.7rem 1rem;
        gap: 0.8rem;
    }

    .notification-message {
        font-size: 0.85rem;
    }

    /* Footer small screens */
    .footer-content {
        gap: 1.5rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.85rem;
    }

    /* Section titles small screens */
    .section-title {
        font-size: 1.8rem;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }
}
