/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    position: fixed;
    width: 100%;
    background: rgba(17, 17, 17, 0.9); /* Slight transparency */
    padding: 15px 0;
    z-index: 1000;
    transition: 0.3s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.navbar .max-width {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 50px;
}

.logo a {
    color: #fff;
    font-size: 26px;
    font-weight: 600;
    transition: color 0.3s;
}

.logo a span {
    color: #f15a24;
}

.menu {
    display: flex;
}

.menu li {
    margin: 0 15px;
}

.menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    transition: color 0.3s;
}

.menu a:hover {
    color: #f15a24;
}

/* Home Section */
.home {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: url('background\ 1.jpeg') no-repeat center center/cover;
    text-align: center;
    color: white;
    padding: 20px;
}

.home-content {
    text-align: center;
}

.home .text-1 {
    font-size: 28px;
}

.home .text-2 {
    font-size: 60px;
    font-weight: 700;
    color: #f15a24;
}

.home .text-3 {
    font-size: 28px;
    margin-top: 10px;
}

.hire-btn {
    display: inline-block;
    background: #f15a24;
    color: white;
    padding: 12px 30px;
    margin-top: 20px;
    font-size: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.hire-btn:hover {
    background: #ff784e;
    transform: scale(1.05);
}

/* About Section */
.about {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
}

.about .about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about .column {
    flex: 1;
    padding: 20px;
}

.about .left {
    display: flex;
    justify-content: center;
}

.about .left img {
    width: 100%;
    max-width: 350px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.about .right {
    flex: 1;
    padding-left: 40px;
}

.download-btn {
    display: inline-block;
    background: #f15a24;
    color: #fff;
    padding: 12px 20px;
    margin-top: 20px;
    font-size: 18px;
    border-radius: 5px;
    transition: all 0.3s;
}

.download-btn:hover {
    background: #ff784e;
    transform: translateY(-3px);
}

/* Services Section */
.services {
    background: #222;
    padding: 80px 0;
    color: white;
    text-align: center;
}

.services .serv-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.services .card {
    background: #333;
    padding: 30px;
    margin: 15px;
    border-radius: 10px;
    width: 300px;
    transition: all 0.3s ease;
}

.services .card:hover {
    transform: translateY(-5px);
    background: #444;
}

.services .card i {
    font-size: 50px;
    color: #f15a24;
    margin-bottom: 20px;
}

/* Skills Section */
/* Skills Section */
/* Skills Section */
.skills {
    padding: 50px 0;
    background: #f9f9f9;
    text-align: center;
}

.skills .title {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.skills .skills-content {
    max-width: 900px;
    margin: auto;
}

.skills .text {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Skills Container with Auto Scrolling */
.skills-container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    -ms-overflow-style: none; /* Hide scrollbar in IE/Edge */
    margin-top: 30px;
    position: relative;
    display: flex;
    width: 100%;
}

.skills-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar in Chrome/Safari */
}

/* Scrolling Box */
.skills-box {
    display: flex;
    gap: 30px;
    padding: 10px;
    width: max-content;
    animation: scroll 10s linear infinite; /* Auto-scroll animation */
}

/* Individual Skill Box */
.skill {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    width: 180px;
    flex-shrink: 0;
}

.skill:hover {
    transform: scale(1.1);
}

/* Skill Image */
.skill img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

/* Skill Name */
.skill span {
    display: block;
    margin-top: 12px;
    font-size: 20px;
    font-weight: 600;
}

/* Scrolling Animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Responsive Design/////////////////////////yaha se roka hai */
/* @media (max-width: 768px) {
    .skills-box {
        justify-content: center;
        flex-wrap: wrap;
    }
} */

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #222;
    color: white;
    text-align: center;
}

.contact .icons {
    margin-top: 20px;
}

.contact .icons .row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.contact .icons i {
    font-size: 20px;
    margin-right: 10px;
    color: #f15a24;
}

.contact a {
    color: #f15a24;
    text-decoration: none;
}

.contact a:hover {
    color: #ff784e;
}

/* Footer */
footer {
    background: #111;
    padding: 20px;
    text-align: center;
    color: white;
}

footer .social-icons {
    margin-top: 10px;
}

footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 20px;
    transition: 0.3s;
}

footer .social-icons a:hover {
    color: #f15a24;
}

/* Scroll-up Button */
.scroll-up-btn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background: #f15a24;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: none;
    transition: all 0.3s;
}

.scroll-up-btn:hover {
    background: #ff784e;
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 900px) {
    .navbar .max-width {
        padding: 0 30px;
    }

    .menu {
        flex-direction: column;
        background: #111;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        display: none;
    }

    .menu.active {
        display: flex;
    }

    .menu li {
        margin: 15px 0;
        text-align: center;
    }

    .about .about-content,
    .skills .skills-content,
    .services .serv-content,
    .contact .contact-content {
        flex-direction: column;
        text-align: center;
    }
}
.myprojects {
    padding: 50px 0;
    background: #f9f9f9;
    text-align: center;
}

.myprojects .title {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: bold;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 20px;
    padding: 20px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.card {
    flex: 0 0 auto;
    width: 300px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.box img {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
}

.box .text {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
}

.box p {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel {
        overflow-x: scroll;
    }
}
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.call-btn, .whatsapp-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
}

.whatsapp-btn {
    background-color: #25D366;
}

.call-btn i, .whatsapp-btn i {
    margin-right: 10px;
}



.navbar .menu {
    display: none;
    position: absolute;
    top: 60px; /* Adjust according to your navbar height */
    right: 20px;
    background: #333;
    width: 200px;
    border-radius: 5px;
}

.navbar .menu.active {
    display: block;
}

.navbar .menu li {
    display: block;
    text-align: center;
    padding: 10px;
}

.menu-btn {
    display: flex;
    cursor: pointer;
}

.menu-btn i {
    font-size: 24px;
    color: white;
}

@media (max-width: 768px) {
    .menu-btn {
        display: block;
    }

    .navbar .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 0;
        background: #333;
        width: 100%;
        text-align: center;
        transition: 0.3s;
    }

    .navbar .menu.active {
        display: flex;
    }
}
