:root {
    --bg-color: #ffffff;
    --bg-alt-color: #f5f5f5;
    --text-color: #333333;
    --text-light: #666666;
    --primary-color: #333333;
    --secondary-color: #555555;
    --accent-color: #777777;
    --border-color: #eeeeee;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --bg-color: #1a1a1a;
    --bg-alt-color: #2a2a2a;
    --text-color: #f5f5f5;
    --text-light: #aaaaaa;
    --primary-color: #f5f5f5;
    --secondary-color: #cccccc;
    --accent-color: #999999;
    --border-color: #444444;
    --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

a:hover {
    color: var(--accent-color);
}
        
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 0;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn.primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

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

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

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

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--primary-color);
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 2px;
}

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

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

.nav-links a {
    color: var(--text-color);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

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

.lang-toggle {
    display: flex;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 5px 8px;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
}

.lang-btn.active {
    color: var(--primary-color);
    font-weight: 700;
}

.lang-btn:hover {
    color: var(--primary-color);
}

.theme-toggle {
    margin-left: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/data-diagram.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px) opacity(0.2);
    z-index: 0;
    transition: filter 0.3s ease;
}

[data-theme="dark"] .hero-bg {
    filter: blur(8px) opacity(0.1);
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}

.hero-info {
    text-align: left;
}

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

@media (max-width: 768px) {
    .hero {
        padding-top: 100px;
        height: auto;
        min-height: 100vh;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .hero-info {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
    }
    
    .profile-image {
        width: 200px;
        height: 200px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1rem;
        display: block;
    }
    
    .hero h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

.profile-image {
    width: 280px;
    height: 280px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--bg-color);
}

.profile-image::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    z-index: -1;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-image:hover img {
    transform: scale(1.05);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.1;
}

.hero h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 25px;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.hero h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--primary-color);
}

.tagline {
    font-size: 1.3rem;
    margin-bottom: 35px;
    color: var(--primary-color);
    font-weight: 300;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.aws-certifications {
    text-align: center;
    margin-top: 20px;
}

.aws-certifications h3 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--text-light);
    letter-spacing: 1px;
}

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
}

.cert-badge {
    width: 80px;
    height: auto;
    transition: all 0.3s ease;
    margin: 5px;
    filter: grayscale(20%);
}

.cert-badge:hover {
    transform: translateY(-10px);
    filter: grayscale(0%);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cert-badge img {
    width: 100%;
    height: auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--bg-alt-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

.skills-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.skill-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-alt-color);
}

.skill-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.skill-text {
    flex: 1;
}

.skill-text h3 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.skill-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Technologies Section */
.technologies {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
    max-width: 900px;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100px;
    text-align: center;
    transition: var(--transition);
}

.tech-icon:hover {
    transform: translateY(-10px);
}

.tech-icon i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.tech-icon img {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    filter: brightness(0.2);
}

[data-theme="dark"] .tech-icon img {
    filter: brightness(0.9);
}

.tech-icon span {
    font-size: 0.9rem;
    font-weight: 400;
}

/* Work Section */
.work {
    padding: 100px 0;
    background-color: var(--bg-alt-color);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.work-item {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--bg-alt-color);
}

.work-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.work-info {
    padding: 20px;
}

.work-info h3 {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.work-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

/* Culture Section */
.culture {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.culture-intro {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.culture-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-alt-color);
    transition: var(--transition);
    height: 100%;
}

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

.culture-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
    margin-top: 3px;
}

.culture-item h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.culture-item p {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .culture-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-color: var(--bg-alt-color);
}

.contact-content-centered {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-content-centered p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 500;
    transition: var(--transition);
    color: white !important;
    min-width: 160px;
}

.contact-btn.whatsapp {
    background-color: #25D366;
}

.contact-btn.whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-5px);
}

.contact-btn.email {
    background-color: #555555;
}

[data-theme="dark"] .contact-btn.email {
    background-color: #888888;
}

.contact-btn.email:hover {
    background-color: #333333;
    transform: translateY(-5px);
}

