@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Apple/Clean Light Mode Palette */
    --bg-color: #ffffff;
    --second-bg-color: #f5f5f7;
    /* Very light grey for sections */
    --card-bg: #ffffff;
    --text-color: #1d1d1f;
    /* Almost black */
    --secondary-text: #86868b;
    --accent-color: #0071e3;
    /* Apple Blue */
    --border-color: #d2d2d7;
    --shadow-color: rgba(0, 0, 0, 0.08);
    /* Vibrant Apple-style mesh gradient */
    --main-color: #0071e3;
    /* Alias for Apple Blue */
    --gradient-text: linear-gradient(45deg, #0071e3, #9b51e0, #ff2d55, #ff9500);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

/* Header & Nav - Liquid Crystal Design */
/* Resetting Header to be container */

.logo {
    display: none;
    /* Hide logo in center nav for pure pill look, or move it out */
    /* Alternatively, we can keep the logo outside the nav */
}

/* Re-structure: We'll float the logo to the left and have the nav centered in a separate pill if requested, 
   but for now, let's keep the user's structure but style the navbar itself as the pill. */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
/* Resetting Header to be container */
.header {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    padding: 2rem 9%;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    justify-content: space-between;
}

.logo {
    display: block;
    font-size: 2.4rem;
    color: var(--text-color);
    font-weight: 700;
}

/* The Navbar is the Liquid Pill */
.navbar {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: right;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}
   
    .navbara {
    position: fixed;
    top: 5rem;
    left: 0;
    width: 100%;
    padding: 0 3rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 100;
    pointer-events: none;
    
    /*position: relative;
    background: rgba(255, 255, 255, 0.2);
    
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 0.8rem 1rem;
    border-radius: 50px;
    display: flex;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);*/
}

.nav-pill {
    pointer-events: auto;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
}

.navbar a {
    color: var(--text-color);
    margin-left: 3rem;
    transition: .3s;
    opacity: 0.8;
    font-weight: 500;
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
    opacity: 1;
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
    margin-left:auto;
    cursor:pointer;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding-top: 15rem;
    /* More spacing */
}

.hero-content h3 {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--secondary-text);
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.2s;
}

.hero-content h1 {
    font-size: 8rem;
    /* Use massive typography style */
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    /* Tight tracking */
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.4s;
    /* Removed direct gradient from h1 */
}

.hero-content h1 span,
.multiple-text {
    background: var(--gradient-text);
    background-size: 200%;
    /* For animation potential */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    /* Standard fallback */
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite;
    /* Subtle movement */
}

.hero-content p {
    font-size: 2.4rem;
    margin-top: 2rem;
    color: var(--secondary-text);
    max-width: 800px;
    opacity: 0;
    animation: slideUp 0.8s ease forwards 0.6s;
    font-weight: 400;
}

.social-media {
    margin: 4rem 0;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border-radius: 50%;
    font-size: 2rem;
    color: var(--text-color);
    margin: 0 1.5rem;
    transition: .3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.8s;
}

