:root {
    /* Brand Colors */
    --primary-color: #01366d;
    --secondary-color: #237da6;
    --accent-color: #086972;
    --text-color: #797979;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --success: #28a745;

    /* Fonts */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Arimo', sans-serif;

    /* Spacing */
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: 80px 0;
}

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

.mb-5 {
    margin-bottom: 3rem;
}

.text-white {
    color: var(--white) !important;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-primary);
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(35, 125, 166, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 54, 109, 0.4);
}

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

.btn-secondary:hover {
    background-color: #06545c;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-block {
    display: block;
    width: 100%;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-link {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.95rem;
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: morph 8s ease-in-out infinite;
    opacity: 0.15;
    z-index: -1;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    50% {
        border-radius: 60% 40% 30% 70% / 60% 50% 40% 50%;
    }

    100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.glass-card i {
    font-size: 4rem;
    color: var(--secondary-color);
}

.glass-card span {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* About Section & Timeline */
.about {
    background-color: var(--white);
}

.lead-text {
    font-size: 1.5rem;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 20px;
}

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

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border: 4px solid var(--white);
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: -10px;
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(35, 125, 166, 0.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    background: var(--bg-light);
    padding: 20px 30px;
    border-radius: 10px;
    position: relative;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--secondary-color);
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Modules Section */
.modules {
    background-color: var(--bg-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.module-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-top: 5px solid var(--secondary-color);
    height: 100%;
    /* For uniform height */
    display: flex;
    flex-direction: column;
}

.module-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.module-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(35, 125, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.module-icon i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.module-list {
    margin-top: 15px;
    margin-left: 20px;
    list-style-type: disc;
}

.module-list li {
    margin-bottom: 8px;
    color: var(--text-color);
}

/* Pricing Section */
.pricing {
    background-color: var(--white);
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: center;
}

.pricing-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    border: 1px solid #eee;
}

.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--secondary-color);
    z-index: 2;
    box-shadow: 0 20px 50px rgba(35, 125, 166, 0.15);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-primary);
}

.price span {
    font-size: 1.2rem;
    font-weight: 600;
}

.period {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-top: 5px;
}

.pricing-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.pricing-features i {
    color: var(--success);
}

/* Team Section */
.team {
    background-color: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.team-member {
    background: var(--white);
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.member-avatar {
    width: 100px;
    height: 100px;
    background-color: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar i {
    font-size: 3rem;
    color: var(--white);
}

.role {
    color: var(--secondary-color);
    font-weight: 600;
    margin-top: 5px;
}

/* Demo Section */
.demo {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 100px 0;
}

.demo-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-info h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
}

.contact-row i {
    font-size: 2rem;
    color: var(--white);
}

.demo-form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(35, 125, 166, 0.1);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #888;
    padding: 60px 0 30px;
}

.footer-logo img {
    margin-bottom: 20px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 900px) {
    .h1 {
        font-size: 2.5rem;
    }

    .hero-container,
    .demo-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 30px;
    }

    .nav-list {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 40px;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-list.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    /* Stats vertical on mobile */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Timeline Responsive */
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 22px !important;
        /* Force left position */
        right: auto;
    }
}

/* Mockup Styles */
.hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    height: 400px;
    margin: 0 auto;
    perspective: 1000px;
}

.dashboard-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
    border: 1px solid #e1e4e8;
}

.dashboard-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    background: #f0f2f5;
    padding: 12px 20px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid #e1e4e8;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.mockup-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.mockup-sidebar {
    width: 80px;
    background: var(--primary-color);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    width: 100%;
}

.sidebar-line.active {
    background: var(--secondary-color);
    width: 70%;
}

