:root {
    --max-width: 1300px;
    --background: #fff;
    --secondary-background: #f9fafb;
    --card-background: #fff;
    --header-background: #fff;
    --text-color: #111827;
    --secondary-text-color: #4b5563;
    --button-color: #111827;
}

.dark-theme {
    --background: #111827;
    --secondary-background: #1f2937;
    --card-background: #1f2937;
    --header-background: #111827;
    --text-color: #fff;
    --secondary-text-color: #9ca3af;
    --button-color: #fff;
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
        
        }

        body {
            line-height: 1.6;
            background: var(--background); 
            color: var(--text-color);
           /* overflow-x: hidden; */
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        .container {
            max-width: var(--max-width);
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header */
        header {
            padding: 20px 0;
            position: fixed;
            width: 100%;
            top: 0;
            background: var(--header-background);
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

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

        .logo {
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--text-color);
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
        }

        nav ul li a {
            font-weight: 500;
            transition: color 0.3s;
            color: var(--secondary-text-color);
        }

        nav ul li a:hover {
            color: #1F2937;
        }

        nav ul li a.active {
            font-weight: 700;
            color: var(--text-color);
        }
        nav ul li a.active:hover{
            color: var(--secondary-text-color);

        }
        #theme-toggle{
            background: transparent;
            color: var(--text-color);
            border: none;
        }
        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 1.5rem;
        }

        /* Hero Section */
        .hero {
            height: 100vh;
            display: flex;
            align-items: center;
            padding-top: 100px;
        }

        .hero-content {
            max-width: 600px;
        }

        .availability {
            display: inline-block;
            background-color: #e6f0ff;
            color: var(--text-color);
            padding: 5px 10px;
            border-radius: 20px;
            font-size: 0.9rem;
            margin-bottom: 20px;
            font-weight: 500;
        }

        .hero-title {
            font-size: 3rem;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
            color: var(--text-color);
        }

        .hero-subtitle {
            font-size: 1.5rem;
            color: var(--secondary-color);
            margin-bottom: 30px;
            font-weight: 400;
        }

        .hero-description {
            font-size: 1.1rem;
            color: var(--secondary-text-color);
            margin-bottom: 40px;
            max-width: 500px;
        }

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

        .btn {
            padding: 12px 25px;
            border-radius: 5px;
            font-weight: 500;
            transition: all 0.3s;
        }

        .btn-primary {
            background-color: var(--text-color);
            color: #fff;
            border-radius: 27px;
        }

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

        .btn-outline {
            border: 1px solid var(--text-color);
            color: var(--secondary-text-color);
            border-radius: 27px;
        }

        .btn-outline:hover {
            background-color: var(--text-color);
            color: #fff;
            transform: translateY(-2px);
        }

       /* .stats {
            display: flex;
            gap: 30px;
            margin-top: 50px;
        }

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

        .stat-number {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 5px;
        }

        .stat-label {
            color: var(--secondary-color);
            font-size: 0.9rem;
        }*/

        /* About Section */
        #about {
            padding: 100px 0;
            background: var(--secondary-background);
        }
        
        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 2px;
            color: var(--text-color);
        }

        .about-content {
            display: flex;
            gap: 50px;
            align-items: center;
        }

        .about-text {
            flex: 1;
        }

        .about-text p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: var(--secondary-text-color);
        }

        .about-image {
            flex: 1;
            border-radius: 15px;
            overflow: hidden;
           /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);*/

        }

        .about-image img {
            width: 100%;
            max-width: 250px;
            height: auto;
            display: block;
            margin: 0 auto;
        }

        .about-location {
            display: flex;
            align-items: center;
            margin-top: 30px;
            gap: 10px;
            color: var(--secondary-text-color);
        }

        /* Services Section */
        .center-title{
            margin-top: 50px;
            text-align: center;
            color: var(--text-color);
        }
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .service-card {
            background: var(--card-background);
            color: var(--text-color);
            padding: 30px;
            border-radius: 10px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .service-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .service-title {
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            color: var(--text-color);
        }

        .service-description {
            color: var(--secondary-text-color);
        }

        /* Work Section */
        .cont-title{
            text-align: center;
            padding-top: 50px;
        }
        #work{
            background: var(--secondary-background);
            margin-top: 50px;
            padding-bottom: 80px;
        }
        .work-intro {
            max-width: 600px;
            margin-bottom: 50px;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            color: var(--secondary-text-color);
        }

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

        .work-card {
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .work-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        }

        .work-image {
            height: 300px;
            background-color: #eee;
            position: relative;
            overflow: hidden;
        }

        .work-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .work-content {
            padding: 20px;
        }

        .work-title {
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 10px;
            color: var(--text-color);
        }

        .work-description {
            color: var(--secondary-text-color);
            margin-bottom: 15px;
        }

        .work-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            color: var(--text-color);
        }

        .tag {
            background-color: var(--light-color);
            padding: 5px 10px;
            border-radius: 5px;
            font-size: 0.8rem;
            font-weight: 500;
        }

        /* Contact Section */
        .contact-container {
            display: flex;
            gap: 50px;
            padding-bottom: 50px;
        }

        .contact-info {
            flex: 1;
            text-align: center;
            color: var(--secondary-text-color);
        }

        .contact-methods {
            margin-top: 30px;
            flex-direction: row;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: auto;
            gap: 20px;
        }

        .contact-method {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 10px;
            padding: 10px;
            border-radius: 5px;
            transition: background-color 0.3s;
        }
        .contact-btn1{
            background: var(--button-color);
            color: var(--background);
            border-radius: 27px;
            border: 1px solid var(--text-color);
            transition: all 0.3s;
        }

        .contact-btn1:hover {
            transform: translateY(-2px);
        }
        
        .contact-btn2{
             border: 1px solid var(--text-color);
            color: var(--secondary-text-color);
            border-radius: 27px;
            background: transparent;
        }
        .contact-btn2:hover{
            transform: translateY(-2px);
        }

        .contact-icon1 {
            font-size: 1rem;
            color: #fff;
        }
        .contact-icon2{
            color: var(--text-color);
            font-size: 1rem;
        }
        .social-links{
            display:flex;
            flex-direction: row;
            gap:10px;
            align-items: center;
            justify-content: center;
            padding-top: 20px;
        }
        .social-icon1, .social-icon2, .social-icon3{
            font-size: 2rem;
            color: var(--text-color);
        }
        /* Footer */
        footer {
            background-color: var(--secondary-background);
            padding: 30px 0;
            text-align: center;
            color: var(--secondary-text-color);
        }

        /* Tablet Styles */
        @media (max-width: 1024px) {
    .container {
        padding: 0 10px;
    }
    .about-content {
        gap: 20px;
    }
    .services-grid,
    .work-grid {
        gap: 20px;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-container {
        padding: 0 10px;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--background);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s;
        z-index: 1000;
        padding: 80px 20px;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .hero {
        padding-top: 120px;
        height: auto;
        padding-bottom: 60px;
        flex-direction: column;
        text-align: center;
    }

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

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

    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    #about{
        padding-top: -30px;
    }
    .section-title{
        text-align: center;
    }
    .about-content {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .about-image img {
        max-width: 90vw;
        width: 90vw;
        min-width: 220px;
        height: auto;
        object-fit: cover;
        display: block;
        margin: 0 auto;
    }

    .services-grid,
    .work-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .work-image {
        height: 180px;
    }

    .contact-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }

    .contact-methods {
        flex-direction: column;
        gap: 15px;
    }

    .social-links {
        gap: 15px;
        padding-top: 15px;
    }

    footer {
        padding: 20px 0;
        font-size: 0.95rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.4rem;
    }
    .section-title {
        font-size: 1.3rem;
    }
    .about-image img {
        max-width: 120px;
    }
    .work-image {
        height: 120px;
    }
    .container {
        padding: 0 5px;
    }
}

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

.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.dark-theme .btn-primary {
    background-color: #fff;
    color: #111827;
    border: 1px solid #fff;
}
.dark-theme .btn-outline{
    background-color: #111827;
    color: #9ca3af;
    border: 1px solid #fff;
}
.dark-theme .availability{
    background: #1F2937;
    color: #9ca3af;
    border: #9ca3af;
}
.dark-theme .social-icon1, .dark-theme .social-icon2, .dark-theme .social-icon3{
    color: #fff;
}
.dark-theme nav ul li a:hover{
    color: #fff;
}
.dark-theme nav ul li a.active:hover{
    color: #9ca3af;
}

/* Hide close-menu by default */
.close-menu {
    display: none;
}

/* When nav is active, show close-menu and hide menu-toggle */
nav.active + .menu-toggle {
    display: none;
}
nav.active .close-menu,
nav.active ~ .close-menu {
    display: block;
}