/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #4a6cf7;
    --secondary-color: #6a75f8;
    --accent-color: #ff6b6b;
    --dark-color: #1d2144;
    --light-color: #f5f8ff;
    --text-color: #333;
    --text-light: #666;
    --white: #fff;
    --gray-light: #f8f9fa;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* ===== UPDATED HEADER STYLES ===== */
.main-header {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.header-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.header-text {
    text-align: left;
}

.main-slogan {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    font-family: 'Dancing Script', cursive;
}

.slogan-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

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

.profile-photo-container {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-photo-container:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== UPDATED HERO SECTION ===== */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f8ff 0%, #e6ecff 50%, #f0f4ff 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.hero-text {
    padding-right: 2rem;
}

.intro-heading {
    margin-bottom: 2.5rem;
}

.intro-greeting {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.main-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0;
}

.first-name {
    display: block;
    font-weight: 700;
    color: var(--dark-color);
}

.last-name {
    display: block;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    margin-bottom: 2rem;
}

.intro-text {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    color: #5a6c7d;
    line-height: 1.7;
}

/* ===== HERO HIGHLIGHTS ===== */
.hero-highlights {
    position: sticky;
    top: 120px;
}

.expertise-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(74, 108, 247, 0.1);
}

.expertise-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.expertise-list {
    list-style: none;
}

.expertise-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 500;
}

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

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

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    padding-right: 2rem;
}

.commitment-box {
    background: linear-gradient(135deg, var(--light-color), #e8eeff);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    margin: 2rem 0;
}

.commitment-text {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--dark-color);
    margin: 0;
    position: relative;
}

.commitment-text i:first-child {
    color: var(--primary-color);
    margin-right: 10px;
}

.commitment-text i:last-child {
    color: var(--primary-color);
    margin-left: 10px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.6);
}

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

.secondary-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.3);
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.social-links {
    max-width: 800px;
    margin: 0 auto;
}

.social-icons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 1.5rem;
    border-radius: 15px;
    background: var(--white);
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow);
    gap: 1rem;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.social-icon i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.social-icon span {
    font-weight: 600;
}

