/*
================================================
TABLE OF CONTENTS
================================================
1.  ROOT VARIABLES & GLOBAL STYLES
2.  UTILITY & HELPER CLASSES
3.  PRELOADER
4.  HEADER & NAVIGATION
5.  PAGE & HERO SECTIONS
6.  TRUSTED BY SECTION
7.  SERVICES SECTION
8.  ABOUT US SECTION
9.  PROCESS SECTION (TIMELINE)
10. PRICING SECTION
11. INDUSTRY SOLUTIONS (TABS)
12. TESTIMONIALS SECTION (SLIDER)
13. CTA (CALL TO ACTION) SECTION
14. FOOTER
15. POPUP, MODAL & MISC
16. ANIMATIONS & KEYFRAMES
17. RESPONSIVE DESIGN (MEDIA QUERIES)
================================================
*/

/* 1. ROOT VARIABLES & GLOBAL STYLES
------------------------------------------------ */
:root {
    --bg-dark: #0a0a14;
    --bg-dark-2: #12121e;
    --card-bg: #1a1a2e;
    --primary-blue: #00aaff;
    --primary-blue-dark: #0088cc;
    --primary-blue-glow: rgba(0, 170, 255, 0.3);
    --text-light: #f0f0f5;
    --text-grey: #a0a0b4;
    --border-color: #2a2a4a;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Roboto Mono', monospace;
    --header-height: 80px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: var(--font-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.nav-active {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-light);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    color: var(--text-grey);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 2. UTILITY & HELPER CLASSES
------------------------------------------------ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--primary-blue);
    background-color: rgba(0, 170, 255, 0.1);
    padding: 5px 15px;
    border-radius: 50px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn i {
    z-index: 2;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: #fff;
    box-shadow: 0 5px 20px var(--primary-blue-glow);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    box-shadow: 0 8px 25px var(--primary-blue-glow);
    transform: translateY(-2px);
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--card-bg);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.highlight-text {
    color: var(--primary-blue);
    position: relative;
}

#typed-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    font-weight: 300;
}

/* 3. PRELOADER
------------------------------------------------ */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo {
    max-width: 200px;
    margin-bottom: 20px;
}

.loader-logo img {
    opacity: 0.8;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loader-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-blue);
    animation: loading 2s ease-in-out forwards;
}

/* 4. HEADER & NAVIGATION
------------------------------------------------ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0 1rem;
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: rgba(10, 10, 20, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-grey);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-light);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* 5. PAGE & HERO SECTIONS
------------------------------------------------ */
#particles-js,
#particles-js-contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    color: var(--text-grey);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-glow-1,
.hero-glow-2,
.footer-glow,
.cta-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: 0;
    pointer-events: none;
}

.hero-glow-1 {
    width: 500px;
    height: 500px;
    background: rgba(0, 100, 255, 0.15);
    left: -150px;
    top: -150px;
}

.hero-glow-2 {
    width: 400px;
    height: 400px;
    background: rgba(0, 170, 255, 0.1);
    right: -100px;
    bottom: -100px;
}

/* Legal Pages Hero */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-dark-2);
}

.page-hero h1 {
    margin-bottom: 0.5rem;
}

.page-hero-subtitle {
    font-family: var(--font-secondary);
    color: var(--text-grey);
    margin-bottom: 1.5rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--text-grey);
}

.breadcrumbs i {
    font-size: 0.7rem;
}

.breadcrumbs span {
    color: var(--text-light);
}

.page-content-section {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin: 2.5rem 0 1rem;
    color: var(--primary-blue);
    font-size: 1.8rem;
}

