/* Basic Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Arial', sans-serif; /* Use a professional font */
    line-height: 1.6;
    color: #333; /* Dark text for readability */
    background-color: #f4f4f9; /* Light background */
}

.container {
    width: 80%;
    max-width: 1100px;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
}

/* Header & Navigation Styling */
header {
    background: #2c3e50; /* Dark, professional color */
    color: #fff;
    padding-top: 5px;
    min-height: 70px;
    border-bottom: 3px solid #e74c3c; /* Accent color */
}

.blinking-header {
    /* === Blinking Effect Styles === */
    /* Name of the animation, duration, timing function, iteration count */
    animation: blinker 2s linear infinite; 
    /* Other properties to ensure smooth text rendering on some devices */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* === Blinking Animation Definition === */
/* Defines the visibility changes over the animation cycle */
@keyframes blinker {
    0% {
        opacity: 1; /* Fully visible at 0% of the cycle */
    }
    50% {
        opacity: 0.1; /* Nearly invisible at 50% of the cycle */
    }
    100% {
        opacity: 1; /* Fully visible at 100% of the cycle */
    }
}

header h1 {
    font-family: "Niconne", cursive;
    font-weight: 500;
    font-size: 2.5rem;
    font-style: normal;
    float: left;
    margin: 0;
}

header nav {
    float: right;
}

header ul {
    list-style: none;
}

header ul li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header a {
    font-family: ;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 18px;
    transition: color 0.3s;
}

header a:hover {
    color: #e74c3c; /* Hover effect */
}

/* Section Styling */
section {
    padding: 40px 0;
    border-bottom: 1px solid #ddd;
}

section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #2c3e50;
    font-size: 2em;
}

/* About Section Specifics */
.profile-photo {
    display: block;
    width: 300px;
    height: 300px;
    border-radius: 70%; /* Makes the photo round */
    object-fit: cover;
    margin: 0 auto 20px;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 15px;
}

.blog {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: justify ;
}

.blog:hover {
    transform: translateY(-5px);
}

.blog h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.blog a {
    display: inline-block;
    margin-top: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

/* Projects Section Specifics */
.project-card {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h3 {
    color: #e74c3c;
    margin-bottom: 10px;
}

.project-card a {
    display: inline-block;
    margin-top: 10px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
}

/* Contact Section Specifics (Form) */
#contact-form input[type="text"],
#contact-form input[type="number"],
#contact-form input[type="email"],
#contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #e74c3c;
    color: #fff;
    border: 0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#contact-form button:hover {
    background: #c0392b;
}

.social-links {
    text-align: center;
    margin-top: 20px;
}

.social-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

/* Footer */
footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px 0;
}
