@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    /* Color Variables */
    --color-primary-dark: #073B3A;
    --color-dark-emerald: #0F5F5B;
    --color-primary-emerald: #14B8A6;
    --color-light-mint: #79E2D0;
    --color-gold: #F7C948;
    --color-orange: #F59E0B;
    --color-deep-orange: #F97316;
    --color-bg: #FFFFFF;
    --color-section-bg: #F8FAFC;
    --color-border: #E2E8F0;
    --color-heading: #0F172A;
    --color-body: #475569;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #F7C948, #F59E0B, #14B8A6, #0F5F5B);
    --gradient-secondary: linear-gradient(135deg, #14B8A6, #0F5F5B);
    --gradient-cta: linear-gradient(135deg, #F59E0B, #F97316);
    --gradient-gold-orange: linear-gradient(135deg, #F7C948, #F59E0B, #F97316);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-number: 'Space Grotesk', sans-serif;

    /* Styling Rules */
    --card-radius: 24px;
    --card-shadow: 0 10px 30px rgba(7, 59, 58, 0.04);
    --card-shadow-hover: 0 20px 40px rgba(7, 59, 58, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    overflow-x: hidden;
    background-color: var(--color-bg);
    color: var(--color-body);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body.lenis-scroll {
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    font-weight: 700;
    line-height: 1.15;
}

p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-body);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary-emerald);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-dark-emerald);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-primary-emerald);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}
.custom-cursor-dot {
    width: 4px;
    height: 4px;
    background-color: var(--color-primary-emerald);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
}

/* Glassmorphism Classes */
.glass-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(20, 184, 166, 0.12);
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 2.5rem;
    transition: var(--transition-smooth);
}
.glass-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(20, 184, 166, 0.3);
}

/* Premium Gradient Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-gold-orange);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
}

.btn-emerald {
    background: var(--gradient-secondary);
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(20, 184, 166, 0.3);
}
.btn-emerald:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 184, 166, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-primary-emerald);
    color: var(--color-primary-dark);
}
.btn-outline:hover {
    background: rgba(20, 184, 166, 0.05);
    transform: translateY(-2px);
}

/* Sticky Transparent-to-Glass Navbar */
header.navbar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
}
header.navbar-container.scrolled {
    padding: 0.85rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(7, 59, 58, 0.03);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo img {
    height: 40px;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--color-heading);
    padding: 0.5rem 0;
}
.nav-link:hover, .nav-link.active {
    color: var(--color-primary-emerald);
}

/* Dropdown Underline Animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-secondary);
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Mega Menu Details */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 800px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--color-border);
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-item {
    padding: 1rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}
.mega-item:hover {
    background: var(--color-section-bg);
}
.mega-item h4 {
    font-size: 0.95rem;
    color: var(--color-heading);
    margin-bottom: 0.25rem;
}
.mega-item p {
    font-size: 0.8rem;
    color: var(--color-body);
}

/* Signature Hero Layout */
.hero-section {
    min-height: 100vh;
    padding-top: 150px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.mesh-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(at 0% 0%, rgba(20, 184, 166, 0.08) 0px, transparent 50%),
                      radial-gradient(at 100% 0%, rgba(247, 201, 72, 0.08) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.05) 0px, transparent 50%),
                      radial-gradient(at 0% 100%, rgba(121, 226, 208, 0.06) 0px, transparent 50%);
}
.blur-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.blur-circle-1 {
    width: 400px;
    height: 400px;
    background: rgba(121, 226, 208, 0.15);
    top: 10%;
    right: 15%;
}
.blur-circle-2 {
    width: 300px;
    height: 300px;
    background: rgba(247, 201, 72, 0.1);
    bottom: 20%;
    left: 10%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    align-items: center;
}

.hero-left h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(90deg, var(--color-orange), var(--color-deep-orange), var(--color-primary-emerald));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-left p.lead {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    color: var(--color-body);
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    font-family: var(--font-number);
}
.stat-val {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}
.stat-lbl {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-body);
    margin-top: 0.25rem;
}

/* Floating Elements on Hero Right */
.hero-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-illustration {
    width: 100%;
    max-width: 450px;
    height: 450px;
    position: relative;
}

.illustration-sphere {
    width: 250px;
    height: 250px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 30px 60px rgba(20, 184, 166, 0.2);
    animation: floatSphere 6s ease-in-out infinite;
}

.gradient-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px dashed rgba(20, 184, 166, 0.3);
    animation: spinRing 20s linear infinite;
}
.ring-1 {
    width: 320px;
    height: 320px;
    top: calc(50% - 160px);
    left: calc(50% - 160px);
}
.ring-2 {
    width: 380px;
    height: 380px;
    top: calc(50% - 190px);
    left: calc(50% - 190px);
    border-style: dotted;
    animation-duration: 30s;
    animation-direction: reverse;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(20, 184, 166, 0.15);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(7, 59, 58, 0.05);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}
.floating-card h4 {
    font-size: 0.9rem;
    color: var(--color-heading);
}
.floating-card span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-primary-emerald);
}

.card-dev {
    top: 10%;
    left: -5%;
}
.card-brand {
    bottom: 15%;
    right: -5%;
}

.floating-social {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
}
.social-ln { top: 20%; right: 5%; }
.social-ig { bottom: 25%; left: 0%; }

/* Keyframe Animations */
@keyframes floatSphere {
    0%, 100% { transform: translate(-50%, -55%); }
    50% { transform: translate(-50%, -45%); }
}

@keyframes spinRing {
    to { transform: rotate(360deg); }
}

/* Sections Structure */
section {
    padding: 8rem 0;
    position: relative;
}

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

.section-header {
    max-width: 650px;
    margin: 0 auto 5rem auto;
    text-align: center;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
}

/* Premium Masonry Portfolio */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.masonry-item {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.masonry-item:nth-child(even) {
    transform: translateY(40px);
}

.portfolio-img-box {
    width: 100%;
    height: 380px;
    overflow: hidden;
    position: relative;
}
.portfolio-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.masonry-item:hover .portfolio-img-box img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(7, 59, 58, 0.9) 20%, rgba(20, 184, 166, 0.2));
    opacity: 0;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
    color: #FFFFFF;
}
.masonry-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.portfolio-tag {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Service Detail Roadmap Timeline */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 4rem auto 0 auto;
    padding-left: 3rem;
}
.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
    background: var(--color-border);
}
.timeline-step {
    position: relative;
    margin-bottom: 3.5rem;
}
.timeline-step::before {
    content: '';
    position: absolute;
    top: 5px;
    left: -40px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary-emerald);
    border: 3px solid #FFFFFF;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}
.timeline-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Premium Footer */
footer.footer-section {
    background: var(--color-primary-dark);
    color: #FFFFFF;
    padding: 6rem 0 3rem 0;
    border-top: 1px solid rgba(121, 226, 208, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h3 {
    color: #FFFFFF;
    font-size: 1.15rem;
    margin-bottom: 1.75rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}
.footer-links li {
    margin-bottom: 1rem;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.65);
}
.footer-links a:hover {
    color: var(--color-light-mint);
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Layout Grids */
.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}
.grid-1-2-col {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}
.grid-2-1-col {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
}

/* Responsive Breakpoints */
@media (max-width: 991px) {
    .grid-2-col, .grid-1-2-col, .grid-2-1-col {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-right {
        display: none;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .masonry-grid {
        grid-template-columns: 1fr;
    }
    .masonry-item:nth-child(even) {
        transform: none;
    }
}

@media (max-width: 767px) {
    .hero-left h1 {
        font-size: 2.75rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
