/* about.css - Dedicated styles for About page */

/* About Hero Section */
.about-hero {
    text-align: center;
    padding: 80px 40px;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    /* text-shadow: 0 4px 15px rgba(251, 4, 4, 0.3); */
    background: linear-gradient(135deg, #ffffff 0%, #f0f3f4 50%, #f7f7f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.about-hero p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* About Stats */
.about-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 40px 0 60px;
    flex-wrap: wrap;
}

.about-stat {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    min-width: 150px;
}

.about-stat:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.about-stat .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00bcd4;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 188, 212, 0.3);
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Story Section */
.story-section {
    margin: 100px 0;
    padding: 60px 0;
    position: relative;
}

.story-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

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

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, 
        rgba(0, 188, 212, 0.8) 0%, 
        rgba(102, 126, 234, 0.8) 25%, 
        rgba(245, 87, 108, 0.8) 50%, 
        rgba(255, 193, 7, 0.8) 75%, 
        rgba(76, 175, 80, 0.8) 100%);
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.3);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    position: relative;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.2s; }
.timeline-item:nth-child(2) { animation-delay: 0.4s; }
.timeline-item:nth-child(3) { animation-delay: 0.6s; }
.timeline-item:nth-child(4) { animation-delay: 0.8s; }

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

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

.timeline-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #00bcd4, #667eea);
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
    transition: all 0.3s ease;
}

.timeline-item:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.8);
}

.timeline-year {
    flex: 0 0 140px;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    color: #00bcd4;
    text-shadow: 0 2px 15px rgba(0, 188, 212, 0.5);
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(102, 126, 234, 0.1));
    border-radius: 15px;
    border: 1px solid rgba(0, 188, 212, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-year {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.3);
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(102, 126, 234, 0.2));
}

.timeline-content {
    flex: 1;
    padding: 0 40px;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.5), transparent);
    transition: all 0.3s ease;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -40px;
    transform: translateY(-50%);
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -40px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.5));
}

.timeline-item:hover .timeline-content::before {
    width: 60px;
    background: linear-gradient(90deg, rgba(0, 188, 212, 0.8), transparent);
}

.timeline-item:nth-child(even):hover .timeline-content::before {
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.8));
}

.timeline-content h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fff, #00bcd4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    padding-left: 20px;
}

.timeline-content h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    background: #00bcd4;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.5);
}

.timeline-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-align: justify;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid #00bcd4;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content p {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #667eea;
    transform: translateX(5px);
}

.timeline-stats {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.timeline-stat {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    padding: 20px 25px;
    border-radius: 15px;
    text-align: center;
    min-width: 120px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.timeline-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.timeline-stat:hover::before {
    left: 100%;
}

.timeline-stat:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(102, 126, 234, 0.2));
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 188, 212, 0.3);
    border-color: rgba(0, 188, 212, 0.4);
}

.timeline-stat .stat-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: #00bcd4;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 188, 212, 0.3);
    transition: all 0.3s ease;
}

.timeline-stat:hover .stat-number {
    color: #667eea;
    transform: scale(1.1);
}

.timeline-stat .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.timeline-stat:hover .stat-label {
    color: white;
}

/* Mission & Vision */
.mission-vision {
    margin: 100px 0;
    padding: 60px 0;
    position: relative;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.mv-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 188, 212, 0.3);
}

.mv-icon {
    font-size: 4rem;
    margin-bottom: 25px;
    display: block;
    transition: all 0.3s ease;
}

.mv-card:hover .mv-icon {
    transform: scale(1.1) rotate(5deg);
}

.mv-card h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.mv-card > p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
    font-size: 1.05rem;
}

.mv-features {
    list-style: none;
    text-align: left;
    margin-top: 20px;
}

