       /* ================= GENERAL STYLES ================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Poppins', sans-serif;
        }

        body {
            line-height: 1.6;
            color: #333;
            background: #fff;
        }

        html {
            scroll-behavior: smooth;
        }
A
        section {
            scroll-margin-top: 100px;
        }

        /* ================= PRELOADER ================= */
        #preloader {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0b0c2a, #463e92, #5b63d2);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            transition: opacity 0.8s ease;
        }

        #preloader.fade-out {
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.8s ease;
        }

        :root {
            --cube-size: 28px;
            --duration: 2000ms;
            --top-gradient: linear-gradient(160deg, #f97316, #000080);
            --side-gradient: linear-gradient(135deg, #FFF1DE, #f59e0b);
        }

        .preloader-overlay {
            position: fixed;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #0f172a, #312e81);
            z-index: 9999;
        }

        /* Cloth-like wave animation */
        @keyframes clothWave {
    0% { transform: rotateX(40deg) rotateZ(-45deg) translateY(0) translateX(0); }
    25% { transform: rotateX(40deg) rotateZ(-45deg) translateY(-10px) translateX(5px); }
    50% { transform: rotateX(40deg) rotateZ(-45deg) translateY(0) translateX(10px); }
    75% { transform: rotateX(40deg) rotateZ(-45deg) translateY(10px) translateX(5px); }
    100% { transform: rotateX(40deg) rotateZ(-45deg) translateY(0) translateX(0); }
}

        .cube-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 8px;
            transform-style: preserve-3d;
            perspective: 800px;
            animation: clothWave 6s ease-in-out infinite;
        }

        /* Cube spring animation */
        @keyframes jumpWithWave {
    0%, 100% { transform: translateY(0) scaleY(1); }
    25% { transform: translateY(-15px) scaleY(1.05); }
    50% { transform: translateY(0) scaleY(0.95); }
    75% { transform: translateY(10px) scaleY(1.02); }
}

        .cube {
            position: relative;
            width: var(--cube-size);
            height: var(--cube-size);
            transform-style: preserve-3d;
            animation: jumpWithWave 3s ease-in-out infinite;
        }

        /* Faces with gradients */
        .face {
            position: absolute;
            width: var(--cube-size);
            height: var(--cube-size);
            opacity: 0.95;
            border: 1px solid rgba(0,0,0,0.1);
        }

        /* top = orange gradient + glow */
        .top {
            background: linear-gradient(135deg, #f97316, #f59e0b);
            box-shadow: 0 0 10px rgba(255, 140, 0, 0.7), 0 0 20px rgba(255, 140, 0, 0.5);
            transform: rotateX(90deg) translateZ(calc(var(--cube-size)/2));
        }

        /* sides = dark blue */
        .bottom { background: var(--side-gradient); transform: rotateX(-90deg) translateZ(calc(var(--cube-size)/2)); }
        .left { background: var(--side-gradient); transform: rotateY(-90deg) translateZ(calc(var(--cube-size)/2)); }
        .right { background: var(--side-gradient); transform: rotateY(90deg) translateZ(calc(var(--cube-size)/2)); }
        .front { background: var(--side-gradient); transform: translateZ(calc(var(--cube-size)/2)); }
        .back { background: var(--side-gradient); transform: rotateY(180deg) translateZ(calc(var(--cube-size)/2)); }

        /* Ripple delays for natural wave motion */
        .cube:nth-child(1) { animation-delay: 0s; }
        .cube:nth-child(2) { animation-delay: 0.1s; }
        .cube:nth-child(3) { animation-delay: 0.2s; }
        .cube:nth-child(4) { animation-delay: 0.3s; }
        .cube:nth-child(5) { animation-delay: 0.2s; }
        .cube:nth-child(6) { animation-delay: 0.3s; }
        .cube:nth-child(7) { animation-delay: 0.4s; }
        .cube:nth-child(8) { animation-delay: 0.5s; }
        .cube:nth-child(9) { animation-delay: 0.4s; }
        .cube:nth-child(10) { animation-delay: 0.5s; }
        .cube:nth-child(11) { animation-delay: 0.6s; }
        .cube:nth-child(12) { animation-delay: 0.7s; }
        .cube:nth-child(13) { animation-delay: 0.6s; }
        .cube:nth-child(14) { animation-delay: 0.7s; }
        .cube:nth-child(15) { animation-delay: 0.8s; }
        .cube:nth-child(16) { animation-delay: 0.9s; }

        /* ================= NAVBAR ================= */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background: rgba(0, 0, 0, 0.4);
            backdrop-filter: blur(10px);
            padding: 12px 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
        }

        nav .logo {
            color: #fff;
            font-size: 28px;
            font-weight: 600;
            text-decoration: none !important;
        }

        nav .logo span {
            color: #ff9800;
        }

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

        nav ul li a {
            text-decoration: none;
            color: white;
            font-size: 18px;
            font-weight: 500;
            position: relative;
            transition: color 0.3s ease;
        }

        nav ul li a::after {
            content: "";
            position: absolute;
            width: 0;
            height: 2px;
            left: 0;
            bottom: -5px;
            background: linear-gradient(90deg, #00c6ff, #0072ff);
            transition: width 0.3s ease;
        }

        nav ul li a:hover {
            color: #00ffff;
        }

        nav ul li a:hover::after,
        nav ul li a.active::after {
            width: 100%;
        }

        nav ul li a.active {
            color: #ffd700;
        }

       /* ================= HERO ================= */
.hero {
    padding-top: 60px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 100px;
    flex-direction: column;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero-content {
        flex-direction: row;
    }
}

/* IMAGE CONTAINER */
.hero-img {
    position: relative;
    overflow: hidden;
    border-radius: 20% 80% 80% 20% / 80% 20% 80% 20%;
    box-shadow: 0 0 50px 10px rgba(0, 191, 255, 0.7);
    margin-right: 100px;
    width: 310px; 
    height: 380px
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    display: block;
}

/* Text Section */
.hero-text {
    text-align: left;
    color: #fff;
    text-align: center;
}

@media (min-width: 768px) {
    .hero-text {
        text-align: left; /* Desktop par left align */
    }
}

.hero-text h2 {
    font-size: 28px;
    margin-bottom: 5px;
    color: #fff;
}

.hero-text h1 {
    font-size: 48px;
    margin: 10px 0;
}

.hero-text h1 .highlight {
    color: #ff9800; /* Yellow/Orange highlight */
}

.hero-text .typing-text {
    font-size: 28px;
    color: #ffffff;
    font-weight: 500;
    display: inline-block;
    margin: 10px 0;
    min-height: 35px;
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 20px;
}

/* Hero Button */
.hero-text .btn {
    background: linear-gradient(90deg, #FFF1DE, #f59e0b);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 12px 5px;
    margin-top: 20px;
    display: inline-block;
    transition: 0.3s;
}

.hero-text .btn:hover {
    background: #fff;
    color: #ff9800;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-img {
        margin-right: 0; /* Mobile par image ka right margin hatayein */
        margin-bottom: 30px; /* Mobile par image ke neeche space */
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-text h2, .hero-text .typing-text {
        font-size: 24px;
    }
    .hero-content {
        padding: 0 20px;
    }
}
       
/* ================= ABOUT ================= */
.about {
    padding: 80px 50px;
    background: white;
}

.about h2 {
    color: #333;
}

.about h2 span {
    color: #ff9800;
}

/* This new container will place text and cards side-by-side */
.container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: center; /* Vertically aligns items in the container */
    justify-content: center; /* Centers items horizontally */
}

/* When the screen is small, change the layout */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
}

/* Container for the left side text and buttons */
.about-text-content {
    flex: 1;
    min-width: 300px; /* Ensures it doesn't get too small */
}

.about-text-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.about-text-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 15px;
    color: #555;
}

