/* 
========================================================================
   DIGICANVA MODERN SINGLE-PAGE PREMIUM AGENCY STYLESHEET
   Style: Premium modern SaaS + Creative Agency Standard
   Technology: Pure CSS3 (Variables, Flexbox, Grid, Custom Keyframes)
   No External Frameworks
========================================================================
*/

/* ----------------------------------------------------
   1. CSS RESET & VARIABLE SYSTEM
   ---------------------------------------------------- */
:root {
    /* Color Palette */
    --primary: #0092FF;
    --primary-glow: rgba(0, 146, 255, 0.4);
    --primary-light: rgba(0, 146, 255, 0.15);
    --navy-dark: #071B2F;
    --navy-light: #0d2740;
    --navy-deep: #030d17;
    --bg-soft: #EAF6FF;
    --white: #FFFFFF;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --light-gray: #F5F7FA;
    --border-light: #E5E7EB;

    /* Glassmorphism Styles */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-bg-dark: rgba(7, 27, 47, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-border-dark: rgba(255, 255, 255, 0.08);

    /* Typography Settings */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Standards */
    --section-padding: 8rem 2rem;
    --section-padding-mobile: 5rem 1.5rem;
    
    /* Layout Configurations */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 999px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(7, 27, 47, 0.05);
    --shadow-lg: 0 20px 40px -15px rgba(7, 27, 47, 0.08);
    --shadow-glow: 0 0 30px rgba(0, 146, 255, 0.25);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    outline: none;
}

/* ----------------------------------------------------
   2. REUSABLE UTILITY CLASSES & GLOBAL SYSTEMS
   ---------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4.5rem auto;
}

.section-title {
    font-size: 2.5rem;
    color: var(--navy-dark);
    margin-top: 1rem;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.section-title.text-left {
    text-align: left;
}

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

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 146, 255, 0.2);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 1.8s infinite;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #00C2FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Interactive Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

.btn-full {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -5px rgba(0, 146, 255, 0.4);
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--navy-dark);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--light-gray);
    transform: translateY(-3px);
}

/* Glassmorphism Generic Card */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* ----------------------------------------------------
   3. STICKY HEADER & NAVIGATION MENU
   ---------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.header.scrolled {
    padding: 14px 0;
    background: rgba(7, 27, 47, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

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

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy-dark);
    letter-spacing: -0.03em;
}

.header.scrolled .logo-text {
    color: var(--white);
}

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

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 8px 0;
}

.header.scrolled .nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition-smooth);
}

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

.header.scrolled .nav-link:hover, .header.scrolled .nav-link.active {
    color: var(--white);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Hamburger mobile menu button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.bar {
    width: 100%;
    height: 2px;
    background-color: var(--navy-dark);
    transition: var(--transition-smooth);
    border-radius: var(--radius-full);
}

.header.scrolled .bar {
    background-color: var(--white);
}

/* ----------------------------------------------------
   4. HERO SECTION (Dark theme with glowing accents)
   ---------------------------------------------------- */
.hero {
    position: relative;
    background-color: var(--navy-dark);
    padding: 180px 0 120px 0;
    overflow: hidden;
}

/* Subtle Blue Glow Overlay */
.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 146, 255, 0.25) 0%, rgba(7, 27, 47, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 620px;
}

.hero-content .badge {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-buttons .btn-secondary {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.15);
}

.hero-buttons .btn-secondary img {
    filter: brightness(0) invert(1);
    transition: var(--transition-smooth);
}

.hero-buttons .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.hero-buttons .btn-secondary:hover img {
    transform: translateX(4px);
}

/* Glassmorphism Floating Info */
.hero-features-glass {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px 24px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 500px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon-wrapper {
    background-color: var(--primary-light);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 146, 255, 0.3);
}

.feature-item h4 {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-light);
    font-size: 0.8rem;
}

.feature-separator {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Visual Illustration & Floating Elements */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.illustration-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-illustration {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.3));
}

/* Decorative Floating Cards */
.floating-card {
    position: absolute;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    background: rgba(7, 27, 47, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    min-width: 180px;
}

.card-1 {
    top: 15%;
    left: -15%;
}

.card-2 {
    bottom: 20%;
    right: -10%;
}

.card-glow-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 8px;
    height: 8px;
    background-color: #00F0FF;
    border-radius: 50%;
    box-shadow: 0 0 10px #00F0FF;
}

