/* =================================================================== */
/* ========================= GLOBAL SETUP ============================ */
/* =================================================================== */

/* ----- Variables ----- */
:root {
    --color-primary: #ff6b6b;
    --color-primary-dark: #c44545;
    --color-secondary: #feca57;
    --color-background: #121212;
    --color-surface: #1e1e1e;
    --color-border: #2a2a2a;
    --color-text-primary: #f5f5f5;
    --color-text-secondary: #d3d3d3;
    --color-text-muted: #9e9e9e;
    --color-success: #51cf66;
    --color-error: #ff4d4d;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --box-shadow: 0 10px 30px rgba(255, 107, 107, 0.2);
    --transition-speed: 0.3s;
}


/* ----- Base Styles & Resets ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text-secondary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-text-primary);
    line-height: 1.2;
    font-weight: 600;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-primary-dark);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ----- Layout & Helpers ----- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    background-image: linear-gradient(90deg, var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* ----- Buttons ----- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-background);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* =================================================================== */
/* ======================== HEADER / NAVIGATION ====================== */
/* =================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    transition: all var(--transition-speed) ease;
}

.site-header.scrolled {
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo img {
    height: 40px;
    filter: invert(1);
    margin-right: 10px;
    transition: transform var(--transition-speed) ease;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--color-text-secondary);
    font-weight: 500;
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-text-primary);
}

.btn-header {
    padding: 10px 20px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text-primary);
    border-radius: 3px;
    transition: all var(--transition-speed) ease;
}

/* =================================================================== */
/* ========================== HERO SECTION =========================== */
/* =================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-background-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background-animation .circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.2) 0%, rgba(0, 52, 89, 0) 70%);
    animation: float 20s infinite ease-in-out;
}

.hero-background-animation .circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 15%;
    animation-duration: 25s;
}

.hero-background-animation .circle:nth-child(2) {
    width: 500px;
    height: 500px;
    top: 50%;
    left: 70%;
    animation-duration: 30s;
    animation-delay: 5s;
}

.hero-background-animation .circle:nth-child(3) {
    width: 200px;
    height: 200px;
    top: 80%;
    left: 20%;
    animation-duration: 20s;
    animation-delay: 2s;
}

.hero-background-animation .circle:nth-child(4) {
    width: 400px;
    height: 400px;
    top: 20%;
    left: 80%;
    animation-duration: 35s;
    animation-delay: 7s;
}

.hero-background-animation .circle:nth-child(5) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 5%;
    animation-duration: 18s;
    animation-delay: 3s;
}

@keyframes float {
    0% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-50px) scale(1.1);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--color-text-primary), var(--color-text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* =================================================================== */
/* ======================= PARTNERS SECTION ========================== */
/* =================================================================== */
.partners-section {
    padding: 60px 0;
    background-color: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.partners-title {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 40px;
}

.partners-logo-scroller {
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
    mask-image: linear-gradient(to right, transparent, white 20%, white 80%, transparent);
}

.logo-track {
    display: flex;
    width: calc(250px * 12);
    /* logo width * number of logos * 2 */
    animation: scroll 40s linear infinite;
}

.logo-track img {
    height: 40px;
    width: auto;
    margin: 0 40px;
    filter: grayscale(100%) opacity(0.6);
    transition: filter var(--transition-speed) ease;
}

.logo-track:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 6));
    }

    /* logo width * number of logos */
}


/* =================================================================== */
/* ======================== SERVICES SECTION ========================= */
/* =================================================================== */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent,
            rgba(0, 168, 232, 0.2),
            transparent 30%);
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--color-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background-color: rgba(0, 168, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-primary);
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.service-link {
    font-weight: 600;
    color: var(--color-primary);
    position: relative;
}

.service-link:hover {
    letter-spacing: 0.5px;
}

@keyframes rotate {
    100% {
        transform: rotate(1turn);
    }
}

/* =================================================================== */
/* ========================== ABOUT SECTION ========================== */
/* =================================================================== */
.about-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-column img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.about-content-column .section-title {
    font-size: 2.2rem;
}

.about-features-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

.feature-text h3 {
    margin-bottom: 5px;
}

.feature-text p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* =================================================================== */
/* ===================== ROI CALCULATOR SECTION ====================== */
/* =================================================================== */
.calculator-section {
    padding: 100px 0;
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--box-shadow);
}

.calculator-form {
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--color-text-secondary);
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-primary);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

