html {
    scroll-behavior: smooth;
    /* Adds a smooth glide when clicking nav links */
}

:root {
    /* STRICT BRAND PALETTE */
    --primary-blue: #03305a;
    --accent-orange: #f67300;
    --white: #FFFFFF;

    /* Derived Variations for Depth */
    --accent-glow: rgba(246, 115, 0, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --text-dark: #1a2b3c;
    --light-gray: #f4f6f9;
    --border-radius: 24px;
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-weight: 700;
    line-height: 1.1;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1px;
}

h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

p {
    font-size: 1.15rem;
    color: #555;
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 18px 40px;
    background-color: var(--accent-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 10px 30px var(--accent-glow);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--accent-glow);
    background-color: #ff851a;
    /* Slightly lighter on hover */
}

.section-padding {
    padding: 120px 0;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    position: absolute;
    width: 100%;
    z-index: 100;
    top: 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    height: 90px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-blue);
    /* Removed static image to let Vanta.js show. Fallback color is primary blue. */
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: 180px;
    /* FIXED: Added space for logo */
    padding-bottom: 150px;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 140px;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.hero h1 span {
    color: var(--accent-orange);
    text-shadow: 0 0 20px rgba(246, 115, 0, 0.4);
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.35rem;
    margin: 20px 0 50px 0;
    max-width: 650px;
    font-weight: 300;
}

/* --- About Us --- */
.about-section {
    background-color: var(--white);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-blue);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 20px 20px 60px rgba(3, 48, 90, 0.15);
    /* Blue tinted shadow */
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

/* --- AI Consulting Section (ANIMATED) --- */
.ai-section {
    background: url('../images/ai-bg.avif') no-repeat center center;
    background-size: cover;
    position: relative;
    text-align: center;
    border-radius: 40px;
    margin: 40px 20px;
    overflow: hidden;
    isolation: isolate;
}

.ai-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(3, 48, 90, 0.9);
    z-index: -1;
}

.ai-content-wrapper {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 90px 40px;
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle moving glow on the container border */
.ai-content-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 40px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* NEW ANIMATION: Floating Icon with Pulse */
@keyframes float-pulse {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(246, 115, 0, 0.7);
    }

    50% {
        transform: translateY(-10px);
        box-shadow: 0 0 20px 10px rgba(246, 115, 0, 0);
    }

    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(246, 115, 0, 0);
    }
}

@keyframes glow-pass {
    0% {
        background-position: -200%;
    }

    100% {
        background-position: 200%;
    }
}

.modern-glow-text {
    background: linear-gradient(90deg,
            #ffffff 20%,
            #f67300 50%,
            #ffffff 80%);
    background-size: 200% auto;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow-pass 3s linear infinite;
    display: inline-block;
}

.ai-icon-animate {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--white);
    margin: 0 auto 30px auto;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    animation: float-pulse 3s infinite ease-in-out;
}

/* NEW ANIMATION: Shimmer Text */
@keyframes text-shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.ai-shimmer-text {
    background: linear-gradient(to right,
            #ffffff 20%,
            #f67300 40%,
            #f67300 60%,
            #ffffff 80%);
    background-size: 200% auto;
    color: #fff;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-shimmer 3s linear infinite;
    display: inline-block;
}

.ai-section p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.25rem;
    line-height: 1.8;
}

/* --- Features --- */
.features {
    background-color: var(--light-gray);
}

.features-header {
    text-align: center;
    margin-bottom: 70px;
}

.features-header h2 {
    color: var(--primary-blue);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Slightly visible border baseline */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Top Orange Line Indicator */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--accent-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

/* Subtle Gradient Overlay on Hover */
.feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0) 0%, rgba(246, 115, 0, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(246, 115, 0, 0.15);
    /* Orange tinted glow */
    border-color: rgba(246, 115, 0, 0.3);
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(246, 115, 0, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-orange);
    font-size: 1.8rem;
    margin-bottom: 30px;
    transition: var(--transition);
}

.feature-card:hover .icon-box {
    background: var(--accent-orange);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(246, 115, 0, 0.3);
}

.feature-card h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

