/* Importing the "EB Garamond" font */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600;700&display=swap');
#about p, 
#skills p, 
#projects p, 
#contact p {
    font-size: 1.1rem; 
    line-height: 1.8; 
    color: #444; 
}

/* General Styles */
body {
    font-family: 'EB Garamond', serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: #0056b3;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #333;
}

.navbar-nav .nav-link:hover {
    color: #0056b3;
}

/* Video Background Section */
.video-background {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.video-background video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: scale(0.9);
    filter: brightness(1.1) contrast(1.1);
}

.video-background .container {
    position: relative;
    z-index: 1;
}


/* Header */
header {
    text-align: center;
    color: white;
}

header .badge {
    font-size: 1rem;
    padding: 0.5em 1em;
    border-radius: 5px;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 30px;
    line-height: 1.4;
}

header a {
    font-weight: 600;
    text-transform: uppercase;
}

/* Profile Picture */
.profile-img {
    width: 20%;
    max-width: 150px; 
    height: auto;
    border-radius: 50%; 
    object-fit: cover;
    display: block; 
    margin: 10 auto; 
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* About Section */
#about {
    padding: 60px 20px;
    text-align: center;
}

#about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

#about p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
}

/* Skills Section */
#skills {
    padding: 60px 20px;
    background-color: #fff;
}

#skills h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

#skills .text-gradient {
    background: linear-gradient(to right, #0056b3, #004494);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#skills h5 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 15px;
}

/* Projects Section */
#projects {
    padding: 60px 20px;
    background-color: #f5f5f5;
}

#projects h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

.card {
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.card-text {
    font-size: 1.1rem; 
    line-height: 1.8;
}

/* Contact Section */
#contact {
    padding: 60px 20px;
    background-color: #fff;
    text-align: center;
}

#contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
}

#contact .form-label {
    font-weight: 600;
    font-size: 1rem;
}

#contact .btn-primary {
    background-color: #0056b3;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    border-radius: 5px;
}

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