/* --- TABLE OF CONTENTS ---
1.  Global Styles & Variables
2.  Keyframe Animations
3.  Typography & Base Elements
4.  Utility & Helper Classes
5.  Header & Navigation
6.  Mobile Navigation
7.  Footer
8.  Buttons & Interactive Elements
9.  Hero Section
10. Services Section
11. Command Center Section
12. Mission Debrief (About) Section
13. Testimonials Section
14. CTA Section
15. Subpage Styles (Legal, Contact)
16. Contact Page Specifics
17. Pop-up Modal
18. Miscellaneous (Floating Chat, etc.)
19. Responsive Design (Media Queries)
--------------------------- */


/* 1. Global Styles & Variables
------------------------------------- */
:root {
    --color-charcoal: #1B1B1B;
    --color-electric-blue: #00E5FF;
    --color-gold: #FFD700;
    --color-dark-grey: #2a2a2e;
    --color-light-grey: #a9a9b3;
    --color-white: #ffffff;
    --color-bg: #111113;

    --font-primary: 'Poppins', sans-serif;
    --font-display: 'Orbitron', sans-serif;

    --header-height: 80px;
    --border-radius: 8px;
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --glow-shadow-blue: 0 0 15px rgba(0, 229, 255, 0.5), 0 0 5px rgba(0, 229, 255, 0.8);
    --glow-shadow-gold: 0 0 15px rgba(255, 215, 0, 0.5), 0 0 5px rgba(255, 215, 0, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-light-grey);
    line-height: 1.7;
    overflow-x: hidden;
}

/* 2. Keyframe Animations
------------------------------------- */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroTitleIn {
    from {
        opacity: 0;
        transform: translateY(30px) skewY(5deg);
    }

    to {
        opacity: 1;
        transform: translateY(0) skewY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: var(--glow-shadow-blue);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 25px rgba(0, 229, 255, 0.7), 0 0 10px rgba(0, 229, 255, 1);
    }

    100% {
        transform: scale(1);
        box-shadow: var(--glow-shadow-blue);
    }
}

@keyframes numberCount {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes barGrow {
    from {
        transform: scaleY(0);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes donutSpin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes threatPulse {
    0% {
        background-color: rgba(0, 255, 127, 0.1);
        box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
    }

    50% {
        background-color: rgba(0, 255, 127, 0.2);
        box-shadow: 0 0 20px rgba(0, 255, 127, 0.6);
    }

    100% {
        background-color: rgba(0, 255, 127, 0.1);
        box-shadow: 0 0 10px rgba(0, 255, 127, 0.3);
    }
}


/* 3. Typography & Base Elements
------------------------------------- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    color: var(--color-white);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.2rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-electric-blue);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-title .highlight {
    color: var(--color-electric-blue);
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--color-light-grey);
}

/* 4. Utility & Helper Classes
------------------------------------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--animation-delay, 0s);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-load {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
    animation-delay: var(--animation-delay, 0s);
}

/* 5. Header & Navigation
------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background-color: rgba(27, 27, 27, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color var(--transition-speed) ease, top var(--transition-speed) ease;
}

.header.scrolled {
    background-color: rgba(27, 27, 27, 0.95);
}

.header.hidden {
    top: -90px;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    height: 60px;
    filter: invert(1);
    transition: transform var(--transition-speed) ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-light-grey);
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-electric-blue);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--color-white);
    transition: all var(--transition-speed) ease-in-out;
}


/* 6. Mobile Navigation
------------------------------------- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-charcoal);
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-nav.open {
    transform: translateX(0);
    display: flex;
}

.mobile-nav nav ul {
    text-align: center;
}

.mobile-nav nav li {
    margin: 20px 0;
}

.mobile-nav nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--color-white);
    padding: 10px;
}

.mobile-nav .btn {
    margin-top: 30px;
}

.mobile-toggle.active .bar-top {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-toggle.active .bar-middle {
    opacity: 0;
}

.mobile-toggle.active .bar-bottom {
    transform: rotate(45deg) translate(-5px, -6px);
}


/* 7. Footer
------------------------------------- */
.footer {
    background-color: var(--color-charcoal);
    color: var(--color-light-grey);
    padding-top: 80px;
    position: relative;
}

.footer-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.footer-shape {
    position: absolute;
    background-color: var(--color-electric-blue);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(50px);
}

.footer-shape.shape-1 {
    width: 300px;
    height: 300px;
    left: -100px;
    top: -50px;
}

.footer-shape.shape-2 {
    width: 400px;
    height: 400px;
    right: -150px;
    bottom: -100px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 50px;
    filter: invert(1);
    margin-bottom: 20px;
}

.footer-about-text {
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-light-grey);
    border-radius: 50%;
    color: var(--color-light-grey);
    transition: all var(--transition-speed) ease;
}

.social-link:hover {
    background-color: var(--color-electric-blue);
    color: var(--color-charcoal);
    border-color: var(--color-electric-blue);
    transform: translateY(-3px);
}

.footer-col-title {
    font-size: 1.2rem;
    color: var(--color-white);
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--color-light-grey);
    position: relative;
}

.footer-links ul li a::before {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-right: 8px;
    opacity: 0;
    transition: all var(--transition-speed) ease;
    transform: translateX(-5px);
}

.footer-links ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.contact-info-list i {
    color: var(--color-electric-blue);
    margin-right: 15px;
    margin-top: 5px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
}


/* 8. Buttons & Interactive Elements
------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    font-family: var(--font-display);
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 1;
}

.btn span {
    position: relative;
    z-index: 2;
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

/* Primary Button */
.btn-primary {
    background-color: var(--color-electric-blue);
    color: var(--color-charcoal);
    border-color: var(--color-electric-blue);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--color-white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 1;
}

.btn-primary:hover::before {
    width: 250%;
    height: 250%;
}

.btn-primary:hover {
    color: var(--color-charcoal);
}

/* Secondary Button */
.btn-secondary {
    background-color: transparent;
    color: var(--color-electric-blue);
    border-color: var(--color-electric-blue);
}

.btn-secondary:hover {
    background-color: var(--color-electric-blue);
    color: var(--color-charcoal);
}

/* 9. Hero Section
------------------------------------- */
.hero-section {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--color-white);
    padding-top: var(--header-height);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(17, 17, 19, 0.9), var(--color-bg)),
        url('https://via.placeholder.com/1920x1080/1B1B1B/1B1B1B?text=');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(17, 17, 19, 0) 0%, var(--color-bg) 80%);
}


