
/* ----- GOOGLE FONTS IMPORT ----- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* ----- VARIABLES ----- */
:root{
    --body-color: rgb(24, 24, 24); /* Dark gray background */
    --color-white: rgb(255, 255, 0); /* Yellow for text */
    --text-color-second: rgb(255, 255, 150); /* Light yellow */
    --text-color-third: rgb(255, 255, 100); /* Bright yellow */
    --first-color: rgb(255, 255, 0); /* Yellow */
    --first-color-hover: rgb(255, 255, 150); /* Light yellow hover */
    --second-color: rgb(255, 215, 0); /* Golden yellow */
    --third-color: rgb(255, 255, 100); /* Yellow accent */
    --first-shadow-color: rgba(255, 255, 0, 0.2); /* Yellow shadow */
    --card-bg: rgb(60, 60, 60); /* Dark gray cards */
    --nav-bg: rgb(255, 255, 255); /* Slightly lighter gray for nav */
}

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

/* ----- SMOOTH SCROLL ----- */
html{
    scroll-behavior: smooth;
}

/* ----- CHANGE THE SCROLL BAR DESIGN ----- */
::-webkit-scrollbar{
    width: 10px;
    border-radius: 25px;
}
::-webkit-scrollbar-track{
    background: #333;
}
::-webkit-scrollbar-thumb{
    background: #ff0;
    border-radius: 30px;
}
::-webkit-scrollbar-thumb:hover{
    background: #ffcc00;
}

/* ---##-- REUSABLE CSS --##--- */

/* ----- GLOBAL BUTTON DESIGN ----- */
.btn{
    font-weight: 500;
    padding: 12px 20px;
    background: var(--first-color);
    color: var(--body-color);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: .4s;
}
.btn>i{
    margin-left: 10px;
}
.btn:hover{
    background: var(--first-color-hover);
    color: var(--body-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 0, 0.3);
}

/* ----- GLOBAL ICONS DESIGN ----- */
i{
    font-size: 16px;
    color: var(--color-white);
}

/* ------- BASE -------- */
body{
    background: var(--body-color);
    color: var(--color-white);
}
.container{
    width: 100%;
    position: relative;
}

/* ----- NAVIGATION BAR ----- */
nav{
    position: fixed;
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 72px;
    line-height: 72px;
    background: white;
    padding-inline: 9vw;
    transition: .3s;
    z-index: 100;
    box-shadow: 0 1px 6px rgba(255, 255, 0, 0.2);
    border-bottom: 2px solid var(--first-color);
}


/* Default (large screens) */
    .nav-logo img
 {
        width: 254px !important;
        margin-top: 12px;
    }

/* Tablet */
@media screen and (max-width: 900px) {
    .nav-logo img {
        width: 120px;
    }
}

/* Mobile */
@media screen and (max-width: 600px) {
    .nav-logo img {
        width: 100px;
    }
}

/* Small mobile */
@media screen and (max-width: 400px) {
    .nav-logo img {
        width: 80px;
    }
}

/* Very small screens */
@media screen and (min-width: 320px) {
    .nav-logo img {
        width: 190px;
        margin-top: 12px;
    }
}



.nav-name{
    font-size: 30px;
    font-weight: 600;
    color: var(--color-white);
}
.nav-logo span{
    position: absolute;
    top: -15px;
    right: -20px;
    font-size: 5em;
    color: var(--color-white);
}
.nav-menu, .nav_menu_list{
    display: flex;
}
.nav-menu .nav_list{
    list-style: none;
    position: relative;
}
.nav-link{
    text-decoration: none;
    color: black;
    font-weight: 500;
    padding-inline: 15px;
    margin-inline: 20px;
    transition: .3s;
}
.nav-link:hover{
    color:darkblue;
}
.nav-menu-btn{
    display: none;
}
.nav-menu-btn i{
    font-size: 28px;
    cursor: pointer;
    color: black;
}

/* ----- WRAPPER DESIGN ----- */
.wrapper{
    padding-inline: 10vw;
    padding-top: 90px; /* Added padding to prevent content from hiding behind fixed header */
}

/* ----- FEATURED BOX ----- */
.featured-box{
    position: relative;
    display: flex;
    height: 50vh;
    min-height: 400px;
    align-items: center;
}

/* ----- FEATURED TEXT BOX ----- */
.featured-text{
    position: relative;
    display: flex;
    justify-content: center;
    align-content: center;
    min-height: 80vh;
    flex-direction: column;
    width: 50%;
    padding-left: 20px;
}
.featured-text-card span{
    background: var(--third-color);
    color: var(--body-color);
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 5px;
    font-weight: 600;
}
.featured-name{
    font-size: 50px;
    font-weight: 200;
    color: var(--color-white);
    font-family: 'Poppins', sans-serif;
    margin-block: 20px;
    text-shadow: 2px 2px 4px rgba(144, 144, 144, 0.5);
}
.typedText{
    text-transform: capitalize;
    color: var(--second-color);
    font-size: 50px;
    font-weight: 400;
}
.featured-text-info{
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-color-second);
    line-height: 1.6;
}