.card-glow-dot.pink {
    background-color: #FF007A;
    box-shadow: 0 0 10px #FF007A;
}

.card-flex {
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon-bg {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(0, 240, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.card-icon-bg.pink {
    background: rgba(255, 0, 122, 0.15);
}

.card-title {
    display: block;
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 500;
}

.card-val {
    display: block;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
}

/* Floating Animations */
.floating-anim-1 {
    animation: float1 5s ease-in-out infinite;
}

.floating-anim-2 {
    animation: float2 6s ease-in-out infinite;
}

/* ----------------------------------------------------
   5. TRUSTED BY SECTION & STATS DECK
   ---------------------------------------------------- */
.trusted {
    background-color: var(--white);
    padding: 60px 0 100px 0;
    position: relative;
    z-index: 10;
}

.ticker-wrapper {
    margin-bottom: 80px;
}

.ticker-title {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 24px;
}

.ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.ticker::before, .ticker::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.ticker::before {
    left: 0;
    background: linear-gradient(to right, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.ticker::after {
    right: 0;
    background: linear-gradient(to left, var(--white) 0%, rgba(255, 255, 255, 0) 100%);
}

.ticker-track {
    display: inline-flex;
    animation: marquee 25s linear infinite;
}

.logo-slide {
    display: inline-flex;
    gap: 60px;
    padding-right: 60px;
}

.client-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-light);
    opacity: 0.8;
    transition: var(--transition-smooth);
    cursor: default;
}

.client-logo:hover {
    color: var(--navy-dark);
    opacity: 1;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    padding: 40px 30px;
    text-align: center;
    background: var(--light-gray);
    border-color: rgba(0, 146, 255, 0.05);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    background: var(--white);
    border-color: rgba(0, 146, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ----------------------------------------------------
   6. SERVICES SECTION (Premium Grids & Hover Effects)
   ---------------------------------------------------- */
.services {
    background-color: var(--bg-soft);
    padding: var(--section-padding);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    position: relative;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.service-card-inner {
    padding: 48px 36px;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

/* Modern Gradient Border Hover Trigger */
.service-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary) 0%, #00F0FF 100%);
    border-radius: var(--radius-lg);
    z-index: 1;
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    border-radius: calc(var(--radius-lg) - 2px);
    z-index: 1;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -15px rgba(0, 146, 255, 0.15);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background-color: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    z-index: 2;
    position: relative;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon-box {
    background-color: var(--primary);
}

.service-card:hover .service-icon-box img {
    filter: brightness(0) invert(1);
}

.service-card .service-title {
    font-size: 1.35rem;
    color: var(--navy-dark);
    margin-bottom: 16px;
    z-index: 2;
    position: relative;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    z-index: 2;
    position: relative;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
    z-index: 2;
    position: relative;
}

.link-arrow {
    transition: var(--transition-smooth);
}

.service-card:hover .link-arrow {
    transform: translateX(5px);
}

/* ----------------------------------------------------
   7. ABOUT SECTION (Two Columns with Checklist UI)
   ---------------------------------------------------- */
.about {
    background-color: var(--white);
    padding: var(--section-padding);
}

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

/* Speedometer Interactive Visual */
.about-visual {
    position: relative;
}

.about-card-stack {
    position: relative;
    z-index: 2;
}

.stack-card {
    padding: 48px;
    position: relative;
    z-index: 2;
}

.stack-heading {
    font-size: 1.75rem;
    margin-top: 16px;
    margin-bottom: 16px;
}

.stack-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.speedometer-box {
    background-color: var(--light-gray);
    padding: 24px;
    border-radius: var(--radius-md);
}

.speed-score {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.speed-score span {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: #00C2FF;
}

.speed-score p {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.speed-bar {
    width: 100%;
    height: 8px;
    background-color: var(--border-light);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.speed-fill {
    height: 100%;
    width: 0%; /* Animated on reveal via JS */
    background: linear-gradient(to right, var(--primary), #00F0FF);
    border-radius: var(--radius-full);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.decorative-blob {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 146, 255, 0.15) 0%, rgba(0, 146, 255, 0) 70%);
    z-index: 1;
    border-radius: 50%;
}

/* About Checklist styling */
.about-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 36px;
}

.about-checklist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.checklist-item .check-icon-wrapper {
    background-color: var(--primary-light);
    color: var(--primary);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
    border: 1px solid rgba(0, 146, 255, 0.2);
}

.checklist-item strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dark);
    display: block;
    margin-bottom: 2px;
}

.checklist-item p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ----------------------------------------------------
   8. PORTFOLIO SHOWCASE (Creative Overlay Deck)
   ---------------------------------------------------- */
.portfolio {
    background-color: var(--light-gray);
    padding: var(--section-padding);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
}

.portfolio-image-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background-color: var(--navy-dark);
}

.portfolio-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 27, 47, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-smooth);
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.overlay-content .project-cat {
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 8px;
}

.project-name {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 24px;
}

/* Hover triggers */
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.portfolio-item:hover .portfolio-image-box img {
    transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .overlay-content {
    transform: translateY(0);
}

.portfolio-info {
    padding: 24px;
    border-top: 1px solid var(--border-light);
}

.portfolio-info .project-cat {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.project-title-text {
    font-size: 1.2rem;
    color: var(--navy-dark);
    font-weight: 700;
}

/* ----------------------------------------------------
   9. PROCESS TIMELINE (Vertical Connections)
   ---------------------------------------------------- */
.process {
    background-color: var(--white);
    padding: var(--section-padding);
    position: relative;
}

.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--border-light);
    z-index: 1;
}

.timeline-step {
    position: relative;
    width: 50%;
    margin-bottom: 40px;
    z-index: 2;
}

.timeline-step:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.timeline-step:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-dot {
    position: absolute;
    top: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 4px solid var(--white);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(0, 146, 255, 0.2);
}

.timeline-step:nth-child(even) .timeline-dot {
    left: -16px;
}

.timeline-step:nth-child(odd) .timeline-dot {
    right: -16px;
}

.timeline-content {
    padding: 32px;
    transition: var(--transition-smooth);
}

.timeline-step:hover .timeline-content {
    border-color: rgba(0, 146, 255, 0.2);
    transform: translateY(-3px);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ----------------------------------------------------
   10. TESTIMONIALS (Slider & Drag deck)
   ---------------------------------------------------- */
.testimonials {
    background-color: var(--bg-soft);
    padding: var(--section-padding);
    overflow: hidden;
}

.slider-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
    width: 100%;
    flex-shrink: 0;
    padding: 48px;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
}

.slide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-light);
}

.user-name {
    font-size: 1.1rem;
    color: var(--navy-dark);
}

.user-title {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.rating {
    display: flex;
    gap: 4px;
}

.testimonial-quote {
    font-size: 1.15rem;
    color: var(--text-dark);
    line-height: 1.7;
    font-style: italic;
    font-weight: 400;
    position: relative;
    z-index: 2;
}

.quote-bg-icon {
    position: absolute;
    bottom: 24px;
    right: 36px;
    opacity: 0.05;
    z-index: 1;
    pointer-events: none;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 36px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--white);
    border: 1px solid var(--border-light);
    color: var(--navy-dark);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.05);
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-light);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dot.active {
    width: 24px;
    border-radius: var(--radius-full);
    background-color: var(--primary);
}

/* ----------------------------------------------------
   11. CTA BANNER (Dark premium gradient banner)
   ---------------------------------------------------- */
.cta-banner {
    position: relative;
    background-color: var(--navy-dark);
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

.cta-gradient-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 146, 255, 0.15) 0%, rgba(7, 27, 47, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.cta-title {
    font-size: 2.75rem;
    color: var(--white);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.whatsapp-btn {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.whatsapp-btn:hover {
    background-color: rgba(37, 211, 102, 0.15);
    border-color: #25D366;
}

/* ----------------------------------------------------
   12. CONTACT SECTION (Glassmorphism Form)
   ---------------------------------------------------- */
.contact {
    background-color: var(--white);
    padding: var(--section-padding);
}

.contact-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
}

.contact-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon img {
    filter: drop-shadow(0 2px 4px rgba(0, 146, 255, 0.1));
}

.contact-item span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 2px;
}

.contact-item a, .contact-item p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-dark);
}

