/* ==========================================================================
   CSS Variables & Design Tokens
   ========================================================================== */
:root {
    /* Colors */
    --bg-primary: #050508;
    --bg-secondary: #0a0a10;
    --bg-tertiary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --text-dark: #1a1a1a;
    --accent-primary: #4f46e5; /* Indigo */
    --accent-secondary: #00f2fe; /* Cyan */
    --accent-tertiary: #ec4899; /* Pink */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --glow-shadow: 0 0 20px rgba(79, 70, 229, 0.4);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-max-width: 1280px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 242, 254, 0.12) 0%, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Animated Ambient Background Blobs */
.animated-bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(79, 70, 229, 0.5); /* Indigo */
    animation-duration: 25s;
}

.blob-2 {
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(0, 242, 254, 0.4); /* Cyan */
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: rgba(138, 43, 226, 0.3); /* Purple */
    animation-duration: 22s;
    animation-delay: -10s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, -150px) scale(1.2); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
    100% { transform: translate(200px, 50px) scale(1.1); }
}

/* Custom Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79,70,229,0.15) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    transition: width 0.3s, height 0.3s;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    z-index: 2;
    position: relative;
}

p, ul, div {
    z-index: 2;
    position: relative;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.section-padding {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--spacing-sm);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.section-title.text-left {
    text-align: left;
}

.highlight {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   Utility Classes & Premium Animations
   ========================================================================== */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

/* Hover Glow Effect for Cards */
.glass-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: skewX(-20deg);
    transition: all 0.7s ease;
}

.glass-panel:hover::before {
    left: 150%;
}

.glass-panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -10px rgba(0, 242, 254, 0.25), 0 0 25px rgba(79, 70, 229, 0.5);
    border-color: rgba(0, 242, 254, 0.5);
    background: rgba(255, 255, 255, 0.04);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    background-size: 200% auto;
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.4);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--glow-shadow);
}

/* ==========================================================================
   Header
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: background var(--transition-normal), backdrop-filter var(--transition-normal), padding var(--transition-normal);
    padding: 1.2rem 0;
}

.header.scrolled {
    background: rgba(5, 5, 8, 0.9);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--glass-border);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.header-logo {
    max-height: 60px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.25));
}

.cover-logo-img {
    max-width: 350px;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

.navbar .nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   Cover Page
   ========================================================================== */
.cover-page {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    animation: pulseBg 20s infinite alternate;
}

@keyframes pulseBg {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(5,5,8,0.4) 0%, var(--bg-primary) 100%);
}

.cover-content {
    text-align: center;
    max-width: 900px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    z-index: 10;
    position: relative;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

.cover-logo {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
}

.cover-title {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(255,255,255,0.1);
}

.cover-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cover-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==========================================================================
   About & Why Choose Us
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.about-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--accent-secondary);
}

.why-choose-us h3 {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 2rem;
    color: var(--accent-secondary);
    margin-top: 0.25rem;
    transition: transform 0.3s ease;
}

