/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/* Enable smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Basic styles */
body {
    font-family: Monospace;

    background-color: 3e4444;
    color: #000000;
    line-height: 1.6;
}

/* General Header Styling */
header {
    background-color: #000000;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    border-bottom: 3px solid #FEC20C;
}

/* Navigation Container */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Logo on left, nav links on right */
    width: 100%;
    padding: 10px 0;
}

/* Logo and Title */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    
}

/* Logo */
.logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover Effect for Logo */
.logo:hover {
    transform: scale(1.1);
    box-shadow: 0px 4px 8px #FEC20C;
}

/* Title */
.site-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
}

/* Navigation Links */
.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin-left: auto;
}

/* Nav Links Styling */
.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 20px;
    border-radius: 30px;
    background-color: #161212;
    border: 2px solid #FEC20C; /* Border matches Hire Me button */
    transition: all 0.3s ease;
}

/* Hover Effect */
.nav-links li a:hover {
    background-color: #FEC20C;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(255, 204, 0, 0.5);   
}

/* Active State */
.nav-links li a:active {
    background-color: #FEC20C;
    color: #000;
    transform: scale(0.98);
}


/* 🔹 FIXED HAMBURGER MENU 🔹 */
.hamburger {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    position: absolute;
    top: 1.2rem;
    right: 1.5rem;
}

.hamburger .bar {
    width: 30px;
    height: 4px;
    background-color: #FEC20C;
    border-radius: 5px;
    transition: all 0.3s ease;
}

/* 🔹 MOBILE MENU STYLING 🔹 */
@media (max-width: 768px) {
    /* Hide normal nav links & show hamburger */
    .nav-links {
        display: none; /* Hide by default */
        flex-direction: column;
        width: 100%;
        background-color: #363738;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 1rem 0;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex; /* Show when active */
    }

    .hamburger {
        display: flex !important; /* Make sure it appears in mobile view */
    }

    /* Hamburger Animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }
}


/* Home Section */
#home {
    padding: 4rem 2rem;
    background-color: #010101;
    text-align: center;
}

/* Profile Image */
.profile-img {
    display: inline-block;
    margin-bottom: 1rem;
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

.profile-img img {
    width: 150px; /* Size of the image */
    height: 150px;
    border-radius: 50%; /* Makes the image round */
    border: 4px solid #030303; /* Border around the image */
    object-fit: cover;
    transition: all 0.3s ease; /* Smooth transition for image hover effect */
}

/* Hover Effect for Profile Image */
.profile-img img:hover {
    transform: scale(1.1); /* Slight zoom-in effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Shadow effect */
    background-color: #020201;
}


/* Hero Section */
.hero h1 {
    color: #FEC20C;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    color:white;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem; /* Space between buttons and social icons */
}

.cta-btn {
    background-color: #444;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #FEC20C;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}


/* Typing Effect */
.typing-text {
    color: #FEC20C;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    vertical-align: middle; /* Align text properly */
}

/* Blinking Cursor */
.cursor {
    color: #FEC20C;
    display: inline-block;
    font-size: 20px; /* Match text size */
    font-weight: bold;
    vertical-align: baseline; /* Align with text */
    animation: blink 0.7s infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}


@keyframes typing {
    0%, 5% { content: "W"; }
    10% { content: "We"; }
    15% { content: "Web"; }
    20% { content: "Web D"; }
    25% { content: "Web De"; }
    30% { content: "Web Dev"; }
    35% { content: "Web Deve"; }
    40% { content: "Web Devel"; }
    45% { content: "Web Develo"; }
    50% { content: "Web Develop"; }
    55% { content: "Web Developer "; } /* Space at end */

    60%, 65% { content: "W"; }
    70% { content: "We"; }
    75% { content: "Web"; }
    80% { content: "Web D"; }
    85% { content: "Web De"; }
    90% { content: "Web Des"; }
    95% { content: "Web Desi"; }
    100% { content: "Web Designer "; } /* Space at end */
}




/* Social Icons Container */
.social-icons {
    display: flex;
    justify-content: center; /* Center the icons horizontally */
    gap: 20px; /* Space between icons */
    margin-top: 20px;
  }
  
  .social-icon {
    font-size: 30px; /* Set the size of the icons */
    color: #aea6a6ee; /* Set the icon color */
    transition: transform 0.3s ease, color 0.3s ease; /* Add a smooth transition */
  }
  
  /* Hover effect */
  .social-icon:hover {
    transform: scale(1.2); /* Enlarge the icon when hovered */
    color: #FEC20C; /* Change the color on hover */
  }
  
  /* Optional: Focus state for better accessibility */
  .social-icon:focus {
    outline: none;
    
  }
  

/* Responsive Styles */
@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        margin-bottom: 1rem;
    }
}
/* About Section Styling */
#about {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh; /* Full-screen height */
    background: black; /* Black background */
    padding-bottom: 50px; /* Extra space below */
}