.contact-item a:hover {
    color: var(--primary);
}

.whatsapp-card {
    padding: 30px;
    background-color: var(--bg-soft);
    border-color: rgba(0, 146, 255, 0.1);
}

.whatsapp-card h4 {
    margin-bottom: 8px;
}

.whatsapp-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.whatsapp-chat-btn {
    background-color: #25D366;
    border-color: #25D366;
    color: var(--white);
}

.whatsapp-chat-btn:hover {
    background-color: #20BA56;
    border-color: #20BA56;
    box-shadow: 0 10px 20px -5px rgba(37, 211, 102, 0.3);
}

/* Glassmorphism Form styling */
.contact-form-wrapper {
    position: relative;
}

.contact-form {
    padding: 48px;
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

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

.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy-dark);
    margin-bottom: 8px;
}

.form-group input, .form-group textarea, .form-group select {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background-color: var(--light-gray);
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Toast Success Message */
.form-feedback {
    display: none; /* Controlled by JS */
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background-color: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: var(--radius-sm);
    color: #065F46;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 20px;
    animation: slideUp 0.4s ease-out;
}

.feedback-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #10B981;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* ----------------------------------------------------
   13. FOOTER
   ---------------------------------------------------- */
.footer {
    position: relative;
    background-color: var(--navy-dark);
    padding: 80px 0 30px 0;
    color: var(--text-light);
    overflow: hidden;
}

.footer-bg-glow {
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 146, 255, 0.1) 0%, rgba(7, 27, 47, 0) 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-brand .logo-text {
    color: var(--white);
}

.brand-desc {
    margin-top: 20px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.social-icon img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.social-icon:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.social-icon:hover img {
    opacity: 1;
}

.footer-title {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: var(--radius-md);
}

.support-info {
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 16px;
}

.support-urgent {
    font-size: 0.85rem;
    line-height: 1.6;
}

.support-urgent strong {
    color: var(--white);
    display: block;
    margin-bottom: 4px;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.copyright {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
}

/* ----------------------------------------------------
   14. ANIMATIONS & KEYFRAMES (IntersectionObserver hooks)
   ---------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Animations */
@keyframes float1 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float2 {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(12px) rotate(-1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

/* pulse dot */
@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 10px var(--primary); }
    100% { transform: scale(0.9); opacity: 0.5; }
}

/* Ticker marquee animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* slide in success message */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ----------------------------------------------------
   15. RESPONSIVE BREAKPOINTS (Mobile-First approach)
   ---------------------------------------------------- */

/* Tablet Viewports (max-width: 1024px) */
@media screen and (max-width: 1024px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

    .hero-content .badge {
        justify-content: center;
        margin: 0 auto 24px auto;
    }

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

    .hero-features-glass {
        margin: 0 auto;
    }

    .illustration-wrapper {
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .about-visual {
        order: 2;
    }

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

    .process-timeline {
        padding: 0 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Viewports (max-width: 768px) */
@media screen and (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }

    .header {
        padding: 16px 0;
    }

    .hamburger-menu {
        display: flex;
    }

    /* Mobile hamburger navigation drawer style */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--navy-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 100px 40px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 24px;
        width: 100%;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.8);
        font-size: 1.15rem;
        display: block;
        width: 100%;
    }

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

    .btn-header {
        display: none; /* Hide header CTA on very small screens to fit layout */
    }

    /* Hamburger Active Classes */
    .hamburger-menu.open .bar-1 {
        transform: rotate(45deg) translate(5px, 6px);
        background-color: var(--white);
    }

    .hamburger-menu.open .bar-2 {
        opacity: 0;
    }

    .hamburger-menu.open .bar-3 {
        transform: rotate(-45deg) translate(5px, -6px);
        background-color: var(--white);
    }

    /* Section vertical padding */
    .services, .about, .portfolio, .process, .testimonials, .contact {
        padding: var(--section-padding-mobile);
    }

    .hero {
        padding: 140px 0 80px 0;
    }

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

    .floating-card {
        display: none; /* Clean up interface clutter on mobile */
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card-inner {
        padding: 36px 24px;
    }

    .stack-card {
        padding: 24px;
    }

    .stack-heading {
        font-size: 1.4rem;
    }

    /* Process Timeline Mobile Layout Shift */
    .timeline-line {
        left: 20px;
    }

    .timeline-step {
        width: 100%;
        left: 0 !important;
        padding-left: 45px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 30px;
    }

    .timeline-dot {
        left: 4px !important;
        right: auto !important;
    }

    .timeline-content {
        padding: 20px;
    }

    .testimonial-slide {
        padding: 24px;
    }

    .slide-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .rating {
        margin-top: -8px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form {
        padding: 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
