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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    scroll-behavior: smooth;
}

/* Header Styles */
header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

nav a:hover {
    color: #667eea;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.15);
    z-index: 1000;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideIn 0.3s ease-out;
}

.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    animation: fadeIn 0.3s ease-out;
}

.popup-message {
    color: #2d3748;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Popup icon and state */
.popup-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f5f9;
}

.popup .popup-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.popup.success .popup-icon { background: rgba(72, 187, 120, 0.12); }
.popup.success .popup-icon svg { color: #48bb78; fill: #48bb78; }

.popup.error .popup-icon { background: rgba(237, 100, 100, 0.12); }
.popup.error .popup-icon svg { color: #e53e3e; fill: #e53e3e; }

.popup-close {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.popup-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: #f7fafc;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Service cards & icons */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 34px rgba(0,0,0,0.10); }

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.service-icon svg { width: 24px; height: 24px; }

.icon-blue { background: rgba(102,126,234,0.08); color: #667eea; }
.icon-green { background: rgba(72,187,120,0.08); color: #48bb78; }
.icon-purple { background: rgba(159,122,234,0.08); color: #9f7aea; }
.icon-orange { background: rgba(237,137,54,0.08); color: #ed8936; }
.icon-pink { background: rgba(237,100,166,0.08); color: #ed64a6; }

.service-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.service-card p { color: #718096; margin-bottom: 1rem; line-height: 1.6; }
.service-card ul { list-style: none; padding: 0; margin: 0; }
.service-card li { color: #4a5568; padding: 0.35rem 0; font-size: 0.95rem; }
.service-card li:before { content: "•"; color: #667eea; display: inline-block; width: 1.2rem; margin-right: 0.4rem; }

/* Why Choose / About Section */
.why-choose {
    padding: 5rem 2rem;
    background: white;
}

.why-choose-container { max-width: 1200px; margin: 0 auto; }
.why-choose-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.why-choose-left h2 { font-size: 2.25rem; margin-bottom: 1rem; }
.why-choose-left p { color: #718096; line-height: 1.7; }

/* Feature icons in Why-Choose */
.feature-item { display: flex; gap: 1.25rem; margin-bottom: 2rem; align-items: center; }
.feature-icon { width: 56px; height: 56px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 0; background: rgba(102,126,234,0.08); flex-shrink: 0; }
.feature-icon svg { width: 24px; height: 24px; color: #667eea; }
.feature-content h4 { font-size: 1.125rem; margin: 0 0 0.5rem 0; }
.feature-content p { margin: 0; color: #718096; }

.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.benefit-card { text-align: center; padding: 2rem; background: #f7fafc; border-radius: 12px; transition: all 0.3s ease; }
.benefit-card .emoji { font-size: 2rem; margin-bottom: 1rem; }

/* Contact Section */
.contact { padding: 4rem 2rem; background: #f7fafc; }
.contact-container { max-width: 1100px; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; align-items: start; }
.contact-info h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1rem; align-items: center; }
.contact-icon { font-size: 1.5rem; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.contact-details h4 { margin: 0; font-size: 1rem; }
.contact-details p { margin: 0; color: #718096; }

.contact-form h3 { margin-bottom: 1rem; }
.contact-form form { background: white; padding: 1.5rem; border-radius: 10px; box-shadow: 0 6px 24px rgba(29,31,33,0.04); }
.form-group { margin-bottom: 1rem; display: flex; flex-direction: column; }
.form-group label { margin-bottom: 0.5rem; font-weight: 600; color: #2d3748; }
.form-group input[type="text"], .form-group input[type="email"], .form-group select, .form-group textarea { padding: 0.75rem 1rem; border-radius: 8px; border: 1px solid #e2e8f0; font-size: 1rem; color: #2d3748; }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-submit { display: inline-block; padding: 0.85rem 1.6rem; background: linear-gradient(135deg,#667eea 0%,#764ba2 100%); color: white; border: none; border-radius: 8px; cursor: pointer; font-weight: 700; }
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(102,126,234,0.12); }

/* Footer */
.footer-container { max-width: 1100px; margin: 0 auto; padding: 2.5rem 2rem; display: flex; gap: 2rem; flex-wrap: wrap; justify-content: space-between; }
.footer-about { flex: 1 1 320px; }
.footer-about .logo img { height: 48px; }
.footer-section { flex: 0 0 200px; }
.footer-section h4 { margin-bottom: 0.75rem; }
.footer-section ul { list-style: none; padding: 0; margin: 0; }
.footer-section li { margin-bottom: 0.5rem; color: #4a5568; }
.footer-section a { color: #4a5568; text-decoration: none; }
.footer-section a:hover { color: #667eea; }
.footer-bottom { text-align: center; padding: 1rem 0; color: #718096; border-top: 1px solid #edf2f7; }

/* Responsive */
@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .why-choose-grid { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; align-items: flex-start; }
}

/* Footer background only on homepage to distinguish from Why-Choose section */
.home footer {
    background: #f8fafc; /* subtle off-white */
}
.home .footer-container {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
}

