/* General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
}

/* Utility classes */
.text-center {
    text-align: center;
}

.text-md-left {
    text-align: left;
}

/* Header */
.header {
    background-color: rgba(128, 48, 48, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

.logo {
    font-size: 1.5rem;
    color: white;
    font-weight: 600;
    transition: 0.3s ease;
}

.logo:hover {
    color: orangered;
    transform: scale(1.1);
}

.logo .span {
    color: orangered;
}

.navbar-nav {
    flex-direction: row;
}

.nav-item .nav-link {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    margin: 0 1rem;
    transition: 0.3s;
}

.nav-item .nav-link:hover,
.nav-item .nav-link.active {
    color: orangered;
}

.contact {
    padding: 0.5rem 1rem;
    background-color: white;
    color: black;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.contact:hover {
    background-color: orangered;
    color: white;
}

/* Navbar Background and Link Colors */
.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse {
    flex-grow: 0;
}

/* Home Section */
.home {
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.home-content {
    flex: 1;
    padding: 3rem;
    max-width: 600px;
}

.home-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: orangered;
    margin-bottom: 1rem;
}

.home-content h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 1rem;
}

.home-content p {
    font-size: 1rem;
    line-height: 1.5;
    color: black;
    margin-bottom: 1rem;
}

.home-content span {
    color: black;
}

.img-box {
    flex: 1;
    text-align: center;
    
   
}

.img-box img {
    width: 100%;
    height: 100%;
    max-width: 400px;
    border-radius: 50%;
}

/* Education Section */
#education {
    padding: 2rem 1rem;
    background: #dfd4d4;
    text-align: center;
    border-radius: 10px;
}

#education h2 {
    font-size: 2rem;
    color: orangered;
    margin-bottom: 2rem;
}

.content-box {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgb(65, 63, 63);
}

.content-box h3 {
    font-size: 1.5rem;
    color: black;
    margin-bottom: 1rem;
}

.content-box h4 {
    font-size: 1rem;
    color: black;
    margin-bottom: 0.5rem;
}

.content-box p {
    font-size: 1rem;
    color: black;
    margin-bottom: 0.5rem;
}

/* Footer Section */
.footer {
    padding: 1rem 2%;
    background-color: rgba(128, 48, 48, 0.8);
    backdrop-filter: blur(10px);
    text-align: center;
    color: white;
}

.footer .social a {
    font-size: 1.5rem;
    color: white;
    margin: 0 1rem;
    transition: 0.3s;
}

.footer .social a:hover {
    color: orangered;
}

.footer .list {
    padding: 1rem 0;
}

.footer .list a {
    color: white;
    transition: 0.3s;
}

.footer .list a:hover {
    color: orangered;
}
/* contact section */

/* Contact Section Styles */
#contact {
    background-color: #a9a4a4; /* Light background color for contrast */
    padding: 40px 0; /* Add padding for spacing */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

#contact h2 {
    color: #333; /* Darker text color for the heading */
    font-size: 2rem; /* Larger font size for visibility */
    margin-bottom: 20px; /* Space below the heading */
}

#contact .form-label {
    color: #555; /* Slightly lighter color for labels */
}

#contact .form-control {
    border-radius: 4px; /* Rounded corners for form controls */
    border: 1px solid #ddd; /* Light border for inputs */
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); /* Inset shadow for depth */
}

#contact .form-control:focus {
    border-color: #007bff; /* Change border color on focus */
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25); /* Focus shadow effect */
}

#contact .btn-primary {
    background-color: #007bff; /* Primary button color */
    border-color: #007bff; /* Border color to match button background */
    border-radius: 4px; /* Rounded corners for the button */
}

#contact .btn-primary:hover {
    background-color: #0056b3; /* Darker button color on hover */
    border-color: #004085; /* Darker border color on hover */
}

