/* Reset & Variables */
:root {
    --primary: #FF6A00;
    --primary-light: #ff8c3a;
    --primary-dark: #cc5500;
    --dark: #1a1a1a;
    --darker: #0d0d0d;
    --black: #000000;
    --light: #f4f5f7;
    --white: #ffffff;
    --gray: #888888;
    --border: #333333;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.2s ease;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    --radius: 12px;
    --radius-lg: 24px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-hover: 0 20px 40px rgba(255, 106, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
}

p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

p:last-child {
    margin-bottom: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--white);
    line-height: 1.2;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw + 1rem, 5rem);
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 16px;
    color: #b0b0b0;
    max-width: 750px;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.5px;
    text-align: center;
    margin-bottom: 1rem;
}

p.section-desc {
    font-size: 1.125rem;
    color: var(--gray);
    text-align: center;
    max-width: 680px;
    margin: 0 auto 4rem;
}

.highlight {
    color: var(--primary);
}

.highlight-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Layout */
.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.bg-darker {
    background-color: var(--black);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-only {
    display: none !important;
}

.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
}

.hamburger .bar {
    width: 25px;
    height: 2px;
    background-color: var(--dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: calc(0.4rem - 10px) 1rem;
    background: rgba(255, 106, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1rem;
}

.gradient-blob {
    position: absolute;
    filter: blur(80px);
    border-radius: 50%;
    opacity: 0.4;
    z-index: 0;
    animation: floating 8s ease-in-out infinite;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -5%;
    width: 30vw;
    height: 30vw;
    background: radial-gradient(circle, rgba(26, 26, 26, 0.8) 0%, transparent 70%);
    animation-delay: -4s;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-scroll-indicator i {
    animation: bounce 2s infinite;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--dark);
    border: 1px solid var(--border);
    padding: 4rem 2.5rem 2.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transform: translateX(-100%);
    transition: var(--transition-slow);
}

.service-card:hover {
    transform: translateY(-5px);
    background: #1f1f1f;
    border-color: #444;
}

.service-card:hover::before {
    transform: translateX(100%);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 106, 0, 0.1);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Results / Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.metric-card {
    text-align: center;
    padding: 3.5rem 2rem 2rem;
    background: var(--dark);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.metric-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--dark), var(--darker));
    padding: 4rem 2.5rem 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.stars {
    color: #FFD700;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--light);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    color: var(--white);
}

.av-1 {
    background: #4a90e2;
}

.av-2 {
    background: #50e3c2;
    color: #1a1a1a;
}

.testimonial-author h4 {
    margin: 0;
    font-size: 1rem;
}

.testimonial-author span {
    font-size: 0.875rem;
    color: var(--gray);
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    position: relative;
    background: var(--dark);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.process-step {
    padding: 4rem 2rem 2.5rem;
    position: relative;
    border-top: 4px solid transparent;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}

.process-step:last-child {
    border-right: none;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.03);
    border-top-color: var(--primary);
}

.step-number {
    position: absolute;
    top: -20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
}

.step-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

/* Portfolio / Work */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem 2rem;
}

.portfolio-item {
    position: relative;
}

.portfolio-img {
    height: 300px;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

/* CSS gradient mockups to avoid explicit image dependencies */
.css-mockup-1 {
    background: linear-gradient(135deg, #2c3e50, #000000);
}

.css-mockup-2 {
    background: linear-gradient(135deg, #134e5e, #71b280);
}

.css-mockup-3 {
    background: linear-gradient(135deg, #8E2DE2, #4A00E0);
}

.css-mockup-4 {
    background: linear-gradient(135deg, #FF416C, #FF4B2B);
}

.portfolio-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60%;
    height: 60%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.mockup-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.tag {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.portfolio-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.problem-solution {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.problem-solution strong {
    color: var(--light);
}

.case-result {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.case-study-link i {
    margin-left: 0.5rem;
    transition: var(--transition);
}

.case-study-link:hover {
    color: var(--primary);
}

.case-study-link:hover i {
    transform: translateX(5px);
}

/* About Us */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.mission-box {
    background: var(--dark);
    padding: 2rem;
    border-left: 4px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin-top: 2rem;
}

.mission-box strong {
    display: block;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.about-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.abstract-shape {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--black));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphing 10s ease-in-out infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 50px rgba(255, 106, 0, 0.3);
}

.shape-inner {
    background: var(--darker);
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    border-radius: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img-huge {
    height: 120px;
    width: auto;
    object-fit: contain;
}

/* CTA */
.cta {
    text-align: center;
    padding: 8rem 0;
}

.blob-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary) 0%, transparent 60%);
    opacity: 0.2;
}

.cta-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.cta-form {
    margin-top: 3rem;
    background: rgba(26, 26, 26, 0.6);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group-3col {
    grid-template-columns: 1fr 1fr 1fr;
}

.cta-form input {
    width: 100%;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.cta-form input:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--darker);
}

/* Footer */
.footer {
    background: var(--black);
    padding: 6rem 0 2rem;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--gray);
    margin: 1.5rem 0;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    color: var(--gray);
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

/* Utility / Animations */
.text-center {
    text-align: center;
}

.margin-bottom-md {
    margin-bottom: 2rem;
}

@keyframes floating {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }

    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

@keyframes morphing {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-content {
        order: 2;
    }

    .about-visual {
        order: 1;
        height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        transition: var(--transition-slow);
        z-index: 1000;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav-links li {
        width: 100%;
        margin-bottom: 1rem;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        text-align: left;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-cta {
        display: none;
    }

    .mobile-only {
        display: block !important;
        margin-top: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(5px);
        z-index: 999;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .menu-overlay.active {
        opacity: 1;
        pointer-events: all;
    }

    .form-group,
    .form-group-3col {
        grid-template-columns: 1fr;
    }

    .process-timeline {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 4rem 0;
    }
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}