/* Import Custom Font */
@font-face {
    font-family: 'Pontiac';
    src: url('../assets/fonts/pontiac_regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Reset Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* GENERAL STYLES */
body {
    background-color: #111;
    color: #fff;
}

/* STICKY NAVBAR */
.desktop-nav,
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* HERO SECTION - FULL SCREEN HEIGHT */
#hero {
    height: 100vh; /* Makes the Hero Section fill the entire screen height */
    display: grid; /* Enables centering */
    align-items: center; /* Centers content vertically */
    justify-content: center; /* Centers content horizontally */
    color: white;
}

#hero .container {
    max-width: 1200px; /* Prevents extra-wide elements */
}

/* HERO IMAGE */
.hero-image {
    max-width: 300px;
    border-radius: 8px;
    display: block;
    margin: auto;
    font-size: 25px;
}

/* HERO TEXT - FLOAT LEFT FIX */
.hero-text {
    float: left;
    width: 100%;
    text-align: left;
    max-width: 600px;
}

.hero-text2 {
    float: none;
    width: 100%;
    text-align: left;
    max-width: 600px;
}

/* HERO TEXT PARAGRAPH */
.hero-textp {
    margin-top: 10px;
    line-height: 1.6;
    color: #A2A2A2;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 200;
    text-align: justify;
}

/* ✅ CONTACT BUTTON - UNCHANGED */
.contact-btn {
    display: block;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 30px;
    border: 1px solid #FFF;
    background: linear-gradient(90deg, #FFBA0A 0%, #FC3D0B 100%);
    padding: 12px 24px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-btn:hover {
    background: linear-gradient(90deg, #FC3D0B 0%, #FFBA0A 100%);
    border: 1px solid #FC3D0B;
}


/* Swiper Container */
.swiper-container {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

/* Swiper Slide */
.swiper-slide {
    width: 239px; /* ✅ Ensures equal card width */
    height: 107px;
    flex-shrink: 0;
    border-radius: 14.253px;
    border: 0.866px solid #FFF;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(33.265px);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* ✅ Center content inside */
    padding: 15px;
    color: #fff;
    margin-right: 15px; /* ✅ Space between cards */
}

/* Image inside Card */
.swiper-slide img {
    max-width: 50px;
    max-height: 50px;
    margin-top: 5px;
}

/* Text inside Cards */
.swiper-slide p {
    font-size: 16px;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 5px;
}




/* RESPONSIVE SETTINGS */
@media (max-width: 768px) {
    #hero {
        height: auto; /* Allows scrolling on smaller devices */
        padding: 50px 20px;
        text-align: center;
    }

    .hero-text {
        float: none;
        width: 100%;
        text-align: center;
    }

    .hero-text2 {
        float: none;
        width: 100%;
        text-align: center;
        max-width: 600px;
    }

    .hero-textp {
        text-align: justify;
        font-size: 18px;
    }

    .contact-btn {
        margin: 20px auto;
    }

     .swiper-container {
        width: 90%;
        overflow: hidden;
    }
    
    .swiper-slide {
        width: 160px !important; /* ✅ Reducing size for small screens */
        height: 100px;
        font-size: 14px;
    }

    .swiper-slide img {
        max-width: 40px; /* ✅ Adjust image size */
        max-height: 40px;
    }
}

/* DESKTOP NAVIGATION */
/* FIXED NAVBAR CONTAINED WITHIN MAX WIDTH */
.desktop-nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    justify-content: center;
}

/* NAVBAR CONTENT CONTAINER */
.nav-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* LOGO */
.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo img {
    height: 80px;
    width: auto;
}

/* NAVIGATION LINKS */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-links li {
    display: inline-block;
}

.nav-links li a {
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: orange;
}

/* CONTACT BUTTON */
.nav-contact-btn {
    border-radius: 30px;
    border: 1px solid #FFF;
    background: linear-gradient(90deg, #FFBA0A 0%, #FC3D0B 100%);
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease-in-out;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-contact-btn:hover {
    background: linear-gradient(90deg, #FC3D0B 0%, #FFBA0A 100%);
    border: 1px solid #FC3D0B;
}


/* Hide Mobile Menu on Desktop */
@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

/* MOBILE NAVIGATION */
.mobile-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

/* FULL-SCREEN MOBILE MENU */
#mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111;
    color: #fff;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-left: 25px;
    z-index: 1000;
    padding-top: 40px;
}

/* Close Button */
.close-menu {
    position: absolute;
    top: 20px;
    right: 30px;
    cursor: pointer;
}

/* Mobile Menu List */
.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin-top: 100px;
    text-align: left;
    font-family: 'Pontiac', sans-serif;
}

.mobile-menu-list li {
    padding: 15px 0;
}

.mobile-menu-list li a {
    text-decoration: none;
    font-size: 24px;
    color: #fff;
    font-weight: 500;
}

.mobile-menu-list li a:hover {
    color: orange;
}

/* SOCIAL ICONS */
.social-icons {
    position: relative;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

/* First Row (WhatsApp & Telegram) */
.social-icons .row:first-child {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 15px;
    margin:12px;
}

/* Second Row (Rest of Social Icons) */
.social-icons .row:last-child {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
}

.social-icons img {
    width: 32px;
    transition: 0.3s;
}

.social-icons img:hover {
    opacity: 0.7;
}

/* DUMMY SECTIONS */
section {
    padding: 100px 20px;
    text-align: center;
    color: white;
}

#home {
    background: #1a1a1a;
}

#about {
    background: #333;
}

#work {
    background: #4a4a4a;
}

#contact {
    background: #666;
}

