
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#f2f2f2;
    overflow-x:hidden;
    overflow-y:auto;
    font-family:Poppins,sans-serif;
}


.luxury-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fafafa; /* Matches your smoky white aesthetic */
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Space between text and line */
}

/* 1. The Breathing Typography */
.loader-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    font-style: italic;
    letter-spacing: 4px;
    color: #111;
    opacity: 0;
    /* Softly fades in and floats slightly */
    animation: textBreathe 1.5s ease-in-out infinite alternate;
}

/* 2. The Progress Line Track */
.loader-progress-wrap {
    width: 100px;
    height: 1px;
    background: rgba(0, 0, 0, 0.1); /* Very faint grey track */
    overflow: hidden;
    position: relative;
}

/* 3. The Sweeping Black Line */
.loader-progress {
    width: 100%;
    height: 100%;
    background: #111; /* Sharp dark ink color */
    transform: translateX(-100%);
    /* Sweeps from left to right, smoothly */
    animation: lineSweep 1.8s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}

/* --- Animations --- */
@keyframes textBreathe {
    0% { 
        opacity: 0.2; 
        transform: translateY(3px); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes lineSweep {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); } /* Pauses slightly in the middle */
    100% { transform: translateX(100%); }
}

/* Class to fade out the entire screen when the page loads */
.luxury-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}



.navbar {
    position: fixed;
    top: 40px;
    right: 60px; /* Keeps it on the right side */
    z-index: 9999;
}

.navbar ul {
    display: flex;
    align-items: center;
    gap: 45px;
    list-style: none;
}

.navbar a {
    position: relative;
    text-decoration: none;
    color: #ffffff;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: .35s ease;
}

.navbar a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0%;
    height: 1px;
    background: #ffffff;
    transition: .4s ease;
}

.navbar a:hover {
    color: #d8d8d8;
}

.navbar a:hover::after {
    width: 100%;
}

/* =========================================
   Hamburger Button Base
   ========================================= */
.hamburger {
    display: none; 
    cursor: pointer;
    flex-direction: column;
    gap: 8px;
    z-index: 10000; 
}

.hamburger .bar {
    display: block;
    width: 32px;
    height: 1.5px;
    background-color: #ffffff;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger .bar:nth-child(2) {
    width: 22px;
    align-self: flex-end;
}

/* =========================================
   Mobile Media Query & Floating Cylinder Menu
   ========================================= */
@media screen and (max-width: 768px) {
    /* 1. Lock Hamburger to Top-Right Corner */
    .hamburger {
        display: flex;
        position: fixed; 
        top: 30px;
        right: 30px;
        z-index: 10000; 
    }

    /* Keep the 'X' white since the menu now floats below it! */
    .hamburger.active .bar {
        background-color: #ffffff; 
    }

    /* 2. The Floating Cylinder Widget */
    .navbar ul {
        position: fixed;
        top: 80px; /* Floats nicely below the hamburger */
        right: -100%; /* Hidden off-screen to the right */
        
        /* Cylinder Dimensions */
        width: 150px; 
        height: auto; 
        padding: 40px 0;
        
        /* The Pill/Cylinder Shape */
        border-radius: 40px; 
        
        /* Clean, frosted glass look */
        background: rgba(255, 255, 255, 0.215); 
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        box-shadow: -10px 15px 40px rgba(0, 0, 0, 0.15), inset 0 0 0 1px rgba(255,255,255,0.6);
        
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px; 
        margin: 0;
        transition: right 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 9998; 
    }

    /* When Active, slide in and float 20px from the right edge */
    .navbar ul.active {
        right: 20px;
    }

    /* 3. Premium Editorial Typography (Scaled down to fit cylinder) */
    .navbar a {
        font-family: "Cormorant Garamond", serif; 
        font-size: 22px; /* Adjusted to fit the small widget beautifully */
        letter-spacing: 2px;
        text-transform: capitalize;
        font-weight: 600;
        color: #111; 
    }

    /* Hide the underline effect on mobile */
    .navbar a::after {
        display: none; 
    }

    /* 4. Staggered Cascading Animation */
    .navbar ul li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .navbar ul.active li {
        opacity: 1;
        transform: translateY(0);
    }

    .navbar ul.active li:nth-child(1) { transition-delay: 0.2s; }
    .navbar ul.active li:nth-child(2) { transition-delay: 0.3s; }
    .navbar ul.active li:nth-child(3) { transition-delay: 0.4s; }
    .navbar ul.active li:nth-child(4) { transition-delay: 0.5s; }

    /* 5. Hamburger 'X' Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(4.75px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        width: 32px; 
        transform: translateY(-4.75px) rotate(-45deg);
    }
}



.bgWord{

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    font-size:24vw;

    font-weight:700;

    color:white;

    opacity:.03;

    letter-spacing:20px;

    z-index:1;

    pointer-events:none;

}


.techHero{

    position:relative;

    width:100%;

    height:100vh;

    overflow:hidden;

    background:#000;

}

.techHeroImage{

     position:absolute;
    inset:0;

    width:100%;
    height:100%;

    object-fit:cover;

    object-position:center 15%;

    transform:scale(1);

    filter:grayscale(100%) brightness(.9) contrast(110%);

    will-change:transform, filter;


}

.techOverlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(to bottom,
    rgba(0,0,0,.15),
    rgba(0,0,0,.85));

}

.techContent{

    position:absolute;

    left:50%;

    top:50%;

    transform:translate(-50%,-50%);

    text-align:center;

    width:90%;

    z-index:5;

}

.techContent span{

    color:#ddd;

    letter-spacing:8px;

    text-transform:uppercase;

    font-size:13px;

}

.techContent h1{

    font-size:150px;

    font-family:"Brown Sugar";

    color:white;

    margin:20px 0;

    font-weight:400;

}

.techContent p{

    width:650px;

    max-width:95%;

    margin:auto;

    color:#d9d9d9;

    line-height:2;

    font-size:18px;

}

.scrollIndicator{

    position:absolute;

    bottom:45px;

    left:50%;

    transform:translateX(-50%);

    color:#aaa;

    letter-spacing:6px;

    font-size:12px;

    z-index:10;

}



/* ===========================
   PINNED INTERNSHIPS SECTION
=========================== */
.internships-pinned {
    /* Creates a gradient starting almost black at the top, fading to your grey */
    background: linear-gradient(to bottom, #0a0a0a 0%, #4b4a4a 100%);
    min-height: 100vh; /* Takes up full screen height when pinned */
    padding: 100px 8%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Centered Header */
.intern-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 5;
}

.cert-tag {
    color: #9ba4b5;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.intern-header h2 {
    font-size: 55px;
    font-weight: 400;
    font-family: "Brown Sugar", serif;
    color: #fff;
}

/* Container to hold the stacked cards */
.pin-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    flex: 1;
    min-height: 450px; /* Ensures space for the absolute cards */
}

/* The Cards */
.intern-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 60px;
    background: #797a7b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    /* Prepare for GSAP */
    will-change: transform, opacity;
}