.about-text-content strong {
    color: #4b6cb7;
}

/* Button group styling */
.btn-group {
    margin-top: 30px;
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    text-align: center;
}

/* For the Let's Connect button */
.btn-primary {
    background: linear-gradient(90deg, #FFF1DE, #f59e0b);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    transition: 0.3s;
}

/* For the Download CV button */
.btn-secondary {
    background: linear-gradient(90deg, #FFF1DE, #f59e0b);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    display: inline-block;
    transition: 0.3s;
}

/* Hover effects */
.btn-primary:hover, .btn-secondary:hover {
    background: #fff;
    color: #ff9800;
}
/* Container for the skills section */
.skills-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 450px;
    margin: auto; /* Centers the container */
}

/* Individual skill item */
.skill-item {
    width: 100%;
}

.skill-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
}

/* Outer bar (background) */
.progress-bar-container {
    background: #e9ecef;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

/* Inner bar (the filling part) */
.progress-bar {
    background-color: #ff9800;
    height: 100%;
    width: 0; /* Start with 0 width to animate */
    transition: width 1.5s ease-in-out;
    border-radius: 6px;
    position: relative;
}

/* Add percentage text inside the bar */
.progress-bar::after {
    content: attr(data-skill-level);
    position: absolute;
    top: 50%;
    right: 5px;
    transform: translateY(-50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .skills-container {
        width: 100%;
        margin-top: 40px;
    }
}
        /* ================= SERVICES ================= */
        .services {
            background: linear-gradient(135deg, rgba(0, 0, 80, 0.85), rgba(0, 0, 30, 0.7));
            text-align: center;
            padding: 70px 20px;
            color: #fff;
        }

        .services h2 span {
            color: #ff9800;
        }

        .service-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
            gap: 25px;
            margin-top: 40px;
        }

        .service-box {
            background: #fff;
            padding: 25px;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            text-align: left;
            transition: all 0.3s ease;
        }

        .service-box:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 18px rgba(0,0,0,0.25);
        }

        .service-box h3 {
            font-size: 1.3rem;
            margin-bottom: 12px;
            color: #ff9800;
        }

        .service-box p {
            font-size: 0.95rem;
            color: #444;
            margin-bottom: 12px;
            line-height: 1.5;
        }

        .service-points {
            list-style: none;
            padding: 0;
            margin-top: 10px;
        }

        .service-points li {
            margin: 8px 0;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            color: #333;
        }

        .service-points i {
            color: #ff9800;
            margin-right: 10px;
            font-size: 16px;
            flex-shrink: 0;
        }

        .service-points li:hover i {
            transform: scale(1.2);
            color: #ff9800;
            transition: transform 0.3s ease;
        }

        /* ================= PORTFOLIO ================= */
        .portfolio {
            background: linear-gradient(135deg, rgba(0, 0, 80, 0.85), rgba(0, 0, 30, 0.7));
            text-align: center;
            padding: 70px 20px;
            color: #fff;
        }

        .portfolio h2 span {
            color: #ff9800;
        }

        .portfolio-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 20px;
            margin-top: 30px;
        }

        .portfolio-item {
            background: #fff;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            position: relative;
            overflow: hidden;
            height: auto;
            display: flex;
            flex-direction: column;
        }

        .portfolio-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
        }

        .portfolio-link {
            text-decoration: none;
            color: #333;
            display: block;
        }

        .portfolio-item img {
            width: 100%;
            height: 200px;
            object-fit: contain;
            display: block;
            border-radius: 12px 12px 0 0;
        }

        .portfolio-item h3 {
            font-size: 1.3rem;
            color: #000080;
            margin: 15px 0;
        }

        .portfolio-item h3 i {
            margin-right: 8px;
            color: #ff9800;
        }

        /* The overlay effect on hover */
        .portfolio-item::before {
            content: "See More Details";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 200px;
            background: rgba(0, 0, 0, 0.7);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: 500;
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: 12px 12px 0 0;
            pointer-events: none;
        }

        .portfolio-item:hover::before {
            opacity: 1;
        }

        /* ================= COUNTER ================= */
        .counter-section {
    background: linear-gradient(135deg, rgba(0, 0, 80, 0.85), rgba(0, 0, 30, 0.7));
    text-align: center;
    padding: 70px 20px;
    color: #fff;
}

