@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --primary: #4ecbff;
    --primary-dark: #1273a6;
    --secondary: #0c1b3c;
    --accent: #00f2fe;
    --bg-dark: #060b1a;
    --bg-card: rgba(12, 27, 60, 0.4);
    --text-white: #ffffff;
    --text-gray: #a0aec0;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --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: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
.heading-font {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* --- Layout --- */

section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* --- Navigation --- */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(6, 11, 26, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--primary);
}

/* --- Hero --- */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../assets/hero-bg.png') no-repeat center center;
    background-size: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to top, var(--bg-dark), transparent);
}

.hero-content {
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 35px;
    max-width: 600px;
}

.cta-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* --- Buttons --- */

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    box-shadow: 0 10px 20px rgba(78, 203, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(78, 203, 255, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-white);
    backdrop-filter: blur(5px);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: var(--primary);
}

/* --- Services Grid --- */

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    background: rgba(12, 27, 60, 0.6);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
}

.service-card li {
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card li::before {
    content: '→';
    color: var(--primary);
}

/* --- Animations --- */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Mobile Nav --- */

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

    section {
        padding: 60px 20px;
    }

    .hero {
        text-align: center;
        align-items: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }
}

/* --- Updates for Pricing Cards --- */

.service-pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.service-desc {
    color: var(--text-gray);
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pricing-container {
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.pricing-model {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.price {
    display: block;
    font-size: 1.5rem;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* --- Form Redesign --- */

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group label i {
    color: var(--primary);
    width: 16px;
    height: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 15px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(78, 203, 255, 0.2);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(160, 174, 192, 0.5);
}

/* Custom Select styling wrapper */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    cursor: pointer;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--primary);
    width: 18px;
    height: 18px;
}

/* Button & Icons */
.btn-block {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-block i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.btn-block:hover i {
    transform: translateX(4px);
}


/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(78, 255, 145, 0.1);
    border: 1px solid rgba(78, 255, 145, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: pulseSuccess 2s infinite;
}

.success-check {
    color: #4eff91;
    width: 40px;
    height: 40px;
}

.success-content h3 {
    margin-bottom: 15px;
    font-size: 1.8rem;
    color: var(--text-main);
}

.success-content p {
    color: var(--text-muted);
    margin-bottom: 10px;
}

.calendar-note {
    font-size: 0.9rem;
    color: var(--primary);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.calendar-note::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes pulseSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(78, 255, 145, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(78, 255, 145, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(78, 255, 145, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}


/* Responsive */
@media (max-width: 768px) {
    .form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}