.social-media a:hover {
    color: var(--main-color);
    background: rgba(255, 255, 255, 0.1);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: 3rem;
    font-size: 1.6rem;
    color: #fff;
    font-weight: 500;
    transition: .3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.btn:hover {
    background: #0071e3;
    /* Slightly darker blue hover */
    transform: scale(1.02);
}

.hero-img {
    margin-top: 4rem;
    opacity: 0;
    animation: fadeIn 1.5s ease forwards 1.2s;
}

.hero-img.social-showcase {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.social-card {
    position: absolute;
    width: 280px;
    height: 400px;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid #fff;
    transition: .5s ease;
}

.social-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Stacking and Tilting */
.social-card.linkedin {
    z-index: 2;
    transform: rotate(-5deg) translateX(-20px);
}

.social-card.facebook {
    z-index: 1;
    transform: rotate(10deg) translateX(20px) translateY(10px);
    opacity: 0.9;
}

/* Hover Effect - Spread cards */
.hero-img.social-showcase:hover .social-card.linkedin {
    transform: rotate(-10deg) translateX(-60px) scale(1.05);
}

.hero-img.social-showcase:hover .social-card.facebook {
    transform: rotate(10deg) translateX(60px) scale(1.05);
    opacity: 1;
    z-index: 3;
    /* Bring to front on hover if desired, or keep behind */
}

/* About Section */
.about {
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5rem;
}

.about-img img {
    width: 25vw;
    border-radius: 2rem;
    /* Soft rounded corners */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-content h2 {
    font-size: 5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: -1px;
}

.about-content h3 {
    font-size: 3rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
}

.about-content p {
    font-size: 1.8rem;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Default Heading Style */
.heading {
    text-align: center;
    font-size: 5.6rem;
    margin-bottom: 3rem;
    /* Reduced margin */
    font-weight: 700;
    letter-spacing: -1.5px;
}

.heading span {
    background: var(--gradient-text);
    background-size: 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: gradientMove 5s ease infinite;
}

/* Skills Section - Bento Grid */
.skills {
    background: var(--bg-color);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    /* Wider columns */
    gap: 3rem;
}

.bento-card {
    background: var(--card-bg);
    padding: 5rem 4rem;
    /* More spacious padding */
    border-radius: 3rem;
    text-align: center;
    transition: .4s ease;
    cursor: default;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    /* Taller cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.bento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--main-color);
}

.bento-card i {
    font-size: 7rem;
    /* Significantly larger icons */
    margin-bottom: 2.5rem;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.bento-card h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.bento-card p {
    font-size: 1.7rem;
    color: var(--secondary-text);
    line-height: 1.6;
}

/* Projects Section - Large Bento Cards */
.projects {
    background: var(--bg-color);
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.projects-box {
    position: relative;
    border-radius: 3rem;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px var(--shadow-color);
    transition: .4s ease;
    display: flex;
    flex-direction: column;
}

.projects-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.projects-box img {
    width: 100%;
    height: 250px;
    /* Fixed height for image */
    object-fit: cover;
    transition: .6s ease;
}

.projects-box:hover img {
    transform: scale(1.05);
    /* Subtle zoom */
}

.projects-info {
    padding: 2.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #161618;
    /* Dark Apple Card Background */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.projects-info h4 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    /* White Text */
}

.projects-info p {
    font-size: 1.6rem;
    color: #86868b;
    /* Apple Grey Text */
    margin-bottom: 2rem;
    text-align: left;
    line-height: 1.6;
}

.projects-info a {
    align-self: flex-start;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: #333;
    /* Darker button bg */
    border-radius: 50%;
    color: #fff;
    transition: .3s;
}

.projects-info a:hover {
    background: var(--main-color);
    /* Apple Blue on hover */
    color: #fff;
    transform: scale(1.1);
}

/* Achievements - Split Layout Update */
.achievement-row {
    background: var(--card-bg);
    border-radius: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: none;
    /* Flatten design */
    overflow: hidden;
}

.achievement-row:hover {
    border-color: var(--border-color);
    /* No neon highlight */
    transform: none;
    /* Remove scaling */
}

.achievement-content h4 {
    color: var(--text-color);
}

.achievement-content p {}

/* Contact Section */
.contact form .input-box input,
.contact form textarea {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    /* Subtle border */
    transition: .3s;
}

.contact form .input-box input:focus,
.contact form textarea:focus {
    border-color: var(--main-color);
    background: #252529;
}

.contact form .btn {
    margin-top: 2rem;
    width: 100%;
    /* Full width button on contact form often looks better */
    transition: .2s;
}

/* Premium Dark Footer */
.premium-footer {
    background: #111;
    /* Almost black */
    color: #fff;
    padding: 8rem 9% 3rem;
    border-top: none;
}

/* CTA Section */
.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-cta h2 {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(to right, #fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-btn {
    padding: 1.5rem 3.5rem;
    background: #fff;
    color: #000;
    border-radius: 50px;
    font-size: 1.6rem;
    font-weight: 600;
    transition: .3s;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.footer-btn:hover {
    background: var(--main-color);
    color: #fff;
    transform: scale(1.05);
}

/* Content Columns */
.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* First column wider for brand */
    gap: 4rem;
    margin-bottom: 6rem;
}

.brand-col h3 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.brand-col p {
    font-size: 1.6rem;
    color: #888;
    margin-bottom: 2rem;
    max-width: 300px;
}

.footer-socials a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 1rem;
    font-size: 1.8rem;
    transition: .3s;
}

.footer-socials a:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.footer-column h4 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    margin-bottom: 2rem;
}

.footer-column a {
    display: block;
    font-size: 1.5rem;
    color: #888;
    margin-bottom: 1.2rem;
    transition: .3s;
}

.footer-column a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Bottom Bar */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-bottom p {
    font-size: 1.4rem;
    color: #666;
}

.footer-legal a {
    font-size: 1.4rem;
    color: #666;
    margin-left: 2rem;
    transition: .3s;
}

.footer-legal a:hover {
    color: #fff;
}

@media (max-width: 768px) {
    .premium-footer {
        padding: 4rem 5%;
    }

    .footer-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-cta h2 {
        font-size: 3.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}


/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes slideUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Utility: Cursor */
.cursor-dot,
.cursor-outline {
    display: none;
    /* Hiding custom cursor for native Apple feel */
}

/* Responsive adjustments omitted for brevity, keeping existing media queries but updating styles handled by general rules */
@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
        right:3%;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: rgba(22, 22, 23, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border-color);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .about,
    .achievement-row {
        flex-direction: column;
    }

    .achievement-content {
        padding: 2rem;
    }

    .projects-container {
        grid-template-columns: 1fr;
    }
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
}

.pcb-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
    /* Increased opacity for better visibility */
}

.pcb-trace {
    filter: drop-shadow(0 0 3px #00ff41);
    /* Green glow */
}

.pcb-ic {
    fill: #1a1d23;
    stroke: #00ff41;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #00ff41);
}

.pcb-cap {
    fill: #1a1d23;
    stroke: #0ef;
    /* Cyan for contrast */
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #0ef);
}

.pcb-pin {
    stroke: #00ff41;
    stroke-width: 1;
}

section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: var(--bg-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-size: 2.5rem;
    color: var(--text-color);
    font-weight: 600;
    cursor: default;
    opacity: 0;
    animation: slideRight 1s ease forwards;
}

.navbar a {
    font-size: 1.7rem;
    color: var(--text-color);
    margin-left: 4rem;
    transition: .3s;
    opacity: 0;
    animation: slideTop .5s ease forwards;
    animation-delay: calc(.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
    color: var(--main-color);
}

#menu-icon {
    font-size: 3.6rem;
    color: var(--text-color);
    display: none;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.hero-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
    opacity: 0;
    animation: slideBottom 1s ease forwards;
    animation-delay: .7s;
}

.hero-content h3:nth-of-type(2) {
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    opacity: 0;
    animation: slideRight 1s ease forwards;
    animation-delay: 1s;
}

.hero-content p {
    font-size: 1.6rem;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 4rem;
    height: 4rem;
    background: transparent;
    border: .2rem solid var(--main-color);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--main-color);
    margin: 3rem 1.5rem 3rem 0;
    transition: .5s ease;
    opacity: 0;
    animation: slideLeft 1s ease forwards;
    animation-delay: 1s;
}

.social-media a:hover {
    background: var(--main-color);
    color: var(--second-bg-color);
    box-shadow: 0 0 1rem var(--main-color);
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background: var(--main-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--main-color);
    font-size: 1.6rem;
    color: var(--second-bg-color);
    letter-spacing: .1rem;
    font-weight: 600;
    transition: .5s ease;
    opacity: 0;
    animation: slideTop 1s ease forwards;
    animation-delay: 2s;
}

.btn:hover {
    box-shadow: none;
}

.hero-img img {
    width: 35vw;
    height: 35vw;
    border-radius: 50%;
    object-fit: cover;
    border: .2rem solid var(--main-color);
    box-shadow: 0 0 2rem var(--main-color);
    animation: float 4s ease-in-out infinite;
    transition: .5s ease;
}

.hero-img img:hover {
    box-shadow: 0 0 4rem var(--main-color);
    transform: scale(1.05);
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.about {
    gap: 2rem;
    background: var(--second-bg-color);
}

.about-img .img-placeholder {
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    background: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    color: var(--main-color);
    border: .5rem solid var(--main-color);
}

.heading {
    text-align: center;
    font-size: 4.5rem;
}

.heading span {
    color: var(--main-color);
}

.about-content h2 {
    text-align: left;
    line-height: 1.2;
}

.about-content h3 {
    font-size: 2.6rem;
}

.about-content p {
    font-size: 1.6rem;
    margin: 2rem 0 3rem;
}

.skills h2 {
    margin-bottom: 5rem;
}

.skills-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.skills-container .skills-box {
    flex: 1 1 30rem;
    background: var(--second-bg-color);
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
}

.skills-container .skills-box:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
}

.skills-box i {
    font-size: 7rem;
    color: var(--main-color);
}

.skills-box h3 {
    font-size: 2.6rem;
}

.skills-box p {
    font-size: 1.6rem;
    margin: 1rem 0 3rem;
}

.projects {
    background: var(--second-bg-color);
}

.projects h2 {
    margin-bottom: 4rem;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 2.5rem;
}

.projects-container .projects-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: 0 0 1rem var(--bg-color);
    overflow: hidden;
    display: flex;
    height: 300px;
    /* Fixed height for consistency */
    background: var(--bg-color);
    /* Fallback */
}

/* Pseudo-element for background image placeholder */
/* Image Styles */
.projects-container .projects-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
    opacity: 0.8;
}

.projects-box:hover img {
    transform: scale(1.1);
    opacity: 1;
}

.projects-box .projects-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, .1), var(--main-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: .5s ease;
    z-index: 2;
}

.projects-box:hover .projects-info {
    transform: translateY(0);
}

.projects-info h4 {
    font-size: 3rem;
}

.projects-info p {
    font-size: 1.6rem;
    margin: .3rem 0 1rem;
}

.projects-info a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--text-color);
    border-radius: 50%;
}