.content-wrapper h3 {
    margin: 2rem 0 0.5rem;
    color: var(--text-light);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1rem;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

.content-wrapper p,
.content-wrapper li {
    color: var(--text-grey);
}

/* 6. TRUSTED BY SECTION
------------------------------------------------ */
.trusted-by-section {
    padding: 40px 0;
    background-color: var(--bg-dark-2);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.trusted-by-section p {
    text-align: center;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 2rem;
}

.logos-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.client-logo {
    height: 30px;
    opacity: 0.6;
    filter: grayscale(100%) brightness(1.5);
    transition: all 0.3s ease;
}

.client-logo:hover {
    opacity: 1;
    filter: none;
    transform: scale(1.1);
}

/* 7. SERVICES SECTION
------------------------------------------------ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-blue-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    transform: rotate(0deg);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
    animation: rotate-glow 5s linear infinite;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    display: inline-block;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.service-card p {
    margin-bottom: 1.5rem;
}

.card-link {
    font-weight: 600;
    font-family: var(--font-secondary);
}

.card-link i {
    transition: transform 0.3s ease;
    margin-left: 5px;
}

.card-link:hover i {
    transform: translateX(5px);
}

/* 8. ABOUT US SECTION
------------------------------------------------ */
.about-section {
    background-color: var(--bg-dark-2);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 12px;
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: -15px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    z-index: -1;
    transition: all 0.3s ease;
}

.about-image-wrapper:hover::after {
    border-color: var(--primary-blue);
    transform: rotate(2deg);
}

.about-content .section-tag,
.about-content h2 {
    text-align: left;
    margin-left: 0;
}

.about-content h2 {
    margin-bottom: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: var(--bg-dark);
    border-radius: 8px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    font-family: var(--font-secondary);
}

.stat-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--text-grey);
}

/* 9. PROCESS SECTION (TIMELINE)
------------------------------------------------ */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 40px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.process-step {
    position: relative;
    padding-left: 100px;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.process-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 80px;
    height: 80px;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
}

.process-step:hover .process-icon {
    background-color: var(--primary-blue);
    color: var(--text-light);
    border-color: var(--primary-blue);
    transform: scale(1.1);
}

.process-content h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.process-content p {
    margin-bottom: 0;
}

/* 10. PRICING SECTION
------------------------------------------------ */
.pricing-section {
    background-color: var(--bg-dark-2);
}

.pricing-calculator-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 60px;
}

.calculator-controls h3 {
    margin-bottom: 2rem;
}

.calculator-controls .form-group {
    margin-bottom: 1.5rem;
}

.calculator-controls label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-grey);
    font-family: var(--font-secondary);
}

.calculator-controls input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 8px;
    background: var(--bg-dark);
    border-radius: 5px;
    outline: none;
}

.calculator-controls input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
}

.calculator-controls input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: var(--primary-blue);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.calculator-controls input[type="range"]:hover::-webkit-slider-thumb {
    background: var(--primary-blue-dark);
}

.calculator-controls input[type="range"]:hover::-moz-range-thumb {
    background: var(--primary-blue-dark);
}

.calculator-result {
    background: var(--bg-dark);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
}

.calculator-result p {
    margin-bottom: 0.5rem;
}

.price-display {
    font-size: 2.8rem;
    color: var(--primary-blue);
    font-weight: 700;
    font-family: var(--font-secondary);
    margin-bottom: 1rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: var(--text-grey);
    margin-bottom: 1.5rem !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.pricing-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.popular {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
}

.pricing-header h3 {
    font-size: 1.6rem;
}

.pricing-header p {
    font-size: 0.9rem;
}

.price {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 2rem 0;
    font-family: var(--font-secondary);
}

.price .per-month {
    font-size: 1rem;
    color: var(--text-grey);
    font-weight: 400;
    margin-left: 5px;
    font-family: var(--font-primary);
}

.features-list {
    text-align: left;
    margin-bottom: 2.5rem;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-grey);
}

.features-list li i {
    color: var(--primary-blue);
}

.pricing-card .btn {
    width: 100%;
}

.popular .btn-primary {
    box-shadow: 0 5px 20px var(--primary-blue-glow);
}

/* 11. INDUSTRY SOLUTIONS (TABS)
------------------------------------------------ */
.industry-section {
    background-color: var(--bg-dark);
}

.tabs-wrapper {
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background-color: var(--bg-dark-2);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: transparent;
    border: none;
    color: var(--text-grey);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.tab-btn.active {
    background-color: var(--card-bg);
    color: var(--primary-blue);
    border-bottom: 2px solid var(--primary-blue);
}

.tabs-content {
    padding: 2.5rem;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.tab-pane p {
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.tab-pane span {
    font-family: var(--font-secondary);
    color: var(--text-grey);
    font-size: 0.9rem;
}

/* 12. TESTIMONIALS SECTION (SLIDER)
------------------------------------------------ */
.testimonials-section {
    background-color: var(--bg-dark-2);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 2rem;
    text-align: center;
}

.testimonial-slide img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-blue);
    margin: 0 auto 1.5rem;
}

.testimonial-slide blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    border: none;
    padding: 0;
}

