:root {
    --primary: #2563eb;
    /* Trustworthy Blue */
    --primary-hover: #1d4ed8;
    --dark: #0f172a;
    /* Professional Slate Deep */
    --dark-grey: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --grey: #94a3b8;
    --accent: #38bdf8;
    /* Reliability Accent */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top right, #1e293b, #0f172a 60%), #0f172a;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(37, 99, 235, 0.05), transparent 40%);
    pointer-events: none;
    z-index: -1;
    animation: pulse-glow 15s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 120px 0;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.logo-text span {
    color: var(--primary);
    margin-left: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--primary);
    opacity: 1;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary);
    color: var(--dark);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    cursor: pointer;
    display: inline-block;
}

.btn-secondary:hover {
    background-color: var(--glass);
    border-color: var(--primary);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-image: url('https://images.unsplash.com/photo-1520340356584-f9917d1eea6f?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(15, 23, 42, 0.95),
            rgba(15, 23, 42, 0.7),
            transparent);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 span {
    color: var(--primary);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.8;
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Services */
.section-header {
    margin-bottom: 4rem;
}

.sub-title {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.main-title {
    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: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--grey);
}

/* Features/Transformation */
.dark-bg {
    background-color: transparent;
}

.flex-row {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.transformation-text {
    flex: 1;
}

.transformation-image {
    flex: 1;
}

.transformation-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-list {
    list-style: none;
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature-list .icon {
    color: var(--primary);
    font-weight: 800;
    font-size: 1.2rem;
}

.feature-list h4 {
    margin-bottom: 0.2rem;
}

.feature-list p {
    color: var(--grey);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.contact-info {
    padding: 4rem;
    background: linear-gradient(135deg, var(--primary), #1d4ed8);
    color: var(--white);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-details {
    list-style: none;
    margin-top: 3rem;
}

.contact-details li {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.business-hours {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.business-hours h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--white);
}

.business-hours ul {
    list-style: none;
}

.business-hours li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.business-hours li span {
    font-weight: 700;
    color: var(--white);
}

.contact-form {
    padding: 4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    color: var(--white);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.full-width {
    width: 100%;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--glass-border);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--grey);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-links a {
    color: var(--grey);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

section {
    padding: 120px 0;
    position: relative;
    background: transparent;
}

/* Reviews Section */
.reviews-container {
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
    width: 100%;
}

.reviews-grid {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 1rem 0;
}

.scroll-left {
    animation: scroll-left 40s linear infinite;
}

.scroll-right {
    animation: scroll-right 40s linear infinite;
}

.reviews-grid:hover {
    animation-play-state: paused;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    position: relative;
    transition: var(--transition);
    width: 400px;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-1 * (400px + 2rem) * 4));
    }
}

@keyframes scroll-right {
    0% {
        transform: translateX(calc(-1 * (400px + 2rem) * 4));
    }

    100% {
        transform: translateX(0);
    }
}

.review-card:hover {
    transform: scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-text {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--light);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
}

.reviewer-info h4 {
    font-size: 1rem;
    margin-bottom: 0px;
    text-transform: none;
    letter-spacing: 0;
}

.reviewer-info p {
    font-size: 0.8rem;
    color: var(--grey);
}

@media (max-width: 968px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .flex-row,
    .contact-card {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .nav-links {
        display: none;
    }
}