/* ==========================================================================
   SwiftStack Agency - Design System & Modern Responsive Stylesheet
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
    /* Color Palette - Premium Light Theme (Paragon Tech Style) */
    --color-bg-raw: 250, 250, 252;
    --color-bg: rgb(var(--color-bg-raw));
    --color-bg-card: rgba(255, 255, 255, 0.75);
    --color-bg-card-hover: rgba(255, 255, 255, 0.98);
    
    --color-text-primary: #111827;
    --color-text-secondary: #4b5563;
    --color-text-muted: #9ca3af;
    
    /* Accents (Charcoal, Deep Slate Blue & Highlights) */
    --color-accent-purple-hsl: 220, 15%, 16%;
    --color-accent-purple: hsl(var(--color-accent-purple-hsl));
    
    --color-accent-cyan-hsl: 262, 80%, 50%;
    --color-accent-cyan: hsl(var(--color-accent-cyan-hsl));
    
    --color-accent-pink-hsl: 340, 80%, 55%;
    --color-accent-pink: hsl(var(--color-accent-pink-hsl));
    
    --color-border-glass: rgba(0, 0, 0, 0.06);
    --color-border-glow: rgba(109, 40, 217, 0.2);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Animation Timings */
    --transition-fast: 0.2s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout & Spacing */
    --header-height: 80px;
    --max-width: 1200px;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
}

/* 2. Global Resets & Scrollbar Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    background-color: var(--color-bg);
    color: var(--color-text-secondary);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border: 2px solid var(--color-bg);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Selection highlight */
::selection {
    background-color: rgba(109, 40, 217, 0.15);
    color: var(--color-text-primary);
}

/* Typography elements */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text-secondary);
}

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

ul {
    list-style: none;
}

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

/* Layout Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* 3. Utility Classes & Patterns */
.gradient-text {
    background: linear-gradient(135deg, #111827 0%, #1f2937 40%, var(--color-accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.font-accent {
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.85rem;
}

/* Star Lattice Background Overlay */
.star-lattice-bg {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cpath d='M28 10 l3.827 8.761 l8.901-3.489 l-3.489 8.901 l8.761 3.827 l-8.761 3.827 l3.489 8.901 l-8.901-3.489 L28 46 l-3.827-8.761 l-8.901 3.489 l3.489-8.901 l-8.761-3.827 l8.761-3.827 l-3.489-8.901 l8.901 3.489 Z' fill='none' stroke='rgba(0,0,0,0.03)' stroke-width='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
}

/* Glassmorphism panel base (adapted for Light Theme) */
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-lg);
}

/* 4. Interactive Custom Cursor (Adapted for Light Theme) */
.custom-cursor,
.custom-cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    will-change: transform;
}

.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent-cyan);
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.4);
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    background-color: rgba(2, 132, 199, 0.05);
    backdrop-filter: blur(2px);
    border: 1px solid rgba(2, 132, 199, 0.18);
}

/* Cursor scale on hover */
body.cursor-hover .custom-cursor {
    width: 4px;
    height: 4px;
    background-color: var(--color-text-primary);
    box-shadow: 0 0 15px rgba(17, 24, 39, 0.4);
}

body.cursor-hover .custom-cursor-glow {
    width: 65px;
    height: 65px;
    background-color: rgba(17, 24, 39, 0.03);
    border-color: rgba(17, 24, 39, 0.25);
}

/* Hide native cursor for device supporting hover clicks */
@media (hover: hover) and (pointer: fine) {
    html {
        cursor: none;
    }
    a, button, select, input, textarea, .slider-dots span {
        cursor: none;
    }
}

/* Disable Custom Cursor on Mobile/Touch screens */
@media (max-width: 1024px) {
    .custom-cursor,
    .custom-cursor-glow {
        display: none !important;
    }
    html {
        cursor: auto !important;
    }
}

/* 5. Button Architecture */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 30px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: #000000;
    color: #ffffff;
    border: 1px solid #000000;
}

.btn-primary:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-primary);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

/* Glowing Button Effect - Reimagined for Elegant Light Theme */
.btn-glow {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.btn-glow:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.btn-primary:active, .btn-secondary:active {
    transform: translateY(0);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

/* 6. Sticky Frosted Header Navigation */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border-glass);
    height: 70px;
}

.header-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
}

