/*
================================================
TABLE OF CONTENTS
------------------------------------------------
1.  ROOT & GLOBAL STYLES
2.  HELPER & UTILITY CLASSES
3.  KEYFRAME ANIMATIONS
4.  HEADER & NAVIGATION
5.  FOOTER
6.  BUTTONS & FORMS
7.  PAGE-SPECIFIC & COMPONENT STYLES
    - Page Header (for subpages)
    - Hero Section
    - Services Section
    - About Section & Stats Counter
    - Process Section
    - Testimonials Section
    - CTA Section
    - Contact Page
    - Legal Pages (Generic Content)
    - Popups & Modals
    - Back to Top Button
8.  RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. ROOT & GLOBAL STYLES */
/* ================================================ */
:root {
    --primary-color: #007BFF;
    --secondary-color: #8A2BE2;
    --dark-bg: #0A0B1E;
    --dark-bg-2: #15173D;
    --light-bg: #FFFFFF;
    --text-color: #C0C8E7;
    --heading-color: #FFFFFF;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.2);

    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.4s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-weight: 600;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 5px 15px;
    background-image: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--heading-color);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.highlight-text {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}


/* 2. HELPER & UTILITY CLASSES */
/* ================================================ */
.d-flex {
    display: flex;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

/* 3. KEYFRAME ANIMATIONS */
/* ================================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
}

.animate-on-scroll[data-animation="fade-in"].is-visible {
    animation: fadeIn 0.8s forwards;
}

.animate-on-scroll[data-animation="fade-in-down"].is-visible {
    animation: fadeInDown 0.8s forwards;
}

.animate-on-scroll[data-animation="fade-in-up"].is-visible {
    animation: fadeInUp 0.8s forwards;
}

.animate-on-scroll[data-animation="fade-in-left"].is-visible {
    animation: fadeInLeft 0.8s forwards;
}

.animate-on-scroll[data-animation="fade-in-right"].is-visible {
    animation: fadeInRight 0.8s forwards;
}

/* 4. HEADER & NAVIGATION */
/* ================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 0;
    background-color: transparent;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
}

.header.scrolled {
    background-color: rgba(10, 11, 30, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px var(--shadow-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 80px;
    filter: brightness(0) invert(1);
    transition: height 0.4s ease;
}


.nav-menu {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--heading-color);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
}

.bar {
    width: 100%;
    height: 3px;
    background-color: var(--heading-color);
    border-radius: 2px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

/* 5. FOOTER */
/* ================================================ */
.footer {
    background-color: var(--dark-bg-2);
    padding-top: 150px;
    position: relative;
    color: var(--text-color);
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%230a0b1e' fill-opacity='1' d='M0,192L48,170.7C96,149,192,107,288,106.7C384,107,480,149,576,186.7C672,224,768,256,864,240C960,224,1056,160,1152,149.3C1248,139,1344,181,1392,202.7L1440,224L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(-99px);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-logo {
    height: 80px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-about-text {
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--heading-color);
    transition: all var(--transition-speed) ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-color);
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-contact ul li i {
    margin-top: 5px;
    color: var(--primary-color);
}

.footer-contact a {
    color: var(--text-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

/* 6. BUTTONS & FORMS */
/* ================================================ */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--heading-color);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    transition: all 0.5s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--heading-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--heading-color);
    transform: translateY(-3px);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.9rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--heading-color);
    color: var(--heading-color);
}

.btn-outline:hover {
    background: var(--heading-color);
    color: var(--dark-bg);
}

.btn-full {
    width: 100%;
}

.btn i {
    margin-left: 8px;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-row .form-group {
    flex: 1;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--heading-color);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 15px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--heading-color);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.3);
}

.contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23C0C8E7' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

/* 7. PAGE-SPECIFIC & COMPONENT STYLES */
/* ================================================ */

/* Page Header (for subpages) */
/* ------------------------------------------------ */
.page-header {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(rgba(10, 11, 30, 0.8), rgba(10, 11, 30, 0.8));
    position: relative;
    overflow: hidden;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-header .page-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Hero Section */
/* ------------------------------------------------ */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    background-color: rgba(0, 123, 255, 0.2);
    top: 10%;
    left: 5%;
}

.shape-2 {
    width: 250px;
    height: 250px;
    background-color: rgba(138, 43, 226, 0.2);
    bottom: 10%;
    right: 5%;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background-color: rgba(0, 123, 255, 0.15);
    top: 20%;
    right: 20%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

.hero-visual-globe {
    position: relative;
    width: 450px;
    height: 450px;
    margin: 0 auto;
}

.globe-img {
    width: 100%;
    height: 100%;
    animation: spin 60s linear infinite;
}

.hero-visual-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--dark-bg-2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.3);
    animation: pulse 2s infinite;
}

.icon-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.icon-2 {
    top: 20%;
    right: 5%;
    animation-delay: 0.5s;
}

.icon-3 {
    bottom: 15%;
    left: 15%;
    animation-delay: 1s;
}

.icon-4 {
    bottom: 25%;
    right: 10%;
    animation-delay: 1.5s;
}

/* Services Section */
/* ------------------------------------------------ */
.services-section {
    background-color: var(--dark-bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    perspective: 1000px;
    min-height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
}

.service-card-back {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--heading-color);
    transform: rotateY(180deg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.service-card-front h3 {
    margin-bottom: 1rem;
}

.service-card-back h3 {
    margin-bottom: 1.5rem;
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 1.5rem;
}

.service-card-back ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}

.service-card-back ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
}