.client-name {
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.client-title {
    font-size: 0.9rem;
    color: var(--text-grey);
    margin-bottom: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.slider-btn.prev {
    left: -25px;
}

.slider-btn.next {
    right: -25px;
}


/* 13. CTA (CALL TO ACTION) SECTION
------------------------------------------------ */
.cta-section {
    padding: 80px 0;
    background-color: var(--card-bg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    max-width: 600px;
    margin: 0 auto 1rem;
}

.cta-content p {
    max-width: 500px;
    margin: 0 auto 2.5rem;
}

.cta-glow {
    width: 800px;
    height: 800px;
    background: var(--primary-blue-glow);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(200px);
}

/* 14. FOOTER
------------------------------------------------ */
.footer {
    padding-top: 80px;
    background-color: var(--bg-dark-2);
    position: relative;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 40px;
}

.footer-logo img {
    height: 45px;
}

.footer-description {
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-grey);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-blue);
    color: #fff;
    border-color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-grey);
}

.footer-links a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-grey);
}

.contact-info li i {
    margin-top: 5px;
    color: var(--primary-blue);
}

.contact-info a {
    color: var(--text-grey);
}

.contact-info a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-grey);
}

.footer-glow {
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 400px;
    background-color: var(--primary-blue-glow);
    filter: blur(250px);
}

/* 15. POPUP, MODAL & MISC
------------------------------------------------ */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px var(--primary-blue-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--primary-blue-dark);
}

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1001;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup.visible {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    border: 1px solid var(--border-color);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.visible .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

/* Contact page specific */
.contact-hero {
    min-height: 50vh;
}

.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info-header {
    margin-bottom: 1rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    width: 40px;
    text-align: center;
}

.method-details p {
    margin: 0;
}

.contact-social h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.contact-form-wrapper {
    padding: 2rem;
    background: var(--bg-dark-2);
}

.contact-form .form-header {
    margin-bottom: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--primary-blue-glow);
}

.terms-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.terms-check label {
    margin: 0;
}

.form-submit-btn {
    width: 100%;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    background-color: var(--bg-dark);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    font-size: 1.2rem;
    margin: 0;
}

.faq-icon {
    font-size: 1.2rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding-top 0.5s ease;
}

.faq-answer p {
    margin-bottom: 0;
    padding-top: 1rem;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    /* Adjust as needed */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* 16. ANIMATIONS & KEYFRAMES
------------------------------------------------ */
@keyframes loading {
    to {
        width: 100%;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes rotate-glow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll[data-animation="fade-up"] {
    transform: translateY(50px);
}

.animate-on-scroll[data-animation="slide-in-left"] {
    transform: translateX(-50px);
}

.animate-on-scroll[data-animation="slide-in-right"] {
    transform: translateX(50px);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* 17. RESPONSIVE DESIGN
------------------------------------------------ */
@media (max-width: 992px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark-2);
        transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nav-list {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .mobile-toggle {
        display: block;
    }

    body.nav-active .nav {
        left: 0;
    }

    body.nav-active .mobile-toggle .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    body.nav-active .mobile-toggle .bar:nth-child(2) {
        opacity: 0;
    }

    body.nav-active .mobile-toggle .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .header-btn {
        display: none;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-content {
        text-align: center;
    }

    .about-content .section-tag,
    .about-content h2 {
        text-align: center;
    }

    .pricing-calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calculator-result {
        margin-top: 1rem;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-info {
        border-bottom: 1px solid var(--border-color);
    }

    .tabs-nav {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .footer-social,
    .contact-info,
    .footer-links ul {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }

    .process-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .process-step {
        padding-left: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .process-icon {
        position: static;
        margin-bottom: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn.prev {
        left: 0px;
    }

    .slider-btn.next {
        right: 0px;
    }

    .testimonial-slide {
        padding: 1rem;
    }
}