 * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;  /* Scrollbar ki width - aap 6px bhi kar sakte hain */
}

::-webkit-scrollbar-track {
    background: #1a1a1a;  /* Dark background */
    border-radius: 10px;
}


::-webkit-scrollbar-thumb {
    background: #59b3d6;  /* Aapki website ke green color jaisa */
    border-radius: 10px;
    border: 2px solid #1a1a1a;
}

::-webkit-scrollbar-thumb:hover {
    background: #59b3d6;  /* Hover par light green */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Navigation height ke liye */
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    scroll-behavior: smooth;
    background: #000000 !important;
    color: #C3C3C3 !important;
    padding-top: 80px; /* Navbar height ke liye padding */
}

        /* Navigation - Fixed Position */
.navbar{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1030 !important; /* High z-index */
    border-bottom: 1px solid #334155 !important;
}

.navbar-brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem !important;
    font-weight: 700;
    color: white !important;
    text-decoration: none;
}

.navbar-nav {
    gap: 1rem;
    align-items: center;
}

.nav-link {
    color: #e2e8f0 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    font-family: 'Inter', sans-serif;
    position: relative;
    text-decoration: none;
}

        /* Hover line effect - Right to Left */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 2px;
    background: #3b82f6;
    transition: width 0.5s ease;
}

.nav-link:hover::after {
    width: 90%;
    right: auto;
    left: 0;
}

.nav-link:hover {
    color: #fff !important;
}

.resume-btn {
    background: #3b82f6;
    color: white !important;
    padding: 0.8rem 2rem !important;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Inter', sans-serif;
}

.resume-btn:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    /* margin-top removed kyunki body mein padding hai */
}

.hero-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: white;
}

.hero-content p {
    font-size: 1.3rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 600px;
    font-weight: 400;
    line-height: 1.8;
}

/* Override Bootstrap Defaults */
.navbar-toggler {
    border: none !important;
    padding: 4px 8px !important;
}

.navbar-toggler:focus {
    box-shadow: none !important;
}

.navbar-toggler-icon {
    background-image: none !important;
    width: 25px;
    height: 20px;
    position: relative;
}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}
    
section {
    padding-top: 80px;
    margin-top: -80px;
}
    
#home, #about, #projects, #skills, #contact {
    scroll-margin-top: 80px;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after,
.navbar-toggler-icon span {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: 0;
}

.navbar-toggler-icon span {
    top: 8px;
}

.navbar-toggler-icon::after {
    top: 16px;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon span {
    opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
    transform: rotate(-45deg) translate(6px, -6px);
}


/* about-me */

#about-me{
    font-weight: bolder;
    font-size: 40px;
}

.aboutt-one{
    display: flex;
    align-items: center;
    justify-content: center;
}

.aboutt-two{
    display: flex;
    /* align-items: center; */
    /* justify-content: center; */
    height: 300px;
    /* border: 1px solid #8d8d8d; */
    width: 800px;
    text-align: center;
}

.aboutt-two p{
    font-size: 32px;
    padding: 20px;
    line-height: 1.9;
}

#skills{
    margin-top: 50px;
}

#col-change{
    color: #fff !important;
}

.custom-footer {
    height: auto;
    min-height: 80px;
    max-width: 1100px;
    width: 90%;
    border-radius: 10px;
    border: 1px solid rgb(58, 199, 255);
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.custom-footer p {
    color: #C3C3C3;
    margin: 0;
    font-family: 'Josefin Sans', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.name-highlight {
    color: rgb(89, 187, 226);
}

.follow-me{
    display: flex;
    align-items: center;
    margin-top: 1000px;
    gap: 20px;
}

.follow-me h2{
    margin-top: 20px;
    font-size: 17px;
}

.follow-github img{
    height: 50px;
    width: 50px;

}

.follow-linkedin i{
    font-size: 55px;
    color: #6a97df;
}

#ffoollloow{
    margin-top: 100px;
}

#foollow{
    margin-top: 30px;
}

.follow-me  a{
    color: #C3C3C3;
    text-decoration: none;
    text-align: center;
}

.follow-github{
       display: flex;
    flex-direction: column;
    transition: 0.3s all ease-in;
}

.follow-linkedin{
    display: flex;
    flex-direction: column;
    transition: 0.3s all ease-in;
}

.follow-github:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.follow-linkedin:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#project-h1{
    text-transform: uppercase;
    margin-top: 100px;
    font-size: 32px;
    color:  #C3C3C3;
    font-weight: 800;
} 

/* Input error/success borders */
.form-control.input-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}
.form-control.input-success {
    border-color: #28a745;
    box-shadow: 0 0 0 0.15rem rgba(40, 167, 69, 0.25);
}

/* Error message style */
.error-msg {
    color: #dc3545;
    font-size: 0.85rem;
    margin-top: 5px;
    display: block;
    transition: 0.3s ease-in-out;
}

/* Button */
.submit-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 5px;
    transition: 0.3s;
}
.submit-btn:hover {
    background-color: #0056b3;
}


/* Tablet Devices (768px - 1024px) */
@media (max-width: 1024px) {
    .custom-footer {
        width: 95%;
        max-width: 900px;
        padding: 15px;
    }
    
    .custom-footer p {
        font-size: 15px;
    }
}

/* Mobile Devices (576px - 768px) */
@media (max-width: 768px) {
    .custom-footer {
        width: 95%;
        max-width: 600px;
        padding: 15px 10px;
        min-height: 70px;
    }
    
    .custom-footer p {
        font-size: 14px;
    }
}

/* Small Mobile Devices (up to 576px) */
@media (max-width: 576px) {
    .custom-footer {
        width: 92%;
        padding: 12px 8px;
        min-height: 60px;
        margin: 1.5rem auto;
    }
    
    .custom-footer p {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Extra Small Devices (up to 400px) */
@media (max-width: 400px) {
    .custom-footer {
        width: 90%;
        padding: 10px 5px;
        min-height: 55px;
    }
    
    .custom-footer p {
        font-size: 12px;
    }
}