/* style.css - Fixed responsive design */
* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Enhanced header */
header {
    position: relative;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.tagline {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
    margin: 0;
}

/* Hero section */
.hero {
    text-align: center;
    padding: 2rem 1rem;
    color: white;
}

.hero h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

/* Enhanced service boxes */
.service-box {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-box:hover::before {
    transform: scaleX(1);
}

.service-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.service-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.service-box p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

/* Contact info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 1rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: #666;
    font-size: 0.95rem;
    margin: 0;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 2rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer-content > p {
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.social-links a {
    color: white;
    text-decoration: none;
    padding: 0.7rem 1.2rem;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.2s ease;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin: 0.2rem 0;
}

/* FIXED RESPONSIVE DESIGN */
/* Desktop: 5 columns */
@media (min-width: 1025px) {
    .services {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Tablet: 3 columns */
@media (max-width: 1024px) and (min-width: 769px) {
    .services {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small tablet: 2 columns */
@media (max-width: 768px) and (min-width: 481px) {
    .services {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .service-box {
        padding: 1.2rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    header h1 {
        font-size: 1.7rem;
    }
}

/* Mobile: 1 column ONLY */
@media (max-width: 480px) {
    .services {
        grid-template-columns: 1fr !important; /* Force single column */
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .service-box {
        padding: 1rem;
        margin-bottom: 0; /* Remove any extra margin */
    }
    
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .service-box h3 {
        font-size: 1rem;
    }
    
    .service-icon {
        font-size: 2rem;
    }
    
    .contact-info {
        margin: 2rem auto;
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    header h1 {
        font-size: 1.5rem;
    }
    
    .logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    
    .social-links a {
        width: fit-content;
        min-width: 140px;
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .services {
        padding: 0 0.5rem;
    }
    
    .service-box {
        padding: 0.8rem;
    }
    
    .hero {
        padding: 1rem 0.5rem;
    }
    
    .contact-info {
        padding: 0 0.5rem;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .service-box,
    .info-card,
    .social-links a {
        transition: none;
    }
}
