/*
  Table of Contents
  -----------------
  1.  Global Styles & Variables
  2.  Utility Classes
  3.  Header & Navigation
  4.  Footer
  5.  Buttons & Form Elements
  6.  Hero Section
  7.  Section Base & Headers
  8.  Services Section
  9.  Process Section
  10. Testimonials Section
  11. Sample Report Section
  12. CTA Section
  13. Page Header (for subpages)
  14. Legal & Contact Pages
  15. Popups & Misc
  16. Animations & Keyframes
  17. Responsive Design (Media Queries)
*/

/* 1. Global Styles & Variables */
:root {
    --primary-color: #6a5acd;
    /* SlateBlue */
    --primary-color-light: #8375e7;
    --secondary-color: #00bcd4;
    /* Cyan */
    --accent-color: #ff4081;
    /* Pink */

    --bg-dark: #12121f;
    --bg-dark-light: #1a1a2e;
    --bg-dark-lighter: #24243e;
    --border-color: rgba(255, 255, 255, 0.1);

    --text-light: #e0e0e0;
    --text-medium: #a0a0c0;
    --text-dark: #12121f;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Share Tech Mono', monospace;

    --header-height: 80px;
    --border-radius: 8px;
    --container-width: 1200px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.3;
    color: #fff;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-medium);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color-light);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* 2. Utility Classes */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease-in-out;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn span {
    z-index: 2;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color-light));
    transition: width var(--transition-speed) ease-in-out;
    z-index: 0;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(106, 90, 205, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    color: #fff;
    background-color: var(--primary-color);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* 3. Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(18, 18, 31, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(18, 18, 31, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    font-family: var(--font-secondary);
}

.logo img {
    height: 50px;
    width: auto;
    filter: brightness(1) invert(1);
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active,
.nav-link:hover {
    color: #fff;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 150%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 0.5rem 0;
    min-width: 200px;
    opacity: 1;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-light);
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger {
    width: 25px;
    height: 2px;
    background-color: #fff;
    position: relative;
    transition: background-color 0s 0.3s;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s ease, top 0.3s ease 0.3s;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.nav-close {
    display: none;
}

/* 4. Footer */
.footer {
    background-color: #0d0d17;
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-col h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    color: #fff;
    font-family: var(--font-secondary);
}

.footer-about .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.footer-about .footer-logo img {
    height: 50px;
    filter: brightness(1) invert(1);
}

.footer-about p {
    color: var(--text-medium);
    margin-bottom: 2rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-light);
    transition: all var(--transition-speed) ease;
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--text-medium);
    position: relative;
}

.footer-links ul a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 0.5rem;
    color: var(--primary-color);
    opacity: 1;
    transition: opacity var(--transition-speed) ease;
}

.footer-links ul a:hover {
    padding-left: 1rem;
}

.footer-links ul a:hover::before {
    opacity: 1;
}

.footer-contact ul li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-medium);
}

.footer-contact ul i {
    color: var(--primary-color);
    margin-top: 5px;
}

.footer-contact ul a {
    color: var(--text-medium);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    text-align: center;
    color: var(--text-medium);
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    z-index: 100;
    opacity: 1;
    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 {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

/* 5. Buttons & Form Elements */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-light);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 20px;
    background-color: var(--bg-dark-lighter);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-light);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.3);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-medium);
    opacity: 0.7;
}

.form-group i {
    position: absolute;
    right: 20px;
    top: 50px;
    color: var(--text-medium);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.form-row .form-group {
    flex: 1;
}

textarea {
    resize: vertical;
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0c0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--primary-color);
    height: 1.2em;
    width: 1.2em;
}

.checkbox-group label {
    margin-bottom: 0;
    color: var(--text-medium);
}

.checkbox-group a {
    text-decoration: underline;
}

/* 6. Hero Section */
.hero {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-family: var(--font-secondary);
    color: var(--secondary-color);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual-content {
    perspective: 1000px;
}

.hero-card-inner {
    transform-style: preserve-3d;
    transition: transform 0.6s;
    position: relative;
}

.hero-card-front {
    background: linear-gradient(145deg, var(--bg-dark-light), #151525);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    color: #fff;
    min-height: 350px;
    display: flex;
    flex-direction: column;
}

.hero-card-front i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.hero-card-front h3 {
    font-family: var(--font-secondary);
    margin-bottom: 0.5rem;
}

.hero-card-front p {
    color: var(--text-medium);
}

.hero-chart-container {
    margin-top: auto;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    height: 100px;
}

.hero-chart-bar {
    flex: 1;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    animation: growBar 1.5s ease-out forwards;
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(106, 90, 205, 0.2) 0%, rgba(106, 90, 205, 0) 60%);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

/* 7. Section Base & Headers */
.section-header {
    margin-bottom: 4rem;
}

.section-subtitle {
    font-family: var(--font-secondary);
    color: var(--primary-color-light);
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-medium);
}

/* 8. Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    transform-style: preserve-3d;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(106, 90, 205, 0.15) 0%, rgba(106, 90, 205, 0) 70%);
    transition: opacity var(--transition-speed) ease;
    opacity: 1;
    transform: rotate(0deg);
}

.service-card:hover::before {
    opacity: 1;
    animation: rotateGlow 5s linear infinite;
}

.service-card-inner {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-description {
    color: var(--text-medium);
    margin-bottom: 2rem;
    min-height: 80px;
}

.service-link {
    font-weight: 600;
    color: var(--primary-color-light);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link i {
    transition: transform var(--transition-speed) ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* 9. Process Section */
.process-section {
    background-color: #0d0d17;
}

.process-wrapper {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.process-line {
    position: absolute;
    top: 45px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}

.process-icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--bg-dark-light);
    border: 2px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.process-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    transition: all var(--transition-speed) ease;
}