/* RESPONSIVE SETTINGS */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-nav {
        display: flex !important;
    }

    #mobile-menu-overlay {
        display: none;
    }

    .hero-text {
        float: none;
        width: 100%;
        text-align: center;
    }

    .hero-text2 {
        float: none;
        width: 100%;
        text-align: center;
        max-width: 600px;
    }

    .hero-textp {
        text-align: justify;
        font-size: 18px;
    }

    .contact-btn {
        margin: 20px auto;
    }



}


/* SERVICES SECTION */
#services {
    padding: 60px 0;
    text-align: center;
}

/* Service Title */
.ServiceTitle {
    font-family: Poppins;
    font-size: 70px;
    font-weight: 800;
    background: linear-gradient(90deg, #FFBA0A 0%, #FC3D0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 50px;
}

/* Service Block */
.service-block {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 20px;
    width: 100%;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Service Number */
.service-number {
    color: #2B2B2B;
    font-size: 194px;
    font-weight: 600;
    position: absolute;
    left: -30px;
    top: -20px;
    opacity: 0.9;
    z-index: -1;
}

/* Service Content */
.service-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 100px);
}

/* Service Title */
.service-title {
    font-size: 24px;
    font-weight: bold;
    border-bottom: 2px solid #FFC107;
    padding-bottom: 5px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Service List */
.service-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

/* Know More Button */
.know-more-btn {
    background: linear-gradient(90deg, #FFBA0A 0%, #FC3D0B 100%);
    border: none;
    padding: 10px 20px;
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    margin-top: 15px;
    border-radius: 5px;
    cursor: pointer;
}

.know-more-btn:hover {
    background: linear-gradient(90deg, #FC3D0B 0%, #FFBA0A 100%);
}

/* Service Image */
.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 400px;
}

.service-image img {
    width: 180px;
    height: 120px;
    background: linear-gradient(90deg, rgba(255, 186, 10, 0.4), rgba(252, 61, 11, 0.4));
    backdrop-filter: blur(10px);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --------------------- MEDIA QUERIES --------------------- */

/* Large Screens (Desktops) */
@media (min-width: 1024px) {
    .service-block {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
    }
    .service-content {
        width: 60%;
    }
    .service-image {
        width: 40%;
    }
}

/* Medium Screens (Tablets) */
@media (max-width: 1023px) {
    .service-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .service-content {
        width: 80%;
        text-align: center;
    }
    .service-image {
        width: 80%;
    }
}

/* Small Screens (Mobile Devices) */
@media (max-width: 768px) {
    .ServiceTitle {
        font-size: 40px;
    }
    .service-block {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .service-number {
        font-size: 100px;
        left: 0;
        text-align: center;
        width: 100%;
    }
    .service-content {
        width: 80%;
        text-align: center;
    }
    .service-list {
        align-items: center;
    }
    .know-more-btn {
        width: 100%;
    }
    .service-image img {
        width: 150px;
        height: 100px;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .service-title {
        font-size: 20px;
    }
    .service-number {
        font-size: 80px;
    }
    .service-content {
       
    }
    .service-image img {
        width: 120px;
        height: 90px;
    }
}



/* Services Section */
#services {
    padding: 60px 0;
    text-align: center;
}

/* Section Title */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    background: linear-gradient(90deg, #FF8C00, #FF4500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 40px;
}

/* Service Grid Container */
.service-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(298px, 1fr)); 
    gap: 30px; /* Space between cards */
    justify-content: center;
    padding: 0 15px;
    align-items: stretch; /* Ensures cards stretch to the same height */
}

/* Service Cards with Glassmorphism */
.service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Ensures content is spaced evenly */
    width: 298px;
    min-height: 300px; /* Set a fixed minimum height */
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
/* Hover Effect */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0px 15px 40px rgba(255, 165, 0, 0.3);
}

/* Icons */
.service-icon {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
}

/* Titles */
.service-title {
    font-size: 22px;
    font-weight: 700;
    color: white;
}

/* Description */
.service-description {
     font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    min-height: 60px; /* Ensures consistent description area */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Ensure Margin Between Rows */
.service-card {
    margin-bottom: 30px; /* Adds space between the first row and the second row */
}

/* Responsive Grid Adjustments */
@media (max-width: 768px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card {
        min-height: auto;
        padding: 25px;
    }

    .service-title {
        font-size: 20px;
    }

    .service-description {
        font-size: 13px;
    }
}

/* Small Screens */
@media (max-width: 480px) {
    .service-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .service-card {
        min-height: auto;
        padding: 20px;
        
    }
}


/* ---------------------- General skillsandeducation Section Styling ---------------------- */
#skillsandeducation {
    width: 100%;
    padding: 50px 0;
    text-align: center;
}
/* General Styles */
body {
    background-color: #111;
    color: white;
    font-family: "Poppins", sans-serif;
    text-align: center;
}

/* Section Title */
/* Default Styling (for larger screens) */
.section-title {
    font-size: 36px;
    font-weight: 800;
    background: linear-gradient(90deg, #FFBA0A 0%, #FC3D0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px;
}

/* Large Screens (Desktops & Laptops) */
@media (max-width: 1200px) {
    .section-title {
        font-size: 60px;
    }
}

/* Medium Screens (Tablets & Small Laptops) */
@media (max-width: 992px) {
    .section-title {
        font-size: 50px;
        text-align: center; /* Centers text on smaller screens */
    }
}

/* Small Screens (Portrait Tablets & Large Phones) */
@media (max-width: 768px) {
    .section-title {
        font-size: 40px;
        text-align: center;
    }
}

/* Extra Small Screens (Mobile Phones) */
@media (max-width: 576px) {
    .section-title {
        font-size: 32px;
        text-align: center;
    }
}

/* Ultra Small Screens (Very Small Phones) */
@media (max-width: 400px) {
    .section-title {
        font-size: 28px;
        text-align: center;
    }
}

/* Toggle Button Group */
.toggle-btn-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.toggle-btn {
    width: 120px;
    padding: 12px;
    border-radius: 30px;
    background: #2B2B2B;
    border: 1px solid white;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.toggle-btn.active {
    background: linear-gradient(90deg, #FFBA0A, #FC3D0B);
    border: none;
}

/* Skill & Education Sections */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
}

/* Skill Row */
.skill-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1000px;
    margin-bottom: 20px;
}

/* Skill Card */
.skill-card {
    width: 48%;
    padding: 20px;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid white;
    backdrop-filter: blur(20px);
    text-align: left;
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

/* Card Header */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Align Title and Company Name */
.title-company {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

/* Title */
.title {
    font-size: 18px;
    font-weight: bold;
    color: #FFBA0A;
}

/* Company Name */
.company-name {
    font-size: 14px;
    font-weight: normal;
    color: white;
}

/* Badge */
.badge {
    background: linear-gradient(to right, #FFBA0A, #FC3D0B);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: white;
}

/* Separator Line */
.row-separator {
    width: 80%;
    height: 1px;
    background: white;
    margin: 20px auto;
}

/* Hidden Class */
.hidden {
    display: none !important;
}


/* Responsive Design */
@media (max-width: 768px) {
    .skill-row {
        flex-direction: column;
        align-items: center;
    }
    .skill-card {
        width: 90%;
        margin-bottom: 20px;
    }
}


/* PROJECTS SECTION */
#projects-section {
    padding: 50px 0;
}

.projects-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.project-card {
    background: #292929;
    border-radius: 20px;
    padding: 15px;
    text-align: center;
    width: 450px;
}

.project-image img {
    width: 100%;
    height: 280px;
    align-self: stretch;
    aspect-ratio: 1/1;
    border-radius: 15px;
}

.project-title {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-top: 10px;
}



/* Testimonials Section */



        .testimonial-section {
            text-align: center;
            padding: 50px 0;
            position: relative;
        }

        .testimonial-section h2 {
            font-size: 36px;
            font-weight: bold;
            background: linear-gradient(90deg, #FFBA0A, #FC3D0B);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 30px;
        }

        .testimonial-container {
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            max-width: 900px;
            margin: auto;
        }

        .testimonial-carousel {
            width: 100%;
            position: relative;
        }

        .testimonial-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(180deg, #FFBA0A 0%, #FC3D0B 100%);
            padding: 30px;
            border-radius: 15px;
            width: 100%;
            position: relative;
            box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
        }

        .testimonial-text {
            flex: 1;
            text-align: left;
            color: #fff;
            padding: 20px;
        }

        .testimonial-text h3 {
            font-size: 22px;
            margin-bottom: 5px;
            font-weight: bold;
        }

        .testimonial-text p {
            font-size: 16px;
            font-style: italic;
        }

        .testimonial-image img {
            width: 200px;
            height: 200px;
            border-radius: 10px;
            object-fit: cover;
        }

        /* Navigation Buttons */
        .nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.2);
            color: white;
            font-size: 24px;
            border: none;
            cursor: pointer;
            padding: 10px 15px;
            border-radius: 50%;
            transition: 0.3s ease;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-btn:hover {
            background: rgba(255, 255, 255, 0.6);
        }

        .prev-btn {
            left: -50px;
        }

        .next-btn {
            right: -50px;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .testimonial-item {
                flex-direction: column;
                text-align: center;
                width: 100%;
                padding: 20px;
            }

            .testimonial-image img {
                margin-top: 20px;
                width: 150px;
                height: 150px;
            }

            .prev-btn {
                left: 10px;
            }

            .next-btn {
                right: 10px;
            }
        }