.projects-info a i {
    font-size: 2rem;
    color: var(--second-bg-color);
}

/* Achievements Section Redesign */
.achievements {
    background: var(--bg-color);
}

.achievement-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3rem;
}

.achievement-row {
    display: flex;
    background: var(--second-bg-color);
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 0 1rem var(--second-bg-color);
    border: .2rem solid var(--bg-color);
    transition: .5s ease;
    max-width: 1000px;
    width: 100%;
}

.achievement-row:hover {
    border-color: var(--main-color);
    transform: scale(1.02);
    box-shadow: 0 0 2rem var(--main-color);
}

.achievement-img {
    flex: 1 1 40rem;
    min-height: 300px;
    position: relative;
}

.achievement-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s ease;
}

.achievement-row:hover .achievement-img img {
    transform: scale(1.05);
}

.achievement-content {
    flex: 1 1 40rem;
    padding: 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.achievement-content h4 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: var(--main-color);
    font-weight: 700;
}


.achievement-content a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: var(--main-color);
    border-radius: 50%;
    box-shadow: 0 0 1rem var(--main-color);
    transition: .5s ease;
}

.achievement-content a:hover {
    box-shadow: none;
    transform: translateY(-5px);
}

.achievement-content a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}


.contact h2 {
    margin-bottom: 3rem;
}