/* Social Media Brand Colors */
.social-icon.facebook { border-left: 4px solid #1877F2; }
.social-icon.twitter { border-left: 4px solid #1DA1F2; }
.social-icon.linkedin { border-left: 4px solid #0A66C2; }
.social-icon.instagram { border-left: 4px solid #E4405F; }
.social-icon.youtube { border-left: 4px solid #FF0000; }
.social-icon.google-business { border-left: 4px solid #4285F4; }

.social-icon.facebook:hover { background: #1877F2; color: white; }
.social-icon.twitter:hover { background: #1DA1F2; color: white; }
.social-icon.linkedin:hover { background: #0A66C2; color: white; }
.social-icon.instagram:hover { background: #E4405F; color: white; }
.social-icon.youtube:hover { background: #FF0000; color: white; }
.social-icon.google-business:hover { background: #4285F4; color: white; }

/* Enhanced Navigation Bar */
.navbar {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 70px;
}

/* Enhanced Logo - Fixed Alignment */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.logo-img {
    height: 50px !important;
    width: 50px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(74, 108, 247, 0.3));
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0; /* Prevent logo from shrinking */
    display: inline-block;
    vertical-align: middle;
}

.logo-img:hover {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(74, 108, 247, 0.5));
}

.logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    transition: color 0.3s ease;
    white-space: nowrap; /* Crucial - prevent text wrapping */
    margin-left: 12px;
    line-height: 1;
    /* Ensure proper vertical alignment */
    display: inline-block;
    vertical-align: middle;
    align-items: center;
    height: auto;
    
}

.nav-logo:hover .logo-name {
    color: var(--primary-color);
    text-shadow: 0 2px 8px rgba(74, 108, 247, 0.3);
}

/* Enhanced Navigation Menu */
.nav-menu {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 25px;
}

.nav-link i {
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
    background: rgba(74, 108, 247, 0.1);
}

.nav-link:hover i,
.nav-link.active i {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Active state with background instead of underline */
.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.nav-link.active:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

/* Enhanced Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.4);
}

.bar {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Home Image Section - Updated */
.home-image {
    display: none; /* Hide old image section since we moved to header */
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .header-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text,
    .about-text {
        padding-right: 0;
    }
    
    .main-slogan {
        font-size: 2.5rem;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .hero-highlights {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        flex-direction: column;
        background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.98) 100%);
        backdrop-filter: blur(20px);
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        padding: 30px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        display: flex;
        padding: 15px 0;
        width: 100%;
        justify-content: center;
        font-size: 1.2rem;
        border-radius: 0;
    }
    
    .hamburger {
        display: flex;
    }
    
    .main-slogan {
        font-size: 2rem;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .profile-photo-container {
        width: 200px;
        height: 200px;
    }
    
    .social-icons {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .logo-img {
        height: 40px !important;
    }
    
    .logo-name {
        font-size: 1.5rem;
        padding: 4px 0;
        margin-left: 8px;
    }

    .home-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .home-text {
        padding-right: 0;
    }
    
    .animated-title {
        font-size: 2.8rem;
    }
    
    .title-name {
        font-size: 3.2rem;
    }
    
    .typewriter-text {
        font-size: 2.2rem;
    }
    
    .image-container {
        width: 320px;
        height: 320px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
    }
    
    .timeline-date {
        flex: 0 0 120px;
        margin-right: 20px;
    }
    
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .certificate-image-container {
        height: 220px;
        padding: 15px;
    }
    
    .certificate-info {
        padding: 20px;
    }
    
    .certificate-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item i {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-item div p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 40px 0;
    }
    
    .main-slogan {
        font-size: 1.8rem;
    }
    
    .slogan-subtitle {
        font-size: 1.1rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .profile-photo-container {
        width: 150px;
        height: 150px;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .navbar {
        padding: 10px 0;
    }
    
    .nav-container {
        height: 55px;
    }
    
    .logo-img {
        height: 40px !important;
    }
    .animated-title {
        font-size: 1.8rem;
    }
    
    .title-name {
        font-size: 2rem;
    }
    
    .typewriter-text {
        font-size: 1.5rem;
    }
    
    .image-container {
        width: 240px;
        height: 240px;
    }
    
    .intro-text {
        font-size: 1rem;
    }
    
    .section-nav,
    .projects-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .section-nav-link,
    .project-nav-link {
        width: 100%;
        text-align: center;
    }
    
    .achievements-grid,
    .clients-grid,
    .education-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline-date {
        flex: 0 0 100px;
    }
    
    .certificate-image-container {
        height: 200px;
    }
    
    .certificate-info h3 {
        font-size: 1.2rem;
    }
    
    .certificate-info p {
        font-size: 0.9rem;
    }
    
    .certificate-placeholder {
        padding: 30px 20px;
    }
    
    .certificate-placeholder i {
        font-size: 2.5rem;
    }
    
    .projects-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .image-count {
        font-size: 0.8rem;
        padding: 3px 8px;
    }
    
    .contact-item div p {
        font-size: 0.9rem;
    }
}

/* Rest of your existing CSS remains the same below this point */
/* ===== ABOUT PAGE STYLES ===== */
.about-section {
    padding-top: 150px;
}

.section-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.section-nav-link,
.project-nav-link {
    padding: 10px 20px;
    background-color: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 5px;
    transition: var(--transition);
    font-weight: 500;
}

.section-nav-link:hover,
.project-nav-link:hover,
.section-nav-link.active,
.project-nav-link.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.about-subsection {
    margin-bottom: 80px;
}

.about-subsection h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

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

.achievements-grid,
.clients-grid,
.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card,
.client-item,
.education-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.achievement-card:hover,
.client-item:hover,
.education-item:hover {
    transform: translateY(-10px);
}

.achievement-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.achievement-card h3,
.client-item h3,
.education-item h3 {
    margin-bottom: 10px;
    color: var(--dark-color);
}

/* Updated Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.client-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

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

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

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

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 1;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    margin: 0 20px;
}

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

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

.timeline-content strong {
    color: var(--dark-color);
    display: block;
    margin-bottom: 10px;
}

.institution {
    font-weight: 600;
    color: var(--primary-color);
}

.year {
    color: var(--text-light);
    font-style: italic;
}

/* Certificate Section Styles */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.certificate-item {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #eaeaea;
}

.certificate-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Certificate Image Container */
.certificate-image-container {
    position: relative;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.certificate-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.certificate-image-container:hover .certificate-img {
    transform: scale(1.02);
}

/* Certificate Overlay */
.certificate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(74, 108, 247, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.certificate-image-container:hover .certificate-overlay {
    opacity: 1;
}

.view-certificate-btn {
    background: var(--white);
    color: var(--primary-color);
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.view-certificate-btn:hover {
    background: var(--dark-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Certificate Info */
.certificate-info {
    padding: 25px;
}

.certificate-info h3 {
    color: var(--dark-color);
    margin-bottom: 12px;
    font-size: 1.3rem;
    font-weight: 700;
}

.certificate-info p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.certificate-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.certificate-date {
    background: var(--light-color);
    color: var(--primary-color);
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.certificate-issuer {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Coming Soon Placeholder */
.certificate-item.coming-soon {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
}

.certificate-placeholder {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
    text-align: center;
    color: var(--text-light);
}

.certificate-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    opacity: 0.7;
}

.certificate-placeholder h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.certificate-placeholder p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 2% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--primary-color);
}

.modal-certificate-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
}

.modal-certificate-info {
    padding: 20px;
    background: var(--light-color);
    border-radius: 10px;
}

.modal-certificate-info h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.modal-certificate-info p {
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 1rem;
}

.modal-certificate-info strong {
    color: var(--dark-color);
}

/* ===== PROJECTS PAGE STYLES ===== */
.projects-section {
    padding-top: 150px;
}

.projects-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.project-category {
    margin-bottom: 80px;
}

.project-category h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

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

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

.project-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-item:hover {
    transform: translateY(-10px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-item:hover .project-image img {
    transform: scale(1.1);
}

.project-info {
    padding: 20px;
}

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

/* Projects Gallery Styles */
.projects-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
    background: #fff;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 108, 247, 0.1), rgba(106, 117, 248, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item::after {
    content: '\f002';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: var(--white);
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.gallery-item:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Image Count Badge */
.image-count {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
    background: var(--light-color);
    padding: 4px 12px;
    border-radius: 15px;
    margin-left: 10px;
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.image-modal .modal-content {
    position: relative;
    margin: 2% auto;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.3s ease;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

/* Modal Navigation */
.modal-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 20px;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Project Category Spacing */
.project-category {
    margin-bottom: 80px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eaeaea;
}

.project-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-section {
    padding-top: 150px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2,
.contact-form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 10px;
}

.contact-info h2::after,
.contact-form-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
}

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

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

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

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 108, 247, 0.2);
}

/* Enhanced Contact Section Styles */
.contact-item div p {
    margin-bottom: 5px;
    line-height: 1.4;
}

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

/* Make phone numbers more prominent */
.contact-item:nth-child(2) div p {
    font-weight: 600;
    color: var(--primary-color);
}

/* Address styling */
.contact-item:nth-child(3) div p:first-child {
    font-weight: 600;
    color: var(--dark-color);
}

.contact-item:nth-child(3) div p:last-child {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
}

/* ===== ENHANCED COMPONENTS ===== */
/* Enhanced Cards with Hover Effects */
.achievement-card,
.client-item,
.education-item,
.project-item,
.certificate-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-card::before,
.client-item::before,
.education-item::before,
.project-item::before,
.certificate-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 108, 247, 0.05), transparent);
    transition: left 0.5s;
}

.achievement-card:hover::before,
.client-item:hover::before,
.education-item:hover::before,
.project-item:hover::before,
.certificate-item:hover::before {
    left: 100%;
}

.achievement-card:hover,
.client-item:hover,
.education-item:hover,
.project-item:hover,
.certificate-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(74, 108, 247, 0.3);
}

/* Enhanced Section Titles */
.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, var(--dark-color), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    font-weight: 800;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
    animation: pulse 2s infinite;
}

/* Enhanced Form Elements */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.1);
    background: rgba(255,255,255,0.95);
    transform: translateY(-2px);
}

/* Enhanced Scroll Progress */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), #23a6d5, #23d5ab);
    z-index: 1001;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(74, 108, 247, 0.5);
}

/* Additional Animations */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(74, 108, 247, 0.5);
    }
    50% {
        box-shadow: 0 0 40px rgba(74, 108, 247, 0.8);
    }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake:hover {
    animation: shake 0.5s ease-in-out;
}

/* Ensure PNG images with transparency display correctly */
.gallery-item img[src$=".png"] {
    background: linear-gradient(45deg, #f8f9fa 25%, transparent 25%),
                linear-gradient(-45deg, #f8f9fa 25%, transparent 25%),
                linear-gradient(45deg, transparent 75%, #f8f9fa 75%),
                linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Dark mode support for PNG transparency */
@media (prefers-color-scheme: dark) {
    .gallery-item img[src$=".png"] {
        background: linear-gradient(45deg, #2d3748 25%, transparent 25%),
                    linear-gradient(-45deg, #2d3748 25%, transparent 25%),
                    linear-gradient(45deg, transparent 75%, #2d3748 75%),
                    linear-gradient(-45deg, transparent 75%, #2d3748 75%);
        background-size: 20px 20px;
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
}
/* ===== SLOGAN & PHOTO SECTION (After Navigation) ===== */
.slogan-photo-section {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.slogan-photo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>');
    background-size: cover;
}

.slogan-photo-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.slogan-container {
    text-align: left;
}

.main-slogan {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    font-family: 'Dancing Script', cursive;
}

.slogan-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
}

.photo-container-main {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-photo-wrapper {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

.profile-photo-wrapper:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
}

.profile-photo-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== HERO SECTION ADJUSTMENT ===== */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f8ff 0%, #e6ecff 50%, #f0f4ff 100%);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .slogan-photo-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .slogan-container {
        text-align: center;
    }
    
    .main-slogan {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .slogan-photo-section {
        padding: 40px 0;
    }
    
    .main-slogan {
        font-size: 2rem;
    }
    
    .slogan-subtitle {
        font-size: 1.1rem;
    }
    
    .profile-photo-wrapper {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .slogan-photo-section {
        padding: 30px 0;
    }
    
    .main-slogan {
        font-size: 1.8rem;
    }
    
    .slogan-subtitle {
        font-size: 1rem;
    }
    
    .profile-photo-wrapper {
        width: 150px;
        height: 150px;
    }
}
/* ===== YOUTUBE VIDEO SECTION ===== */
.video-section {
    padding: 80px 0;
    background: var(--white);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.video-description {
    padding: 1.5rem;
}

.video-description h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-description p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== RESPONSIVE DESIGN FOR VIDEO SECTION ===== */
@media (max-width: 1024px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-description {
        text-align: center;
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-wrapper {
        border-radius: 10px;
    }
    
    .video-description h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-description {
        padding: 0.5rem 0;
    }
    
    .video-description h3 {
        font-size: 1.2rem;
    }
    
    .video-description p {
        font-size: 0.9rem;
    }
}/* ===== YOUTUBE VIDEO SECTION ===== */
.video-section {
    padding: 80px 0;
    background: var(--white);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.video-description {
    padding: 1.5rem;
}

.video-description h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.video-description p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
}

/* ===== RESPONSIVE DESIGN FOR VIDEO SECTION ===== */
@media (max-width: 1024px) {
    .video-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .video-description {
        text-align: center;
        padding: 1rem 0;
    }
}

@media (max-width: 768px) {
    .video-section {
        padding: 60px 0;
    }
    
    .video-wrapper {
        border-radius: 10px;
    }
    
    .video-description h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-description {
        padding: 0.5rem 0;
    }
    
    .video-description h3 {
        font-size: 1.2rem;
    }
    
    .video-description p {
        font-size: 0.9rem;
    }
}
/* ===== ENHANCED TIMELINE WITH COMPANY LOGOS ===== */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 25px;
    width: 16px;
    height: 16px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--primary-color);
    z-index: 2;
}

.timeline-date {
    flex: 0 0 120px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border-radius: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 30px;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
    align-self: flex-start;
}

.timeline-content {
    flex: 1;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Company Header with Logo */
.company-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    gap: 15px;
}

.company-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 2px solid #f0f0f0;
    transition: var(--transition);
}

.company-logo:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.company-logo .logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.company-info {
    flex: 1;
}

.company-info h3 {
    margin-bottom: 5px;
    color: var(--dark-color);
    font-size: 1.3rem;
}

.company-info strong {
    color: var(--primary-color);
    font-size: 0.95rem;
}

/* Timeline Content Text */
.timeline-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .timeline {
        padding-left: 0;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item::before {
        left: 12px;
        top: 15px;
    }
    
    .timeline-date {
        flex: none;
        margin-right: 0;
        margin-bottom: 20px;
        align-self: flex-start;
        width: 140px;
    }
    
    .company-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .company-logo {
        width: 80px;
        height: 80px;
    }
    
    .company-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-date {
        width: 120px;
        font-size: 0.85rem;
        padding: 10px 15px;
    }
    
    .company-logo {
        width: 70px;
        height: 70px;
    }
    
    .company-info h3 {
        font-size: 1.1rem;
    }
}

/* Logo placeholder styles for missing images */
.company-logo .logo-img[src*=".png"]:not([src]),
.company-logo .logo-img:not([src]) {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    text-align: center;
    padding: 5px;
}

.company-logo .logo-img[src*=".png"]:not([src])::after,
.company-logo .logo-img:not([src])::after {
    content: 'Logo';
    color: white;
}