          /* services */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-user-select: none;
    user-select: none;
    overflow-x: hidden;
}

/* Animated Background Elements */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape3 {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 70%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

/* --- NEW --- Side Navigation Bar Styles */
.sidenav {
    height: 100%;
    width: 0; /* collapsed by default */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background: linear-gradient(135deg, black, #4d4949);
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
}


.sidenav a {
    padding: 10px 15px 10px 32px;
    text-decoration: none;
    font-size: 22px;
    color: #ccc;
    display: block;
    transition: 0.3s;
}

.sidenav a:hover {
    color: #ff4d00;
}

.sidenav .closebtn {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 36px;
    margin-left: 50px;
}

/* --- NEW --- Main content wrapper */
#main {
    transition: margin-left .5s;
    /* padding: 16px; This can interfere with other styles, keeping it at 0 */
}

/* Header Styles */
header {
    background: linear-gradient(135deg, black, #665f5f);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 1rem;
    width: 100%;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(255, 77, 0, 0.3);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

header .logo {
    display: flex;
    align-items: center;
    animation: slideInLeft 1s ease-out;
}

        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .logo-image {
            width: 80px;
            height: 60px;
            object-fit: contain; /* Preserves shape */
            box-shadow:none;
            transition: transform 0.3s ease;
        }

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

      .h2 {
          font-weight: 700;
          letter-spacing: 1px;
          background: linear-gradient(90deg, #00f7ff, #00d9f5, #00b3e6);
          -webkit-background-clip: text;
          -webkit-text-fill-color: transparent;
          background-clip: text;
          animation: titleGlow 3s ease-in-out infinite alternate;
      }

      @keyframes titleGlow {
          from { filter: brightness(1); }
          to { filter: brightness(1.2); }
      }


/* --- NEW --- Hamburger Menu Icon */
.open-nav {
    font-size: 30px;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
    animation: slideInRight 1s ease-out; /* Re-using your animation */
}

.open-nav:hover {
    color: #ff4d00;
}


/* --- REMOVED --- Old .nav-links styles are no longer needed */
/*
.nav-links { ... }
.nav-links li { ... }
.nav-links a { ... }
*/

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


/* Services Section */
.services {
    text-align: center;
    padding: 80px 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.services h1 {
    font-size: 42px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        filter: drop-shadow(0 0 5px rgba(102, 126, 234, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 20px rgba(118, 75, 162, 0.6));
    }
}

.services-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    animation: fadeIn 1.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.service-item {
    background: linear-gradient(135deg, #fff 0%, #f8f9ff 100%);
    margin-bottom: 30px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: slideInUp 0.8s ease-out;
    animation-fill-mode: both;
    border: 2px solid transparent;
}

.service-item:nth-child(2) { animation-delay: 0.2s; }
.service-item:nth-child(3) { animation-delay: 0.4s; }
.service-item:nth-child(4) { animation-delay: 0.6s; }
.service-item:nth-child(5) { animation-delay: 0.8s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 2px solid rgba(255, 77, 0, 0.3);
}

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

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

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 36px;
    color: white;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.service-icon.design {
    background: linear-gradient(45deg, #ff6b6b, #ff8e8e);
}

.service-icon.ecommerce {
    background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.service-icon.seo {
    background: linear-gradient(45deg, #45b7d1, #96c93d);
}

.service-icon.webapp {
    background: linear-gradient(45deg, #f093fb, #f5576c);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.service-item:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    animation-play-state: paused;
}

.service-item h2 {
    font-size: 28px;
    color: #333;
    margin: 0;
    font-weight: 700;
}

.service-item p {
    font-size: 16px;
    color: #666;
    margin-top: 15px;
    line-height: 1.6;
}

.service-features {
    margin-top: 20px;
}

.feature-tag {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin: 5px 5px 0 0;
    font-weight: 500;
    animation: tagPulse 3s infinite;
}

@keyframes tagPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

/* Call to Action */
.cta-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #ff4d00, #ff8c00);
    margin: 40px 5%;
    border-radius: 20px;
    color: white;
    animation: ctaGlow 4s ease-in-out infinite alternate;
}

@keyframes ctaGlow {
    0% {
        box-shadow: 0 10px 30px rgba(255, 77, 0, 0.3);
    }
    100% {
        box-shadow: 0 20px 60px rgba(255, 77, 0, 0.6);
    }
}

.cta-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #ff4d00;
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: #f0f0f0;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    text-align: center;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

footer p {
    margin: 0;
    font-size: 16px;
    opacity: 0.8;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    /* --- REMOVED --- No longer need to change header flex-direction */
    
    header .logo h1 {
        font-size: 1.5rem;
    }
    
    /* --- REMOVED --- Old responsive nav link styles */
    
    .services {
        padding: 40px 15px;
        margin: 20px auto;
    }
    
    .services h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .service-item {
        padding: 30px 20px;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
    
    .service-icon {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .service-item h2 {
        font-size: 24px;
    }
    
    .service-item p {
        font-size: 15px;
    }
    
    .cta-section h2 {
        font-size: 26px;
    }
    
    .cta-section p {
        font-size: 16px;
    }
}

@media screen and (max-width: 480px) {
    /* --- REMOVED --- Old responsive nav link styles */

    .services h1 {
        font-size: 28px;
    }
    
    .service-item h2 {
        font-size: 22px;
    }
    
    .service-item p {
        font-size: 14px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
    
    .cta-section {
        margin: 20px 10px;
    }
}