/* Card Styling */
.card {
    max-width: 600px;
    border-radius: 12px;
    border: none;
    background: #1e1e1e; /* Dark grey card */
    color: #fff;
    padding: 25px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Hover & Touch Effect */
.card:hover,
.card:active {
    transform: scale(1.05);
    box-shadow: 0px 8px 20px rgba(255, 206, 0, 0.5); /* Yellow glow effect */
}

/* Card Title */
.card-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffcc00; /* Yellow title */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Professional Paragraph */
.card-text {
    font-size: 17px;
    line-height: 1.8;
    color: #e0e0e0; /* Light gray for readability */
    text-align: center;
    padding: 0 15px;
}

/* Horizontal Divider */
.card-divider {
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #f8f8f8, transparent);
    margin: 15px auto;
}

/* Professional List */
.list-group {
    padding: 10px 0;
    text-align: left;
}

.list-group-item {
    background: transparent;
    border: none;
    color: #ffffff; /* Yellow text */
    font-size: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    font-weight: bold;
    transition: transform 0.3s ease-in-out;
}

/* Custom Bullet Point Style */
.list-group-item::before {
    content: "✔"; /* Checkmark bullet point */
    color: #ffcc00;
    font-size: 18px;
    margin-right: 10px;
    transition: transform 0.3s ease-in-out;
}

/* Hover Effect for List Items */
.list-group-item:hover {
    transform: translateX(5px);
    color: #fec20c; /* Text turns white on hover */
}

.list-group-item:hover::before {
    transform: rotate(360deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        max-width: 90%;
        padding: 20px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-text {
        font-size: 15px;
        padding: 0;
    }

    .list-group-item {
        font-size: 14px;
    }
}

/* Education Section */
#education {
    background: black;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* Section Title */
#education h2 {
    font-size: 32px;
    font-weight: bold;
    color: #FEC20C;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Education List */
.education-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

/* Education Item */
.education-item {
    background: #1a1a1a; /* Dark Grey */
    border-left: 5px solid #FEC20C;
    padding: 20px;
    width: 60%;
    min-height: 130px; /* Ensures all cards have the same height */
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(254, 194, 12, 0.3);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: border-left-width 0.3s ease-in-out;
}

/* Animated Left Border Effect */
.education-item:hover {
    border-left-width: 10px;
}

/* Education Title */
.education-item h3 {
    font-size: 22px;
    color: #FEC20C;
    margin-bottom: 5px;
}

/* Education Details */
.education-item p {
    font-size: 16px;
    color: #e0e0e0;
    margin-bottom: 8px;
}

/* Education Year & CGPA */
.education-item span {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #FEC20C;
}

/* Responsive Design */
@media (max-width: 768px) {
    .education-item {
        width: 90%;
        padding: 15px;
        min-height: auto;
    }

    #education h2 {
        font-size: 28px;
    }

    .education-item h3 {
        font-size: 20px;
    }

    .education-item p,
    .education-item span {
        font-size: 14px;
    }
}



/* Skills Section */
#skills {
    padding: 4rem 2rem;
    background-color: #000000;
    text-align: center;
}

/* Skills List Layout */
.skills-list {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Skill Cards */
.skill-card {
    background-color: #030303;
    padding: 1.5rem;
    border-radius: 8px;
    width: 150px;
    transition: all 0.3s ease;
    
    /* Golden Border with Glow Effect */
    border: 3px solid #FEC20C;
    box-shadow: 0 0 15px rgba(254, 194, 12, 0.5);
}

/* Hover Effect */
.skill-card:hover {
    background-color: #FEC20C;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(255, 204, 0, 0.5);
}

/* Skill Card Text */
.skill-card h3 {
    color: #fff;
}



/* Projects Section Styling */
#projects {
    background-color: rgb(0, 0, 0);
    padding: 50px 0;
    text-align: center;
    color: rgb(255, 255, 255);
}

/* Project Card Grid Layout */
.project-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
    background-color: #000100;
}



/* Project Card Styles */
.project-card {
    width: 100%;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgb(255, 255, 255);
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

/* Ensures the whole card is clickable */
.project-cards a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Hover Effect */
.project-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgb(255, 196, 0);
}

/* Background images for projects */

