/*
  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: #312480;
    /* SlateBlue */
    --primary-color-light: #5a47e2;
    --secondary-color: #077f8f;
    /* Cyan */
    --accent-color: #a12b53;
    /* Pink */

    --bg-dark: #070714;
    --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: 40px;
    width: auto;
}

.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: 40px;
}

.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;
    }
}

/* ===== Redesign Theme Override ===== */
:root {
    --primary-color: #bb5a3c;
    --primary-color-light: #d67958;
    --secondary-color: #6f8f78;
    --accent-color: #f1b189;
    --bg-dark: #f7f3ea;
    --bg-dark-light: #fffaf2;
    --bg-dark-lighter: #f2e9dc;
    --border-color: #e7d9c7;
    --text-light: #2f2a24;
    --text-medium: #6b6156;
    --text-dark: #221d18;
    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-light);
}

h1, h2, h3, h4, h5, h6 { color: var(--text-dark); font-family: var(--font-secondary); }
p { color: var(--text-medium); }
a:hover { color: var(--primary-color); }

.header {
    background: rgba(255, 250, 242, 0.95);
    border-bottom: 1px solid var(--border-color);
}
.header.scrolled { background: rgba(255, 250, 242, 0.98); box-shadow: 0 8px 25px rgba(34, 29, 24, 0.08); }
.logo a, .nav-link { color: var(--text-light); font-family: var(--font-primary); }
.hamburger, .hamburger::before, .hamburger::after { background-color: var(--text-dark); }
.dropdown-menu { background: #fff; border-color: var(--border-color); }

.btn {
    border-radius: 10px;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}
.btn::before { display: none; }
.btn-primary { background: var(--primary-color); color: #fff; box-shadow: 0 8px 20px rgba(187, 90, 60, 0.2); }
.btn-primary:hover { background: #a95035; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(187, 90, 60, 0.25); }
.btn-secondary { background: transparent; border-color: var(--secondary-color); color: var(--secondary-color); }
.btn-secondary:hover { background: var(--secondary-color); color: #fff; }

.hero { padding-top: calc(var(--header-height) + 60px); padding-bottom: 60px; }
.hero-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.hero-title { font-size: 3.5rem; margin-bottom: 1rem; }
.hero-description { max-width: 560px; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-trust { margin-top: 1rem; font-size: 0.95rem; }
.hero-image-card { border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px rgba(34, 29, 24, 0.14); border: 1px solid var(--border-color); }
.hero-image-card img { display: block; width: 100%; min-height: 420px; object-fit: cover; }

.section-subtitle { color: var(--secondary-color); letter-spacing: 1px; }
.section-title { font-size: 2.6rem; }

.services-list { display: grid; gap: 1rem; }
.service-row {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 1rem;
}
.service-icon {
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--bg-dark-lighter);
    color: var(--primary-color);
    font-size: 1.4rem;
}
.service-content h3 { font-family: var(--font-primary); margin-bottom: 0.25rem; font-size: 1.15rem; }
.service-content p { margin: 0; }
.service-link { color: var(--primary-color); font-weight: 600; }

.about-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.5rem; align-items: center; }
.about-visual img { border-radius: 14px; width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--border-color); }
.about-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin: 1.5rem 0; }
.about-stats div { background: #fff; border: 1px solid var(--border-color); border-radius: 12px; padding: 0.8rem 1rem; min-width: 145px; }
.about-stats strong { display: block; font-size: 1.4rem; color: var(--primary-color); }
.about-stats span { color: var(--text-medium); font-size: 0.9rem; }

.why-us-strip { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.why-item { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 1.2rem; text-align: center; }
.why-item i { color: var(--primary-color); font-size: 1.25rem; margin-bottom: 0.5rem; }
.why-item h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 0.35rem; }
.why-item p { margin: 0; font-size: 0.95rem; }

.process-section, .report-section { background: #fdf8f1; }
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-step-card { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 1.2rem; }
.process-step-card i { color: var(--secondary-color); font-size: 1.2rem; margin: 0.5rem 0; }
.process-number { color: var(--primary-color); }
.process-step-card h3 { font-family: var(--font-primary); font-size: 1.05rem; margin-bottom: 0.4rem; }
.process-step-card p { margin: 0; font-size: 0.95rem; }

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.testimonial-card { background: #fff; border: 1px solid var(--border-color); border-radius: 14px; padding: 1.5rem; text-align: left; }
.testimonial-quote-icon { color: var(--primary-color); font-size: 1.1rem; margin-bottom: 0.8rem; }
.testimonial-text { font-size: 1rem; font-style: normal; color: var(--text-light); margin-bottom: 1rem; }
.author-name { font-family: var(--font-primary); font-size: 1rem; }
.author-title { color: var(--text-medium); font-family: var(--font-primary); font-size: 0.88rem; }

.cta-section { background: transparent; }
.cta-split {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1.2fr auto;
    gap: 1.5rem;
    align-items: center;
}
.cta-copy h2 { margin-bottom: 0.5rem; }
.cta-copy p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 0.65rem; }
.cta-actions small { color: var(--text-medium); }

.footer {
    background: #fffaf2;
    border-top: 1px solid var(--border-color);
}
.footer-col h3, .footer-about .footer-logo { color: var(--text-dark); font-family: var(--font-primary); }
.footer-socials a { border-color: var(--border-color); color: var(--text-medium); }
.footer-socials a:hover { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.footer-links ul a, .footer-contact ul li, .footer-contact ul a, .footer-bottom { color: var(--text-medium); }

.page-header { background: #fdf8f1; }
.contact-wrapper, .popup-content { background: #fff; border-color: var(--border-color); }
.contact-card, .kpi-card, .bar-item { background: var(--bg-dark-lighter); }
.form-group input, .form-group textarea, .form-group select {
    background: #fff;
    border-color: var(--border-color);
    color: var(--text-light);
}

@media (max-width: 992px) {
    .hero-split, .about-split { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-split { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-actions .btn { display: none; }
    .nav { background: #fffaf2; }
    .service-row { grid-template-columns: 56px 1fr; }
    .service-link { grid-column: 2; }
    .why-us-strip, .process-steps, .testimonials-grid { grid-template-columns: 1fr; }
    .hero-title { font-size: 2.55rem; }
}