
/* Hide scrollbar but still allow scrolling */
html, body {
    overflow: auto; /* Allow scrolling but hide the scrollbar */
    height: 100%;
}

/* Hide scrollbar in WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar in Firefox */
html {
    scrollbar-width: none;
}
/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    background: #1b1b1b;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
  }



  /* Header Styles */
  header {
    position: sticky;
    top: 0;
    background: #181818;
    padding: 15px 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    text-align: center;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  nav ul li a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: #f5f5f5;
  }

/* About Section */
#about {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a, #1d1d1d); /* Gradient background */
    position: relative;
    transition: background 0.5s ease, padding 0.5s ease-in-out; /* Added padding transition */
    animation: fadeInPage 1s ease-out;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    opacity: 0;
    animation: fadeIn 1.2s forwards;
    padding: 20px 0;
}

.about-image {
    flex: 1 1 45%;
    max-width: 600px;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.5s ease;
    border-radius: 10px;
}

.about-image img:hover {
    background: #555; /* Slightly lighter grey on hover */
    transform: scale(1.05);
}

.about-text {
    flex: 1 1 45%;
    max-width: 600px;
    color: #ddd;
    margin-bottom: 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.5s ease-in-out;
}

.about-text h2 {
    font-size: 3.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.4;
    color: #e4e4e4;
    transition: transform 0.3s ease-in-out;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease-in-out;
}

/* Center-align the button container */
.about-text {
    display: flex; /* Use flexbox to align the buttons */
    justify-content: center; /* Horizontally center the buttons */
    align-items: center; /* Vertically align the buttons */
    gap: 20px; /* Space between the buttons */
    margin-top: 20px; /* Add some margin to space out from the top */
}

/* General button styles */
.about-text .btn,
.about-text .download-btn {
    background: #444; /* Dark grey background */
    color: #bbb; /* Light grey text */
    padding: 10px 20px; /* Adjusted padding for smaller buttons */
    font-size: 1rem; /* Standard font size */
    border-radius: 25px; /* Rounded corners */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Soft shadow for subtle depth */
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* Button Hover Effects */
.about-text .btn:hover,
.about-text .download-btn:hover {
    background: #666; /* Slightly lighter grey */
    transform: translateY(-3px); /* Smooth lift on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3); /* Slightly stronger shadow */
}

/* Specific styles for the 'Download Resume' button */
.about-text .download-btn {
    background: #555; /* Slightly lighter grey */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-text .btn,
    .about-text .download-btn {
        font-size: 0.9rem; /* Slightly smaller font on mobile */
        padding: 8px 18px; /* Adjust padding for smaller screens */
    }
}

.about-text .btn:hover {
    background: #666; /* Slightly lighter grey on hover */
    transform: translateY(-3px) scale(1.05); /* Slightly increase scale on hover */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Highlighted Text with Background Animation */
.highlight {
    position: relative;
    font-weight: bold;
    color: #00d9ff; /* Change to the color you prefer */
}

.highlight::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    z-index: -1;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform: scaleX(0);
    transform-origin: left;
}

.highlight:hover::before {
    transform: scaleX(1);
    transform-origin: right;
}

/* Hover Effects for About Text */
.about-text:hover h2 {
    transform: translateX(10px);
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.7); /* Text shadow effect on hover */
}

.about-text:hover p {
    color: #f0f0f0;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6); /* Light shadow on paragraph */
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInPage {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    #about {
        padding: 80px 0;
    }

    .about-preview {
        flex-direction: column;
        align-items: center;
    }

    .about-image,
    .about-text {
        flex: 1 1 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .about-text h2 {
        font-size: 2.8rem;
    }

    .about-text p {
        font-size: 1.1rem;
    }

    .about-text .btn {
        font-size: 1.1rem;
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    #about {
        padding: 60px 0;
    }

    .about-text h2 {
        font-size: 2.4rem;
    }

    .about-text p {
        font-size: 1rem;
    }

    .about-text .btn {
        font-size: 1rem;
        padding: 10px 20px;
    }
}


/* Education Section */
#education {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #121212); /* Darker gradient background */
    color: #ddd;
    text-align: center;
    animation: fadeInSection 1s ease-out;
}

/* Header */
h3 {
    font-size: 3.5rem;
    margin-bottom: 30px;
    color: #ccc;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

/* Education Container */
.education-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    opacity: 0;
    animation: fadeIn 1.5s forwards;
}

/* Education Item */
.education-item {
    background: #222; /* Dark background for items */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.education-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

/* Education Logo */
.education-logo {
    width: 250px; /* Fixed width */
    height: 250px; /* Fixed height */
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.3s ease;
}

.education-logo:hover {
    transform: scale(1.1);
}

/* Education Details */
.education-details h4 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 600;
    color: #fff; /* White text for headings */
}

.education-details p {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #bbb; /* Lighter text color */
}

.education-details a {
    font-size: 1.2rem;
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.education-details a:hover {
    color: #bbb; /* Subtle hover effect */
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInSection {
    0% {
        transform: translateY(50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}



/* Skills Section */
#skills {
    padding: 60px 20px;
    background: #1e1e1e;
    color: #fff;
    text-align: center;
    font-family: 'Arial', sans-serif;
}

/* Header */
#skills h3 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: #ccc;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Skills Container */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

/* Skill Category */
.skill-category {
    background: #333;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

/* Skill Category Header */
.skill-category h4 {
    font-size: 2rem;
    color: #ccc;
    margin-bottom: 20px;
    padding-bottom: 10px;
    text-transform: uppercase;
    border-bottom: 2px solid #555;
}

/* Software Skills Icons */
.skill-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.icon-item {
    text-align: center;
    width: 90px;
    transition: transform 0.3s ease;
}

.icon-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.icon-item p {
    font-size: 1rem;
    color: #bbb;
}

.icon-item:hover {
    transform: scale(1.2);
}

/* Technical & Soft Skills Lists */
.skills-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.skill-item {
    font-size: 1.2rem;
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    color: #bbb;
}

.skill-item::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #777;
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #skills {
        padding: 40px 10px;
    }

    .skills-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .icon-item img {
        width: 50px;
        height: 50px;
    }

    .icon-item p {
        font-size: 0.9rem;
    }

    .skill-category h4 {
        font-size: 1.5rem;
    }
}



/* Footer */
footer {
    background: #181818;
    color: #bbb;
    padding: 20px 0;
    text-align: center;
}

footer .social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

footer .social-links li a {
    color: #bbb;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}