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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
}

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

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

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

.nav-brand .logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link.active {
    color: #dc2626;
}

.nav-link:hover {
    color: #dc2626;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 12px;
}

.contact-label {
    color: #6b7280;
}

.phone-number {
    color: #dc2626;
    font-weight: 600;
}

.contact-sales-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-sales-btn:hover {
    background: #b91c1c;
}

/* Tooltip styling for Contact Sales button */
.contact-sales-btn[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    border: 1px solid #1f2937;
    background: white;
    color: #1f2937;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1001;
    opacity: 0;
    animation: tooltipFadeIn 0.3s ease forwards;
}

.contact-sales-btn[title]:hover::before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #1f2937;
    z-index: 1001;
    opacity: 0;
    animation: tooltipFadeIn 0.3s ease forwards;
}

.contact-sales-btn {
    position: relative;
}

@keyframes tooltipFadeIn {
    to {
        opacity: 1;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-highlight {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #3b82f6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
    display: inline-block;
    text-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.hero-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 25%, #eab308 50%, #22c55e 75%, #3b82f6 100%);
    background-size: 200% 200%;
    border-radius: 8px;
    filter: blur(20px);
    opacity: 0.3;
    z-index: -1;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.cta-button {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

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

.cta-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #dc2626 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.4);
    border-color: rgba(255,255,255,0.2);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.02);
    transition: all 0.1s ease;
}

/* Services Section */
.services {
    background: #f8fafc;
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.services-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.services-subtitle {
    color: #dc2626;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.services-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.services-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

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

.service-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.service-icon {
    color: #3b82f6;
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 15px;
}

.service-description {
    color: #6b7280;
    line-height: 1.7;
    font-size: 14px;
}

/* Contact Section */
.contact {
    background: white;
    padding: 80px 0;
    text-align: center;
    scroll-margin-top: 80px;
}

.contact-icon {
    color: #3b82f6;
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
}

.contact-description {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 30px;
}

.contact-email {
    margin-top: 20px;
}

.email-link {
    font-size: 1.2rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border: 2px solid #3b82f6;
    border-radius: 8px;
    display: inline-block;
    transition: all 0.3s ease;
}

.email-link:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.contact-footer {
    color: #9ca3af;
    font-size: 14px;
    font-style: italic;
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.footer p {
    font-size: 14px;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-contact {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .services-title {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .services-title {
        font-size: 1.75rem;
    }
    
    .contact-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 20px;
    }
}

/* Additional styling for better visual match */
.nav-menu li:first-child .nav-link {
    position: relative;
}

.nav-menu li:first-child .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #dc2626;
}

/* Enhanced grid pattern for hero background */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}
