:root {
    --bg-color: #080809;
    --bg-secondary: #0e0e10;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --primary-color: #BEFF01;
    --primary-glow: rgba(190, 255, 1, 0.4);
    --secondary-color: #9BC341;
    --ai-glow: #00f2ff;
    --ai-accent: #00ffa3;
    --text-main: #ffffff;
    --text-dim: #8a8a8e;
    --accent-gradient: linear-gradient(135deg, #BEFF01, #9BC341);
    --ai-gradient: linear-gradient(135deg, #00f2ff, #00ffa3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Hostinger Beams Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(190, 255, 1, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 242, 255, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

.digital-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Above background elements, below content */
}

.rain-drop {
    position: absolute;
    color: var(--primary-color);
    font-family: 'Tahoma', sans-serif;
    font-weight: 300; /* Thin style */
    text-shadow: 0 0 4px var(--primary-color); /* Subtle glow */
    animation: rain-fall 2s linear forwards;
    pointer-events: none;
}

@keyframes rain-fall {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

.bg-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.beam {
    position: absolute;
    top: -100%;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
    animation: beam-move 15s linear infinite;
}

.beam:nth-child(1) { left: 15%; animation-delay: 0s; opacity: 0.2; }
.beam:nth-child(2) { left: 35%; animation-delay: 5s; opacity: 0.1; }
.beam:nth-child(3) { left: 65%; animation-delay: 2s; opacity: 0.15; }
.beam:nth-child(4) { left: 85%; animation-delay: 8s; opacity: 0.2; }

@keyframes beam-move {
    0% { transform: translateY(0); }
    100% { transform: translateY(200%); }
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.8rem 0; /* Increased padding */
    background: rgba(8, 8, 9, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(8, 8, 9, 0.9);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.brand-logo {
    height: 65px; /* Increased from 45px */
    width: auto;
    display: block;
    transition: transform 0.3s;
}

.logo:hover .brand-logo {
    transform: scale(1.05);
}

.certification {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--glass-border);
    padding-left: 1.5rem;
    line-height: 1.2;
}

.certification span {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.certification small {
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 700; /* Increased weight for CAPS */
    transition: all 0.3s;
    font-size: 0.85rem; /* Slightly smaller for CAPS */
    letter-spacing: 1.5px; /* Increased spacing */
    text-transform: uppercase;
}

nav ul li a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(190, 255, 1, 0.1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--primary-glow);
    background: #fff;
}

.btn-secondary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: transparent;
    color: white;
    text-decoration: none;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
}

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

.btn-outline {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: #000;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(190, 255, 1, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(155, 195, 65, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(190, 255, 1, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(190, 255, 1, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(155, 195, 65, 0.3) 0%, transparent 40%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.6; /* Increased opacity for the grid */
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(190, 255, 1, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    filter: blur(100px);
    z-index: -1;
    animation: pulse-glow 10s infinite ease-in-out;
}

/* Hero Waves & Organic Curves */
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15vh;
    min-height: 100px;
    max-height: 150px;
    z-index: 0;
    pointer-events: none;
}

.waves {
    position: relative;
    width: 100%;
    height: 15vh;
    margin-bottom: -7px;
    min-height: 100px;
    max-height: 150px;
}

/* Animation */
.parallax > use {
    animation: move-forever 25s cubic-bezier(.55,.5,.45,.5) infinite;
}
.parallax > use:nth-child(1) { animation-delay: -2s; animation-duration: 7s; }
.parallax > use:nth-child(2) { animation-delay: -3s; animation-duration: 10s; }
.parallax > use:nth-child(3) { animation-delay: -4s; animation-duration: 13s; }
.parallax > use:nth-child(4) { animation-delay: -5s; animation-duration: 20s; }

@keyframes move-forever {
    0% { transform: translate3d(-90px,0,0); }
    100% { transform: translate3d(85px,0,0); }
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.hero-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 25rem; /* Optimized size */
    font-weight: 900;
    font-family: var(--font-heading);
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2); /* Higher visibility */
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    user-select: none;
    animation: hero-text-float 15s infinite ease-in-out;
}

@keyframes hero-text-float {
    0%, 100% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.3; }
    50% { transform: translate(-52%, -48%) scale(1.05) rotate(1deg); opacity: 0.5; }
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2; /* Keep text above the AI background */
}

.hero-est {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    opacity: 0.8;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -2px;
    animation: floating 4s infinite ease-in-out;
}

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero h1 span {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 20px rgba(190, 255, 1, 0.3);
    animation: glow-pulse 3s infinite ease-in-out, shimmer 5s infinite linear;
    background: linear-gradient(90deg, var(--primary-color), #fff, var(--primary-color));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes shimmer {
    to { background-position: 200% center; }
}

@keyframes glow-pulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(190, 255, 1, 0.3)); }
    50% { filter: drop-shadow(0 0 40px rgba(190, 255, 1, 0.6)); }
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.2;
    z-index: -1;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    color: #ffffff; /* Brighter white */
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px; /* Increased spacing */
    font-weight: 700; /* Bolder */
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Contrast shadow */
    z-index: 10;
}