/* ----- FEATURED IMAGE BOX ----- */
.featured-images {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    width: 50%;
    min-height: 80vh;
    margin-top:15vh;
}

.featured-images .image {
    width: 200px;
    height: 200px;
    border: 3px solid var(--first-color);
    background: rgb(8, 8, 8);
}

.image{
    margin: auto 0;
    width: 380px;
    height: 380px;
    border-radius: 55% 45% 55% 45%;
    overflow: hidden;
    animation: imgFloat 7s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid var(--first-color);
}
.image img{
        width: 170px;
    height: 150px;
    object-fit: contain;
}
@keyframes imgFloat {
    50%{
        transform: translateY(10px);
        border-radius: 45% 55% 45% 55%;
        box-shadow: 0 0 20px rgba(255, 255, 0, 0.4);
    }
}

/* ----- MAIN BOX ----- */
.section{
    padding-block: 100px;
    margin: 0;
    background: var(--body-color);
}
.row{
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 50px;
}
.col{
    display: flex;
    width: 50%;
}

/* -- ## --- RESUABLE CSS -- ## -- */
.top-header{
    text-align: center;
    margin-bottom: 3em;
}
.top-header h1{
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.top-header span{
    color: var(--text-color-second);
    font-size: 1.1em;
}
h3{
    font-size: 20px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 15px;
}

/* ----- ABOUT INFO ----- */
.about-info{
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-block: 30px 70px;
    padding-inline: 20px;
    width: 100%;
    background: var(--card-bg);
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    border-radius: 20px;
    border: 1px solid var(--first-color);
}
.about-info p{
    text-align: center;
    font-size: 15px;
    color: var(--text-color-second);
    line-height: 1.6;
}

/* #header{
        height: 72px;
} */

/* ----- ABOUT / SKILLS BOX ----- */
.skills-box{
    margin: 10px;
}
.skills-header{
    margin-bottom: 30px;
}
.skills-list{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.skills-list span{
    font-size: 14px;
    background: var(--first-color);
    color: var(--body-color);
    padding: 2px 10px;
    border-radius: 5px;
    font-weight: 600;
}

/* ----- PROJECTS BOX ----- */
.project-container{
    display: flex;
    width: 100%;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.project-box{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 30%;
    height: 250px;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
    border: 1px solid var(--first-color);
    transition: .4s;
}
.project-box>i{
    font-size: 50px;
    color: var(--first-color);
    margin-bottom: 25px;
}
.project-box label{
    font-size: 15px;
    color: var(--text-color-second);
    text-align: center;
}
.project-box::after, .contact-info::after{
    content: "";
    position: absolute;
    bottom: -100%;
    background: var(--first-color);
    width: 100%;
    height: 100%;
    transition: .4s;
    z-index: 1;
}
.project-box:hover.project-box::after,
.contact-info:hover.contact-info::after{
    bottom: 0;
}
.project-box:hover.project-box i,
.project-box:hover.project-box>h3,
.project-box:hover.project-box>label{
    color: var(--body-color);
    z-index: 2;
}
.project-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(255, 255, 0, 0.3);
}

/* ----- CONTACT BOX ----- */
.contact-info{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px 30px;
    width: 100%;
    height: 315px;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 1px 8px 10px 2px var(--first-shadow-color);
    overflow: hidden;
    border: 1px solid var(--first-color);
}
.contact-info>h2{
    color: var(--color-white);
    margin-bottom: 20px;
}
.contact-info>p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color-second);
    margin-block: 5px;
}
.contact-info p>i{
    font-size: 18px;
    color: var(--first-color);
}
.contact-info::after{
    background: var(--first-color);
}
.contact-info:hover.contact-info h2,
.contact-info:hover.contact-info p,
.contact-info:hover.contact-info i{
    color: var(--body-color);
    z-index: 2;
}

/* ----- CONTACT FORM ----- */
.form-control{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}
.form-inputs{
    display: flex;
    gap: 10px;
    width: 100%;
}
.input-field{
    width: 50%;
    height: 55px;
    background: var(--card-bg);
    border: 2px solid var(--first-color);
    border-radius: 10px;
    padding-inline: 20px;
    outline: none;
    color: var(--color-white);
}
.input-field::placeholder{
    color: var(--text-color-second);
}
textarea{
    width: 100%;
    height: 250px;
    background: var(--card-bg);
    border: 2px solid var(--first-color);
    border-radius: 10px;
    padding: 15px 20px;
    outline: none;
    resize: none;
    color: var(--color-white);
}
textarea::placeholder{
    color: var(--text-color-second);
}
.form-button>.btn{
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--first-color);
    color: var(--body-color);
    font-weight: 600;
}
.form-button>.btn:hover{
    background: var(--first-color-hover);
}
.form-button i{
    font-size: 18px;
    rotate: -45deg;
    color: var(--body-color);
}