/* About Section & Stats Counter */
/* ------------------------------------------------ */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed) ease;
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-features {
    margin: 2rem 0;
}

.about-features li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-features li:not(:last-child) {
    margin-bottom: 1.5rem;
}

.about-features i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.stats-counter {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-item span {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-weight: 500;
    margin: 0;
}

/* Process Section */
/* ------------------------------------------------ */
.process-section {
    background-color: var(--dark-bg-2);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
    border-radius: 2px;
}

.process-step {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 50px;
    width: 50%;
}

.process-step:nth-child(even) {
    margin-left: 50%;
    flex-direction: row-reverse;
}

.process-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--dark-bg);
    border: 3px solid var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    transition: all var(--transition-speed) ease;
}

.process-step:hover .process-icon {
    background-color: var(--primary-color);
    color: var(--heading-color);
    transform: translateY(-50%) scale(1.1);
}

.process-step:nth-child(odd) .process-icon {
    right: -40px;
}

.process-step:nth-child(even) .process-icon {
    left: -40px;
}

.process-content {
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    width: calc(100% - 60px);
    position: relative;
}

.process-step:nth-child(odd) .process-content {
    margin-right: 60px;
}

.process-step:nth-child(even) .process-content {
    margin-left: 60px;
}

.step-number {
    position: absolute;
    top: -15px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    z-index: -1;
}

.process-step:nth-child(odd) .step-number {
    right: 15px;
}

.process-step:nth-child(even) .step-number {
    left: 15px;
}


/* Testimonials Section */
/* ------------------------------------------------ */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-bg-2);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    height: 250px;
    /* Adjust as needed */
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
    transform: translateX(20px);
    text-align: center;
}

.testimonial-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.testimonial-author h4 {
    margin: 0;
}

.testimonial-author span {
    color: var(--text-color);
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.slider-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--heading-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    position: absolute;
}

.prev-btn {
    left: -60px;
}

.next-btn {
    right: -60px;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* CTA Section */
/* ------------------------------------------------ */
.cta-section {
    padding: 125px 0;
    background: linear-gradient(rgba(10, 11, 30, 0.9), rgba(10, 11, 30, 0.9));
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* Contact Page */
/* ------------------------------------------------ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--dark-bg-2);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.contact-info-panel h3 {
    margin-bottom: 1rem;
}

.contact-details-list {
    margin-top: 2rem;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-details-list li:not(:last-child) {
    margin-bottom: 1.5rem;
}

.contact-details-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    width: 25px;
    text-align: center;
}

.contact-details-list h4 {
    margin: 0;
}

/* Legal Pages (Generic Content) */
/* ------------------------------------------------ */
.page-content {
    background-color: var(--dark-bg-2);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
}

.page-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.page-content ul {
    list-style: disc;
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.page-content ul li {
    margin-bottom: 0.5rem;
}

/* Popups & Modals */
/* ------------------------------------------------ */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--dark-bg-2);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--heading-color);
    cursor: pointer;
}

.popup-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

/* Back to Top Button */
/* ------------------------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--heading-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: scale(1.1);
}


/* 8. RESPONSIVE DESIGN (MEDIA QUERIES) */
/* ================================================ */

@media (max-width: 1200px) {

    .process-step:nth-child(odd) .process-content,
    .process-step:nth-child(even) .process-content {
        width: calc(100% - 40px);
    }

    .process-step:nth-child(odd) .process-content {
        margin-right: 40px;
    }

    .process-step:nth-child(even) .process-content {
        margin-left: 40px;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .section-padding {
        padding: 80px 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--dark-bg-2);
        flex-direction: column;
        padding-top: 100px;
        transition: right var(--transition-speed) ease-in-out;
        box-shadow: -5px 0 15px var(--shadow-color);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9.5px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9.5px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        grid-row: 1;
        margin-bottom: 2rem;
    }

    .hero-visual-globe {
        width: 350px;
        height: 350px;
    }

    .hero-visual-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .about-container {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        margin-bottom: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about,
    .footer-contact {
        grid-column: 1 / -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .slider-controls {
        display: none;
    }

    .testimonial-slider {
        height: auto;
    }
}

@media (max-width: 768px) {

    h1,
    .page-header h1 {
        font-size: 2.5rem;
    }

    .process-timeline {
        padding-left: 60px;
        margin: 0;
        max-width: 100%;
    }

    .timeline-line {
        left: 40px;
    }

    .process-step,
    .process-step:nth-child(even) {
        width: 100%;
        margin-left: 0;
        flex-direction: row;
        padding-left: 60px;
    }

    .process-icon,
    .process-step:nth-child(odd) .process-icon,
    .process-step:nth-child(even) .process-icon {
        left: 0;
        transform: translate(0, -50%);
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .process-content,
    .process-step:nth-child(odd) .process-content,
    .process-step:nth-child(even) .process-content {
        width: 100%;
        margin: 0;
    }

    .stats-counter {
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .stat-item {
        flex: 1 1 120px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 576px) {

    h1,
    .page-header h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-header {
        padding: 150px 0 80px;
    }

    .page-content,
    .contact-wrapper {
        padding: 2rem;
    }
}