/*
================================================
THEME: THE CONVERSION COMMANDOS
================================================
*/

/* -------------------
   1. Root Variables & Global Styles
   ------------------- */
:root {
    --army-green: #3C8031;
    --explosion-orange: #FF6F00;
    --charcoal: #0F0F0F;
    --dark-grey: #1a1a1a;
    --medium-grey: #333;
    --light-grey: #999;
    --off-white: #f5f5f5;

    --font-primary: 'Poppins', sans-serif;

    --header-height: 80px;
    --transition-speed: 0.3s;
    --border-radius: 8px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--charcoal);
    color: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--off-white);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--light-grey);
}

a {
    color: var(--explosion-orange);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--off-white);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-padding {
    padding: 100px 0;
}

.text-center {
    text-align: center;
}

/* -------------------
   2. Preloader
   ------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--charcoal);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    color: var(--army-green);
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background-color: var(--medium-grey);
    position: relative;
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--explosion-orange);
    animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}


/* -------------------
   3. Buttons & Reusable Components
   ------------------- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background-color: var(--explosion-orange);
    color: var(--charcoal);
    border-color: var(--explosion-orange);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--explosion-orange);
}

.btn-secondary {
    background-color: transparent;
    color: var(--off-white);
    border-color: var(--off-white);
}

.btn-secondary:hover {
    background-color: var(--off-white);
    color: var(--charcoal);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
}

.section-header .subtitle {
    display: block;
    font-weight: 600;
    color: var(--explosion-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* -------------------
   4. Header & Navigation
   ------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    transition: all var(--transition-speed) ease;
    border-bottom: 1px solid var(--medium-grey);
}

.header.scrolled {
    background-color: var(--charcoal);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-height);
}

.nav-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    color: var(--off-white);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--explosion-orange);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--off-white);
    transition: all var(--transition-speed) ease-in-out;
}

/* -------------------
   5. Hero Section
   ------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1587825140708-dfaf72ae4b04?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--charcoal) 30%, rgba(15, 15, 15, 0.7) 60%, rgba(15, 15, 15, 0.1) 100%);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    max-width: 600px;
}

.hero .subtitle {
    color: var(--army-green);
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.hero-3d-object {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radar-scanner {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: rgba(60, 128, 49, 0.1);
    border: 2px solid var(--army-green);
    position: relative;
    transform-style: preserve-3d;
    animation: rotate3d 30s linear infinite;
}

.radar-scanner::before,
.radar-scanner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(60, 128, 49, 0.5);
    transform: translateY(-50%);
}

.radar-scanner::after {
    transform: rotate(90deg);
}

.radar-sweep {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(0deg, transparent 50%, rgba(255, 111, 0, 0.5) 100%);
    transform-origin: 50% 50%;
    animation: sweep 3s linear infinite;
}

@keyframes rotate3d {
    from {
        transform: rotateY(0deg) rotateX(10deg);
    }

    to {
        transform: rotateY(360deg) rotateX(10deg);
    }
}

@keyframes sweep {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* -------------------
   6. Services Section
   ------------------- */
.services-section {
    background-color: var(--dark-grey);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.service-card {
    background-color: var(--charcoal);
    border: 1px solid var(--medium-grey);
    border-radius: var(--border-radius);
    perspective: 1000px;
    min-height: 320px;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s;
}

.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: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: var(--border-radius);
}

.service-card-front {
    background-color: var(--charcoal);
}

.service-card-back {
    background-color: var(--army-green);
    color: var(--off-white);
    transform: rotateY(180deg);
}

.service-card-back h3 {
    margin-bottom: 1rem;
    color: var(--off-white);
}

.service-card-back ul {
    text-align: left;
    margin-bottom: 1.5rem;
    width: 100%;
}

.service-card-back ul li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 20px;
}

.service-card-back ul li::before {
    content: '\f00c';
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--explosion-orange);
}

.service-card-back .btn {
    border-color: var(--off-white);
    color: var(--off-white);
}

.service-card-back .btn:hover {
    background: var(--off-white);
    color: var(--army-green);
}

.service-icon {
    font-size: 3rem;
    color: var(--explosion-orange);
    margin-bottom: 1.5rem;
}

.service-card-front h3 {
    margin-bottom: 1rem;
}

/* -------------------
   7. About Section
   ------------------- */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-content .image-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.about-image-content .image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--army-green);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: all var(--transition-speed) ease;
}

