/* Variables & Reset */
:root {
    --primary-color: #4f46e5;
    /* Rich Indigo */
    --secondary-color: #8b5cf6;
    /* Violet */
    --accent-color: #0ea5e9;
    /* Sky Blue */
    --text-color: #1e293b;
    /* Slate 800 */
    --text-muted: #64748b;
    /* Slate 500 */
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    /* Slate 50 */
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    /* Slate 200 */
    --gradient-main: linear-gradient(135deg, #4f46e5 0%, #8b5cf6 100%);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(79, 70, 229, 0.15);

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #0f172a;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--gradient-main);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(79, 70, 229, 0.05);
}

.section {
    padding: 120px 0;
}

.section-bg {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.gradient-text {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary-color);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: -0.03em;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo i {
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: #475569;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-color);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: radial-gradient(circle at top right, rgba(139, 92, 246, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(79, 70, 229, 0.05), transparent 40%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content .badge {
    display: inline-block;
    padding: 8px 16px;
    background: #eff6ff;
    color: var(--primary-color);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid #dbeafe;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.1;
    color: #0f172a;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    height: 500px;
    border-radius: 20px;
    /* background: #f1f5f9; */
    /* Placeholder for potential 3D or illustration */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorative Blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: #c4b5fd;
    top: -50px;
    right: -50px;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: #a5b4fc;
    bottom: -100px;
    left: -100px;
}

/* Floating Cards UI */
.feature-floater {
    position: absolute;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    animation: float 6s ease-in-out infinite;
    border: 1px solid #f1f5f9;
}

.feature-floater i {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #eff6ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.feature-floater div h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.feature-floater div p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.f-1 {
    top: 15%;
    left: 0;
}

.f-2 {
    bottom: 20%;
    right: 0;
    animation-delay: 2s;
}

.f-3 {
    top: 45%;
    right: -20px;
    animation-delay: 4s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* About Section */
.section-header {
    margin-bottom: 70px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-muted);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.about-img-wrapper:hover img {
    transform: scale(1.03);
}

.stats-badge {
    position: absolute;
    bottom: 30px;
    right: -30px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

.stats-badge h3 {
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}

.stats-badge p {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9rem;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-content p {
    margin-bottom: 24px;
    color: var(--text-muted);
}

.check-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 30px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #334155;
}

.check-item i {
    color: #10b981;
    /* Emerald */
    font-size: 1.1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background: #ffffff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: #e2e8f0;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: #eff6ff;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--gradient-main);
    color: #ffffff;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: auto;
}

.service-link:hover {
    gap: 12px;
}

/* Features */
.features-container {
    background: var(--primary-color);
    border-radius: 30px;
    padding: 80px 60px;
    color: #ffffff;
    background-image: var(--gradient-main);
    position: relative;
    overflow: hidden;
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.features-header p {
    color: rgba(255, 255, 255, 0.9);
}

.features-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.feature-item i {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.feature-item h3 {
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

/* Contact */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    box-shadow: var(--shadow-lg);
    border-radius: 30px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.contact-sidebar {
    background: #1e1b4b;
    /* Dark Navy */
    padding: 60px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.contact-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.8), transparent);
}

.sidebar-content {
    position: relative;
    z-index: 1;
}

.sidebar-content h2 {
    color: #ffffff;
    margin-bottom: 20px;
}

.sidebar-content>p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 50px;
}

.contact-detail {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
}

.contact-text h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.contact-text p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-form {
    padding: 60px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #475569;
    font-size: 0.9rem;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-color);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* Footer */
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand p {
    max-width: 300px;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 6px;
}

.footer-bottom {
    border-top: 1px solid #1e293b;
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 400px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-btns {
        justify-content: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #ffffff;
        flex-direction: column;
        padding-top: 40px;
        transition: 0.4s ease;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .features-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .contact-form,
    .contact-sidebar {
        padding: 40px 24px;
    }
}