/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #7c3aed;
    --dark-color: #0f172a;
    --light-color: #f8fafc;
    --gray-color: #64748b;
    --light-gray: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --border-radius: 8px;
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    gap: 10px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--box-shadow);
}

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

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--gray-color);
    font-size: 1.1rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    top: -250px;
    right: -250px;
    z-index: 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title span {
    color: var(--primary-color);
}

.hero-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.role-badge {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 35px;
}

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

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

.image-container {
    position: relative;
    width: 350px;
    height: 350px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    box-shadow: var(--box-shadow);
    border: 5px solid white;
}

/* Optional: Hover effect */
.profile-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.2));
    z-index: 1;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: -20px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 80px;
    height: 80px;
    bottom: 30px;
    left: -30px;
    animation: float 8s ease-in-out infinite 1s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: -20px;
    right: 60px;
    animation: float 7s ease-in-out infinite 0.5s;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
}

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

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.about-text p {
    margin-bottom: 20px;
}

.about-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

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

.highlight-item h4 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.highlight-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.about-image {
    flex: 1;
}

.info-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 20px;
}

.card-header h4 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.card-body {
    padding: 25px;
}

.focus-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.focus-item:last-child {
    margin-bottom: 0;
}

.focus-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.focus-item h5 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.focus-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

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

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

.timeline::before {
    content: '';
    position: absolute;
    width: 3px;
    height: 100%;
    background-color: var(--primary-color);
    left: 0;
    top: 0;
}