.about-image-content:hover .image-wrapper::before {
    transform: translate(10px, 10px);
}

.about-text-content .section-header {
    text-align: left;
}

.about-text-content .section-header p {
    margin: 0 0 1.5rem 0;
    max-width: 100%;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.about-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--explosion-orange);
}

.about-stats p {
    color: var(--light-grey);
    margin: 0;
}

/* -------------------
   8. Process Section
   ------------------- */
.process-section {
    background-color: var(--dark-grey);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.process-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--medium-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;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--charcoal);
    border: 4px solid var(--explosion-orange);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px 30px;
    background: var(--charcoal);
    position: relative;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-grey);
}

.timeline-step {
    position: absolute;
    top: -20px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.timeline-item:nth-child(odd) .timeline-step {
    right: 20px;
}

.timeline-item:nth-child(even) .timeline-step {
    left: 20px;
}

.timeline-content h3 {
    color: var(--explosion-orange);
    margin-bottom: 0.5rem;
}

/* -------------------
   9. War Room Section
   ------------------- */
.war-room-dashboard {
    background-color: var(--charcoal);
    border: 1px solid var(--medium-grey);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.world-map img {
    opacity: 0.5;
}

.dashboard-stats {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    gap: 3rem;
    background-color: rgba(15, 15, 15, 0.8);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--army-green);
}

.stat-item h4 {
    color: var(--light-grey);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stat-item .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--explosion-orange);
    margin: 0;
}

.radar-sweep-large {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    padding-bottom: 150%;
    transform: translate(-50%, -50%);
    background: linear-gradient(45deg, transparent 50%, rgba(60, 128, 49, 0.3) 100%);
    transform-origin: 50% 50%;
    animation: sweep 8s linear infinite;
    opacity: 0.5;
}


/* -------------------
   10. Testimonials Section
   ------------------- */
.testimonials-section {
    background-color: var(--dark-grey);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}

.testimonial-slider {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.testimonial-slide {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 0 2rem;
}

.testimonial-content {
    background-color: var(--charcoal);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border-left: 5px solid var(--explosion-orange);
    position: relative;
    margin-bottom: 1.5rem;
}

.testimonial-content i {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 2rem;
    color: var(--medium-grey);
}

.testimonial-content p {
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    padding-left: 2rem;
}

.testimonial-author {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 1rem;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
}

.author-info span {
    color: var(--light-grey);
    font-size: 0.9rem;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    left: 0;
}

.slider-controls button {
    background: var(--medium-grey);
    border: none;
    color: var(--off-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.slider-controls button:hover {
    background-color: var(--explosion-orange);
}

/* -------------------
   11. CTA Section
   ------------------- */
.cta-section {
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.8)), url('https://images.unsplash.com/photo-1556742502-ec7c0e9f34b1?q=80&w=1887&auto=format&fit=crop') no-repeat center center/cover;
    padding: 80px 0;
}

.cta-container {
    text-align: center;
}

.cta-container h2 {
    margin-bottom: 1rem;
}

.cta-container p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}


/* -------------------
   12. Footer
   ------------------- */
.footer {
    background-color: var(--charcoal);
    padding-top: 80px;
    border-top: 1px solid var(--medium-grey);
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding-bottom: 40px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-about p {
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--medium-grey);
    border-radius: 50%;
    color: var(--light-grey);
    transition: all var(--transition-speed) ease;
}

.footer-social a:hover {
    background-color: var(--explosion-orange);
    border-color: var(--explosion-orange);
    color: var(--charcoal);
    transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--army-green);
}

.footer-links ul li,
.footer-contact ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a,
.footer-contact ul li a {
    color: var(--light-grey);
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
    color: var(--explosion-orange);
    padding-left: 5px;
}

.footer-contact i {
    margin-right: 10px;
    color: var(--army-green);
}

.footer-bottom {
    border-top: 1px solid var(--medium-grey);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--light-grey);
}

.footer-legal a {
    color: var(--light-grey);
    margin: 0 10px;
}

.footer-legal a:hover {
    color: var(--off-white);
}

/* -------------------
   13. Contact Page Specifics
   ------------------- */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(rgba(15, 15, 15, 0.7), var(--charcoal)), url('https://images.unsplash.com/photo-1528747045269-3904978afb2b?q=80&w=2070&auto=format&fit=crop') no-repeat top center/cover;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.breadcrumbs {
    margin-top: 1rem;
}