.process-step:hover .process-icon-wrapper {
    transform: scale(1.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(106, 90, 205, 0.5);
}

.process-step:hover .process-icon {
    color: var(--primary-color-light);
}

.process-number {
    font-family: var(--font-secondary);
    color: var(--text-medium);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: block;
}

.process-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.process-text {
    color: var(--text-medium);
}

/* 10. Testimonials Section */
.testimonial-slider-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 50px;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.testimonial-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 0 1rem;
}

.testimonial-card {
    background-color: var(--bg-dark-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    text-align: center;
}

.testimonial-quote-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.author-name {
    font-size: 1.1rem;
    margin-bottom: 0;
}

.author-title {
    color: var(--text-medium);
    font-family: var(--font-secondary);
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.slider-btn {
    pointer-events: all;
    background-color: rgba(26, 26, 46, 0.7);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-speed) ease;
}

.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.prev-btn {
    margin-left: -25px;
}

.next-btn {
    margin-right: -25px;
}

/* 11. Sample Report Section */
.report-section {
    background-color: #0d0d17;
}

.report-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.report-text-content .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.report-text-content .section-description {
    margin-left: 0;
}

.dashboard-card {
    background-color: var(--bg-dark-light);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.dashboard-header h5 {
    font-size: 1.1rem;
    font-family: var(--font-secondary);
}

.dashboard-header i {
    color: var(--text-medium);
}

.kpi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.kpi-card {
    background-color: var(--bg-dark-lighter);
    padding: 1rem;
    border-radius: var(--border-radius);
}

.kpi-card h6 {
    font-size: 0.9rem;
    color: var(--text-medium);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.kpi-card p {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kpi-change {
    font-size: 0.9rem;
    font-weight: 500;
    font-family: var(--font-secondary);
}

.kpi-change.positive {
    color: #4caf50;
}

.kpi-change.negative {
    color: #f44336;
}

.chart-container h6 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.bar-chart {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bar-item {
    display: flex;
    align-items: center;
    height: 30px;
    background-color: var(--bg-dark-lighter);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

.bar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--bar-width, 0%);
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
    transition: width 1.5s ease-out;
}

.bar-item span {
    position: relative;
    z-index: 1;
    padding-left: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 12. CTA Section */
.cta-section {
    background: linear-gradient(rgba(13, 13, 23, 0.9), rgba(13, 13, 23, 0.9)), url('https://www.transparenttextures.com/patterns/carbon-fibre-v2.png');
    background-color: var(--bg-dark-light);
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-dark-light);
    padding: 4rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.cta-content .section-subtitle,
.cta-content .section-title,
.cta-content .section-description {
    text-align: left;
    margin: 0;
}

.cta-content .section-title {
    margin-bottom: 1rem;
}

.cta-content {
    max-width: 60%;
}

/* 13. Page Header (for subpages) */
.page-header {
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #0d0d17;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.breadcrumbs a {
    color: var(--text-medium);
}

.breadcrumbs span {
    color: #fff;
}

/* 14. Legal & Contact Pages */
.legal-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content p {
    color: var(--text-medium);
}

.legal-content strong {
    color: var(--text-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--bg-dark-light);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--bg-dark-lighter);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed) ease;
}

.contact-card:hover {
    transform: translateX(5px);
    background-color: var(--bg-dark);
}

.contact-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    width: 50px;
    text-align: center;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-medium);
}

.contact-form-container .form-title {
    margin-bottom: 2rem;
    font-family: var(--font-secondary);
}

/* 15. Popups & Misc */
.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: 1;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--bg-dark-light);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
    border: 1px solid var(--border-color);
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-medium);
}

.popup-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.popup-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

/* 16. Animations & Keyframes */
@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes growBar {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* 17. Responsive Design (Media Queries) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 3.2rem;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .process-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .process-line {
        display: none;
    }

    .process-step {
        max-width: 400px;
    }

    .report-wrapper {
        grid-template-columns: 1fr;
    }

    .report-text-content .section-header {
        text-align: center;
    }

    .report-text-content .section-description {
        margin: 0 auto 2rem auto;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--bg-dark-light);
        z-index: 1000;
        transition: right 0.4s ease-in-out;
        padding-top: 100px;
    }

    .nav.open {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .dropdown {
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        background: transparent;
        border: none;
        padding: 1rem 0 0;
        min-width: auto;
        display: none;
    }

    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu li a {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle.active .hamburger {
        background-color: transparent;
    }

    .menu-toggle.active .hamburger::before {
        top: 0;
        transform: rotate(45deg);
    }

    .menu-toggle.active .hamburger::after {
        top: 0;
        transform: rotate(-45deg);
    }

    .menu-toggle.active .hamburger::before,
    .menu-toggle.active .hamburger::after {
        transition: top 0.3s ease, transform 0.3s ease 0.3s;
    }

    .header-actions .btn {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text-content {
        order: 2;
    }

    .hero-visual-content {
        order: 1;
        margin-bottom: 2rem;
    }

    .hero-description {
        margin: 0 auto 2.5rem auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cta-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2.5rem;
    }

    .cta-content {
        max-width: 100%;
    }

    .cta-content .section-title,
    .cta-content .section-description {
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 80px 0;
    }

    .hero {
        padding-top: calc(var(--header-height) + 50px);
        padding-bottom: 50px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-links ul a:hover {
        padding-left: 0;
    }

    .footer-links ul a::before {
        display: none;
    }

    .testimonial-slider-wrapper {
        padding: 0;
    }

    .slider-controls {
        display: none;
    }

    .testimonial-card {
        padding: 2rem;
    }
}