.timeline-item {
    position: relative;
    padding-left: 40px;
    margin-bottom: 60px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-date {
    position: absolute;
    left: -80px;
    top: 0;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

.timeline-content {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.company-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-color);
}

.company-logo.pelindo {
    background-image: url('../assets/images/pelindo-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white; /* fallback jika gambar tidak ada */
}

.company-logo.lintasarta {
    background-image: url('../assets/images/lintasarta-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
}

.company-logo.buana {
    background-image: url('../assets/images/buana-lintas-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
}

.company-name {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.company-position {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 1.1rem;
}

.responsibilities {
    padding-left: 20px;
}

.responsibilities li {
    position: relative;
    margin-bottom: 10px;
    color: var(--gray-color);
}

.responsibilities li::before {
    content: '▸';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    font-weight: bold;
}

.responsibility-category {
    margin-bottom: 25px;
}

.responsibility-category:last-child {
    margin-bottom: 0;
}

.responsibility-category h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--light-gray);
}

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

.skill-category {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
}

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

.skill-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.skill-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.skill-list {
    text-align: left;
}

.skill-list li {
    padding: 8px 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray-color);
    position: relative;
    padding-left: 20px;
}

.skill-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.skill-list li:last-child {
    border-bottom: none;
}

/* Education Section */
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.education-item {
    display: flex;
    gap: 25px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.education-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f1f5f9;
    flex-shrink: 0;
}

.education-logo.unpam {
    background-image: url('../assets/images/unpam-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    border: 2px solid var(--light-gray);
}

.education-logo.smk {
    background-image: url('../assets/images/smk-bhakti-insani-logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: white;
    border: 2px solid var(--light-gray);
}

.education-content {
    flex: 1;
}

.education-institution {
    font-size: 1.4rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.education-degree {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.education-period {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.education-description {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.education-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
}


/* ============================================
   CERTIFICATIONS SECTION - LOGO BRAND VERSION
   ============================================ */

.certifications-section {
    background-color: #f8fafc;
    padding: 100px 0;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.certification-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.certification-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* Certification Logo Container */
.certification-logo {
    height: 120px;
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

/* Specific Brand Logos */
.certification-logo.oracle-multicloud-logo {
    background-image: url('../assets/images/oracle-logo.png');
    background-color: #ffffff; /* Cisco Blue */
    background-size: 40%;
}

.certification-logo.oracle-logo {
    background-image: url('../assets/images/oracle-logo.png');
    background-color: #ffffff; /* AWS Orange */
    background-size: 40%;
}

.certification-logo.cisco-logo {
    background-image: url('../assets/images/cisco-logo.png');
    background-color: #ffffff; /* CompTIA Blue */
    background-size: 45%;
}



/* Fallback jika tidak ada logo file */
.certification-logo .brand-icon {
    font-size: 3rem;
    color: white;
}

.certification-logo.ccna-logo .brand-icon {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    color: white;
}

/* Certification Content */
.certification-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.certification-title {
    font-size: 1.3rem;
    color: #1f2937;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.4;
}

.certification-issuer {
    color: #2563eb;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 1rem;
}

.certification-date {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.certification-date i {
    color: #2563eb;
    font-size: 0.9rem;
}

.certification-description {
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

/* Certificate Link */
.certification-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
    border: none;
    cursor: pointer;
}

.certification-link:hover {
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.certification-link i {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .certifications-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .certifications-section {
        padding: 80px 0;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
        margin-top: 40px;
    }
    
    .certification-card {
        max-width: 100%;
    }
    
    .certification-logo {
        height: 100px;
    }
    
    .certification-logo.ccna-logo {
        background-size: 45%;
    }
    
    .certification-logo.aws-logo {
        background-size: 40%;
    }
    
    .certification-logo.comptia-logo {
        background-size: 50%;
    }
    
    .certification-logo.vmware-logo {
        background-size: 45%;
    }
}

@media (max-width: 576px) {
    .certifications-section {
        padding: 60px 0;
    }
    
    .certification-content {
        padding: 20px;
    }
    
    .certification-title {
        font-size: 1.2rem;
    }
    
    .certification-link {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}
/* Contact Section */
.contact-content {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 20px;
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.contact-item p {
    margin-bottom: 0;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #f1f5f9;
    color: var(--dark-color);
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 0 10px;
    border: none;
    background-color: transparent;
    border-bottom: 1px solid var(--light-gray);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: var(--dark-color);
    transition: var(--transition);
}

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

.form-group label {
    position: absolute;
    top: 15px;
    left: 0;
    color: var(--gray-color);
    pointer-events: none;
    transition: var(--transition);
}

.form-group .underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: transparent;
}

.form-group input:focus ~ label,
.form-group textarea:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:valid ~ label {
    top: -10px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-group input:focus ~ .underline,
.form-group textarea:focus ~ .underline {
    width: 100%;
}

.submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 15px;
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: var(--border-radius);
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    display: block;
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    display: block;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 70px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo .logo {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-logo p {
    color: #cbd5e1;
    max-width: 300px;
}

.footer-links h4,
.footer-newsletter h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter p {
    color: #cbd5e1;
    margin-bottom: 20px;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
    color: #94a3b8;
}

.footer-bottom i {
    color: #ef4444;
    margin: 0 5px;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-roles {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        padding-left: 70px;
    }
    
    .timeline-date {
        left: 0;
        top: -10px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .education-grid {
        grid-template-columns: 1fr;
    }
    
    .education-item {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .skills-grid,
    .certifications-grid {
        grid-template-columns: 1fr;
    }
}

/* Typing Animation for Hero Roles */
.typing-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.role-badge.active {
    position: relative;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    animation: pulse 2s infinite;
    min-height: 60px;
    display: flex;
    align-items: center;
    min-width: 300px;
}

.role-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.indicator:hover {
    transform: scale(1.2);
}

/* Animated Experience List */
.animated-list {
    position: relative;
}

.animate-list-item {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInRight 0.5s ease forwards;
    padding: 15px;
    margin-bottom: 15px;
    background-color: #f8fafc;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: var(--transition);
}

.animate-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.animate-list-item i {
    color: #10b981;
    font-size: 1.2rem;
    margin-right: 10px;
}

.animate-list-item span {
    font-weight: 500;
    color: var(--dark-color);
    flex: 1;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding-left: 30px;
}

.tech-tag {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.tech-tag:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Animation for list items with delay */
.animate-list-item:nth-child(1) { animation-delay: 0.1s; }
.animate-list-item:nth-child(2) { animation-delay: 0.2s; }
.animate-list-item:nth-child(3) { animation-delay: 0.3s; }
.animate-list-item:nth-child(4) { animation-delay: 0.4s; }
.animate-list-item:nth-child(5) { animation-delay: 0.5s; }
.animate-list-item:nth-child(6) { animation-delay: 0.6s; }
.animate-list-item:nth-child(7) { animation-delay: 0.7s; }
.animate-list-item:nth-child(8) { animation-delay: 0.8s; }
.animate-list-item:nth-child(9) { animation-delay: 0.9s; }
.animate-list-item:nth-child(10) { animation-delay: 1.0s; }

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink {
    0%, 100% { border-color: transparent }
    50% { border-color: var(--primary-color) }
}

/* Typing cursor effect */
.typing-cursor {
    display: inline-block;
    width: 3px;
    background-color: var(--primary-color);
    animation: blink 1s infinite;
    margin-left: 2px;
}

/* Updated pulse animation */
@keyframes pulse {
    0% {
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 5px 25px rgba(37, 99, 235, 0.5);
    }
    100% {
        box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
    }
}

/* Responsive adjustments for experience */
@media (max-width: 768px) {
    .role-badge.active {
        min-width: 250px;
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .animate-list-item {
        padding: 12px;
    }
    
    .tech-tags {
        padding-left: 25px;
    }
}

@media (max-width: 576px) {
    .role-badge.active {
        min-width: 200px;
        font-size: 0.9rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
}

/* Form Message Styling */
.form-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideUp 0.3s ease;
    line-height: 1.5;
}

.form-message.success {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-message.error {
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Animation for message */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}