/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    min-height: 100vh;
}

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

/* Header styles */
header {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

header h1 span {
    color: #3b82f6;
}

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

nav a {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

nav a:hover {
    color: #3b82f6;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #ec4899);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(255,255,255,0.1) 0%, transparent 40%);
}

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

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
}

/* Services section */
.services {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: #1e293b;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    z-index: -1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.card:hover .icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.icon svg {
    width: 45px;
    height: 45px;
    color: #3b82f6;
    transition: all 0.3s ease;
}

.card:hover .icon svg {
    color: white;
}

.card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #1e293b;
    font-weight: 600;
}

.card p {
    color: #64748b;
    margin-bottom: 1.8rem;
    min-height: 60px;
    font-size: 1.05rem;
}

/* Enhanced button styles */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    font-size: 1rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    transition: all 0.5s ease;
    z-index: -1;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.btn:hover::before {
    width: 100%;
}

.btn:active {
    transform: translateY(1px);
}

/* Alternative button style for secondary actions */
.btn-secondary {
    background: linear-gradient(135deg, #64748b, #475569);
}

.btn-secondary::before {
    background: linear-gradient(135deg, #475569, #334155);
}

/* About section */
.about {
    padding: 6rem 0;
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #1e293b;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.9;
    color: #475569;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.about-content p {
    margin-bottom: 1.8rem;
    line-height: 1.8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

footer p {
    color: #cbd5e1;
    font-size: 1.05rem;
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 1.5rem;
    }

    nav ul {
        gap: 1.2rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .services,
    .about {
        padding: 4rem 0;
    }

    .services h2,
    .about h2 {
        font-size: 2rem;
    }

    .cards-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-content {
        padding: 1.8rem;
        margin: 0 1.5rem;
    }
}

/* Additional animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.card {
    animation: float 4s ease-in-out infinite;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}