.arrow {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    position: relative;
}

.arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { transform: translateX(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) scale(3); opacity: 0; }
}

/* Floating Badge */
.floating-badge {
    position: fixed;
    bottom: 3rem;
    left: 3rem; /* Move to left for desktop symmetry with WhatsApp */
    z-index: 2000;
}

.badge-content {
    background: rgba(14, 14, 16, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--primary-color);
    padding: 1.5rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 0 30px rgba(190, 255, 1, 0.2), 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
}

.badge-content:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 0 40px rgba(190, 255, 1, 0.4), 0 20px 40px rgba(0, 0, 0, 0.5);
}

.badge-number {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    line-height: 1.3;
}

.badge-text small {
    display: block;
    font-size: 0.65rem;
    color: var(--primary-color);
    margin-top: 4px;
    letter-spacing: 1px;
}

/* Stacking Sections */
.stacking-container {
    position: relative;
}

.stack-section {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    scroll-margin-top: 80px; /* Modern way to handle sticky offsets */
}

#software { 
    z-index: 10; 
    background: linear-gradient(rgba(8, 8, 9, 0.8), rgba(8, 8, 9, 0.8)), url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat; 
}
#hardware { 
    z-index: 20; 
    background: linear-gradient(rgba(8, 8, 9, 0.8), rgba(8, 8, 9, 0.8)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat; 
}
#training { 
    z-index: 30; 
    background: linear-gradient(rgba(8, 8, 9, 0.8), rgba(8, 8, 9, 0.8)), url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat; 
}
#automation { 
    z-index: 40; 
    background: linear-gradient(rgba(8, 8, 9, 0.8), rgba(8, 8, 9, 0.8)), url('https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat; 
}

/* AI Hydration Effect */
.ai-hydrated {
    position: relative;
}

.ai-hydrated::before {
    content: 'AI POWERED';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--ai-glow);
    text-shadow: 0 0 10px var(--ai-glow);
    opacity: 0.8;
}

.ai-glow-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 242, 255, 0.05), transparent 70%);
    pointer-events: none;
    z-index: -1;
}

/* Division Layouts */
.section-bg-number {
    position: absolute;
    right: 5%;
    bottom: 5%;
    font-size: 20rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    z-index: 0;
    line-height: 0.8;
    pointer-events: none;
    user-select: none;
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 8rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

.section-bg-number {
    position: absolute;
    right: 5%; /* Move inside to prevent being cut off */
    top: 50%;
    transform: translateY(-50%);
    font-size: 30rem; /* Adjusted for better fit */
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15); /* More visible */
    user-select: none;
    pointer-events: none;
    z-index: 0;
    font-family: var(--font-heading);
}

#software .section-bg-number,
#training .section-bg-number {
    right: auto;
    left: 5%;
}

@media (max-width: 992px) {
    .section-bg-number {
        font-size: 12rem;
        right: 2%;
        opacity: 0.15;
    }
    #software .section-bg-number,
    #training .section-bg-number {
        right: auto;
        left: 2%;
    }
}

.division-section.reverse .grid {
    direction: rtl;
}

.division-section.reverse .content-side {
    direction: ltr;
}

.subtitle {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.subtitle::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--primary-color);
}