.feature-item:hover .highlight-icon {
    transform: scale(1.2) rotate(10deg);
    color: var(--accent-tertiary);
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Services Deep Dive (9 Services)
   ========================================================================== */
.services-detailed {
    background: var(--bg-secondary);
    position: relative;
}

.service-deep-dive {
    background: var(--bg-tertiary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Animated Gradient Border for Services */
.service-deep-dive::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: var(--accent-gradient);
    -webkit-mask: 
       linear-gradient(#fff 0 0) content-box, 
       linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.service-deep-dive:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.8), 0 0 30px rgba(79, 70, 229, 0.3);
}

.service-deep-dive:hover::after {
    opacity: 1;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1.5rem;
}

.service-icon {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 4s linear infinite;
}

.service-header h3 {
    font-size: 2.2rem;
}

.service-overview {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.service-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-box {
    background: rgba(0,0,0,0.2);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.detail-box:hover {
    background: rgba(255,255,255,0.02);
    transform: scale(1.02);
}

.detail-box h4 {
    color: var(--accent-secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-box h4::before {
    content: '→';
    color: var(--accent-tertiary);
}

.detail-box ul {
    list-style: none;
    padding-left: 0;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.detail-box ul li {
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1.5rem;
}

.detail-box ul li::before {
    content: '•';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.detail-box p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.detail-box strong {
    color: var(--text-primary);
}

/* ==========================================================================
   Tech Stack
   ========================================================================== */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tech-category {
    padding: 2.5rem;
    text-align: center;
    border-radius: 20px;
}

.tech-category h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tech-category h4 i {
    font-size: 3rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tech-category p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==========================================================================
   Methodology Timeline
   ========================================================================== */
.methodology {
    background: var(--bg-tertiary);
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--glass-border);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    margin-bottom: 3rem;
}

.timeline-item.reveal-left {
    left: 0;
}

.timeline-item.reveal-right {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    right: -30px;
    background: var(--bg-primary);
    border: 3px solid var(--accent-secondary);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-icon {
    transform: scale(1.1) rotate(360deg);
    transition: transform 0.8s ease;
}

.timeline-item.reveal-right .timeline-icon {
    left: -30px;
}

.timeline-content {
    padding: 2rem;
    border-radius: 16px;
}

.timeline-content h4 {
    margin-bottom: 1rem;
    color: var(--accent-secondary);
    font-size: 1.3rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

/* ==========================================================================
   Portfolio & Case Studies
   ========================================================================== */
.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.case-study {
    padding: 2.5rem;
    position: relative;
}

.industry-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    background: var(--accent-gradient);
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.4);
    z-index: 10;
}

.case-study h4 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem; /* Push title below the badge */
    line-height: 1.3;
}

.case-study p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.case-study strong {
    color: var(--accent-secondary);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials {
    background: var(--bg-secondary);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    padding: 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    font-size: 4rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.2;
    position: absolute;
    top: 20px;
    right: 20px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    transform: scale(1.1) translateY(-5px);
    opacity: 0.4;
}

.testimonial-card p {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.client-info {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
}

.client-info h5 {
    font-size: 1.2rem;
    color: var(--accent-secondary);
}

.client-info span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding-top: var(--spacing-xl);
    border-top: 1px solid var(--glass-border);
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Glowing orb in footer */
.footer::before {
    content: '';
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(79,70,229,0.1) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.contact-item {
    text-align: center;
    background: var(--glass-bg);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    min-width: 250px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--glow-shadow);
}

.contact-item i {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.contact-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.footer-bottom {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   Animations & GSAP-like Reveals
   ========================================================================== */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 0;
    will-change: transform, opacity;
}

.reveal-up.active {
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-left.active {
    animation: slideLeft 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-right.active {
    animation: slideRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(60px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
    0% { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}

/* Staggered Delays for Grid items */
.services-detailed .service-deep-dive:nth-child(even) {
    animation-delay: 0.15s;
}
.tech-grid .tech-category:nth-child(2) { animation-delay: 0.1s; }
.tech-grid .tech-category:nth-child(3) { animation-delay: 0.2s; }
.tech-grid .tech-category:nth-child(4) { animation-delay: 0.3s; }

/* ==========================================================================
   Responsive Print Styles (For PDF Generation)
   ========================================================================== */
@media print {
    @page { size: A4; margin: 20mm 18mm 20mm 18mm; }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    .no-print, .header, .mobile-toggle, .cursor-glow,
    .animated-bg-blobs, .hero-bg, .footer::before,
    .service-deep-dive::after, #particles-js {
        display: none !important;
    }

    html, body {
        background: #ffffff !important;
        color: #1a1a2e !important;
        font-family: 'Segoe UI', Arial, sans-serif !important;
        font-size: 11pt;
        line-height: 1.7;
        width: 100%;
        overflow: visible !important;
    }

    .reveal-up, .reveal-left, .reveal-right {
        opacity: 1 !important;
        transform: none !important;
    }

    .container { max-width: 100% !important; padding: 0 !important; margin: 0 !important; }

    .page-break { page-break-before: always; break-before: always; padding-top: 0 !important; }
    .cover-page { page-break-after: always; break-after: always; }

    h1, h2, h3, h4, h5, h6 {
        color: #1a1a2e !important;
        -webkit-text-fill-color: #1a1a2e !important;
        background: none !important;
        -webkit-background-clip: unset !important;
        background-clip: unset !important;
        page-break-after: avoid;
    }
    .highlight {
        color: #2d3561 !important;
        -webkit-text-fill-color: #2d3561 !important;
        background: none !important;
        -webkit-background-clip: unset !important;
    }

    .section-title { margin-bottom: 14pt !important; border-bottom: 2.5pt solid #2d3561; padding-bottom: 6pt; }
    .section-title h2 { font-size: 20pt !important; color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; margin-bottom: 4pt !important; }
    .section-title p { color: #555577 !important; font-size: 11pt; margin: 0 !important; }
    .section-padding { padding: 16pt 0 !important; }

    .cover-page { min-height: auto !important; padding: 30pt 0 20pt !important; border-bottom: 3pt solid #2d3561; text-align: center; }
    .cover-content { background: none !important; border: none !important; padding: 0 !important; max-width: 100%; transform: none !important; }
    .cover-logo-img { max-height: 70pt; width: auto; margin-bottom: 14pt; }
    .cover-title { font-size: 28pt !important; color: #1a1a2e !important; -webkit-text-fill-color: #1a1a2e !important; margin-bottom: 8pt !important; }
    .cover-subtitle { font-size: 14pt !important; color: #555577 !important; margin-bottom: 18pt !important; }
    .cover-footer { display: flex; justify-content: space-between; border-top: 1pt solid #ccccdd; padding-top: 10pt; color: #888899 !important; font-size: 9pt; }

    .split-layout { display: block !important; }
    .about-content p { color: #333355 !important; font-size: 10.5pt; }
    .about-content h3 { color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; font-size: 14pt; }
    .why-choose-us h3 { color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; }
    .feature-item { background: #f4f4fc !important; border: 1pt solid #ccccdd !important; border-radius: 4pt; padding: 8pt 10pt !important; margin-bottom: 6pt; page-break-inside: avoid; display: flex; gap: 10pt; }
    .feature-item h4 { color: #1a1a2e !important; font-size: 11pt; }
    .feature-item p { color: #333355 !important; }
    .highlight-icon { color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; }

    .service-deep-dive { background: #f8f8fc !important; border: 1pt solid #ccccdd !important; border-left: 4pt solid #2d3561 !important; border-radius: 4pt; padding: 14pt !important; margin-bottom: 14pt !important; page-break-inside: avoid; break-inside: avoid; }
    .service-header { display: flex; align-items: center; gap: 10pt; border-bottom: 1pt solid #ccccdd !important; padding-bottom: 8pt !important; margin-bottom: 8pt !important; }
    .service-header h3 { font-size: 14pt !important; color: #1a1a2e !important; -webkit-text-fill-color: #1a1a2e !important; }
    .service-icon { font-size: 16pt !important; color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; }
    .service-overview { color: #555577 !important; font-size: 10.5pt; margin-bottom: 10pt !important; font-style: italic; }

    .detail-box { background: #ffffff !important; border: 1pt solid #ccccdd !important; border-radius: 4pt; padding: 10pt !important; page-break-inside: avoid; }
    .detail-box h4 { color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; font-size: 11pt; margin-bottom: 6pt !important; }
    .detail-box h4::before { content: ''; }
    .detail-box ul { padding-left: 0 !important; margin-bottom: 0 !important; }
    .detail-box ul li { color: #333355 !important; font-size: 10pt; margin-bottom: 4pt !important; padding-left: 14pt; }
    .detail-box ul li::before { color: #2d3561 !important; }
    .detail-box strong { color: #1a1a2e !important; }
    .detail-box p { color: #333355 !important; }

    .tech-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10pt !important; }
    .tech-category { background: #f4f4fc !important; border: 1pt solid #ccccdd !important; border-left: 4pt solid #4f46e5 !important; border-radius: 4pt; padding: 10pt !important; page-break-inside: avoid; text-align: left !important; }
    .tech-category h4 { font-size: 12pt; margin-bottom: 4pt !important; flex-direction: row !important; color: #1a1a2e !important; -webkit-text-fill-color: #1a1a2e !important; }
    .tech-category h4 i { font-size: 14pt !important; color: #4f46e5 !important; -webkit-text-fill-color: #4f46e5 !important; margin-right: 6pt; }
    .tech-category p { color: #333355 !important; font-size: 10pt; line-height: 1.5; }

    .timeline::after { display: none !important; }
    .timeline-item { width: 100% !important; left: 0 !important; padding: 0 0 10pt 0 !important; margin-bottom: 8pt !important; page-break-inside: avoid; }
    .timeline-item.reveal-right { left: 0 !important; }
    .timeline-icon { display: none !important; }
    .timeline-content { background: #f4f4fc !important; border: 1pt solid #ccccdd !important; border-left: 4pt solid #2d3561 !important; border-radius: 4pt; padding: 10pt !important; }
    .timeline-content h4 { color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; font-size: 12pt; }
    .timeline-content p { color: #333355 !important; font-size: 10.5pt; }

    .case-studies-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10pt !important; }
    .case-study { background: #f8f8fc !important; border: 1pt solid #ccccdd !important; border-left: 4pt solid #4f46e5 !important; border-radius: 4pt; padding: 10pt !important; page-break-inside: avoid; }
    .case-study h4 { font-size: 12pt; margin-top: 6pt !important; margin-bottom: 6pt !important; color: #1a1a2e !important; -webkit-text-fill-color: #1a1a2e !important; }
    .case-study p { color: #333355 !important; font-size: 10pt; }
    .case-study ul li { color: #555577 !important; font-size: 10pt; }
    .industry-badge { background: #2d3561 !important; color: #ffffff !important; font-size: 8pt; padding: 2pt 7pt; border-radius: 20pt; position: relative !important; top: auto !important; right: auto !important; display: inline-block; margin-bottom: 4pt; }

    .testimonials-grid { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10pt !important; }
    .testimonial-card { background: #f4f4fc !important; border: 1pt solid #ccccdd !important; border-left: 4pt solid #ec4899 !important; border-radius: 4pt; padding: 12pt !important; page-break-inside: avoid; }
    .testimonial-card p { color: #1a1a2e !important; font-size: 11pt; font-style: italic; margin-bottom: 8pt !important; }
    .quote-icon { display: none !important; }
    .client-info h5 { color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; }
    .client-info span { color: #555577 !important; }

    .footer { background: #ffffff !important; border-top: 2pt solid #2d3561 !important; padding-top: 16pt !important; }
    .contact-details { display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10pt !important; margin-bottom: 14pt !important; }
    .contact-item { background: #f4f4fc !important; border: 1pt solid #ccccdd !important; border-left: 4pt solid #2d3561 !important; border-radius: 4pt; padding: 10pt !important; text-align: left !important; min-width: 0 !important; page-break-inside: avoid; }
    .contact-item i { font-size: 14pt !important; color: #2d3561 !important; -webkit-text-fill-color: #2d3561 !important; margin-bottom: 4pt !important; }
    .contact-item h4 { font-size: 12pt; color: #1a1a2e !important; -webkit-text-fill-color: #1a1a2e !important; margin-bottom: 4pt !important; }
    .contact-item p { color: #333355 !important; font-size: 10pt; line-height: 1.7; }
    .footer-bottom { border-top: 1pt solid #ccccdd !important; color: #888899 !important; font-size: 9pt; padding: 8pt 0 !important; text-align: center; }
    .footer-logo-img { max-height: 55pt; width: auto; margin-bottom: 10pt; }
    .footer-corporate { text-align: center; }
    .footer-corporate > p { color: #555577 !important; }

    .glass-panel { background: #f4f4fc !important; border: 1pt solid #ccccdd !important; }
}

/* ==========================================================================
   Media Queries (Responsive Web)
   ========================================================================== */
@media (max-width: 992px) {
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 80px;
        padding-right: 25px;
    }
    
    .timeline-item.reveal-right {
        left: 0;
    }
    
    .timeline-icon {
        left: 0 !important;
    }
    
    .contact-details {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }
    
    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-left: 1px solid var(--glass-border);
    }
    
    .navbar.active {
        right: 0;
    }
    
    .navbar .nav-links {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
    }
    
    .header-actions .btn {
        padding: 0;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        font-size: 1.1rem;
    }
    .header-actions .btn .btn-text {
        display: none;
    }
    .header-actions .btn i {
        margin-right: 0;
    }
    .header-actions {
        gap: 0.5rem;
    }
    
    .service-details {
        grid-template-columns: 1fr;
    }
    
    .cover-content {
        padding: 2rem;
    }
    
    .service-deep-dive {
        padding: 2rem 1.5rem;
    }
    
    .cursor-glow {
        display: none; /* Disable custom cursor on mobile */
    }

    .cover-logo-img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .cover-title {
        font-size: 2rem !important;
    }
    
    .cover-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    /* Force all grid items to 1 column regardless of minmax */
    .tech-grid, 
    .case-studies-grid, 
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        min-width: 100%;
        margin-bottom: 1rem;
    }

    .service-deep-dive {
        padding: 1.5rem 1rem;
    }
    
    .service-header h3 {
        font-size: 1.6rem;
    }
    
    .timeline-item {
        padding-left: 60px;
        padding-right: 15px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
}
