/* Base Styles */
:root {
    --primary-color: #2a9d8f;
    --primary-dark: #1d7870;
    --secondary-color: #e9c46a;
    --dark-color: #264653;
    --light-color: #f8f9fa;
    --danger-color: #e76f51;
    --gray-color: #6c757d;
    --dark-gray: #343a40;
    --terminal-bg: #1e1e1e;
    --terminal-green: #4af626;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: var(--light-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.container-experience {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background-color: transparent;
    color: white;
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.section {
    padding: 80px 0;
	padding-bottom: 0px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-right: 10px;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.header-nav ul {
    display: flex;
    list-style: none;
}

.header-nav ul li {
    margin-left: 30px;
}

.header-nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.header-nav ul li a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    padding: 150px 0 80px;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-dark) 100%);
    color: white;
	margin-bottom: 10px;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

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

.hero-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
}

.terminal-window {
    background-color: var(--terminal-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terminal-header {
    background-color: #333;
    padding: 8px 15px;
    display: flex;
    align-items: center;
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-btn.red {
    background-color: #ff5f56;
}

.terminal-btn.yellow {
    background-color: #ffbd2e;
}

.terminal-btn.green {
    background-color: #27c93f;
}

.terminal-title {
    color: #aaa;
    font-size: 0.8rem;
    text-align: center;
    flex-grow: 1;
    font-family: monospace;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier New', Courier, monospace;
    color: var(--terminal-green);
    line-height: 1.6;
}

.prompt {
    color: #4af626;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 2;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hexagon {
    width: 187.5px;
    height: 216px;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(45deg, var(--primary-color), var(--primary-dark));
    padding: 5px;
}

.hexagon-inner {
    width: 100%;
    height: 100%;
    background-color: white;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hexagon-inner img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

/* Experience Section */
.experience {
    background-color: #f8f9fa;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-date {
    padding: 8px 15px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    position: absolute;
    top: 15px;
    text-align: center;
    width: 160px;
    top: 18px;

}

.timeline-item:nth-child(even) .timeline-date {
    #left: -80px;
    #right: auto;
}

.timeline-content {
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
	margin-bottom: 30px;
}

.timeline-content::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    background-color: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    top: 20px;
    right: -10px;
    z-index: 1;
}

.timeline-item:nth-child(even) .timeline-content::after {
    left: -10px;
    right: auto;
}

.timeline-content h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.timeline-content h4 {
    margin-bottom: 15px;
    color: var(--gray-color);
    font-size: 1rem;
}

.timeline-content ul {
    margin-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.skill-category {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.skill-category li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Certifications Section */
.certs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cert-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.cert-item.in-progress {
    position: relative;
    overflow: hidden;
}

.cert-item.in-progress::after {
    content: 'In Progress';
    position: absolute;
    top: 10px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--dark-color);
    padding: 3px 30px;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: bold;
}

.cert-logo {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cert-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

.cert-item p {
    color: var(--gray-color);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-content {
    display: flex;
    gap: 50px;
    margin-top: 40px;
}

.contact-info {
    flex: 1;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

.contact-form {
    flex: 2;
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 20px 0;
}

.site-footer p {
    margin-bottom: 10px;
}

.site-footer i {
    color: var(--danger-color);
}


/* Bottom Navigation Bar for Mobile */
.bottom-nav {
    display: none; /* Hidden by default */
    background-color: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    left: 0;
    right: 0;
}

.bottom-nav .container {
    display: flex;
    justify-content: space-around; /* Distribute space evenly */
    padding: 10px 0; /* Adjust padding as needed */
}

.bottom-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%; /* Allow ul to take full width for spacing */
    justify-content: space-around;
}

.bottom-nav ul li {
    margin: 0; /* Remove individual margins if using space-around */
}

.bottom-nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    transition: color 0.3s ease;
    display: block; /* Make links block for better touch area */
    padding: 5px; /* Add some padding to the links */
    text-align: center;
}

.bottom-nav ul li a:hover {
    color: var(--primary-color);
}


/* Responsive Design */
@media (max-width: 992px) {
    /* Mobile and Tablet Styles */

    /* Hide the header navigation on mobile/tablet */
    .header-nav {
        display: none;
    }

    /* Show the bottom navigation bar on mobile/tablet */
    .bottom-nav {
        display: block;
    }

    /* Add padding to the bottom of the body to prevent content being hidden by the fixed nav */
    body {
        padding-bottom: 60px; /* Adjust based on your bottom nav height */
    }


    header .container {
        flex-direction: column;
        align-items: center;
    }

    /* Adjust hero padding for fixed header on mobile */
    .hero {
        padding-top: 100px; /* Adjust based on your header height on mobile */
    }

    .hero .container {
        flex-direction: column;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .about-content {
        flex-direction: column;
    }

    .timeline::before {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 25px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-date {
        left: 15px !important;
        right: auto !important;
        width: 120px;
    }

    .timeline-content::after {
        left: -10px !important;
        right: auto !important;
    }

    .contact-content {
        flex-direction: column;
    }

	.timeline-date-div-mobile {
		margin-bottom: 65px;
	}
}

@media (min-width: 993px) {
     /* Desktop Styles */

    /* Show the header navigation on desktop */
    .header-nav {
        display: block; /* Or flex, depending on your desired layout */
    }

    /* Hide the bottom navigation bar on desktop */
    .bottom-nav {
        display: none;
    }

    /* Remove body padding added for the bottom nav on mobile */
    body {
        padding-bottom: 0;
    }

    /* Ensure the hero section content is below the fixed header on desktop */
     .hero {
        padding-top: 150px; /* Adjust this value based on your header's height on desktop */
     }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .btn + .btn {
        margin-top: 15px;
    }

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