 body {
            font-family: 'Playfair Display', serif;
            background-color: whitesmoke;
            margin: 0;
            overflow-x: hidden;
            padding: 2rem 4rem;

            color: #222;
        }

        a {
            text-decoration: none;
            color: #fff;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 16px;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #d1d5db;
            padding: 16px;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            background-color: whitesmoke;
            z-index: 1000;
            /* Ensure it stays on top */
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            /* Optional: Adds shadow */
        }

        .header h1 {
            font-size: 24px;
            font-weight: bold;
            margin-right: 50px;
        }

        .menu-icon {
            font-size: 24px;
            cursor: pointer;
            z-index: 20;
        }

        .grid {
            display: flex;
            gap: 20px;
            margin-bottom: 64px;
        }

        .grid-item {
            flex: 1;
        }

        .grid-item img {
            max-width: 100%;
            height: auto;
            margin-bottom: 10px;
        }

        .grid-item h2 {
            font-size: 20px;
            font-weight: bold;
        }

        .highlight {
            color: #ea580c;
        }

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

        .title-large {
            font-size: 72px;
            font-weight: bold;
        }

        .divider {
            border-left: 2px solid #d1d5db;
            border-right: 2px solid #d1d5db;
            padding: 0 16px;
            text-align: center;
        }

        .tip {
            text-transform: uppercase;
            color: #374151;
            font-weight: bold;
        }

        /* Menu animation */
        .menu-icon {
            font-size: 32px;
            /* Adjust size if necessary */
            cursor: pointer;
            z-index: 20;
            /* Ensure it stays above other elements */
            position: relative;
            /* Ensure it's positioned correctly */
        }

        .menu {
            position: fixed;
            top: -100%;
            left: 0;
            width: 100%;
            height: 100vh;
            background-color: black;
            color: white;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            transition: top 0.7s ease-in-out;
            z-index: 10;
            /* Ensure it's not being overlapped by other elements */
        }

        .menu.active {
            top: 0;
        }

        .menu-close {
            position: absolute;
            top: 20px;
            right: 30px;
            font-size: 36px;
            cursor: pointer;
            z-index: 30;
            /* Make sure the close button is above the menu */
        }

        .menu ul {
            list-style: none;
            padding: 0;
            text-align: center;
        }

        .menu ul li {
            font-size: 32px;
            margin: 20px 0;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .menu ul li:hover {
            transform: scale(1.1);
        }

        /* card */
        .cards-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
            margin-top: 4rem;
        }

        /* Card styles */
        .card {
            border: 2px solid #2b2921;
            background-color: #fff;
            padding: 1.5rem;
            border-radius: 20px;
            transition: transform 0.3s ease, background-color 0.3s ease, z-index 0.3s ease;
            position: relative;
            cursor: pointer;
        }

        .card:hover {
            transform: scale(1.1);
            background-color: #ccc;
            z-index: 10;
        }

        /* Card text */
        .card p {
            margin-bottom: 1rem;
        }

        .card img {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            margin-right: 1rem;
        }

        /* Card footer with user info */
        .card-footer {
            display: flex;
            align-items: center;
        }

        .card-footer .author {
            font-weight: bold;
        }

        .card-footer .role {
            font-size: 0.9rem;
            color: #555;
        }

        /* Responsive Styles */
        @media (max-width: 1024px) {

            /* Tablet view */
            .header h1 {
                font-size: 20px;
            }

            .grid {
                flex-direction: column;
                gap: 16px;
            }

            .grid-item {
                flex: 0;
            }

            .cards-container {
                grid-template-columns: repeat(2, 1fr);
            }

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

        @media (max-width: 768px) {

            /* Mobile view */
            body {
                padding: 1rem;
            }

            .header {
                padding: 0 16px;
                flex-direction: column;
                align-items: flex-start;
            }

            .menu-icon {
                font-size: 32px;
            }

            .grid-item h2 {
                font-size: 18px;
            }

            .cards-container {
                grid-template-columns: 1fr;
            }

            .card {
                padding: 1rem;
            }

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

            .menu {
                top: -120%;
            }
        }

        /* Red Line Hover Effect */
        .hover-text::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: red;
            transition: width 0.3s ease-in-out;
        }

        .hover-text:hover::after {
            width: 100%;
        }

        h2 {
            margin-top: 50px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .section-s {
            margin: 40px auto;
            width: 90%;
            max-width: 1000px;
            text-align: center;
        }

        .skills-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
            margin-top: 20px;
        }

        .skill {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: 100px;
        }

        .skill img {
            width: 50px;
            height: 50px;
            object-fit: contain;
            margin-bottom: 10px;
        }

        .skill p {
            margin: 0;
            font-size: 14px;
        }