.counter-section h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.counter-section h2 span {
    color: #ff9800;
}

.counter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.counter-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.counter-box:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
}

.counter-box h3 {
    font-size: 2.5rem;
    color: #ff9800;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.counter-box p {
    font-size: 1rem;
    color: #f1f1f1;
    margin-top: 5px;
}


/* ================= REVIEWS ================= */
.reviews {
  background: linear-gradient(135deg, rgba(0, 0, 80, 0.85), rgba(0, 0, 30, 0.7));
  padding: 70px 20px;
  text-align: center;
  color: #fff;
}

.reviews .section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
}

.reviews .section-title span {
  color: #ff9800;
}

.review-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.review-card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.review-card h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.stars {
  color: #ff9800;
  font-size: 1rem;
}

.review-card p {
  font-style: italic;
  color: #555;
  line-height: 1.5;
}


        /* ================= CERTIFICATIONS ================= */
        .certifications {
            /* Background ko Services aur Portfolio section se match kiya gaya hai */
            background: linear-gradient(135deg, rgba(0, 0, 80, 0.85), rgba(0, 0, 30, 0.7));
            padding: 70px 20px;
            text-align: center;
            position: relative;
            color: #fff; /* Text color ko white kar diya */
        }

        .certifications h2 {
            margin-bottom: 30px;
            color: #fff; /* Heading color ko white kar diya */
        }

        .certifications h2 span {
            color: #ff9800;
        }

        .certificates-container {
            display: flex;
            gap: 20px;
            padding-bottom: 20px;
            overflow-x: auto;
            max-width: 100%;
            scroll-behavior: smooth;
            white-space: nowrap;
        }

        .certificates-container::-webkit-scrollbar {
            display: none;
        }

        .cert-item {
            min-width: 250px;
            flex-shrink: 0;
            background: #fff; /* Cert boxes ka color white hi rakha gaya hai */
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            padding: 25px;
            transition: transform 0.3s ease;
            white-space: normal;
            text-align: left;
            color: #333; /* Text color ko dark kiya */
        }

        .cert-item:hover {
            transform: translateY(-5px);
        }

        .cert-item h3 {
            font-size: 1.2rem;
            color: #000080;
            margin-bottom: 10px;
        }

        .cert-item p {
            color: #555;
            font-size: 0.9rem;
            margin-bottom: 15px;
        }

        /* "View Certificate" button ko Hire Me button se match kiya gaya hai */
        .cert-link {
            display: inline-block;
            background: linear-gradient(90deg, #FFF1DE, #f59e0b);
            color: #fff;
            padding: 8px 15px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .cert-link:hover {
            background: #fff;
            color: #ff9800;
        }

        /* Scroll buttons styling */
        .cert-controls {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 100%;
            display: flex;
            justify-content: space-between;
            padding: 0 10px;
            z-index: 10;
            pointer-events: none;
        }

        .scroll-btn {
            background-color: rgba(0, 0, 0, 0.6);
            color: #fff;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            font-size: 1.2rem;
            cursor: pointer;
            pointer-events: all;
            transition: background-color 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        }

        .scroll-btn:hover {
            background-color: #000;
        }

        .scroll-btn:disabled {
            opacity: 0.4;
            cursor: not-allowed;
        }

        /* Dot Indicators Styling */
        .cert-dots {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 8px; /* Dots ke beech ki space */
        }

        .cert-dot {
            width: 10px;
            height: 10px;
            background-color: rgba(255, 255, 255, 0.5); /* Inactive dots ka color white/transparent */
            border-radius: 50%;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.3s ease;
        }

        .cert-dot.active {
            background-color: #ff9800; /* Active dot ka color orange */
            transform: scale(1.2); /* Active dot thoda bada hoga */
        }

        .cert-dot:hover {
            background-color: #ff9800;
        }

        /* ================= CONTACT ================= */
        .contact {
            background: linear-gradient(135deg, rgba(0, 0, 80, 0.85), rgba(0, 0, 30, 0.7));
            color: #fff;
            text-align: center;
            padding: 70px 20px;
        }

        .contact h2 span {
            color: #ff9800;
        }

        .contact form {
            max-width: 500px;
            margin: 30px auto;
            display: flex;
            flex-direction: column;
        }

        .contact input,
        .contact textarea {
            padding: 12px;
            margin: 10px 0;
            border-radius: 5px;
            border: 1px solid #ddd;
            font-size: 15px;
        }

        .contact button {
            background: linear-gradient(90deg, #FFF1DE, #f59e0b);
            color: #fff;
            border: none;
            padding: 12px;
            cursor: pointer;
            border-radius: 5px;
            transition: 0.3s;
        }

        .contact button:hover {
            background: #fff;
            color: #ff9800;
        }

        /* ================= FOOTER ================= */
        .footer {
            background: linear-gradient(135deg, #2c003e, #0b0c2a);
            color: #fff;
            padding: 40px 20px 0;
            font-family: 'Poppins', sans-serif;
        }

        /* Top (Logo + Columns) */
        .footer-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 30px;
            padding: 0 40px;
            flex-wrap: wrap;
        }

        /* Logo column */
        .logo-col {
            flex: 1 1 200px;
            text-align: left;
        }

        .logo-col img {
            max-width: 135px;
            margin-bottom: 12px;
        }

        .logo-col .tagline {
            font-weight: 700;
            font-size: 18px;
            color: white;
            margin: 0;
        }

        /* Right side group (Contact + About + Resources) */
        .footer-right {
            display: flex;
            gap: 30px;
            flex: 2 1 500px;
            justify-content: flex-end;
            flex-wrap: wrap;
            text-align: left;
        }

        .footer-col h4 {
            color: orange;
            font-size: 18px;
            margin-bottom: 15px;
        }

        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .footer-col ul li {
            margin: 6px 0;
        }

        .footer-col ul li a,
        .footer-col ul li span {
            color: #ccc;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: 0.3s;
            font-size: 14px;
        }

        .footer-col ul li a:hover {
            color: #fff;
        }

        /* Bottom Section */
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            padding: 12px 0 15px;
            text-align: center;
        }

        .social-icons {
            margin-bottom: 5px;
        }

        .social-icons a {
            color: orange;
            font-size: 16px;
            margin: 0 6px;
            transition: 0.3s;
        }

        .social-icons a:hover {
            color: #fff;
        }

        .footer-bottom p {
            margin: 0;
            font-size: 13px;
            line-height: 1.4;
        }

        .footer-bottom a {
            color: orange;
            text-decoration: none;
        }

        .footer-bottom a:hover {
            color: #fff;
        }

        /* ================= RESPONSIVE STYLES ================= */

        /* Styles for tablets and smaller screens (up to 1024px) */
        @media (max-width: 1024px) {
            /* Navbar fixed for tablet view */
            nav {
                flex-direction: column;
                align-items: center;
            }
            nav ul {
                flex-wrap: wrap;
                justify-content: center;
                margin: 10px 0 0;
                gap: 20px;
            }
            
            .about { flex-direction: column; }
            .hero-text h1 { font-size: 32px; }
            .hero-text h2 { font-size: 20px; }
            .service-container, .portfolio-container, .counter-container {
                grid-template-columns: 1fr;
            }
            
            /* Footer responsiveness */
            .footer-top {
                flex-direction: column;
                align-items: center;
                text-align: center;
                padding: 0 20px;
            }
            .logo-col {
                text-align: center;
                margin-bottom: 20px;
            }
            .footer-right {
                flex-direction: row;
                flex-wrap: wrap;
                justify-content: center;
                gap: 20px;
                text-align: left;
            }
            .footer-col {
                width: 100%;
                text-align: center;
            }
            .footer-col ul li a, .footer-col ul li span {
                justify-content: center;
            }
        }

        /* Styles specifically for mobile phones (up to 768px) */
        @media (max-width: 768px) {
            /* Navbar links fix */
            nav {
                padding: 10px 0; /* Reduced padding on top/bottom */
            }
            nav .logo {
                margin: 0 20px; /* Add margin for logo */
            }
            nav ul {
                width: 100%;
                gap: 0;
                justify-content: space-around;
                padding: 0 10px;
            }
            nav ul li a {
                font-size: 14px;
                padding: 5px;
            }

            /* About section padding fix */
            .about {
                padding: 20px 15px;
            }
            .about-text {
                padding: 20px 0;
            }
            .about-img img {
                max-width: 100%;
            }

            /* Footer Fix for Mobile Phones */
            .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-col {
        width: 100%;
        text-align: left; /* <-- Yahan se start karna hai */
    }

    .footer-col h4 {
        font-size: 17px;
        text-align: left; /* <-- Yahan theek karna hai */
    }

    .footer-col ul li a,
    .footer-col ul li span {
        font-size: 14px;
        justify-content: flex-start; /* <-- Yeh bhi theek karna hai */
        text-align: left; /* <-- Yeh theek karna hai */
    }
}

/* ================= PRIVACY POLICY PAGE STYLES ================= */
.privacy-policy {
    padding: 100px 20px;
    background: #f8f8f8; /* Thoda light background */
}

.privacy-policy .container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.privacy-policy h1 {
    font-size: 2.5rem;
    color: #000080;
    margin-bottom: 10px;
    text-align: center;
}

.privacy-policy h2 {
    font-size: 1.5rem;
    color: #ff9800; /* Orange color */
    margin-top: 30px;
    margin-bottom: 10px;
}

.privacy-policy p, .privacy-policy li {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.privacy-policy strong {
    font-weight: 600;
}

.privacy-policy ul {
    list-style-type: disc;
    padding-left: 25px;
}

.privacy-policy a {
    color: #ff9800;
    text-decoration: underline;
}

/* Mobile Responsiveness for Privacy Page */
@media (max-width: 768px) {
    .privacy-policy {
        padding: 80px 15px;
    }
    .privacy-policy .container {
        padding: 25px;
    }
    .privacy-policy h1 {
        font-size: 2rem;
    }
    .privacy-policy h2 {
        font-size: 1.3rem;
    }
}
/* ================= PROJECT DETAIL PAGE STYLES ================= */
.project-details {
    padding: 100px 20px;
    background: #f8f8f8; /* A light background to make content stand out */
    color: #333;
}

.project-header {
    text-align: center;
    margin-bottom: 40px;
    color: #000080;
}

.project-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff9800; /* Main heading color */
}

.project-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: #555;
}

.project-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.project-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-content h2 {
    font-size: 1.8rem;
    color: #000080; /* Dark blue heading color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.project-content p, .project-content li {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.project-content ul {
    list-style-type: none;
    padding: 0;
    margin-left: 20px;
}

.project-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.project-content ul li::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #ff9800; /* Orange color for the icon */
    position: absolute;
    left: 0;
    top: 0;
}

.project-content strong {
    color: #000080;
}

/* Button Styling (Matching Main Page) */
.project-content .btn {
    background: linear-gradient(90deg, #FFF1DE, #f59e0b);
    color: #fff;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
    transition: 0.3s;
    font-weight: 600;
}

.project-content .btn:hover {
    background: #fff;
    color: #ff9800;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* New Scrollable Category Bar */
.project-categories {
    max-width: 900px;
    margin: 0 auto 30px;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    gap: 10px;
    padding: 10px 0;
}

.project-categories::-webkit-scrollbar {
    height: 6px;
}

.project-categories::-webkit-scrollbar-thumb {
    background: #ff9800;
    border-radius: 3px;
}

.project-categories::-webkit-scrollbar-track {
    background: #e8e8e8;
}

.category-btn {
    flex-shrink: 0;
    background: #eee;
    color: #333;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.category-btn:hover, .category-btn.active {
    background: #ff9800;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .project-details {
        padding: 80px 15px;
    }

    .project-content {
        padding: 20px;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .project-content h2 {
        font-size: 1.5rem;
    }
}

html, body { 
    overflow-x: hidden; 
}
