/*Base Styles for the Website*/
:root {
    --primary-color: #648dba;
    --secondary-color: #6c757d;
    --background-color: #f6f6f6;
    --text-color: #333333;
    --header-bg: #ffffff;
    --card-bg: #f8f9fa;
    --border-color: #dee2e6;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition-speed: 0.3s;
}

/* Dark mode Styles */
[data-theme="dark"] {
    --primary-color: #1179cf;
    --secondary-color: #6c757d;
    --background-color: #1a1a1a;
    --text-color: #f8f9fa;
    --header-bg: #2d2d2d;
    --card-bg: #2d2d2d;
    --border-color: #444444;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: monospace;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

/* Containers for each section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 1000;
    transition: background-color var(--transition-speed);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    font-size: 1.5rem;
    font-weight: bold;
    padding-left: 1rem;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding-right: 1rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--primary-color);
}

#theme-toggle {
    margin-left: 2rem;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: color var(--transition-speed);
}

#theme-toggle:hover {
    color: var(--primary-color);
}

/* Section CSS */
.section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
}

#home {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    text-align: center;
}

/* Leading Text */
.lead {
    font-size: 1.5rem;
    margin: 1rem 0;
}

/* ContactButton */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem 1rem 2rem;
    background-color: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1rem;
    transition: transform var(--transition-speed);
}

.cta-button:hover {
    transform: translateY(-2px);
}

.profile-img {
    width: 100%;
    max-width: 300px;
    border-radius: 50%;
    border: 8px solid white;
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* About section */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 0;
}

.about-text {
    font-size: 1.3rem;
    line-height: 1.8;
}

.quick-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.quick-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem 1rem;
    background-color: var(--card-bg);
    border-radius: 25px;
    transition: transform var(--transition-speed);
}

.quick-info-item:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.quick-info-item i {
    font-size: 1.4rem;
}

.skills {
    margin-top: 3rem;
}

.skills-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    margin-top: 1rem;
}

.skills-list li {
    background-color: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1.1rem;
    box-shadow: 0 2px 5px var(--shadow-color);
    transition: transform var(--transition-speed);
}

.skills-list li:hover {
    transform: translateX(10px);
}

.skills h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
} 
/* Experience Section */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 2rem;
}

.timeline-item {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-speed);
}

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

.timeline-item h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.timeline-item p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

/* Projects section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform var(--transition-speed);
    height: 100%;
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.project-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.project-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

/* Contact section */

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
}

.contact-content h2 {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    
}

input,
textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--card-bg);
    color: var(--text-color);
    
}

textarea {
    height: 150px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color var(--transition-speed);
    margin-top: 2rem;
}

.submit-btn:hover {
    background-color: #0d3763;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 0;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.6rem;
    transition: color var(--transition-speed);
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--card-bg);
    padding: 1.5rem 0;
    text-align: center;
}

/* Responsive Design */
/* Mobile */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        margin-top: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-img {
        margin: 2rem auto;
    }

    .section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .lead {
        font-size: 1.2rem;
    }

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