.logo-accent {
    background: linear-gradient(135deg, var(--color-text-primary) 0%, var(--color-accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 1px;
}

/* Navigation Links */
.nav-menu ul {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

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

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

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

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

.btn-nav {
    padding: 0.6rem 1.5rem;
    font-size: 0.85rem;
}

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

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--color-text-primary);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--color-border-glass);
    z-index: 999;
    padding: 8rem 3rem 3rem 3rem;
    transition: right var(--transition-slow);
}

.mobile-nav-drawer.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--color-text-primary);
    padding-left: 8px;
}

.mob-cta-li {
    margin-top: 2rem;
}

.mob-cta-li .btn {
    width: 100%;
}

/* 7. Hero Section Structure */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-glow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: 
        radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 85% 70%, rgba(2, 132, 199, 0.02) 0%, transparent 40%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
    padding-top: 4rem;
    padding-bottom: 8rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.badge-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.glow-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    background: rgba(2, 132, 199, 0.04);
    border: 1px solid rgba(2, 132, 199, 0.18);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-accent-cyan);
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-accent-cyan);
    box-shadow: 0 0 8px var(--color-accent-cyan);
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { opacity: 0.4; }
    100% { opacity: 1; transform: scale(1.2); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto 3rem auto;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Stats Bar */
.stats-bar {
    position: relative;
    width: 100%;
    z-index: 3;
    margin-top: auto;
    border-top: 1px solid var(--color-border-glass);
    border-bottom: 1px solid var(--color-border-glass);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 2rem 0;
}

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

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border-glass);
}

/* 8. Sections Common Setup */
section {
    padding: 8rem 0;
    position: relative;
}

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

.section-tag {
    display: inline-block;
    color: var(--color-accent-cyan);
    margin-bottom: 1rem;
    text-shadow: 0 0 10px rgba(2, 132, 199, 0.15);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* 9. Services Grid & Spotlight Glow Hover Cards */
.services-section {
    background-color: #f3f4f6;
}

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

/* Spotlight Glowing Card Design */
.service-card {
    position: relative;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-glass);
    overflow: hidden;
    padding: 3rem;
    transition: background var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    background: #ffffff;
    border-color: rgba(109, 40, 217, 0.25);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

/* Dynamic glow overlays fed by mouse cursor JS variables */
.card-glow-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    background: radial-gradient(
        350px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(109, 40, 217, 0.04),
        transparent 60%
    );
}

.card-border-glow {
    position: absolute;
    inset: -1px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
    background: radial-gradient(
        250px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(109, 40, 217, 0.25) 0%,
        rgba(109, 40, 217, 0.06) 50%,
        transparent 100%
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
}

.service-card:hover .card-glow-bg,
.service-card:hover .card-border-glow {
    opacity: 1;
}

/* Card Content layout */
.card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-md);
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--color-border-glass);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-cyan);
    margin-bottom: 2rem;
    transition: var(--transition-normal);
}

.service-icon {
    width: 28px;
    height: 28px;
    transition: transform var(--transition-normal);
}

.service-card:hover .service-icon-box {
    background: rgba(109, 40, 217, 0.08);
    border-color: rgba(109, 40, 217, 0.25);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 15px rgba(109, 40, 217, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-card .service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-normal);
}

.service-card:hover .service-title {
    color: var(--color-text-primary);
}

.service-description {
    color: var(--color-text-secondary);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    flex-grow: 1;
}

.service-bullets {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    padding-top: 1.5rem;
}

.service-bullets li {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-bullets li::before {
    content: '';
    width: 5px;
    height: 5px;
    background-color: var(--color-accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(109, 40, 217, 0.4);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-primary);
    width: fit-content;
}

.link-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-normal);
}

.service-link:hover {
    color: var(--color-accent-cyan);
}

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

/* 10. Testimonials Carousel Section */
.testimonials-section {
    background-color: var(--color-bg);
    overflow: hidden;
}

.testimonials-glow-1 {
    position: absolute;
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.testimonials-glow-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--color-border-glass);
    background: #ffffff;
    padding: 5rem 4rem 4rem 4rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.slider-backdrop-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(
        circle at 50% 0%,
        rgba(109, 40, 217, 0.03) 0%,
        transparent 50%
    );
}

.testimonial-slider {
    position: relative;
    z-index: 1;
    min-height: 220px;
}

.testimonial-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: scale(0.98) translateY(10px);
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.testimonial-item.active {
    position: relative;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.quote-icon {
    color: rgba(109, 40, 217, 0.1);
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-text-primary));
    box-shadow: 0 0 10px rgba(109, 40, 217, 0.1);
}