.hero-content {
    max-width: 800px;
    text-align: left;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    animation: heroTitleIn 0.8s backwards cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-title .line:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-title .highlight {
    color: var(--color-electric-blue);
    text-shadow: var(--glow-shadow-blue);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    color: var(--color-light-grey);
    margin-bottom: 2.5rem;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
}


/* 10. Services Section
------------------------------------- */
.services-section {
    background-color: var(--color-charcoal);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--color-dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    perspective: 1000px;
    min-height: 350px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.service-card:hover .service-card-inner {
    transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: var(--border-radius);
    background-color: var(--color-dark-grey);
}

.service-card-back {
    transform: rotateY(180deg);
    justify-content: space-around;
}

.service-icon {
    font-size: 3rem;
    color: var(--color-electric-blue);
    margin-bottom: 20px;
    text-shadow: var(--glow-shadow-blue);
}

.service-card h3 {
    color: var(--color-white);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--color-light-grey);
    margin: 0;
}

.service-card-back p {
    font-size: 0.9rem;
}

/* 11. Command Center Section
------------------------------------- */
.dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dashboard-panel {
    background: linear-gradient(145deg, var(--color-dark-grey), #222);
    padding: 20px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.dashboard-panel h4 {
    margin-bottom: auto;
    color: var(--color-light-grey);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.panel-large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.panel-small {
    grid-column: span 1;
}

.panel-medium {
    grid-column: span 2;
}

/* Chart Area */
.chart-area {
    width: 100%;
    height: 80%;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 10px;
    padding-top: 20px;
}

.chart-area .bar {
    width: 12%;
    background-color: var(--color-electric-blue);
    border-radius: 4px 4px 0 0;
    transform-origin: bottom;
    animation: barGrow 1s ease-out forwards;
    position: relative;
    opacity: 0;
}

.chart-area .bar:nth-child(1) {
    animation-delay: 0.1s;
}

.chart-area .bar:nth-child(2) {
    animation-delay: 0.2s;
}

.chart-area .bar:nth-child(3) {
    animation-delay: 0.3s;
}

.chart-area .bar:nth-child(4) {
    animation-delay: 0.4s;
}

.chart-area .bar:nth-child(5) {
    animation-delay: 0.5s;
}

.chart-area .bar:nth-child(6) {
    animation-delay: 0.6s;
}

.is-visible .chart-area .bar {
    opacity: 1;
}

.chart-area .bar span {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--color-light-grey);
}

/* Metric Value */
.metric-value {
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--color-white);
    font-weight: 900;
    line-height: 1;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--color-light-grey);
}

/* Threat Level */
.threat-level {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: var(--border-radius);
    animation: threatPulse 2s infinite ease-in-out;
}

.threat-indicator {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #00ff7f;
}

.threat-level span {
    font-family: var(--font-display);
    font-size: 2rem;
    color: #00ff7f;
}

/* Donut Chart */
.donut-chart {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto 0;
}

.donut {
    transform: rotate(-90deg);
}

.donut-hole {
    fill: transparent;
}

.donut-ring {
    stroke: #3a3a3e;
}

.donut-segment {
    transform-origin: 50% 50%;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.is-visible .donut-segment {
    animation: donutSpin 2s linear infinite;
}

.segment-1 {
    stroke: var(--color-electric-blue);
}

.segment-2 {
    stroke: var(--color-gold);
}

.chart-center-text {
    position: absolute;
    font-family: var(--font-display);
    color: var(--color-white);
}


/* 12. Mission Debrief (About) Section
------------------------------------- */
.mission-debrief-section {
    background-color: var(--color-charcoal);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--color-dark-grey);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
}

.timeline-content {
    padding: 20px 30px;
    background-color: var(--color-dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    content: ' ';
    position: absolute;
    top: 28px;
    right: -15px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-dark-grey);
}

.timeline-item:nth-child(even) .timeline-content::after {
    content: ' ';
    position: absolute;
    top: 28px;
    left: -15px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent var(--color-dark-grey) transparent transparent;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    top: 20px;
    background-color: var(--color-electric-blue);
    border: 4px solid var(--color-charcoal);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-charcoal);
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--color-gold);
}