/* ----- FOOTER BOX ----- */
footer{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    row-gap: 30px;
    background: var(--nav-bg);
    padding-block: 40px 60px;
    text-align: center;
    border-top: 2px solid var(--first-color);
}
.top-footer p{
    font-size: 25px;
    font-weight: 700;
    color: black;
}
.middle-footer .footer-menu{
    display: flex;
}
.footer_menu_list{
    list-style: none;
}
.footer_menu_list a{
    text-decoration: none;
    color: black;
    font-weight: 500;
    margin-inline: 20px;
    transition: .3s;
}
.bottom-footer{
    font-size: 14px;
    margin-top: 10px;
    color: black;
}
.bottom-footer p{
    margin-bottom: 5px;
}

/* ----- ENTERPRISE SPECIFIC STYLES ----- */
.featured-subtext {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color-second);
    font-weight: 400;
    margin: 0.5rem 0;
    font-style: italic;
}

.aboutus-subtext {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-color-second);
    font-weight: 400;
    margin: 0.5rem 0;
    font-style: italic;
}

.enterprise-highlight {
    color: var(--first-color);
    font-weight: 600;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 40px 0;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--first-color);
    display: block;
}

.stat-label {
    color: var(--text-color-second);
    font-size: 1.1em;
}

/* ----- MEDIA QUERY == 1024px / RESPONSIVE ----- */
@media only screen and (max-width: 1024px){
    .featured-text{
        padding: 0;
    }
    .image, .image img{
        width: 320px;
        height: 320px;
    }
}

/* ----- MEDIA QUERY == 900px / RESPONSIVE ----- */
@media only screen and (max-width: 900px) {
    .nav-button{
        display: none;
    }
    .nav-menu.responsive{
        left: 0;
    }
    .nav-menu{
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background: rgba(253, 253, 253, 0.95);
        backdrop-filter: blur(20px);
        width: 100%;
        min-height: 450px;
        height: 90vh;
        transition: .3s;
        border-top: 2px solid var(--first-color);
    }
    .nav_menu_list{
        flex-direction: column;
    }
    .nav-menu-btn{
        display: flex;
        align-items: left;
        justify-content: left;
        cursor: pointer;
        color: black;
    }
    
    /* FIXED MOBILE LAYOUT */
    .featured-box{
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
        min-height: 50vh;
        padding-top: 40px;
        margin-top: 0;
    }
    .featured-text{
        width: 100%;
        order: 1;
        justify-content: flex-start;
        align-content: flex-start;
        min-height: auto;
        padding: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    .featured-images {
        width: 100%;
        order: 2;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        margin-top: 0;
        min-height: auto;
        padding-bottom: 40px;
    }
    .featured-images .image {
        width: 150px;
        height: 150px;
    }
    .featured-images .image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .featured-name {
        font-size: 32px;
    }
    .typedText {
        font-size: 32px;
    }
    .featured-text-info {
        font-size: 16px;
        padding: 0 10px;
    }
    
    .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 50px;
    }
    .col{
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .about-info, .contact-info{
        width: 100%;
    }
    .project-container{
        justify-content: center;
    }
    .project-box{
        width: 80%;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
}

/* ----- MEDIA QUERY == 540px / RESPONSIVE ----- */
@media only screen and (max-width: 540px){
    .featured-name{
        font-size: 28px;
    }
    .typedText {
        font-size: 28px;
    }
    .featured-text-info {
        font-size: 14px;
    }
    .featured-images {
        flex-direction: column;
        gap: 10px;
    }
    .featured-images .image {
        width: 120px;
        height: 120px;
    }
    .project-box{
        width: 100%;
    }
    .form-inputs{
        flex-direction: column;
    }
    .input-field{
        width: 100%;
    }
    .footer-menu{
        flex-direction: column;
        gap: 10px;
    }
    .wrapper {
        padding-inline: 5vw;
    }
}

/* ----- MEDIA QUERY FOR VERY SMALL SCREENS ----- */
@media only screen and (max-width: 400px) {
    .featured-name {
        font-size: 24px;
    }
    .typedText {
        font-size: 24px;
    }
    .featured-text-info {
        font-size: 13px;
    }
    .featured-images .image {
        width: 100px;
        height: 100px;
    }
}
.rupee-icon {
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 18px;
}