@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Caveat:wght@600&display=swap');

:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --secondary: #F43F5E;
    --accent: #10B981;
    --text: #0F172A;
    --text-muted: #475569;
    --bg: #FFFFFF;
    --white: #FFFFFF;
    --glass: rgba(255, 255, 255, 0.85);
    --shadow: 0 20px 40px rgba(14, 165, 233, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --font-alt: 'Caveat', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
}

.hero-accent {
    font-family: var(--font-alt);
    font-size: 1.8rem;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.5rem;
    transform: rotate(-2deg);
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.hero-text p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 540px;
}

.hero-image {
    position: relative;
    padding: 20px;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: var(--primary);
    opacity: 0.1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
    z-index: -1;
    animation: blobMorph 10s infinite linear alternate;
}

@keyframes blobMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 70%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 50% 60% 70% 40%;
    }
}

.hero-image img {
    border-radius: 60px 20px 80px 40px;
    box-shadow: 20px 40px 80px rgba(14, 165, 233, 0.15);
    transform: rotate(1deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: rotate(0deg) scale(1.02);
}

/* Services */
.services {
    padding: 8rem 0;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 4rem 2.5rem;
    border-radius: 40px 15px 40px 15px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100px;
    height: 100px;
    background: var(--primary);
    opacity: 0.03;
    border-radius: 50%;
    transition: var(--transition);
}

.service-card:hover::after {
    transform: scale(3);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(14, 165, 233, 0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--primary);
}

/* About */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-image img {
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    border-radius: 40px;
    margin: 4rem 2rem;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.phone-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    color: var(--primary);
    padding: 1.5rem 3rem;
    border-radius: 100px;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    padding: 4rem 0;
    background: #0F172A;
    color: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #94A3B8;
}

@media (max-width: 968px) {

    .hero-content,
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }
}