.contact form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
    margin-bottom: 3rem;
}

.contact form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact form .input-box input,
.contact form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--text-color);
    background: var(--second-bg-color);
    border-radius: .8rem;
    margin: .7rem 0;
}

.contact form .input-box input {
    width: 49%;
}

.contact form textarea {
    resize: none;
}

.contact form .btn {
    margin-top: 2rem;
    cursor: pointer;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    background: var(--second-bg-color);
}

.footer-text p {
    font-size: 1.6rem;
}

.footer-iconTop a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .8rem;
    background: var(--main-color);
    border-radius: .8rem;
    transition: .5s ease;
}

.footer-iconTop a:hover {
    box-shadow: 0 0 1rem var(--main-color);
}

.footer-iconTop a i {
    font-size: 2.4rem;
    color: var(--second-bg-color);
}

/* Breakpoints */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }
}

@media (max-width: 991px) {
    .header {
        padding: 2rem 3%;
    }

    section {
        padding: 10rem 3% 2rem;
    }

    .services {
        padding-bottom: 7rem;
    }

    .projects {
        padding-bottom: 7rem;
    }

    .contact {
        min-height: auto;
    }

    .footer {
        padding: 2rem 3%;
    }
}

@media (max-width: 768px) {
    #menu-icon {
        display: block;
    }

    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 1rem 3%;
        background: var(--bg-color);
        border-top: .1rem solid rgba(0, 0, 0, .2);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
        display: none;
    }

    .navbar.active {
        display: block;
    }

    .navbar a {
        display: block;
        font-size: 2rem;
        margin: 3rem 0;
    }

    .hero {
        flex-direction: column;
    }

    .hero-content h3 {
        font-size: 2.6rem;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .hero-img .img-placeholder {
        width: 70vw;
        height: 70vw;
        margin-top: 4rem;
    }

    .about {
        flex-direction: column;
        text-align: center;
    }

    .about-img img {
        width: 50vw;
        max-width: 250px;
        /* Limit max size */
        margin-bottom: 3rem;
        /* Space below image */
        margin-top: 2rem;
    }

    .services h2 {
        margin-bottom: 3rem;
    }

    .projects-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievement-row {
        flex-direction: column;
    }

    .achievement-img {
        min-height: 250px;
    }
}

@media (max-width: 617px) {
    .projects-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 450px) {
    html {
        font-size: 50%;
    }

    .contact form .input-box input {
        width: 100%;
    }
}

/* Animations */
@keyframes slideRight {
    0% {
        transform: translateX(-100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideLeft {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideTop {
    0% {
        transform: translateY(100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideBottom {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }

}