.about-section {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-container {
    max-width: 900px;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

/* When visible */
.about-container.show {
    opacity: 1;
    transform: translateY(0);
}

.about-heading h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #111;
    position: relative;
}

.about-heading h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #a3c617;
    margin: 12px auto 0;
    border-radius: 2px;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        padding: 30px 20px;
    }

    .about-heading h2 {
        font-size: 2rem;
    }

    .about-text p {
        font-size: 1rem;
    }
}

        .stats {
            display: flex;
            gap: 80px;
            flex-wrap: wrap;
        }

        .stat-box h3 {
            font-size: 50px;
            font-weight: 700;
            margin: 0;
        }

        .stat-box p {
            font-size: 18px;
            margin-top: 10px;
            color: #ccc;
        }

        /* Fade-in animation */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 1.2s ease-out, transform 1.2s ease-out;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Define the sliding animation */
        @keyframes slideUp {
            0% {
                transform: translateY(100%);
                /* Start off-screen */
                opacity: 0;
                /* Fully transparent */
            }

            100% {
                transform: translateY(0);
                /* Slide to the original position */
                opacity: 1;
                /* Fully visible */
            }
        }

        /* Apply the animation to the page content */
        .page-content {
            animation: slideUp 0.5s ease-in-out;
            transform: translateY(100%);
            /* Ensure element starts off-screen */
            opacity: 0;
            /* Ensure element starts invisible */
        }

        .main-s {
            background-color: whitesmoke;
            color: #222;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
        }

        .services-container {
            max-width: 1200px;
            margin: 60px auto;
            padding: 0 30px;
        }

        .services-header {
            text-align: center;
            animation: fadeIn 1s ease-in-out;
        }

        .services-header p {
            color: #a3c617;
            font-style: italic;
            font-size: 20px;
            margin-bottom: 10px;
        }

        .services-header h1 {
            font-size: 48px;
            font-weight: bold;
            line-height: 1.3;
        }

        .service-box {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 40px 0;
            border-bottom: 1px solid #ccc;
            animation: slideIn 0.7s ease forwards;
            gap: 40px;
        }

        .service-left {
            flex: 1;
            max-width: 250px;
        }

        .service-left p {
            font-weight: bold;
            font-size: 18px;
            margin: 5px 0;
        }

        .service-left h2 {
            font-size: 34px;
            font-weight: 800;
            margin: 10px 0;
        }

        .service-middle {
            flex: 2;
            font-size: 16px;
            color: #333;
        }
        

        .service-right {
            flex-shrink: 0;
        }

        .service-right button {
            background: #222;
            color: whitesmoke;
            padding: 12px 16px;
            border: none;
            border-radius: 6px;
            font-size: 18px;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .service-right button:hover {
            transform: scale(1.1);
        }

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

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

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }

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

        @media (max-width: 768px) {
            .service-box {
                flex-direction: column;
                align-items: flex-start;
            }

            .service-right {
                margin-top: 20px;
            }
        }
        /* /* project page */
        .gallery-section {
      padding: 80px 20px;
      max-width: 1400px;
      margin: auto;
    }

    .gallery-section h1 {
      text-align: center;
      font-size: 3rem;
      margin-bottom: 60px;
      color: #a3c617;
    }

    .gallery-grid {
      column-count: 3;
      column-gap: 25px;
    }

    .gallery-item {
      position: relative;
      margin-bottom: 25px;
      overflow: hidden;
      border-radius: 16px;
      background: #fff;
      display: inline-block;
      width: 100%;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .gallery-item img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.4s ease;
    }

    .gallery-item:hover {
      transform: translateY(-8px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .gallery-item:hover img {
      transform: scale(1.05);
    }

    .overlay {
      position: absolute;
      bottom: -100%;
      left: 0;
      right: 0;
      background: rgba(255, 255, 255, 0.95);
      color: #111;
      padding: 20px;
      text-align: center;
      font-size: 1.1rem;
      font-weight: 600;
      transition: bottom 0.3s ease;
    }

    .gallery-item:hover .overlay {
      bottom: 0;
    }

    @media (max-width: 992px) {
      .gallery-grid {
        column-count: 2;
      }
    }

    @media (max-width: 600px) {
      .gallery-grid {
        column-count: 1;
      }
    }
    /* footer */
  .footer {
    width: 100%;
    background-color: #222;
    color: whitesmoke;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer h2 {
    font-family: 'Playfair Display', serif;
    color: #a3c617;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.footer .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    margin-top: -6rem;
}
.footer .social-icons a  i {
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer .social-icons a:hover i {
    transform: scale(1.2);
    filter: drop-shadow(0 0 5px #a3c617);
}

.footer p {
    font-size: 1rem;
    opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .footer h2 {
        font-size: 1.6rem;
    }

    .footer .social-icons a i {
        width: 36px;
        height: 36px;
        padding-top: -100px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 0 1rem;
    }

    .footer h2 {
        font-size: 1.4rem;
    }

    .footer .social-icons {
        gap: 1.2rem;
    }

    .footer .social-icons a i {
        width: 32px;
        height: 32px;
        margin-top: 120px;
    }

}
.foot-right{
   margin-left: 1000px;
   margin-top: -1rem;
}
@media (max-width: 992px) {

    .foot-right {
        padding-top: 70px;
        margin-left: 0;
        margin-top: 0px;
        text-align: center;
    }
    .foot-right h3{
        display: none;
    }
}

/* Phone screens */
@media (max-width: 600px) {

    .foot-right {
        margin-top: 20px;
    }
}