/* style.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', Garamond, serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #4b2c60 0%, #2a1a36 100%);
    color: #fff;
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container h1 a {
    color: #fff !important;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    margin-right: 15px;
}

/* Ensure branding doesn't turn purple after clicking */
.logo-container h1 a:visited {
    color: #fff !important;
}

.logo-container img {
    width: 50px;
    height: 50px;
}

/* Navigation */
nav ol {
    display: flex;
    list-style: none;
}

nav li {
    margin-left: 1.5rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s;
}

nav a:hover {
    color: #a656db;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #a656db;
    transition: width 0.3s;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(0, 0, 0, 0.7)), #4b2c60;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Projects Page Link Styling */
.projects-links a {
    color: #a656db;
    text-decoration: none;
    font-weight: 700;
    display: block;
    margin-bottom: 1rem;
    transition: color 0.3s;
}

/* Prevent project links from changing color after being visited */
.projects-links a:visited {
    color: #a656db !important;
}

.projects-links a:hover {
    text-decoration: underline;
    color: #fff;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #a656db;
}

/* Certifications Section (Black Background) */
.certifications {
    background-color: #000000;
    color: #fff;
    padding: 4rem 2rem;
}

.certifications-container {
    max-width: 1200px;
    margin: 0 auto;
}

.certifications .section-title {
    color: #fff;
}

.certifications-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.certification-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s;
}

.certification-item:hover {
    transform: translateY(-5px);
}

.certification-item h3 {
    margin-bottom: 0.5rem;
    color: #a656db;
}

/* Contact Form Styling */
.contact-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.contact-container {
    background: #fff;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.submit-btn {
    background: #4b2c60;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #a656db;
}

/* Footer */
footer {
    background-color: #1a2530;
    color: #fff;
    padding: 2rem;
    text-align: center;
}