@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --bg-primary: #1e1e1e;
    --bg-secondary: #2c2c2c;
    --bg-tertiary: #3a3a3a;
    --text-primary: #d1d5db;
    --text-secondary: #9ca3af;
    --text-white: #ffffff;
    --accent: #facc15;
    --accent-hover: #f59e0b;
    --border-color: #4b5563;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--text-white);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.divider {
    border-top: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #4a4a4a; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #555; }

.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.main-content {
    flex-grow: 1;
}

@media (min-width: 1024px) {
    .container {
        padding: 2rem;
        flex-direction: row;
    }
    .sidebar {
        width: 33.333333%;
        position: sticky;
        top: 2rem;
        align-self: flex-start;
    }
    .main-content {
        width: 66.666667%;
    }
}
@media (min-width: 1280px) {
    .sidebar { width: 25%; }
    .main-content { width: 75%; }
}

.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.profile-img {
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    border: 4px solid var(--border-color);
}
.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}
.profile-title {
    background-color: var(--bg-tertiary);
    font-size: 0.875rem;
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
    margin-top: 0.5rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
}
.contact-icon-box {
    background-color: var(--bg-tertiary);
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-right: 1rem;
    color: var(--accent);
    font-size: 1.125rem;
}
.contact-label {
    color: var(--text-secondary);
}
.contact-link {
    word-break: break-all;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}
.social-link {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.navbar {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: center;
    gap: 1rem;
    position: sticky;
    top: 2rem;
    z-index: 10;
    margin-bottom: 2rem;
}
@media (min-width: 640px) {
    .navbar { gap: 2rem; }
}

.nav-link {
    color: var(--text-white);
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    transition: color 0.3s ease;
}
.nav-link.active, .nav-link:hover {
    color: var(--accent);
}

.content-card {
    background-color: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
@media (min-width: 640px) {
    .content-card { padding: 2rem; }
}

.page-section { display: none; animation: fade .3s; }
.page-section.active { display: block; }
@keyframes fade { from{opacity:0; transform:translateY(10px);} to{opacity:1;} }

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    border-bottom: 4px solid var(--accent);
    display: inline-block;
    padding-bottom: 0.5rem;
}
.subsection-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}
section > p {
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
.service-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 0.75rem;
}
.service-item ion-icon {
    color: var(--accent);
    font-size: 2.25rem;
    margin-right: 1rem;
}
.service-item h4 {
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.125rem;
}
.service-item p {
    font-size: 0.875rem;
    margin-top: 0.25rem;
    margin-bottom: 0;
}

.resume-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .resume-grid { grid-template-columns: repeat(2, 1fr); }
}
.resume-heading {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}
.resume-heading ion-icon {
    color: var(--accent);
    font-size: 1.875rem;
    margin-right: 1rem;
}
.resume-heading h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}
.timeline {
    position: relative;
    border-left: 1px solid var(--border-color);
    list-style: none;
}
.timeline-item {
    margin-bottom: 2.5rem;
    margin-left: 1.5rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-icon-box {
    position: absolute;
    left: -0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #4b5563;
    border-radius: 9999px;
    border: 0.5rem solid #1f2937;
    color: var(--accent);
    transform: translateX(-1px);
}
.timeline-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.25rem;
}
.timeline-item time {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}
.timeline-item p {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.portfolio-filter-btn {
    background-color: var(--bg-tertiary);
    color: var(--text-white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.portfolio-filter-btn.active {
    background-color: var(--accent);
    color: black;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
.portfolio-card {
    background-color: var(--bg-tertiary);
    border-radius: 0.75rem;
    overflow: hidden;
}
.portfolio-card img {
    width: 100%;
    transition: transform 0.3s ease;
}
.portfolio-item:hover .portfolio-card img {
    transform: scale(1.05);
}
.portfolio-info {
    padding: 1rem;
}
.portfolio-info h3 {
    color: var(--text-white);
    font-weight: 700;
}
.portfolio-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.map-placeholder {
    background-color: var(--bg-tertiary);
    border-radius: 0.75rem;
    height: 16rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
}
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
    .contact-form .form-row { grid-template-columns: repeat(2, 1fr); }
}
.form-input {
    background-color: var(--bg-tertiary);
    width: 100%;
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    color: var(--text-white);
    transition: box-shadow 0.3s;
}
.form-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent);
}
textarea.form-input {
    margin-bottom: 1.5rem;
    resize: vertical;
}
.form-button {
    background-color: var(--accent);
    color: black;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.form-button:hover {
    background-color: var(--accent-hover);
}
.form-button ion-icon {
    margin-right: 0.5rem;
}

.map-placeholder img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 10px;

}