.author-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-primary);
    background-color: #ffffff;
}

.author-info h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.author-info p {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Slider Arrow Navigation Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--color-text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.prev-btn:hover svg {
    transform: translateX(-3px);
}

.next-btn:hover svg {
    transform: translateX(3px);
}

.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition-normal);
}

.slider-dots .dot:hover {
    background: rgba(0, 0, 0, 0.25);
}

.slider-dots .dot.active {
    width: 24px;
    border-radius: 5px;
    background: var(--color-text-primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 11. Contact Form & Details Section */
.contact-section {
    background-color: #f9fafb;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.contact-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 1rem 0 1.5rem 0;
}

.contact-lead {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 3.5rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
}

.info-item-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-md);
    padding: 1.25rem 1.5rem;
    transition: var(--transition-normal);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.info-item-card:hover {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.03);
}

.info-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(109, 40, 217, 0.05);
    border: 1px solid rgba(109, 40, 217, 0.15);
    color: var(--color-accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.info-icon-box svg {
    width: 22px;
    height: 22px;
}

.info-item-card:hover .info-icon-box {
    background: rgba(109, 40, 217, 0.08);
    border-color: rgba(109, 40, 217, 0.25);
    color: var(--color-accent-cyan);
    box-shadow: 0 0 10px rgba(109, 40, 217, 0.15);
}

.info-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.15rem;
}

.info-value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

/* Social Media Channels styling */
.social-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-heading {
    color: var(--color-text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-btn svg {
    width: 18px;
    height: 18px;
}

.social-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--color-text-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Form Container and Floating Inputs */
.contact-form-panel {
    position: relative;
    background: #ffffff;
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-lg);
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

.form-backdrop-glow {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.02) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.agency-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.form-row {
    width: 100%;
}

.form-group {
    position: relative;
    width: 100%;
}

/* Clean slate fields */
.form-input {
    width: 100%;
    padding: 0.9rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: border-color var(--transition-normal);
}

/* Floating Label Logic */
.form-label {
    position: absolute;
    left: 0;
    top: 0.9rem;
    color: var(--color-text-secondary);
    pointer-events: none;
    transition: transform var(--transition-normal), color var(--transition-normal), font-size var(--transition-normal);
    transform-origin: 0 0;
}

/* Trigger transformations when input gets focus or contains values */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--color-accent-cyan);
}

/* Special setup for SELECT option */
.select-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

/* Style select options background */
.select-input option {
    background-color: #ffffff;
    color: var(--color-text-primary);
}

/* Fix floating trigger for select elements */
.select-input:focus ~ .select-label,
.select-input:valid ~ .select-label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--color-accent-cyan);
}

/* Dynamic input underline indicator */
.input-glow-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-text-primary);
    transition: width var(--transition-normal), left var(--transition-normal);
}

.form-input:focus ~ .input-glow-line {
    width: 100%;
    left: 0;
}

.form-input:focus {
    border-color: transparent;
}

.textarea-input {
    min-height: 100px;
    resize: none;
}

/* Error States validation styling */
.form-group.has-error .form-input {
    border-bottom-color: var(--color-accent-pink);
}

.form-group.has-error .form-label {
    color: var(--color-accent-pink);
}