.contact-btn.linkedin {
    background-color: #0077B5;
}

.contact-btn.linkedin:hover {
    background-color: #005582;
    transform: translateY(-5px);
}

.contact-btn i {
    font-size: 1.3rem;
    color: white !important;
}

/* Footer */
footer {
    background-color: var(--bg-color);
    color: var(--text-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 300;
    border-top: 1px solid var(--border-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        margin-top: 30px;
    }



@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 20px 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-info {
        text-align: center;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 20px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1rem;
    }
    
    .hero h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tagline {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}
/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-color);
    margin: auto;
    padding: 20px;
    max-width: 80%;
    max-height: 80%;
    border-radius: 4px;
    position: relative;
    text-align: center;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: var(--text-color);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

#modalImage {
    max-width: 100%;
    max-height: 70vh;
}

#modalDescription {
    margin-top: 15px;
    font-size: 1.1rem;
    color: var(--text-color);
}

.modal-image {
    cursor: pointer;
}
/* Experience Section */
.experience {
    padding: 100px 0;
    background-color: var(--bg-color);
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--border-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::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    background-color: var(--primary-color);
    border: 4px solid var(--bg-color);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
}

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

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

.timeline-item:nth-child(odd)::after {
    right: -8px;
}

.timeline-item:nth-child(even)::after {
    left: -8px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--bg-alt-color);
    position: relative;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.timeline-date {
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.timeline-company {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.timeline-description {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 23px;
    }
}
.reference-link {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.reference-link a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.reference-link a:hover {
    color: var(--accent-color);
}
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-card {
    background-color: var(--bg-alt-color);
    border: 1px solid var(--border-color);
    padding: 25px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.experience-date {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.experience-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.experience-company {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 300;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}
.experience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-card {
    background-color: var(--bg-alt-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 25px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.experience-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .experience-logo {
    background-color: #f5f5f5;
}

.experience-logo img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.experience-logo i {
    font-size: 30px;
    color: var(--primary-color);
}

[data-theme="dark"] .experience-logo i {
    color: var(--primary-color);
}

.experience-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.experience-company {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 15px;
    font-style: italic;
}

.experience-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
    font-weight: 300;
    flex-grow: 1;
}

@media (max-width: 768px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}
.experience-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.experience-logo i {
    font-size: 30px;
    color: #333333;
}

[data-theme="dark"] .experience-logo {
    background-color: #ffffff;
}

[data-theme="dark"] .experience-logo i {
    color: #333333;
}
/* Apple-style fade animations */
.fade-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for multiple elements */
.stagger-fade .fade-element:nth-child(1) { transition-delay: 0.1s; }
.stagger-fade .fade-element:nth-child(2) { transition-delay: 0.2s; }
.stagger-fade .fade-element:nth-child(3) { transition-delay: 0.3s; }
.stagger-fade .fade-element:nth-child(4) { transition-delay: 0.4s; }
.stagger-fade .fade-element:nth-child(5) { transition-delay: 0.5s; }
.stagger-fade .fade-element:nth-child(6) { transition-delay: 0.6s; }

/* Section transitions */
section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero section special animation */
.hero h1, .hero h2, .hero .tagline, .hero .cta-buttons, .hero .profile-image, .hero .aws-certifications {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.visible h1 { 
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero.visible h2 { 
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.hero.visible .tagline { 
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.6s;
}

.hero.visible .cta-buttons { 
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.8s;
}

.hero.visible .profile-image { 
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.hero.visible .aws-certifications { 
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1s;
}
/* Work item styling without filters */
.work-item img {
    transition: transform 0.3s ease;
}

.work-item {
    position: relative;
    overflow: hidden;
}
/* Theme image transitions without filters */
.theme-image {
    transition: transform 0.3s ease;
}
/* Direction-aware fade animations */
.fade-element {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-element.fade-down-direction {
    transform: translateY(30px);
}

.fade-element.fade-up-direction {
    transform: translateY(-30px);
}

.fade-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Reset any existing transform to avoid conflicts */
.fade-element.visible.fade-down-direction,
.fade-element.visible.fade-up-direction {
    transform: translateY(0);
}
.logo {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    letter-spacing: 2px;
    display: flex;
    align-items: baseline;
}

.domain {
    font-size: 0.6rem;
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: normal;
    margin-left: 1px;
}
/* Color inversion for work images in dark mode */
[data-theme="dark"] .work-item img {
    filter: invert(1) hue-rotate(180deg);
    transition: filter 0.3s ease;
}
/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.testimonials-intro {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--bg-alt-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 5rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: var(--border-color);
    opacity: 0.5;
    z-index: 0;
}

.testimonial-content {
    position: relative;
    z-index: 1;
    flex-grow: 1;
    margin-bottom: 20px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 2px solid var(--primary-color);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-info {
    flex: 1;
}

.testimonial-name {
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.testimonial-position {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 5px;
}

.testimonial-date {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* Standardize work images size */
.work-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center;
}
/* Move theme toggle to mobile menu for iPhone-sized screens */
@media screen and (max-width: 425px) and (min-height: 800px) and (max-height: 900px) {
    .theme-toggle {
        display: none; /* Hide the default theme toggle */
    }
    
    .mobile-theme-toggle {
        display: flex;
        align-items: center;
        padding: 10px 15px;
        margin-top: 15px;
        border-top: 1px solid var(--border-color);
        color: var(--text-color);
        font-size: 0.9rem;
    }
    
    .mobile-theme-toggle i {
        margin-right: 10px;
        font-size: 1.2rem;
    }
    
    .nav-links.active .mobile-theme-toggle {
        display: flex;
    }
}
/* Fix for mobile theme toggle visibility */
.mobile-theme-toggle {
    display: none !important; /* Always hidden by default */
}

/* Only show in mobile menu when needed */
@media screen and (max-width: 425px) {
    .theme-toggle {
        display: none; /* Hide desktop toggle on small screens */
    }
    
    .nav-links.active .mobile-theme-toggle {
        display: flex !important; /* Show in mobile menu when active */
    }
}
/* Notification icon styles */
.notification-icon {
    margin-left: 20px;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-color);
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 8px;
    height: 8px;
    background-color: #ff4757;
    border-radius: 50%;
}

.notification-icon:hover {
    color: var(--primary-color);
}

/* Notification popup styles */
.notification-popup {
    position: fixed;
    top: 70px;
    right: 20px;
    width: 300px;
    background-color: var(--bg-alt-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.notification-popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-popup-content {
    margin-bottom: 15px;
    line-height: 1.5;
}

.notification-popup-actions {
    display: flex;
    justify-content: space-between;
}

.notification-popup-actions .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
}

.notification-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    color: var(--text-light);
}

.notification-popup-close:hover {
    color: var(--text-color);
}

/* Hide notification icon on small screens */
@media screen and (max-width: 424px) {
    .notification-icon {
        display: none;
    }
}
/* Fix for hero section on smaller heights */
@media screen and (max-height: 775px) {
    .hero {
        min-height: auto;
        padding: 100px 0 50px;
    }
    
    .hero-grid {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-info {
        text-align: center;
    }
    
    .hero-image {
        margin: 0 auto;
    }
    
    .aws-certifications {
        margin-top: 20px;
    }
    
    .cert-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .cert-badge {
        margin: 5px;
    }
}
/* Fix for hero section on smaller heights */
@media screen and (max-height: 750px) {
    .hero {
        height: auto;
        min-height: auto;
        padding: 80px 0 30px;
    }
    
    .hero-content {
        flex-direction: column;
    }
    
    .hero-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-info {
        text-align: center;
    }
    
    .hero-info h1 {
        font-size: 2.2rem;
        margin-bottom: 5px;
    }
    
    .hero-info h2 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .profile-image {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .aws-certifications {
        margin-top: 15px;
    }
    
    .aws-certifications h3 {
        margin-bottom: 10px;
    }
    
    .cert-badges {
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .cert-badge {
        width: 40px;
        height: 40px;
    }
}