/* Hide Card 2 initially */
.card-2 {
    opacity: 0;
    transform: translateY(150px);
}

/* Text Side (Left) */
.intern-text {
    flex: 1;
    position: relative;
}

.intern-number {
    font-family: "Brown Sugar", serif;
    font-size: 80px;
    color: rgba(58, 56, 56, 0.611);
    position: absolute;
    top: -50px;
    left: -20px;
    z-index: 0;
}
.intern-text h2 {
    font-size: 40px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.intern-text h3 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.intern-text p {
    color: #323334;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.view-cert-btn {
    display: inline-block;
    padding: 12px 28px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 30px;
    transition: 0.3s ease;
    position: relative;
    z-index: 1;
}

.view-cert-btn:hover {
    background: #d9d9d9;
    transform: translateY(-3px);
}

/* Visual Side (Right) */
.intern-visual {
    /* flex: 1.2; */
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.intern-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(20%);
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.4));
}

/* Project section */

/* ===========================
   MINIMAL PROJECTS SECTION
=========================== */
.projects-minimal {
    background: #4b4a4a;
    padding: 150px 8%;
    color: #fff;
    position: relative;
    z-index: 10;
}

.projects-header {
    text-align: center;
    margin-bottom: 80px;
}

.projects-header h2 {
    font-family: "Brown Sugar", serif;
    font-size: 55px;
    font-weight: 400;
    margin-bottom: 15px;
}

.projects-header p {
    color: #8b949e;
    font-size: 16px;
    letter-spacing: 1px;
}

.minimal-grid {
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 40px;
}

/* The Card Design */
.minimal-card {
    background: #12151a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 45px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.minimal-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card-top {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.p-num {
    font-family: "Brown Sugar", serif;
    font-size: 35px;
    color: #444;
    line-height: 1;
}

.card-top h3 {
    font-size: 30px;
    font-weight: 500;
    color: #fff;
    letter-spacing: 1px;
}