.form-error-msg {
    position: absolute;
    bottom: -1.3rem;
    left: 0;
    font-size: 0.75rem;
    color: var(--color-accent-pink);
    opacity: 0;
    transform: translateY(5px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.form-group.has-error .form-error-msg {
    opacity: 1;
    transform: translateY(0);
}

/* Submit state and spinner animation */
.btn-submit {
    width: 100%;
    margin-top: 1rem;
    height: 52px;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
}

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

.btn-submit.loading .btn-text {
    display: none;
}

.btn-submit.loading .spinner {
    display: block;
}

/* Thank You Success Overlay Modal */
.success-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
    padding: 3rem;
}

.success-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.success-content {
    text-align: center;
    max-width: 400px;
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.success-overlay.open .success-content {
    transform: scale(1);
}

.success-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(109, 40, 217, 0.05);
    border: 2px solid var(--color-accent-cyan);
    color: var(--color-accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem auto;
    box-shadow: 0 0 20px rgba(109, 40, 217, 0.15);
}

.success-icon {
    width: 32px;
    height: 32px;
}

.success-title {
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
}

.success-message {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 2.5rem;
}

/* Marquee Section Styling - Paragon Tech Style */
.marquee-section {
    background: #111827; /* Sleek charcoal dark banner */
    color: #ffffff;
    padding: 3rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.marquee-container {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    gap: 3.5rem;
    animation: marqueeScroll 30s linear infinite;
    padding-right: 3.5rem;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

.marquee-badge {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: var(--transition-fast);
    white-space: nowrap;
}

.marquee-badge:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateY(-2px);
}

.marquee-badge svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* 12. Footer Section */
.footer {
    border-top: 1px solid var(--color-border-glass);
    background-color: var(--color-bg);
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

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

.footer-left {
    max-width: 350px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

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

.footer-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.copyright {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Back to Top button */
.back-to-top-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.back-to-top-btn svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-normal);
}

.back-to-top-btn:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--color-text-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.back-to-top-btn:hover svg {
    transform: translateY(-3px);
}

/* 13. Scroll Reveal & Base Animation Keyframes */
.scroll-reveal {
    opacity: 0;
    will-change: transform, opacity;
}

.scroll-reveal.fade-up {
    transform: translateY(35px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   13. Process, Why Choose Us, CTA and Service Bullets Styling
   ========================================================================== */

/* Service Bullets */
.service-bullets {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-bullets li {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.service-bullets li::before {
    content: "→";
    color: var(--color-accent-cyan);
    font-weight: bold;
    flex-shrink: 0;
}

/* Process Section */
.process-section {
    padding: 8rem 0;
    background-color: var(--color-bg);
    position: relative;
    z-index: 2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-card {
    position: relative;
    padding: 3rem 2.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
}

.process-card:hover {
    background: var(--color-bg-card-hover);
    border-color: rgba(109, 40, 217, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.03);
}

.process-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--color-accent-cyan), var(--color-text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 0.85;
}

.process-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-card-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Why Choose Us Section */
.why-us-section {
    padding: 8rem 0;
    background-color: #f9fafb;
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--color-border-glass);
    border-bottom: 1px solid var(--color-border-glass);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.why-card {
    position: relative;
    padding: 2.5rem 2rem;
    background: #ffffff;
    border: 1px solid var(--color-border-glass);
    border-radius: var(--border-radius-lg);
    transition: var(--transition-normal);
}

.why-card:hover {
    border-color: rgba(109, 40, 217, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.why-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--border-radius-md);
    background: rgba(109, 40, 217, 0.05);
    border: 1px solid rgba(109, 40, 217, 0.15);
    color: var(--color-accent-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition-normal);
}

.why-card:hover .why-icon-box {
    background: rgba(109, 40, 217, 0.08);
    border-color: rgba(109, 40, 217, 0.25);
    box-shadow: 0 0 10px rgba(109, 40, 217, 0.15);
}

.why-icon-box svg {
    width: 22px;
    height: 22px;
}

.why-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.why-card-description {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* CTA Section on Homepage */
.cta-section {
    padding: 8rem 0;
    background-color: var(--color-bg);
    position: relative;
    z-index: 2;
}

.cta-card {
    position: relative;
    padding: 5rem 4rem;
    background: #111827; /* Sleek dark card for premium pop */
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cta-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a78bfa;
    margin-bottom: 1.5rem;
}

.cta-title {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.cta-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.cta-actions .btn-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cta-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
}

/* 14. Responsive Breakpoints */
@media (max-width: 1024px) {
    /* Fonts scale down */
    .hero-title {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .contact-title {
        font-size: 2.2rem;
    }
    
    /* Layout grid collapse */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 2rem 0;
    }
    
    .stat-item {
        flex: 0 0 50%;
    }
    
    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }
    
    .hero-section {
        padding-top: 6rem;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2.5rem;
    }
    
    /* Header toggle displays */
    .nav-menu, .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Services grid collapse */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .process-grid, .why-us-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-card {
        padding: 4rem 2rem;
    }
    
    .cta-title {
        font-size: 2.2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .testimonial-slider-wrapper {
        padding: 4rem 2rem 3rem 2rem;
    }
    
    .testimonial-text {
        font-size: 1.1rem;
    }
    
    .contact-form-panel {
        padding: 2.5rem 2rem;
    }
    
    /* Footer collapse */
    .footer-container {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-left {
        margin: 0 auto;
    }
    
    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-right {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
}