/* 13. Testimonials Section
------------------------------------- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--color-dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.client-info h4 {
    color: var(--color-white);
    margin: 0;
}

.client-info span {
    font-size: 0.9rem;
    color: var(--color-light-grey);
}

.mission-status {
    color: #00ff7f;
    font-weight: 600;
    font-size: 0.9rem;
}

.mission-status i {
    margin-right: 5px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    flex-grow: 1;
    border-left: 3px solid var(--color-electric-blue);
    padding-left: 20px;
}

.testimonial-footer {
    font-weight: 600;
    color: var(--color-white);
}

/* 14. CTA Section
------------------------------------- */
.cta-section {
    background-color: var(--color-charcoal);
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* 15. Subpage Styles (Legal, Contact)
------------------------------------- */
body.subpage {
    padding-top: var(--header-height);
}

.page-header-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    background-color: var(--color-charcoal);
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(17, 17, 19, 0.7), var(--color-bg)),
        url('https://via.placeholder.com/1920x400/1B1B1B/1B1B1B?text=');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-header-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.breadcrumbs a {
    color: var(--color-light-grey);
}

.breadcrumbs a:hover {
    color: var(--color-electric-blue);
}

.breadcrumbs span {
    color: var(--color-white);
    font-weight: 600;
}

.breadcrumbs i {
    font-size: 0.7rem;
    color: var(--color-electric-blue);
}

.page-content {
    padding: 80px 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-dark-grey);
    padding: 40px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.content-wrapper h2 {
    color: var(--color-electric-blue);
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-wrapper ul {
    list-style: disc;
    padding-left: 20px;
}

.content-wrapper ul li {
    margin-bottom: 0.5rem;
}

/* 16. Contact Page Specifics
------------------------------------- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background-color: var(--color-dark-grey);
    padding: 50px;
    border-radius: var(--border-radius);
}

.contact-info h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.contact-methods {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
}

.method-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 229, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-electric-blue);
}

.method-details h3 {
    color: var(--color-white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.method-details p,
.method-details a {
    margin: 0;
    color: var(--color-light-grey);
}

.contact-form .form-row {
    display: flex;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-light-grey);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    background-color: var(--color-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    color: var(--color-white);
    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(--color-electric-blue);
    box-shadow: var(--glow-shadow-blue);
}

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='%2300E5FF' 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: 1em;
}

textarea {
    resize: vertical;
}

/* 17. Pop-up Modal
------------------------------------- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--color-dark-grey);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    width: 90%;
    border: 1px solid var(--color-electric-blue);
    box-shadow: var(--glow-shadow-blue);
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-icon {
    font-size: 4rem;
    color: #00ff7f;
    margin-bottom: 20px;
}

.popup-content h3 {
    color: var(--color-white);
    margin-bottom: 10px;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--color-light-grey);
    cursor: pointer;
}

.popup-close-btn {
    margin-top: 20px;
}

/* 18. Miscellaneous
------------------------------------- */
.floating-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-electric-blue);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    color: var(--color-charcoal);
    box-shadow: var(--glow-shadow-blue);
    cursor: pointer;
    z-index: 900;
    transition: transform var(--transition-speed) ease;
}

.floating-chat-btn:hover {
    transform: scale(1.1) rotate(10deg);
}

/* 19. Responsive Design
------------------------------------- */

/* Tablets and larger */
@media (max-width: 1024px) {
    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    .hero-title {
        font-size: 4rem;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
    }

    .footer-col.footer-about {
        grid-column: 1 / 3;
    }

    .dashboard {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .panel-large {
        grid-column: 1 / 3;
        grid-row: auto;
        height: 350px;
    }

    .panel-medium {
        grid-column: 1 / 3;
    }

    .panel-small {
        grid-column: span 1;
    }
}

/* Mobile devices */
@media (max-width: 768px) {

    .header .nav,
    .header .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    h1,
    .page-header-content h1 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-cta-group {
        flex-direction: column;
        align-items: flex-start;
    }

    section {
        padding: 80px 0;
    }

    .timeline::after {
        left: 25px;
        margin-left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 15px;
    }

    .timeline-item:nth-child(even) {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content {
        text-align: left;
    }

    .timeline-icon,
    .timeline-item:nth-child(even) .timeline-icon {
        left: 0;
    }

    .timeline-item:nth-child(odd) .timeline-content::after,
    .timeline-item:nth-child(even) .timeline-content::after {
        left: -15px;
        border-color: transparent var(--color-dark-grey) transparent transparent;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-col {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-info-list li {
        justify-content: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1,
    .page-header-content h1 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .dashboard {
        grid-template-columns: 1fr;
    }

    .panel-large,
    .panel-medium,
    .panel-small {
        grid-column: 1 / 2;
    }
}