.breadcrumbs a {
    color: var(--light-grey);
}

.breadcrumbs span {
    color: var(--off-white);
}

.contact-page-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 4rem;
}

.contact-info-block,
.contact-form-block {
    background-color: var(--dark-grey);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-grey);
}

.contact-info-block h3,
.contact-form-block h3 {
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--explosion-orange);
    margin-top: 5px;
}

.info-text h4 {
    margin-bottom: 0.25rem;
}

.info-text p,
.info-text p a {
    margin: 0;
    color: var(--light-grey);
}

.contact-form .form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px;
    background-color: var(--charcoal);
    border: 1px solid var(--medium-grey);
    border-radius: var(--border-radius);
    color: var(--off-white);
    font-family: var(--font-primary);
    transition: border-color var(--transition-speed);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--explosion-orange);
}

/* -------------------
   14. Legal Pages Specifics
   ------------------- */
.legal-content .content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--dark-grey);
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--medium-grey);
}

.legal-content h2,
.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--explosion-orange);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content ul {
    list-style: disc;
    padding-left: 20px;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}


/* -------------------
   15. Interactive Elements
   ------------------- */
/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--explosion-orange);
    color: var(--charcoal);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1001;
}

.chat-button {
    width: 60px;
    height: 60px;
    background-color: var(--army-green);
    color: var(--off-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform var(--transition-speed) ease;
}

.chat-button:hover {
    transform: scale(1.1);
}

.chat-button .fa-times {
    display: none;
}

.chat-widget.open .chat-button .fa-comments {
    display: none;
}

.chat-widget.open .chat-button .fa-times {
    display: block;
}

.chat-popup {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    background-color: var(--dark-grey);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    height: 450px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-speed) ease;
}

.chat-widget.open .chat-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--army-green);
    padding: 1rem;
    border-top-left-radius: var(--border-radius);
    border-top-right-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h3 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--off-white);
}

.close-chat {
    background: none;
    border: none;
    color: var(--off-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.chat-body {
    flex-grow: 1;
    padding: 1rem;
    overflow-y: auto;
}

.chat-message.received p {
    background-color: var(--medium-grey);
    padding: 10px 15px;
    border-radius: 15px 15px 15px 0;
    max-width: 80%;
    margin-bottom: 0.5rem;
    color: var(--off-white);
}

.chat-footer {
    padding: 1rem;
    border-top: 1px solid var(--medium-grey);
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex-grow: 1;
    padding: 10px;
    border: 1px solid var(--medium-grey);
    background-color: var(--charcoal);
    color: var(--off-white);
    border-radius: 20px;
}

.chat-footer button {
    background: var(--army-green);
    color: var(--off-white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
}

.popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background-color: var(--dark-grey);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform var(--transition-speed) ease;
}

.popup.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-grey);
}

.popup-icon {
    font-size: 4rem;
    color: var(--army-green);
    margin-bottom: 1rem;
}

.popup-content h3 {
    color: var(--off-white);
    margin-bottom: 0.5rem;
}

.popup-content p {
    margin-bottom: 2rem;
}

/* -------------------
   16. Animations
   ------------------- */
.animate-up,
.animate-fade-in,
.animate-from-left,
.animate-from-right {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-up {
    transform: translateY(30px);
}

.animate-fade-in {
    transform: scale(0.95);
}

.animate-from-left {
    transform: translateX(-30px);
}

.animate-from-right {
    transform: translateX(30px);
}

.animate-up.is-visible,
.animate-fade-in.is-visible,
.animate-from-left.is-visible,
.animate-from-right.is-visible {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}


/* -------------------
   17. Responsiveness
   ------------------- */

/* Tablets */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: left var(--transition-speed) ease-in-out;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 1.5rem;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-3d-object {
        display: none;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text-content .section-header {
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .contact-page-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .section-padding {
        padding: 80px 0;
    }

    .process-timeline::after {
        left: 10px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 10px;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        left: 0;
        text-align: left;
    }

    .timeline-dot {
        left: 0;
    }

    .timeline-item:nth-child(even) .timeline-dot {
        left: 0;
    }

    .dashboard-stats {
        position: relative;
        bottom: auto;
        left: auto;
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
        align-items: center;
    }

    .footer-main {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-links h3::after,
    .footer-contact h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-legal span {
        display: none;
    }

    .contact-form .form-row {
        flex-direction: column;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 600px;
    }

    .chat-popup {
        width: 90vw;
    }
}