/* --- Footer --- */
footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(246, 115, 0, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    margin: 0 8px;
    font-size: 1.2rem;
    transition: var(--transition);
    text-decoration: none;
}

.socials a:hover {
    background: var(--accent-orange);
    transform: rotate(360deg);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Modernization Section --- */
.modernize-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #05427a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.modernize-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(246, 115, 0, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.modernize-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.modernize-text h2 {
    font-size: 2.6rem;
    color: var(--white);
    margin-bottom: 15px;
}

.modernize-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    max-width: 550px;
}

/* --- Swiper (Slider) Styles --- */
.modernize-image {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    /* Keeps images inside the border-radius */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* Customize Swiper Dots */
.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--accent-orange) !important;
    width: 20px;
    border-radius: 10px;
    transition: width 0.3s ease;
}

/* Contact Section */
.contact-section {
    background-color: var(--light-gray);
}

.contact-box {
    background: var(--white);
    padding: 60px;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid #eee;
}

.contact-box h2 {
    text-align: center;
    color: var(--primary-blue);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 12px;
    border: 2px solid #eee;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: #fcfcfc;
    font-family: 'Outfit', sans-serif;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-orange);
    background: #fff;
    box-shadow: 0 0 0 5px rgba(246, 115, 0, 0.1);
}

.contact-form button {
    width: 100%;
    background: var(--primary-blue);
    color: var(--white);
    padding: 18px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    letter-spacing: 1px;
}

.contact-form button:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(246, 115, 0, 0.25);
}

.thank-you-message {
    display: none;
    text-align: center;
    color: var(--accent-orange);
    margin-top: 20px;
    font-weight: 700;
    font-size: 1.2rem;
}

/* --- Animations --- */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive Mobile Styles --- */
@media (max-width: 768px) {

    /* 1. Resize logo to save screen space */
    .logo img {
        height: 60px;
    }

    /* 2. Adjust Hero spacing (Top reduced for smaller logo, Bottom reduced for balance) */
    .hero {
        padding-top: 130px;
        padding-bottom: 100px;
    }

    /* 3. Optimize Headline for narrow screens */
    h1 {
        font-size: 2.3rem;
        line-height: 1.2;
    }

    /* 4. Make sub-text easier to read */
    .hero p {
        font-size: 1.15rem;
        margin-bottom: 40px;
    }

    .modernize-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .modernize-text p {
        margin: 0 auto;
    }

    /* Rest of your existing mobile tweaks */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ai-section {
        margin: 40px 10px;
        border-radius: 20px;
        padding: 0;
    }

    .ai-content-wrapper {
        padding: 40px 20px;
    }

    nav {
        padding: 20px;
    }

    .contact-box {
        padding: 30px;
    }
}

