@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    color: #f0f0f0;
    background-color: #101010; 
    margin: 0;
    padding: 0;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}


header {
    background: url('https://i.ibb.co/2jLZqGx/header-bg.jpg') no-repeat center center;
    background-size: cover;
    color: #6e0700;
    padding: 0; 
    position: relative; 
    height: 40vh; 
    min-height: 280px; 
    text-align: center; 
}

.heading {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.heading h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(2, 121, 28, 0.5);
}

.heading nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.heading nav a {
    color: #000000;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease, border-left 0.3s ease;
}

.heading nav a:hover {
    color: #f39c12;
    border-left: 4px solid #f39c12;
    padding-left: 10px;
}

section {
    padding: 60px 0;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    animation: fadeIn 2s forwards;
}

h3 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    animation: fadeIn 2s forwards;
}

/* About Me Section */
#about img {
    width: 100%;
    max-width: 200px;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: fadeIn 2s forwards;
}



#about p {
    font-family: 'Roboto', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    font-family: 'Roboto', sans-serif;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
}

.card-body {
    padding: 1.5rem;
}

.card-text {
    font-size: 1rem;
    color: #555;
    font-family: 'Roboto', sans-serif;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #333;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: #333;
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(90deg, #4e54c8, #8f94fb);
    background-clip: text; 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}


.card-img-top {
    width: 100%;
    height: 200px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f0f0f0; 
    border-radius: 8px 8px 0 0; 
}


/* styles.css */

.card-img-top {
    width: 100%;
    height: 200px; /* Adjust height as needed */
    background-color: #e0e0e0; /* Light gray background for placeholder */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-align: center;
    border-radius: 8px 8px 0 0; /* Optional: Adds rounded corners */
    cursor: default; /* Ensures the cursor is not a loading indicator */
}

/* Project Section */
#projects .card-body {
    padding: 1.5rem;
    text-align: center;
    color: #101010;
}


/* Contact Section */
form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    color: #101010;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

form .form-label {
    font-weight: bold;
}

form .btn-primary {
    background-color: #333;
    border: none;
    transition: background-color 0.3s;
}

form .btn-primary:hover {
    background-color: #555;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}
