﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    box-sizing: border-box;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: none;
}

/* Navigation Styles */
header nav .nav-links {
    display: flex !important;
    list-style: none;
    gap: 2rem;
    position: relative;
    margin: 0;
    padding: 0;
}

    header nav .nav-links > li {
        position: relative;
        display: inline-block;
    }

    header nav .nav-links a {
        text-decoration: none !important;
        color: #374151 !important;
        font-weight: 500;
        transition: color 0.3s ease;
        display: block;
        padding: 0.5rem 0;
        white-space: nowrap;
    }

        header nav .nav-links a:hover {
            color: #2563eb !important;
        }

    /* Dropdown Styles */
    header nav .nav-links .dropdown {
        position: relative;
    }

    header nav .nav-links .dropdown-menu {
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        background: white !important;
        min-width: 220px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
        border-radius: 12px;
        padding: 1rem 0;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-10px);
        transition: all 0.3s ease !important;
        z-index: 9999 !important;
        border: 1px solid rgba(0, 0, 0, 0.1);
        display: block !important;
        margin: 0 !important;
    }

    header nav .nav-links .dropdown:hover .dropdown-menu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }

    header nav .nav-links .dropdown-menu a {
        padding: 0.75rem 1.5rem !important;
        color: #374151 !important;
        text-decoration: none !important;
        display: block !important;
        font-weight: 500;
        transition: all 0.3s ease;
        border-left: 3px solid transparent;
        background: transparent !important;
    }

        header nav .nav-links .dropdown-menu a:hover {
            background: #f8fafc !important;
            color: #2563eb !important;
            border-left-color: #2563eb;
        }

    header nav .nav-links .dropdown-menu .service-icon {
        margin-right: 0.5rem;
        font-size: 1.1rem;
        display: inline;
    }

.cta-button {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    border: none;
    outline: none;
    opacity: 1 !important;
    white-space: nowrap;
}

    .cta-button:hover,
    .cta-button:focus,
    .cta-button:active,
    .cta-button:visited {
        background: linear-gradient(135deg, #1d4ed8, #1e40af) !important;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
        color: white !important;
        text-decoration: none !important;
        opacity: 1 !important;
    }

/* Footer */
footer {
    background: #111827;
    color: white;
    padding: 3rem 0 1rem;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.footer-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #60a5fa;
}

.footer-section p,
.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.95rem;
}

    .footer-section a:hover {
        color: #60a5fa;
    }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

    .animate-on-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #2563eb;
    padding: 0.5rem;
}

.dropdown-menu.visible {
    display: block !important;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    header nav .nav-links {
        gap: 1.5rem;
    }

        header nav .nav-links a {
            font-size: 0.95rem;
        }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    header {
        padding: 0.75rem 0;
    }

    nav {
        position: relative;
    }

    .nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    .logo {
        font-size: 1.2rem;
    }

    header nav .nav-links {
        display: none !important;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 1rem 0;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 999;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        header nav .nav-links.active {
            display: flex !important;
            max-height: 500px;
        }

        header nav .nav-links > li {
            display: block;
            width: 100%;
            border-bottom: 1px solid #f3f4f6;
        }

            header nav .nav-links > li:last-child {
                border-bottom: none;
            }

        header nav .nav-links a {
            padding: 1rem 1.5rem !important;
            width: 100%;
            white-space: normal;
        }

        /* Mobile Dropdown */
        header nav .nav-links .dropdown-menu {
            position: static !important;
            box-shadow: none !important;
            border: none !important;
            padding: 0 !important;
            opacity: 1 !important;
            visibility: visible !important;
            transform: none !important;
            background: #f8fafc !important;
            border-radius: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

            header nav .nav-links .dropdown-menu.visible {
                max-height: 500px;
            }

            header nav .nav-links .dropdown-menu a {
                padding: 0.75rem 2rem !important;
                border-left: none !important;
            }

    .cta-button {
        display: none;
    }

    /* Footer Mobile */
    footer {
        padding: 2rem 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }

    .footer-bottom {
        font-size: 0.85rem;
        padding: 1rem;
    }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
    .logo {
        font-size: 1rem;
    }

    header {
        padding: 0.5rem 0;
    }

    main {
        margin-top: 60px;
    }

    .footer-content {
        padding: 0 1rem;
    }
}