.mockup-content {
    flex: 1;
    padding: 25px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mockup-widgets {
    display: flex;
    gap: 20px;
}

.widget {
    flex: 1;
    background: var(--white);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.widget-title {
    height: 10px;
    width: 60%;
    background: #e1e4e8;
    border-radius: 5px;
    margin-bottom: 15px;
}

.widget-chart-bar {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
}

.widget-chart-bar::before,
.widget-chart-bar::after {
    content: '';
    flex: 1;
    background: var(--secondary-color);
    opacity: 0.7;
    border-radius: 3px 3px 0 0;
}

.widget-chart-bar::before {
    height: 60%;
}

.widget-chart-bar::after {
    height: 85%;
}

.widget-chart-pie {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(var(--secondary-color) 0% 65%, #e1e4e8 65% 100%);
    margin: 0 auto;
}

.mockup-table {
    flex: 1;
    background: var(--white);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.table-header {
    height: 12px;
    width: 40%;
    background: #e1e4e8;
    border-radius: 4px;
    margin-bottom: 5px;
}

.table-row {
    height: 8px;
    width: 100%;
    background: #f0f2f5;
    border-radius: 4px;
}

.floating-notif {
    position: absolute;
    bottom: 40px;
    right: -20px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
    max-width: 220px;
}

.notif-icon {
    width: 40px;
    height: 40px;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-icon i {
    color: var(--success);
    font-size: 1.2rem;
}

.notif-text {
    display: flex;
    flex-direction: column;
}

.notif-text strong {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.notif-text span {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* Helper text styles for About section */
.about-text-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.section-subtitle-large {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.highlight-text {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--secondary-color);
}

/* Horizontal Timeline */
.timeline-horizontal-wrapper {
    position: relative;
    padding: 60px 0;
    margin-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 4px;
    background: #e1e4e8;
    transform: translateY(-50%);
    z-index: 0;
}

.timeline-items {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.t-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
}

.t-year {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.t-dot {
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.t-dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

.t-content {
    padding: 0 10px;
}

.t-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.t-content p {
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Responsive Horizontal Timeline */
@media (max-width: 768px) {
    .timeline-line {
        top: 0;
        left: 20px;
        width: 4px;
        height: 100%;
        transform: none;
    }

    .timeline-items {
        flex-direction: column;
        gap: 40px;
        align-items: flex-start;
    }

    .t-item {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        width: 100%;
    }

    .t-year {
        width: 80px;
        text-align: right;
        margin-right: 20px;
        margin-bottom: 0;
        padding-top: 0;
    }

    .t-dot {
        margin: 0 20px 0 0;
        /* Line up with line */
        position: absolute;
        left: 12px;
    }

    .t-content {
        flex: 1;
        padding-left: 50px;
        /* Space for dot and line */
    }
}

/* About Entities Card Layout */
.about-entities {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

.entity-card {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.entity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.entity-card.reverse {
    flex-direction: row-reverse;
}

.entity-logo-wrapper {
    flex: 0 0 40%;
    background: #f8f9fa;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 300px;
}

.entity-logo {
    max-width: 80%;
    max-height: 150px;
    width: auto;
    object-fit: contain;
}

.entity-content {
    flex: 1;
    padding: 40px 50px;
}

.entity-content h3 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.entity-badge {
    display: inline-block;
    padding: 6px 15px;
    background: #e9ecef;
    color: var(--text-dark);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.entity-badge.brand {
    background: rgba(35, 125, 166, 0.1);
    color: var(--secondary-color);
}

.entity-content p {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.entity-content .lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Responsive Entities */
@media (max-width: 900px) {

    .entity-card,
    .entity-card.reverse {
        flex-direction: column;
    }

    .entity-logo-wrapper {
        width: 100%;
        min-height: 200px;
        padding: 30px;
    }

    .entity-content {
        padding: 30px;
        text-align: center;
    }

    .entity-badge {
        margin-bottom: 15px;
    }
}

/* Clients Section */
.clients {
    background-color: var(--white);
    padding: 60px 0;
    overflow: hidden;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 30px;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.client-logo {
    flex: 0 0 auto;
    width: 150px;
    height: 100px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.clients-marquee.reverse .marquee-track {
    animation-direction: reverse;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Detailed Modules Grid */
.modules-grid-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.module-card.detailed {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.module-header {
    background: #f8f9fa;
    padding: 25px 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid #eee;
}

.module-card.detailed .module-icon {
    margin-bottom: 0;
    width: 50px;
    height: 50px;
    background: var(--white);
    border: 1px solid #eee;
}

.module-card.detailed h3 {
    margin-bottom: 0;
    font-size: 1.3rem;
}

.module-list-detailed {
    padding: 30px;
    list-style: none;
}

.module-list-detailed li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.module-list-detailed li::before {
    content: '\f058';
    /* FontAwesome check-circle */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--secondary-color);
    font-size: 1rem;
}

.module-list-detailed strong {
    color: var(--primary-color);
    font-weight: 600;
}

@media (max-width: 900px) {
    .modules-grid-detailed {
        grid-template-columns: 1fr;
    }
}

/* Quote/Consultation Section */
.quote-section {
    background-color: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #1a5b80 100%);
    color: var(--white);
    padding: 80px 0;
}

.row-quote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.quote-text {
    flex: 1;
    min-width: 300px;
}

.quote-text .section-title {
    color: var(--white);
    text-align: left;
    margin-bottom: 20px;
}

.quote-text .lead-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.quote-benefits {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.quote-benefits li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-benefits li i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.support-contact p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.phone-link {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.phone-link:hover {
    color: var(--secondary-color);
}

/* Quote Form Styling */
.quote-form-wrapper {
    flex: 1;
    min-width: 350px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    color: var(--text-dark);
}

.quote-form .form-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e4e8;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
    background: #f8f9fa;
}

.form-control:focus {
    border-color: var(--primary-color);
    background: var(--white);
    outline: none;
    box-shadow: 0 0 0 3px rgba(35, 125, 166, 0.1);
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
}

.radio-option input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd3da;
    border-radius: 50%;
    position: relative;
    transition: var(--transition);
}

.radio-option input:checked+.radio-custom {
    border-color: var(--secondary-color);
}

.radio-option input:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--secondary-color);
    border-radius: 50%;
}

.form-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.submit-btn {
    margin-top: 20px;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* Responsive Quote Section */
@media (max-width: 900px) {
    .row-quote {
        flex-direction: column;
    }

    .quote-text {
        text-align: center;
    }

    .quote-text .section-title {
        text-align: center;
    }

    .quote-benefits li {
        justify-content: center;
    }

    .quote-form-wrapper {
        width: 100%;
        padding: 30px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Enhanced Quote Section Styles */
.badge-advisor {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: var(--secondary-color);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(35, 125, 166, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.advisor-highlight {
    display: flex;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    border-left: 4px solid var(--secondary-color);
}

.advisor-avatar {
    width: 40px;
    height: 40px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    flex-shrink: 0;
}

.advisor-content p {
    font-style: italic;
    font-size: 0.95rem;
    margin-bottom: 5px;
    opacity: 0.9;
    color: var(--white);
}

.advisor-content span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
}

/* Compact Form Layout */
.form-group.half {
    flex: 0 0 48%;
    /* 2 columns */
}

.form-row {
    justify-content: space-between;
}

/* Visual Project State Selector */
.project-state-selector {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.state-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.state-card input {
    display: none;
}

.state-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border: 2px solid #e1e4e8;
    border-radius: 10px;
    transition: all 0.3s ease;
    height: 100%;
}

.state-icon {
    font-size: 1.5rem;
    color: #adb5bd;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.state-title {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.state-desc {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Selected State */
.state-card input:checked+.state-content {
    border-color: var(--secondary-color);
    background: rgba(35, 125, 166, 0.05);
    box-shadow: 0 5px 15px rgba(35, 125, 166, 0.15);
}

.state-card input:checked+.state-content .state-icon {
    color: var(--secondary-color);
}

.state-card input:checked+.state-content .state-title {
    color: var(--primary-color);
}

.state-card:hover .state-content {
    border-color: #cbd3da;
}

.block-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.form-divider-text {
    display: flex;
    align-items: center;
    color: #adb5bd;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 25px 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-divider-text::before,
.form-divider-text::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e9ecef;
}

.form-divider-text::before {
    margin-right: 15px;
}

.form-divider-text::after {
    margin-left: 15px;
}

@media (max-width: 600px) {
    .form-group.half {
        flex: 1 1 100%;
        /* Stack on mobile */
    }

    .project-state-selector {
        flex-direction: column;
    }

    .state-content {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        padding: 15px;
        gap: 15px;
    }

    .state-icon {
        margin-bottom: 0;
    }

    .state-info {
        display: flex;
        flex-direction: column;
    }
}

/* Professional Footer Styles */
.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
    flex: 1;
    min-width: 250px;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-logos img {
    height: 40px;
    width: auto;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-logos img:hover {
    opacity: 1;
}

.footer-col p {
    color: #aaa;
    margin-bottom: 15px;
    font-size: 0.9rem;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p i {
    color: var(--secondary-color);
    width: 20px;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list a {
    color: #aaa;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links-list a:hover {
    color: var(--white);
    padding-left: 5px;
}

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

.footer-social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    border-color: var(--secondary-color);
}

.footer-bottom {
    padding-top: 30px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logos {
        flex-wrap: wrap;
    }
}
/* Legal Pages Styles */
.legal-hero {
    background: var(--primary-color);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
}

.legal-hero h1 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.legal-content {
    background: var(--white);
    padding: 60px 0;
    font-family: var(--font-secondary);
}

.legal-block {
    margin-bottom: 40px;
}

.legal-block h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.legal-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.legal-block ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    color: #555;
}

.legal-block li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .legal-hero {
        padding: 100px 0 40px;
    }
    
    .legal-hero h1 {
        font-size: 2rem;
    }
}