.card-middle p {
    color: #9ba4b5;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* Technologies Used */
.tech-used {
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.tech-used strong {
    color: #fff;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-right: 5px;
}

.tech-used span {
    background: rgba(121, 192, 255, 0.1);
    color: #79c0ff;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
    letter-spacing: 1px;
}

/* Button */
.repo-btn {
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .minimal-grid { grid-template-columns: 1fr; }
    .projects-header h2 { font-size: 40px; }
    .minimal-card { padding: 30px; }
    .card-top h3 { font-size: 26px; }
}
/* ===========================
   PROJECTS SECTION (DARK & SLEEK)
=========================== */

.projects {
    background: linear-gradient(to top, #d3d1d1 0%, #4b4a4a 100%);
    padding: 150px 8%;
    color: #fff;
    position: relative;
    z-index: 10;
}

.projects-container {
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 180px; /* Large breathing room between projects */
}

.project-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

/* Alternates the layout for even rows */
.project-row.reverse {
    flex-direction: row-reverse;
}

.project-visual {
    flex: 1.2;
    position: relative;
}

.project-info {
    flex: 1;
    position: relative;
}

/* Large faded background numbers */
.project-number {
    position: absolute;
    top: -60px;
    left: -20px;
    font-size: 140px;
    font-family: "Brown Sugar", serif;
    color: rgba(114, 110, 110, 0.371);
    z-index: 0;
    pointer-events: none;
}

.project-info h2 {
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

.project-info p {
    color: #3c3c3d;
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 35px;
    position: relative;
    z-index: 2;
}

/* Tech Stack Tags */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
    position: relative;
    z-index: 2;
}

.project-tech span {
    background: rgba(34, 33, 33, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.project-tech span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Call to Action Link */
.project-link {
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 6px;
    z-index: 2;
}

.project-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}

.project-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ===========================
   VISUALS (Code Window & Images)
=========================== */

.code-window, .image-window {
    background: #15181e;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.project-row:hover .code-window,
.project-row:hover .image-window {
    transform: translateY(-15px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8), 0 0 40px rgba(255,255,255,0.05);
}

/* Code Specific Styling (Retained from your original) */
.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #1c2128;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.window-left { display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; }
.red { background: #ff5f57; }
.yellow { background: #febc2e; }
.green { background: #28c840; }
.filename { color: #8b949e; font-size: 13px; font-family: monospace; }

.code-window pre {
    margin: 0;
    padding: 40px;
    overflow-x: auto;
    font-family: "JetBrains Mono", monospace;
    font-size: 15px;
    line-height: 2;
}

.code-window code { color: #c9d1d9; }
.comment { color: #8b949e; font-style: italic; }
.kw { color: #ff7b72; }
.type { color: #d2a8ff; }
.func { color: #79c0ff; }
.str { color: #a5d6ff; }
.num { color: #79c0ff; }

/* Image Specific Styling */
.image-window {
    position: relative;
    aspect-ratio: 16 / 10;
}

.image-window img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(40%) contrast(1.1);
    transition: 0.6s ease;
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.1), rgba(0,0,0,0.5));
}

.project-row:hover .image-window img {
    filter: grayscale(0%) contrast(1);
    transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .project-row, .project-row.reverse {
        flex-direction: column;
        gap: 50px;
    }
    .project-info {
        padding: 0 10px;
    }
}



/* Footer */
/* Base Footer Setup */
.footer {
    padding: 120px 8% 70px;
    background: #f8f9fa; /* Slightly dynamic off-white background */
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Subtle Animated Ambient Glow Background */
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,0,0,0.03) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: ambientPulse 8s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0% { transform: translateX(-50%) scale(0.8); opacity: 0.5; }
    100% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* Heading with Subtle Reveal Effect */
.footer h2 {
    font-size: 60px; 
    font-weight: 400; 
    margin-bottom: 30px; 
    font-family: "Cormorant Garamond", serif; 
    color: #111; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
}

.footer h2:hover {
    transform: translateY(-3px);
    color: #000;
}

/* Subtext */
.footer p {
    max-width: 650px;
    margin: 0 auto 40px;
    color: #666;
    line-height: 1.9;
    transition: color 0.3s ease;
}

/* Animated Mail Link with Sliding Underline */
.mail {
    position: relative;
    display: inline-block;
    font-size: 28px;
    text-decoration: none;
    color: #111;
    margin-bottom: 60px;
    font-weight: 500;
    transition: color 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s ease;
}

/* Animated Underline */
.mail::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #111;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mail:hover {
    transform: translateY(-2px);
    color: #000;
}

.mail:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Socials Flex Container */
.socials {
    display: flex; 
    justify-content: center; 
    gap: 40px; 
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Modern Social Links with Hover Lift & Underline */
.socials a {
    position: relative;
    color: #555; 
    text-decoration: none; 
    font-size: 13px; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    padding: 5px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.socials a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background-color: #111;
    transition: width 0.3s ease, left 0.3s ease;
}

.socials a:hover {
    color: #111;
    transform: translateY(-3px);
}

.socials a:hover::after {
    width: 100%;
    left: 0;
}

/* Copyright Text */
.copyright {
    color: #888;
    font-size: 14px;
    line-height: 2;
    transition: color 0.3s ease;
}

.copyright:hover {
    color: #444;
}


/* =======================================================
   RESPONSIVE DESIGN (Tablets, Mobile, and Small Screens)
======================================================== */

/* TABLET LAYOUT (Max 1024px) */
@media (max-width: 1024px) {
    /* Shrink huge fonts and spacing slightly */
    .techContent h1 { font-size: 100px; }
    .projects-container { gap: 120px; }
    .project-row, .project-row.reverse { gap: 40px; }
    .project-info h2 { font-size: 38px; }
    .project-number { font-size: 100px; top: -45px; }
    
    .footer h2 { font-size: 45px; }
    .mail { font-size: 24px; }
}

/* MOBILE LAYOUT (Max 768px) */
@media (max-width: 768px) {
    /* Navbar Adjustment */
    .navbar {
        top: 20px;
        right: 50%;
        transform: translateX(50%); /* Centers navbar on mobile */
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .navbar ul { gap: 20px; }
    .navbar a { font-size: 13px; }

    /* Hero Section */
    .techContent h1 { font-size: 65px; margin: 10px 0; }
    .techContent p { font-size: 15px; width: 100%; }
    .bgWord { font-size: 28vw; } /* Makes background word fit better */


    /* Internships Mobile Fix */
    .internships-pinned { min-height: auto; padding: 80px 5%; }
    .intern-header h2 { font-size: 40px; }
    .pin-container { min-height: 750px; } /* taller for stacked content */
    .intern-card { 
        flex-direction: column; 
        padding: 30px; 
        gap: 30px;
        text-align: center;
    }
    .intern-number { font-size: 60px; top: -30px; left: 0; right: 0; }
    .intern-visual { width: 100%; min-height: 200px; }

    /* Projects Layout Stacking */
    .projects { padding: 80px 5%; }
    .projects-container { gap: 90px; }
    
    .project-row, .project-row.reverse {
        flex-direction: column; /* Stacks image on top of text */
        gap: 35px;
    }

    .project-visual { width: 100%; }
    
    /* Shrink text and numbers for mobile */
    .project-info { padding: 0; text-align: left; width: 100%; }
    .project-info h2 { font-size: 32px; margin-bottom: 15px; }
    .project-info p { font-size: 15px; margin-bottom: 25px; }
    .project-number { font-size: 80px; top: -35px; left: -10px; }
    
    /* Code Window Adjustments */
    .code-window pre {
        padding: 25px 15px;
        font-size: 13px; /* Prevents code from breaking the layout */
    }
    .window-header { padding: 12px 15px; }

    /* Tech Stack Tags */
    .project-tech { gap: 8px; margin-bottom: 25px; }
    .project-tech span { font-size: 11px; padding: 6px 14px; }

    
}

/* SMALL MOBILE (Max 480px) */
@media (max-width: 480px) {
    /* Final tweaks for very small screens (like iPhone SE) */
    .navbar a { font-size: 11px; }
    .techContent h1 { font-size: 45px; }
    .techContent span { font-size: 11px; }
    
    .project-info h2 { font-size: 28px; }
    .project-number { font-size: 60px; top: -25px; }
    
    .code-window pre { font-size: 11px; } /* Ensures Lodu Code fits */
    
}
/* =========================================
   Responsive Media Queries for Footer
   ========================================= */

/* Tablet & Smaller Laptops (under 768px) */
@media screen and (max-width: 768px) {
    .footer {
        padding: 90px 6% 60px; /* Reduce top and bottom padding slightly */
    }
    
    .footer h2 {
        font-size: 46px; /* Scale down the giant heading */
        margin-bottom: 25px;
    }
    
    .footer p {
        font-size: 15px; 
        line-height: 1.7;
        margin-bottom: 35px;
    }
    
    .mail {
        font-size: 22px; /* Make email link fit better */
        margin-bottom: 45px;
    }
    
    .socials {
        gap: 25px; /* Bring social links closer together */
        margin-bottom: 40px;
    }
}

/* Mobile Phones (under 480px) */
@media screen and (max-width: 480px) {
    .footer {
        padding: 60px 5% 40px; /* Compress padding for small screens */
    }
    
    .footer h2 {
        font-size: 36px; /* Further scale down the heading */
    }
    
    .mail {
        font-size: 18px;
        word-break: break-word; /* Prevent long email addresses from breaking the screen width */
        margin-bottom: 35px;
    }
    
    .socials {
        flex-direction: column; /* Stack the social links vertically on tiny screens */
        gap: 20px;
    }

    .socials a {
        font-size: 12px;
    }
}

/* Optional: Disable hover effects for touch devices to prevent "sticky" hover states */
@media (hover: none) {
    .mail:hover::after,
    .socials a:hover::after {
        transform: scaleX(0);
        width: 0;
    }
    
    .footer h2:hover,
    .mail:hover,
    .socials a:hover {
        transform: none; /* Disables the jump/lift effect when tapped */
    }
}