.Stegoface {
    background-image: url('images/project1.jpg');
    color: rgba(255, 255, 255, 0.95);
}
.ChatCord {
    background-image: url('images/project2.jpg');
    color: rgba(255, 255, 255, 0.95);
}

.blood-bank {
    background-image: url('images/project3.jpg');
    color: rgba(255, 255, 255, 0.95);
}

.CollabDocs {
    background-image: url('images/project4.jpg');
    color: rgba(255, 255, 255, 0.95);
}

.FitnessProgram {
    background-image: url('images/project5.avif');
    color: rgba(255, 255, 255, 0.95);
}

.Nyxchat {
    background-image: url('images/project6.avif');
    color: rgba(255, 255, 255, 0.95);
}


/* Ensure text is always bright white */
.project-card h3, 
.project-card h4 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.8);
}

/* Brighten text on hover */
.project-card:hover h3, 
.project-card:hover h4 {
    color: #ffffff;
    text-shadow: 2px 2px 8px #ffffff;
}

/* Overlay Effect */
.project-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(25, 24, 24, 0.3);
    border-radius: 10px;
}

/* CTA Button */
.cta-btn {
    background-color: #555;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #FEC20C;
}

  
/* GitHub Icon Styling */
.github-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #FEC20C;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid #FEC20C;
    border-radius: 30px;
    background-color: transparent;
    transition: all 0.3s ease;
}

/* GitHub Icon Hover Effect */
.github-icon:hover {
    background-color: #FEC20C;
    color: black;
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(255, 204, 0, 0.5);
}

/* GitHub Icon Font */
.github-icon i {
    font-size: 24px;
}

#publications {
    padding: 50px 20px;
    background: #000000;
    text-align: center;
}

#publications h2 {
    font-size: 2rem;
    color: #FEC20C;
    margin-bottom: 20px;
}

.publication-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.publication-item {
    background: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
    width: 300px;
    text-align: center;
}

.publication-item h3 {
    font-size: 1.4rem;
    color: white;
}

.publication-item p {
    font-size: 1rem;
    color: #ccc;
    margin: 10px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #FEC20C;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 6px;
    transition: 0.3s ease-in-out;
}

.btn:hover {
    background: #d8a508;
}


/* Achievements Section */
#achievements {
    background-color: #000;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

/* Section Title */
#achievements h2 {
    font-size: 32px;
    color: #FEC20C;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: auto;
}

/* Individual Achievement Card */
.achievement-card {
    background-color: #111;
    border: 2px solid #FEC20C;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 0 0 rgba(254, 194, 12, 0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border 0.4s ease;
}

/* Hover Effect */
.achievement-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(254, 194, 12, 0.6);
    border: 2px solid #FEC20C;
}

/* Achievement Title */
.achievement-title {
    font-size: 20px;
    font-weight: 600;
    color: #FEC20C;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Achievement Description */
.achievement-description {
    font-size: 16px;
    color: #d3d3d3;
    line-height: 1.6;
}

/* Responsive Tweaks */
@media (max-width: 768px) {
    #achievements h2 {
        font-size: 28px;
    }

    .achievement-card {
        padding: 20px;
    }

    .achievement-title {
        font-size: 18px;
    }

    .achievement-description {
        font-size: 14px;
    }
}



/* Hire Me Section */
/* Centered Boxy Hire Me Section */
#hire {
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Full viewport height */
}

/* Box Styling */
.hire-box {
    background: #1e1e1e; /* Dark Grey Box */
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0px 6px 20px rgba(255, 204, 0, 0.2); /* Soft glowing effect */
    max-width: 500px;
    text-align: center;
    border: 2px solid rgba(255, 204, 0, 0.5); /* Subtle golden border */
}

/* Hire Me Title */
.hire-box h2 {
    color: #ffcc00;
    font-size: 26px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Hire Me Text */
.hire-box p {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Call-to-Action Button */
.cta-btn {
    background-color: transparent;
    padding: 12px 24px;
    color: #FEC20C;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
    border: 2px solid #FEC20C;
    font-size: 18px;
    display: inline-block;
}

/* Hover Effect */
.cta-btn:hover {
    background-color: #FEC20C;
    color: #000;
    transform: scale(1.05);
    box-shadow: 0px 4px 12px rgba(255, 204, 0, 0.5);
}





/* Footer Section */
footer {
    background-color: #000000;
    padding: 2rem;
    text-align: center;
}

footer p {
    color: #ccc;
}

footer ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
}

footer ul li a:hover {
    color: #bbb;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav ul {
        display: flex;
        flex-direction: column;
    }

    .skills-list {
        flex-direction: column;
    }

    .project-cards {
        flex-direction: column;
    }

    .education-list {
        flex-direction: column;
    }
}