.calculator-results {
    padding: 40px;
    background-color: var(--color-secondary);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.calculator-results h3 {
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-label {
    color: var(--color-text-muted);
}

.result-label small {
    display: block;
    font-size: 0.8em;
    opacity: 0.7;
}

.result-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.result-item.highlight .result-value {
    color: var(--color-primary);
    font-size: 1.8rem;
}

.calculator-results .disclaimer {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 20px;
}

/* =================================================================== */
/* ===================== SAMPLE REPORT SECTION ======================= */
/* =================================================================== */
.report-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.report-dashboard {
    background-color: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
}

.report-header h3 {
    font-size: 1.4rem;
}

.date-range {
    background-color: var(--color-surface);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.report-kpi {
    background-color: var(--color-surface);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.kpi-label {
    display: block;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.kpi-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.kpi-change {
    font-size: 0.9rem;
    font-weight: 600;
}

.kpi-change.positive {
    color: var(--color-success);
}

.kpi-change.negative {
    color: var(--color-error);
}

.kpi-change.neutral {
    color: var(--color-text-muted);
}

.report-charts {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    align-items: center;
}

.chart-container h4 {
    margin-bottom: 20px;
    text-align: center;
}

.bar-chart {
    display: flex;
    justify-content: space-around;
    height: 200px;
    align-items: flex-end;
    gap: 15px;
}

.bar {
    width: 40px;
    background-color: var(--color);
    border-radius: 5px 5px 0 0;
    height: var(--value);
    animation: growBar 1s ease-out forwards;
    transform-origin: bottom;
    position: relative;
}

.bar::after {
    content: attr(data-label);
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    white-space: nowrap;
}

@keyframes growBar {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

.donut-chart {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto;
}

.donut-segment {
    animation: drawDonut 1.5s ease-out forwards;
    transform-origin: center;
}

@keyframes drawDonut {
    from {
        stroke-dashoffset: 100;
    }
}

.chart-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.chart-center-text span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    display: block;
}

.chart-center-text small {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.chart-legend {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.chart-legend li {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.chart-legend .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 10px;
}

/* =================================================================== */
/* ===================== TESTIMONIALS SECTION ======================== */
/* =================================================================== */
.testimonials-section {
    padding: 100px 0;
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease-in-out;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-content {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--color-text-primary);
    margin-bottom: 20px;
}

.testimonial-quote::before {
    content: '“';
    font-size: 3rem;
    color: var(--color-primary);
    position: absolute;
    left: 10px;
    top: 10px;
    opacity: 0.5;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
}

.author-name {
    margin: 0;
    font-size: 1.1rem;
}

.author-title {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: -80px;
    right: -80px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
}

.slider-btn {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-background);
    border-color: var(--color-primary);
}


/* =================================================================== */
/* =========================== CTA SECTION =========================== */
/* =================================================================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--color-secondary), var(--color-primary));
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-section .btn-primary {
    background-color: #fff;
    color: var(--color-secondary);
    border-color: #fff;
}

.cta-section .btn-primary:hover {
    background-color: transparent;
    color: #fff;
}

/* =================================================================== */
/* ============================= FOOTER ============================== */
/* =================================================================== */
.site-footer {
    background-color: var(--color-surface);
    padding: 80px 0 0;
    border-top: 1px solid var(--color-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 45px;
}

.footer-logo span {
    font-size: 1.8rem;
}

.footer-column.about p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--color-text-primary);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul a {
    color: var(--color-text-muted);
}

.footer-column ul a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.footer-column.contact p {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--color-text-muted);
    margin-bottom: 15px;
}

.footer-column.contact svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-column.contact a {
    color: var(--color-text-muted);
}

.footer-column.contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    padding: 25px 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* =================================================================== */
/* ========================= CONTACT PAGE ============================ */
/* =================================================================== */
.contact-page-section {
    padding: 150px 0 100px;
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-top: 60px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    width: 100%;
}

.contact-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.contact-form .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    align-self: flex-start;
}

#form-status {
    margin-top: 15px;
    font-weight: 500;
}

#form-status.success {
    color: var(--color-success);
}

#form-status.error {
    color: var(--color-error);
}

.contact-info-container {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.contact-info-container h3 {
    margin-bottom: 15px;
}

.contact-info-container p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background-color: var(--color-background);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 22px;
    height: 22px;
    color: var(--color-primary);
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p,
.contact-details a {
    color: var(--color-text-muted);
    margin: 0;
}

.contact-details a:hover {
    color: var(--color-primary);
}

/* =================================================================== */
/* ========================== LEGAL PAGES ============================ */
/* =================================================================== */
.legal-page-section {
    padding: 150px 0 100px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 50px;
    border-radius: var(--border-radius);
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 15px;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-content p,
.legal-content li {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.legal-content ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1rem;
}

/* =================================================================== */
/* ====================== ANIMATIONS ON SCROLL ======================= */
/* =================================================================== */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in {
    transform: translateY(20px);
}

.fade-in-up {
    transform: translateY(50px);
}

.fade-in-left {
    transform: translateX(-50px);
}

.fade-in-right {
    transform: translateX(50px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
    transition-delay: var(--delay, 0s);
}

/* =================================================================== */
/* ======================== RESPONSIVE DESIGN ======================== */
/* =================================================================== */

/* ----- Tablets and larger ----- */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .about-grid {
        gap: 40px;
    }

    .report-charts {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        left: -20px;
        right: -20px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ----- Mobile devices ----- */
@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    /* Mobile Navigation */
    .nav-links {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 80%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-surface);
        flex-direction: column;
        padding: 40px;
        gap: 20px;
        transition: right var(--transition-speed) ease;
        border-left: 1px solid var(--color-border);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .btn-header {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-column {
        order: -1;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .testimonial-slider {
        height: auto;
    }

    .testimonial-content {
        padding: 30px;
    }

    .testimonial-quote {
        font-size: 1.1rem;
    }

    .slider-controls {
        position: static;
        transform: none;
        display: flex;
        justify-content: center;
        margin-top: 20px;
        gap: 15px;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column.contact p {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

.partner-name {
    display: inline-block;
    color: #ffffff;
    border-radius: 8px;
    padding: 20px 40px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    min-width: 150px;
}