.content-side h2 {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.content-side h2 span {
    display: block;
    color: var(--text-dim);
}

.content-side p {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.features {
    list-style: none;
    margin-bottom: 3rem;
}

.features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
    font-size: 1.1rem;
}

.division-btns {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.visual-side {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

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

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 60%, rgba(8, 8, 9, 0.4));
}

.image-wrapper:hover img {
    transform: scale(1.08);
}

/* AI Specific Visuals */
.ai-section .image-wrapper {
    border-color: var(--ai-glow);
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.1);
}

.ai-section .subtitle {
    color: var(--ai-glow);
}

.ai-section .subtitle::before {
    background: var(--ai-glow);
}

.ai-section h2 .ai-text {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Footer */
.footer {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: #1a1c23; /* Matching the slate-grey */
}

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

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-brand-logo {
    height: 55px;
    width: auto;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Subsidiaries Section */
.subsidiaries-section {
    padding: 10rem 0;
    background: linear-gradient(rgba(8, 8, 9, 0.85), rgba(8, 8, 9, 0.85)), 
                url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.subsidiary-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.subsidiary-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 50px rgba(190, 255, 1, 0.1), 0 40px 80px rgba(0, 0, 0, 0.4);
    transform: translateY(-10px);
}

.subsidiary-logo {
    background: white; /* White background for the logo tile */
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subsidiary-logo img {
    max-width: 100%;
    height: auto;
    filter: none; /* Keep original logo color */
    transition: transform 0.3s;
}

.subsidiary-card:hover .subsidiary-logo img {
    transform: scale(1.1);
}

.subsidiary-card:hover .subsidiary-logo {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(190, 255, 1, 0.2);
}

.subsidiary-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.subsidiary-content p {
    color: var(--text-dim);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.highlight-orange {
    color: #FF8A00; /* Vibrant premium orange */
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

@media (max-width: 992px) {
    .subsidiary-card {
        grid-template-columns: 1fr;
        padding: 3rem;
        text-align: center;
        gap: 3rem;
    }
    .subsidiary-logo {
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Contact Sections */
.contact-offices-section {
    padding: 10rem 0;
    background: #1a1c23; /* Significantly lighter slate-grey */
    position: relative;
    overflow: hidden;
}

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

.floating-icon {
    position: absolute;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.1);
    font-size: 10rem;
    animation: slow-float 15s infinite ease-in-out;
}

.icon-1 { top: 10%; left: 5%; font-size: 15rem; animation-duration: 20s; }
.icon-2 { bottom: 10%; right: 5%; font-size: 12rem; animation-delay: -5s; }
.icon-3 { top: 40%; right: 10%; font-size: 8rem; animation-delay: -2s; }
.icon-4 { bottom: 30%; left: 10%; font-size: 6rem; animation-delay: -10s; }

@keyframes slow-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-5deg); }
}

.contact-form-section {
    padding: 12rem 0;
    background: #050505; /* Absolute deep black */
    position: relative;
}

.contact-header {
    text-align: center;
    margin-bottom: 5rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 5rem;
}

.contact-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--primary-color);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.contact-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.office-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.address {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gst {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.detail-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.detail-item i {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.3rem;
}

.detail-item span {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 500;
}

.btn-map {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    text-decoration: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.btn-map:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.form-header h3 span {
    color: var(--primary-color);
}

.form-header p {
    color: var(--text-dim);
    font-size: 1.1rem;
}

.contact-form {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-form {
        padding: 2.5rem;
    }
}

.form-group {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group label {
    display: block;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.form-status.error {
    display: block;
    background: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.2);
}

.form-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

@media (max-width: 1200px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-form {
        padding: 3rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 3rem;
    right: 3rem; /* Back to right for desktop */
    z-index: 2000;
}

.whatsapp-trigger {
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s;
}

.whatsapp-float:hover .whatsapp-trigger {
    transform: scale(1.05);
}

.whatsapp-options {
    position: absolute;
    bottom: calc(100% - 10px); /* Slightly overlap the trigger to close the gap */
    right: 0;
    padding: 1rem 1rem 2rem; /* Extra bottom padding as a hover bridge */
    background: rgba(14, 14, 16, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    width: 250px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.whatsapp-float:hover .whatsapp-options {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.whatsapp-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.3s;
}

.whatsapp-option:hover {
    background: rgba(255, 255, 255, 0.05);
}

.whatsapp-option img {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.whatsapp-option span {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(224, 224, 224, 0.15); /* Silver frosted effect */
    backdrop-filter: blur(25px) saturate(150%);
}

.modal-content {
    background: rgba(8, 8, 9, 0.95);
    border: 1px solid rgba(190, 255, 1, 0.1);
    border-radius: 32px;
    padding: 5rem;
    width: 95%;
    max-width: 1400px;
    max-height: 85vh; /* Limit height */
    overflow-y: auto; /* Vertical scroll only when required */
    position: relative;
    z-index: 1;
    box-shadow: 0 0 100px rgba(190, 255, 1, 0.05), 0 40px 100px rgba(0, 0, 0, 0.9);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Scrollbar Styling for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}
.modal-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-content::-webkit-scrollbar-thumb {
    background: rgba(190, 255, 1, 0.2);
    border-radius: 10px;
}
.modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.modal.active .modal-content {
    transform: translateY(0);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 3rem;
    right: 3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary-color);
    color: black;
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 5rem;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.modal-header h2 span {
    background: var(--ai-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-header p {
    color: var(--text-dim);
    font-size: 1.2rem;
    margin-top: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Projects Table */
.projects-table-wrapper {
    overflow-x: hidden; /* Prevent horizontal scroll completely */
    margin-top: 2rem;
}

.projects-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1rem;
    text-align: left;
}

.projects-table th {
    color: var(--text-dim);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 0 1.5rem 1rem;
    text-transform: uppercase;
}

.projects-table tbody tr {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.projects-table tbody tr td {
    padding: 1.5rem;
    vertical-align: middle;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.projects-table tbody tr td:first-child {
    border-left: 1px solid var(--glass-border);
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
}

.projects-table tbody tr td:last-child {
    border-right: 1px solid var(--glass-border);
    border-top-right-radius: 16px;
    border-bottom-right-radius: 16px;
}

.projects-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(190, 255, 1, 0.1);
    position: relative;
}

.table-product {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.table-icon {
    font-size: 2rem;
}

.table-name {
    display: flex;
    flex-direction: column;
}

.table-name strong {
    font-size: 1.2rem;
    color: white;
}

.table-name small {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge {
    background: rgba(190, 255, 1, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(190, 255, 1, 0.2);
}

.table-launch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}

.table-launch-btn:hover {
    background: var(--primary-color);
    color: black;
    border-color: var(--primary-color);
}

.text-right { text-align: right; }

/* Staggered entry for rows */
.modal.active tr:nth-child(1) { transition-delay: 0.1s; }
.modal.active tr:nth-child(2) { transition-delay: 0.2s; }
.modal.active tr:nth-child(3) { transition-delay: 0.3s; }
.modal.active tr:nth-child(4) { transition-delay: 0.4s; }
.modal.active tr:nth-child(5) { transition-delay: 0.5s; }

/* Mobile Modal Adjustments */
@media (max-width: 992px) {
    .modal-content { padding: 3rem 1.5rem; }
    .projects-table thead { display: none; }
    .projects-table tbody tr { display: flex; flex-direction: column; gap: 1rem; padding: 1.5rem; margin-bottom: 1rem; }
    .projects-table tbody tr td { padding: 0; border: none; }
    .projects-table tbody tr td:first-child, .projects-table tbody tr td:last-child { border: none; border-radius: 0; }
    .text-right { text-align: left; }
}

@media (max-width: 768px) {
    .whatsapp-float {
        left: 20px !important;
        right: auto !important;
        bottom: 20px !important;
        transform: none !important;
    }
    
    .floating-badge {
        right: 20px !important;
        left: auto !important;
        bottom: 20px !important;
        transform: scale(0.7) !important; /* Significant shrink for mobile */
        transform-origin: bottom right;
    }

    .badge-content {
        padding: 1rem;
    }
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Responsive */
@media (max-width: 1200px) {
    .grid { gap: 4rem; }
    .hero h1 { font-size: 4.5rem; }
    .content-side h2 { font-size: 3.2rem; }
    .contact-grid { gap: 2rem; }
}

@media (max-width: 992px) {
    .grid {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    .division-section.reverse .grid { direction: ltr; }
    .subtitle { justify-content: center; }
    .hero h1 { font-size: 3.5rem; }
    .stack-section { height: auto; position: relative; padding: 6rem 0; }
    .features li { justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .contact-card { padding: 2rem; }
}
