/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: white;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: white;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: white;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #000000, #333333);
    border-radius: 2px;
}

.highlight {
    background: linear-gradient(135deg, #555555, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    box-shadow: 0 4px 15px rgb(115, 115, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgb(41, 41, 41, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #D4A574;
    border: 2px solid #E8C4A0;
}

.btn-secondary:hover {
    background: #E8C4A0;
    color: white;
    transform: translateY(-2px);
}

/* Title Bar */
.title-bar {
    background: linear-gradient(135deg, #000000, #333333);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    text-align: center;
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgb(102, 102, 102, 0.2);
    transition: transform 0.3s ease-in-out;
}

.title-bar h1 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    color: white;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.hero-content h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 400;
    font-size: 1.3rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(61, 82, 160, 0.3);
    border: 4px solid #7091E6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #333333);
}

.about-content {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    justify-content: center;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #000000, #333333);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgb(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

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

.stat h3 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.stat p {
    color: white;
    font-weight: 500;
}

/* Skills Section */
.skills {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #333333);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category {
    background: linear-gradient(135deg, #000000, #333333);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgb(92, 92, 92, 0.1);
    transition: transform 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: white;
}

.skill-items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.skill-item {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Leadership Section */
.leadership {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #333333);
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leadership-card {
    background: linear-gradient(135deg, #000000, #333333);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgb(92, 92, 92, 0.1);
    transition: transform 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #000000, #333333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i {
    font-size: 2rem;
    color: white;
}

.leadership-card h3 {
    margin-bottom: 1rem;
    color: white;
}

.leadership-card p {
    color: white;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #000000, #333333);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: white;
    width: 30px;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    color: white;
}

.contact-item p {
    margin: 0;
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
/* Footer */
.footer {
    background: linear-gradient(135deg, #000000, #333333);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #5c5c5c;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 20px 50px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .profile-photo {
        width: 250px;
        height: 250px;
    }

    .stats {
        flex-direction: column;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .leadership-card {
        padding: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }
}

/* PROJECTS SECTION */
.projects { /* Renamed from projects-section to 'projects' for consistency with other sections like 'about', 'skills', 'contact' */
    padding: 100px 0; /* Matches padding of other sections */
    background: linear-gradient(135deg, #000000, #333333); /* Matches background of other sections */
}

/* The h2 within the projects section will automatically pick up .section-title styles as it's directly applied in HTML */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjusted minmax to 300px to match skill-category/leadership-card in grid */
    gap: 2rem;
    justify-content: center;
    align-items: stretch; /* Ensures cards have uniform height */
}

.project-card {
    background: linear-gradient(135deg, #000000, #333333); /* Matches card backgrounds */
    border-radius: 15px; /* Matches border-radius of other cards */
    box-shadow: 0 5px 20px rgb(92, 92, 92, 0.1); /* Matches shadow of leadership-card */
    overflow: hidden;
    transition: transform 0.3s ease; /* Matches hover transition */
    display: flex;
    flex-direction: column;
    text-align: left;
    color: white; /* Ensures all text within the card is white */
}

.project-card:hover {
    transform: translateY(-5px); /* Matches hover effect of other cards */
}

.project-card img {
    width: 100%;
    height: 220px; /* Uniform height for images */
    object-fit: cover; /* Ensures images cover the area */
    border-top-left-radius: 15px; /* Matches card border-radius */
    border-top-right-radius: 15px; /* Matches card border-radius */
    display: block;
}

.project-card h3 {
    margin: 1rem 1rem 0.5rem 1rem;
    color: white; /* Ensures heading is white */
    font-size: 1.5em; /* Maintain size */
}

.project-card p {
    margin: 0 1rem 1rem 1rem;
    flex-grow: 1;
    color: white; /* Ensures description is white */
    font-size: 0.95rem;
    line-height: 1.6; /* Matches general line-height */
}

.project-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem 1rem 1rem;
    margin-top: auto;
}

/* Responsive Adjustments for Projects Section */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .project-card {
        margin: 0 auto;
        max-width: 400px; /* Constrain card width on small screens if desired */
    }
}