/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}
.logo{
    margin-left: 50px;
    width: 40px;
    border-radius: 50%;
}
/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

/* Project Card */
.project-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    padding: 15px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Project Image */
.project-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border-bottom: 2px solid #f0f0f0;
    transition: transform 0.3s, filter 0.3s;
}

.project-card:hover .project-image {
    transform: scale(1.05);
    filter: brightness(0.9);
}

/* Project Card Content */
.project-card h3 {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333333;
}

.project-card p {
    font-size: 1rem;
    color: #666666;
    margin: 10px 0;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: #007BFF;
    font-weight: bold;
    transition: color 0.3s;
}

.project-card a:hover {
    color: #0056b3;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    position: relative;
}

header .logo {
    font-size: 1.5em;
    font-weight: bold;
}

header .navigation ul {
    display: flex;
    list-style: none;
}

header .navigation ul li {
    margin: 0 15px;
}

header .navigation ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1em;
}

header .hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

header .hamburger-menu span {
    background-color: #fff;
    height: 3px;
    width: 25px;
    margin: 3px 0;
}

main {
    padding: 20px;
}

footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

footer .social-links a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
}
/* Hero Section */
.hero {
  text-align: center;
  padding: 60px 20px;
  padding-bottom: 0px;
  background-color: #fff;
}
    
.hero img {
  margin-top: 30px;
  width: 250px;
  border-radius: 50%;
}
.hero p{
    margin: 30px 140px;
    line-height: 35px;
}
/* highlights Section */
.highlights {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}
/* About Section */
.about {
  text-align: center;
  padding: 60px 20px;
  background-color: #fff;
}
header img {
    width: 60px; /* Controls the size of the logo */
    height: auto;
}
.about img {
  width: 150px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.about ul {
    list-style-type: none;
    margin: 10px 0 10px 20px;
}
/* Resume Page */
.resume {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    max-width: 800px;
}

.resume h1 {
    font-size: 2em;
    margin-bottom: 20px;
}

.resume h2 {
    font-size: 1.5em;
    margin: 15px 0;
    color: #555;
}

.resume p {
    margin: 10px 0;
}

.resume ul {
    list-style-type: disc;
    margin: 10px 0 10px 20px;
}

.resume ul li {
    margin: 5px 0;
}

.resume .download-button {
    display: inline-block;
    background-color: #007BFF;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.resume .download-button:hover {
    background-color: #0056b3;
}
/* Skills Section */
.skills-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.skills-section h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #333333;
}

/* Skills Grid Layout */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Skill Card */
.skill-card {
    text-align: center;
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #f9f9f9;
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.skill-card img {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

.skill-card h3 {
    font-size: 1.2rem;
    color: #333333;
    margin-bottom: 10px;
}

.skill-card p {
    font-size: 1rem;
    color: #666666;
}

/* Progress Bar Section */
.skill-progress {
    margin-top: 20px;
}

.skill-progress h3 {
    font-size: 1.1rem;
    color: #333333;
    margin-bottom: 10px;
}

.skill-bar-container {
    background-color: #e0e0e0;
    border-radius: 25px;
    overflow: hidden;
    height: 20px;
    position: relative;
}

.skill-bar {
    background-color: #007BFF;
    height: 100%;
    width: 0;
    border-radius: 25px;
    transition: width 1s ease-in-out;
}

.skill-progress:hover .skill-bar {
    width: var(--progress);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .navigation ul {
        display: none;
        flex-direction: column;
    }

    header .hamburger-menu {
        display: flex;
    }

    header .navigation ul.active {
        display: flex;
        background-color: #333;
        position: absolute;
        top: 50px;
        right: 0;
        width: 100%;
        flex-direction: column;
    }

    header .navigation ul li {
        margin: 5px 30px;
        text-align: left;
    }
    .hero p{
        margin: 10px 40px;
        line-height: 30px;
    }
    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .skill-card img {
        width: 40px;
        height: 40px;
    }

    .skills-section h1 {
        font-size: 1.8rem;
    }
}

/* contact */
.direct-links ul {
    list-style-type: none;
    padding: 0;
}

.direct-links ul li {
    margin: 10px 0;
}

.direct-links a {
    text-decoration: none;
    color: #000;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.direct-links a i {
    margin-right: 10px;
    font-size: 20px;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

form {
    width: 80%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
}
/* contact me */
/* Global Styling */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Form Container Section with Background Image */
section.contact-form-section {
    background-image: url('assets/images/background 2.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Keeps the image fixed when scrolling */
    padding: 100px 0; /* Add top and bottom padding to create space around the form */
}

form {
    width: 80%;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent white background */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    text-align: center;
    color: #333;
    font-size: 32px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    font-size: 16px;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fafafa;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #66bb6a;
    outline: none;
}

textarea {
    resize: vertical;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    width: 100%;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #45a049;
}

/* Achievement */
.Achievement {
    width: 50%;
    max-width: 600px;
    margin: 0,auto;
}
.Achievement h2 {
    

}
/* Container for the entire section */
.container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Styling for the services section */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); /* Responsive layout */
    gap: 20px;
}

/* Individual service box styling */
.service-box {
    background-color: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* Image container styling */
.image-container {
    width: 100%;
    height: 200px; /* Fixed height for the image */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

/* Image styling */
.image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Title styling */
.service-box h3 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
}

/* Paragraph text styling */
.service-box p {
    font-size: 1rem;
    color: #555;
    flex-grow: 1; /* Allows the description to grow, ensuring 'Learn More' is always at the bottom */
}

/* Styling for 'Learn More' link */
.service-box a {
    display: block;
    background-color: #2196f3;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.service-box a:hover {
    background-color: #1976d2;
}

/* Ensure uniform height for all service boxes */
.service-box {
    height: 350px; /* Fixed height to make all service boxes the same size */
    display: flex;
    flex-direction: column;
}