.mv-features li {
    padding: 12px 0;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.mv-features li:hover {
    color: white;
    transform: translateX(8px);
}

.mv-features li:last-child {
    border-bottom: none;
}

.mv-features li::before {
    content: '✓';
    color: #00bcd4;
    font-weight: bold;
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

/* Achievements */
.achievements {
    margin: 100px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 188, 212, 0.3);
}

.stat-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(-5deg);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.2rem;
    color: #00bcd4;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* Technology Stack */
.tech-stack {
    margin: 100px 0;
    padding: 60px 0;
    position: relative;
}

.tech-stack::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.tech-category {
    padding: 30px 25px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

.tech-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 188, 212, 0.3);
}

.tech-category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tech-icon {
    font-size: 2.5rem;
    width: 60px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-category:hover .tech-icon {
    transform: scale(1.1) rotate(5deg);
}

.tech-category h3 {
    color: white;
    font-size: 1.4rem;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.tech-category > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.tech-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-item::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 ease;
}

.tech-item:hover::before {
    left: 100%;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials {
    margin: 100px 0;
    padding: 60px 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    padding: 40px 30px;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 20px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    border-color: rgba(0, 188, 212, 0.3);
}

.testimonial-rating {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-content p::before {
    content: '"';
    font-size: 4rem;
    color: rgba(0, 188, 212, 0.3);
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    color: white;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.author-company {
    color: #00bcd4;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* About CTA Section */
.about-cta {
    margin: 100px 0;
}

.about-cta .cta-content {
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2), rgba(102, 126, 234, 0.2));
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.about-cta .cta-content h2 {
    font-size: 2.8rem;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-cta .cta-content p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animation for about items */
@keyframes aboutFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item,
.mv-card,
.stat-card,
.tech-category,
.testimonial-card {
    animation: aboutFadeInUp 0.6s ease-out;
}

/* Responsive Design for About */
@media (max-width: 1200px) {
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        flex-direction: row !important;
        padding-left: 80px;
        padding-right: 20px;
    }
    
    .timeline-item::before {
        left: 30px;
    }
    
    .timeline-year {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        flex: none;
        width: 120px;
        font-size: 1.6rem;
        padding: 20px 15px;
    }
    
    .timeline-content {
        padding: 0 20px;
        margin-left: 140px;
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-content h3 {
        padding-left: 0;
    }
    
    .timeline-content h3::before {
        display: none;
    }
    
    .mv-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .about-hero h1 {
        font-size: 3rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .timeline-item {
        padding: 20px 15px 20px 70px;
        margin-bottom: 50px;
    }
    
    .timeline-year {
        width: 100px;
        font-size: 1.4rem;
        padding: 15px 10px;
    }
    
    .timeline-content {
        margin-left: 120px;
        padding: 0 10px;
    }
    
    .timeline-content h3 {
        font-size: 1.5rem;
    }
    
    .timeline-content p {
        font-size: 1rem;
        padding: 15px;
    }
    
    .timeline-stats {
        gap: 15px;
    }
    
    .timeline-stat {
        padding: 15px 20px;
        min-width: 100px;
    }
    
    .timeline-stat .stat-number {
        font-size: 1.8rem;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .about-hero {
        padding: 60px 20px;
    }
    
    .about-hero h1 {
        font-size: 2.5rem;
    }
    
    .about-hero p {
        font-size: 1.1rem;
    }
    
    .about-stats {
        gap: 20px;
    }
    
    .about-stat {
        min-width: 120px;
        padding: 20px;
    }
    
    .about-stat .stat-number {
        font-size: 2rem;
    }
    
    .about-cta .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .about-cta .cta-content p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        padding: 15px 10px 15px 60px;
        margin-bottom: 40px;
    }
    
    .timeline-year {
        width: 80px;
        font-size: 1.2rem;
        padding: 12px 8px;
    }
    
    .timeline-content {
        margin-left: 90px;
    }
    
    .timeline-content h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .timeline-stats {
        gap: 10px;
    }
    
    .timeline-stat {
        padding: 12px 15px;
        min-width: 80px;
    }
    
    .timeline-stat .stat-number {
        font-size: 1.5rem;
    }
    
    .timeline-stat .stat-label {
        font-size: 0.85rem;
    }
    
    .mv-card {
        padding: 25px 20px;
    }
    
    .mv-icon {
        font-size: 3rem;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .tech-items {
        gap: 8px;
    }
    
    .tech-item {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stat {
        width: 100%;
        max-width: 200px;
    }
    
    .about-cta .cta-content {
        padding: 40px 25px;
    }
    
    .about-cta .cta-content h2 {
        font-size: 2rem;
    }
    
    .about-cta .cta-content p {
        font-size: 1rem;
    }
    /* ============================================
   MOBILE RESPONSIVE HEADER FIXES
   These styles override style.css to match index.html header
============================================ */

/* Override the nav container */
@media (max-width: 991.98px) {
    .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    /* Force the nav to be row layout */
    nav.glass {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 10px 15px !important;
        width: 100% !important;
        flex-direction: row !important;
        gap: 0 !important;
        flex-wrap: nowrap !important;
    }
    
    /* Hide desktop nav links */
    .nav-links {
        display: none !important;
    }
    
    /* Show mobile menu button */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 44px !important;
        order: 1 !important;
        flex: 0 0 auto !important;
        margin-right: 10px !important;
        background: none !important;
        border: none !important;
        color: white !important;
        font-size: 24px !important;
        cursor: pointer !important;
        z-index: 1001 !important;
    }
    
    /* Logo styling */
    .logo {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 1 !important;
        order: 2 !important;
        margin: 0 auto !important;
        text-align: center !important;
        position: relative !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .logo-icon {
        width: 100px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
    }
    
    .logo-img {
        width: 100% !important;
        height: auto !important;
        max-height: 40px !important;
        object-fit: contain !important;
    }
    
    /* Add spacer to balance the layout */
    .header-spacer {
        width: 44px !important;
        height: 44px !important;
        visibility: hidden !important;
        order: 3 !important;
        flex: 0 0 auto !important;
        margin-left: 10px !important;
    }
    
    /* Remove any flex-direction column */
    header .container nav {
        flex-direction: row !important;
    }
    
    /* Make sure header is properly positioned */
    header {
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        background: rgba(3, 45, 170, 0.95) !important;
        backdrop-filter: blur(20px) !important;
    }
    
    /* Ensure nav items are in a row */
    nav > * {
        display: inline-flex !important;
        vertical-align: middle !important;
    }
    
    /* Remove any margin/padding that might break layout */
    .logo a {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* For extra small screens */
@media (max-width: 480px) {
    nav.glass {
        padding: 8px 12px !important;
    }
    
    .logo-icon {
        width: 80px !important;
        height: 35px !important;
    }
    
    .mobile-menu-toggle {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        margin-right: 8px !important;
    }
    
    .header-spacer {
        width: 40px !important;
        height: 40px !important;
        margin-left: 8px !important;
    }
}

/* Desktop header styles - ensure original desktop nav works */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .header-spacer {
        display: none !important;
    }
    
    .nav-links {
        display: flex !important;
    }
}

/* Mobile Drawer Styles - add these to about.css */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: rgba(3, 45, 170, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1100;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    padding: 80px 20px 20px;
    overflow-y: auto;
}

.mobile-drawer.active {
    transform: translateX(-300px);
    display: block;
}

.drawer-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1099;
    backdrop-filter: blur(3px);
}

.drawer-overlay.active {
    display: block;
}

.mobile-drawer-nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.mobile-drawer-nav a {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 20px !important;
    color: white !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a.active {
    background: rgba(255, 255, 255, 0.2) !important;
    transform: translateX(5px) !important;
}

.mobile-drawer-nav a i {
    width: 24px !important;
    text-align: center !important;
    font-size: 1.1rem !important;
}

.drawer-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.drawer-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.drawer-social {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    gap: 15px;
}

.drawer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.drawer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Touch optimizations */
@media (max-width: 768px) {
    a, button, .cta-button, .hero-btn, .service-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}
}