/* --- About Section Redesign --- */
.about-section {
    background: radial-gradient(circle at 0% 0%, rgba(246, 115, 0, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(3, 48, 90, 0.03) 0%, transparent 50%);
    overflow: hidden;
    /* Ensure floating elements don't spill */
}

/* Device Composition Container */
.about-visual,
.modernize-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.device-composition {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Common Device Styles */
.device {
    position: absolute;
    background: #1a2b3c;
    /* Dark frame */
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid #2c3e50;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.screen {
    background: #fff;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

/* --- Monitor --- */
.device-monitor {
    width: 380px;
    height: 240px;
    border-radius: 8px;
    border-width: 8px;
    z-index: 1;
    transform: translateX(20px) translateY(-20px);
    animation: float-monitor 6s ease-in-out infinite;
}

.device-monitor .stand {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 40px;
    background: #2c3e50;
    z-index: -1;
}

.device-monitor .base {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 8px;
    background: #1a2b3c;
    border-radius: 4px;
    z-index: -1;
}

/* Monitor UI */
.ui-sidebar {
    width: 60px;
    height: 100%;
    background: #f4f6f9;
    position: absolute;
    left: 0;
    top: 0;
}

.ui-content {
    margin-left: 70px;
    padding: 20px;
}

.ui-line {
    height: 8px;
    background: #e0e0e0;
    margin-bottom: 15px;
    border-radius: 4px;
}

.ui-block {
    width: 100%;
    height: 80px;
    background: #ebf5ff;
    border-radius: 8px;
    margin-top: 20px;
}

/* --- Tablet --- */
.device-tablet {
    width: 180px;
    height: 240px;
    border-width: 6px;
    border-radius: 12px;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    transform: rotate(-5deg);
    animation: float-tablet 5s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Tablet UI */
.ui-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    margin-top: 40px;
}

.ui-card {
    height: 50px;
    background: #fffbf5;
    border-radius: 6px;
    border: 1px solid #ffe6cc;
}

/* --- Phone --- */
.device-phone {
    width: 90px;
    height: 180px;
    border-width: 4px;
    border-radius: 16px;
    right: 40px;
    bottom: 0px;
    z-index: 3;
    transform: rotate(5deg);
    animation: float-phone 4s ease-in-out infinite;
    animation-delay: 1s;
}

/* Phone UI */
.ui-header {
    height: 30px;
    background: var(--primary-blue);
    margin-bottom: 10px;
    width: 100%;
}

.ui-message {
    width: 70%;
    height: 20px;
    background: #f0f0f0;
    margin: 5px 10px;
    border-radius: 10px;
}

.ui-message.right {
    background: #ffe6cc;
    margin-left: auto;
}

.ui-input {
    position: absolute;
    bottom: 10px;
    left: 5px;
    right: 5px;
    height: 15px;
    background: #eee;
    border-radius: 8px;
}

/* --- Glow Decoration --- */
.composition-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(246, 115, 0, 0.15) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* --- Animations --- */
@keyframes float-monitor {

    0%,
    100% {
        transform: translateX(20px) translateY(-20px);
    }

    50% {
        transform: translateX(20px) translateY(-30px);
    }
}

@keyframes float-tablet {

    0%,
    100% {
        transform: rotate(-5deg) translateY(0);
    }

    50% {
        transform: rotate(-5deg) translateY(-10px);
    }
}

@keyframes float-phone {

    0%,
    100% {
        transform: rotate(5deg) translateY(0);
    }

    50% {
        transform: rotate(5deg) translateY(-8px);
    }
}

/* Mobile Responsiveness for Devices */
@media (max-width: 768px) {
    .about-visual {
        height: 300px;
        transform: scale(0.8);
    }

    .device-composition {
        margin-top: 20px;
    }

    .device-monitor {
        left: 50%;
        transform: translateX(-50%);
        animation: none;
        position: relative;
    }

    .device-tablet {
        left: 0;
        bottom: 0;
        transform: rotate(0);
        animation: none;
    }

    .device-phone {
        right: 0;
        bottom: -20px;
        transform: rotate(0);
        animation: none;
    }
}

/* --- Detailed Dashboard CSS --- */

/* Monitor Dashboard */
.monitor-dash {
    display: flex;
    font-size: 0;
}

.dash-sidebar {
    width: 50px;
    background: #03305a;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 15px;
}

.dash-logo {
    width: 25px;
    height: 25px;
    background: #f67300;
    border-radius: 6px;
    margin-bottom: 20px;
}

.dash-nav-item {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    margin-bottom: 10px;
}

.dash-nav-item.active {
    background: #fff;
}

.dash-main {
    flex: 1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    background: #f4f6f9;
}

.dash-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.dash-search {
    width: 120px;
    height: 15px;
    background: #e0e6ed;
    border-radius: 8px;
}

.dash-profile {
    width: 15px;
    height: 15px;
    background: #cbd5e1;
    border-radius: 50%;
}

.dash-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 15px;
}

.dash-stat-card {
    flex: 1;
    height: 35px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.dash-chart-area {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.dash-chart-bar {
    width: 10%;
    background: linear-gradient(to top, #03305a, #4a77a5);
    border-radius: 2px 2px 0 0;
    opacity: 0.8;
}

.dash-chart-bar:nth-child(even) {
    background: linear-gradient(to top, #f67300, #ff9f4d);
}

.dash-list-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dash-list-item {
    width: 100%;
    height: 10px;
    background: #fff;
    border-radius: 3px;
}


/* Tablet Analytics */
.tablet-dash {
    background: #f0f4f8;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.dash-header-simple {
    height: 15px;
    background: #fff;
    border-radius: 4px;
    margin-bottom: 15px;
    width: 50%;
}

.tablet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.tablet-card {
    background: #fff;
    border-radius: 8px;
    height: 60px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.tablet-card.full-width {
    grid-column: span 2;
    height: 40px;
}

.dash-pie-chart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: conic-gradient(#03305a 0% 60%, #f67300 60% 85%, #e2e8f0 85% 100%);
}

.dash-progress {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin: 5px 0;
    overflow: hidden;
}

.dash-progress-bar {
    height: 100%;
    background: #03305a;
    border-radius: 3px;
}

.dash-graph-line {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, #f0f0f0 0px, #f0f0f0 2px, transparent 2px, transparent 10px);
    border-bottom: 2px solid #f67300;
}


/* Phone App */
.phone-app {
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 15px 10px;
    position: relative;
}

.phone-header {
    height: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.phone-notch {
    width: 30px;
    height: 10px;
    background: #f0f0f0;
    border-radius: 0 0 5px 5px;
}

.phone-balance-card {
    background: linear-gradient(135deg, #03305a, #05427a);
    height: 60px;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.phone-balance-line {
    width: 40%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 8px;
}

.phone-balance-num {
    width: 70%;
    height: 8px;
    background: #fff;
    border-radius: 4px;
}

.phone-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.phone-action-btn {
    width: 20px;
    height: 20px;
    background: #fef0e0;
    border-radius: 6px;
}

.phone-trans-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-trans-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-trans-icon {
    width: 15px;
    height: 15px;
    background: #f0f4f8;
    border-radius: 4px;
}

.phone-trans-line {
    width: 60%;
    height: 6px;
    background: #f0f4f8;
    border-radius: 3px;
}

/* --- AI Ecosystem Animation --- */
.ai-visual {
    position: relative;
    height: 500px;
    /* Increased from 400px */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Determine max width based on parent column ~550px */
}

.ai-ecosystem {
    position: relative;
    width: 500px;
    /* Huge increase from 350px */
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Connecting Lines */
.eco-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
    animation: rotate-ecosystem 60s linear infinite;
}

.eco-line {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 236, 188, 0.4), transparent);
    transform-origin: left center;
}

.l1 {
    transform: rotate(0deg);
}

.l2 {
    transform: rotate(60deg);
}

.l3 {
    transform: rotate(120deg);
}

.l4 {
    transform: rotate(180deg);
}

.l5 {
    transform: rotate(240deg);
}

.l6 {
    transform: rotate(300deg);
}


/* Central Hub */
.ai-core-hub {
    position: absolute;
    z-index: 10;
    width: 140px;
    /* Bigger hub from 80px */
    height: 140px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(0, 236, 188, 0.4);
}

.hub-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-align: center;
}

.hub-content i {
    font-size: 2.5rem;
    /* Bigger icon */
    background: -webkit-linear-gradient(#03305a, #00ecbc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 5px;
}

.hub-content span {
    font-size: 0.8rem;
    /* readable text */
    font-weight: 800;
    color: #03305a;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.1;
}

.hub-pulse {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    border: 1px solid rgba(0, 236, 188, 0.5);
    animation: pulse-ring 3s infinite;
}

/* Satellite Nodes */
.eco-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

/* 
   Radius increase:
   Box is 500x500. Center 250, 250.
   Distance to edge is 250px.
   We can push nodes almost to edge.
*/

.node-sales {
    top: 50%;
    right: 2%;
    transform: translateY(-50%);
}

.node-purchase {
    top: 15%;
    right: 15%;
}

.node-finance {
    top: 15%;
    left: 15%;
}

.node-stock {
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
}

.node-customer {
    bottom: 15%;
    left: 15%;
}

.node-tech {
    bottom: 15%;
    right: 15%;
}


.node-icon {
    width: 60px;
    /* Bigger nodes from 40px */
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.node-icon i {
    color: #f67300;
    font-size: 1.5rem;
}

.node-label {
    font-size: 1rem;
    /* Much bigger label text */
    font-weight: 700;
    color: #03305a;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

/* Hover Effects */
.eco-node:hover .node-icon {
    transform: scale(1.1);
    border-color: #f67300;
}

/* Animations */
@keyframes rotate-ecosystem {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Mobile Responsiveness for AI Ecosystem */
@media (max-width: 991px) {
    .ai-visual {
        height: 400px;
    }

    .ai-ecosystem {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .ai-visual {
        height: 350px;
        margin-top: 20px;
    }

    .ai-ecosystem {
        transform: scale(0.6);
        /* Ensure it doesn't overflow horizontally on very small screens */
        width: 500px;
        /* keep base width, scale handles the rest */
        height: 500px;
    }
}

@media (max-width: 480px) {
    .ai-visual {
        height: 300px;
    }

    .ai-ecosystem {
        transform: scale(0.5);
    }
}

/* --- Modern Contact Section --- */
.contact-section {
    position: relative;
    overflow: hidden;
    padding-bottom: 80px;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Left Side: Info */
.contact-info {
    flex: 1;
    min-width: 300px;
    background: linear-gradient(135deg, #03305a 0%, #054a85 100%);
    padding: 50px 40px;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    font-size: 1rem;
}

.contact-details {
    margin-bottom: 40px;
}

.c-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.c-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.c-item span {
    opacity: 0.9;
}

.socials-contact a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.socials-contact a:hover {
    background: var(--accent-orange);
    transform: translateY(-3px);
}

/* Right Side: Form */
.contact-form-container {
    flex: 1.5;
    min-width: 350px;
    padding: 50px 40px;
    background: #fff;
}

.contact-form-modern {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 10px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #f9f9f9;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.input-group label {
    position: absolute;
    left: 15px;
    top: 14px;
    color: #888;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.3s;
    background: transparent;
}

/* Floating Label Logic */
.input-group input:focus,
.input-group textarea:focus,
.input-group input:valid,
.input-group textarea:valid {
    border-color: #03305a;
    background: #fff;
    box-shadow: 0 4px 15px rgba(3, 48, 90, 0.05);
}

.input-group input:focus~label,
.input-group textarea:focus~label,
.input-group input:valid~label,
.input-group textarea:valid~label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    background: #fff;
    padding: 0 5px;
    color: #03305a;
    font-weight: 600;
}


.btn-submit {
    padding: 15px 30px;
    background: linear-gradient(90deg, #f67300, #ff9000);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 20px rgba(246, 115, 0, 0.2);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(246, 115, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info {
        padding: 40px 30px;
    }

    .contact-form-container {
        padding: 40px 30px;
    }
}

/* --- Tech Stack Marquee --- */
/* --- Tech Stack Marquee --- */
.tech-marquee-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 30px;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    min-height: 100px;
    /* Force height */
    display: flex;
    align-items: center;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    height: 100%;
    animation: tech-scroll 40s linear infinite;
}

.tech-track i {
    font-size: 3.5rem;
    line-height: 1;
    display: block;
    /* Ensure block rendering for font icons */
    /* Ensure icons handle color properly; Devicon 'colored' class usually sets color */
    flex-shrink: 0;
    transition: transform 0.3s;
}

.tech-track i:hover {
    transform: scale(1.2);
}

/* ERP Text Logos */
.erp-text {
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex-shrink: 0;
    transition: transform 0.3s;
    display: inline-block;
    line-height: 1;
}

.erp-text:hover {
    transform: scale(1.1);
}

.erp-text.sap {
    color: #008FD3;
    letter-spacing: 1px;
}

.erp-text.zoho {
    color: #DF2027;
    font-family: sans-serif;
}

.erp-text.odoo {
    color: #714B67;
    font-weight: 800;
}

.erp-text.dynamics {
    color: #0078D4;
    font-weight: 600;
    font-family: 'Segoe UI', sans-serif;
}

@keyframes tech-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .tech-track {
        gap: 30px;
    }

    .tech-track i {
        font-size: 2.5rem;
    }
}