/* CSS/style.css */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #263e51;
    --secondary-color: #f47a2a;
    --accent-color: #2a4a6e;
    --light-color: #f8f9fa;
    --dark-color: #1a2c3d;
    --text-color: #333;
    --text-light: #777;
    --white: #fff;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--secondary-color);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn i {
    font-size: 14px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(244, 122, 42, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-light:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 25px;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.divider-line {
    width: 80px;
    height: 2px;
    background-color: var(--secondary-color);
}

.divider-icon {
    color: var(--secondary-color);
    font-size: 20px;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader-container {
    text-align: center;
}

.fire-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    margin-bottom: 30px;
}

.fire {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    margin: 0 10px;
    animation: fireAnimation 1.5s infinite ease-in-out;
}

.fire:nth-child(1) {
    animation-delay: 0s;
}

.fire:nth-child(2) {
    animation-delay: 0.2s;
}

.fire:nth-child(3) {
    animation-delay: 0.4s;
}

.fire:nth-child(4) {
    animation-delay: 0.6s;
}

@keyframes fireAnimation {
    0%, 100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 0 10px var(--secondary-color);
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        box-shadow: 0 0 20px var(--secondary-color), 0 0 40px rgba(244, 122, 42, 0.5);
    }
}

.preloader-text {
    color: var(--white);
    font-size: 18px;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

#particles-canvas {
    width: 100%;
    height: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(38, 62, 81, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 15px;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--white);
    letter-spacing: 1px;
}

.logo-subtitle {
    font-size: 0.8rem;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    padding: 5px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--secondary-color);
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    background-color: rgba(244, 122, 42, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    transition: var(--transition);
}

.nav-phone:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    margin-top: 100px;
    position: relative;
}

.hero-slideshow {
    position: relative;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    max-width: 800px;
    color: var(--white);
    animation: fadeInUp 1s ease;
}

.certification-badge {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cert-text {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slide-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    opacity: 0.9;
}

.slide-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.slide-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.slide-nav-btn {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slide-nav-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.1);
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

.hero-stats {
    background-color: var(--white);
    padding: 40px 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 20px;
    box-shadow: var(--shadow);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.stat-item:hover {
    background-color: rgba(38, 62, 81, 0.05);
    transform: translateY(-5px);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background-color: var(--secondary-color);
    transform: rotateY(180deg);
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-text {
    color: var(--text-light);
    font-weight: 500;
}

/* Services Preview */
.services-preview {
    padding: 100px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.services-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/Services/pattern.png');
    background-size: 300px;
    opacity: 0.03;
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-15px);
    color: var(--white);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .service-icon {
    background-color: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(38, 62, 81, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: var(--transition);
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-description {
    color: var(--text-light);
    transition: var(--transition);
}

.service-card:hover .service-description {
    color: rgba(255, 255, 255, 0.8);
}

.service-hover-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.hover-circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite linear;
}

.hover-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: -30px;
    left: -30px;
    animation-delay: 0s;
}

.hover-circle:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: -50px;
    right: -50px;
    animation-delay: 5s;
}

.hover-circle:nth-child(3) {
    width: 70px;
    height: 70px;
    top: 50%;
    right: 20px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(20px) rotate(240deg);
    }
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

/* Clients Showcase */
.clients-showcase {
    padding: 100px 0;
    background-color: var(--white);
}

.clients-slider {
    overflow: hidden;
    margin: 50px 0;
    position: relative;
}

.client-logos-track {
    display: flex;
    gap: 60px;
    animation: slideLogos 30s infinite linear;
    padding: 30px 0;
}

.client-logo {
    flex: 0 0 180px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@keyframes slideLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-quote {
    max-width: 800px;
    margin: 80px auto 0;
    background-color: #f8fafc;
    padding: 50px;
    border-radius: var(--border-radius);
    position: relative;
    text-align: center;
    box-shadow: var(--shadow);
}

.quote-icon {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.quote-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 20px;
    color: var(--primary-color);
    line-height: 1.8;
}

.quote-author {
    font-weight: 600;
    color: var(--secondary-color);
}

/* About Preview */
.about-preview {
    padding: 100px 0;
    background-color: #f8fafc;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: var(--secondary-color);
    font-size: 18px;
}

.feature-text {
    font-weight: 500;
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.certificate-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    width: 300px;
    box-shadow: var(--shadow);
    z-index: 10;
    animation: floatCard 6s infinite ease-in-out;
}

.certificate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.certificate-header h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.certificate-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.certificate-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.certificate-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.certificate-item:hover {
    background-color: rgba(38, 62, 81, 0.05);
}

.certificate-item i {
    color: var(--secondary-color);
    font-size: 18px;
    width: 30px;
}

.floating-element {
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(244, 122, 42, 0.3);
    animation: floatElement 8s infinite ease-in-out;
}

#floating-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

#floating-2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

#floating-3 {
    bottom: 10%;
    right: 5%;
    animation-delay: 4s;
}

@keyframes floatCard {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    50% {
        transform: translate(-50%, -55%) rotate(2deg);
    }
}

@keyframes floatElement {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../Images/Services/pattern-light.png');
    background-size: 300px;
    opacity: 0.1;
    pointer-events: none;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 60px;
    width: auto;
}

.footer-logo-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.footer-logo-text p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-about {
    opacity: 0.8;
    margin-bottom: 25px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-5px);
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    color: var(--secondary-color);
    font-size: 18px;
    margin-top: 5px;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 5px;
}

.contact-value {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-value:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* Scroll to Top Button */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--secondary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 99;
    box-shadow: 0 5px 15px rgba(244, 122, 42, 0.4);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-text {
    animation: fadeInUp 1s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-visual {
        height: 400px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slide-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-btn.active .menu-line:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-btn.active .menu-line:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active .menu-line:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    .hero-slideshow {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .slide-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .slide-nav {
        gap: 15px;
    }
    
    .slide-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .client-logos-track {
        gap: 30px;
    }
    
    .client-logo {
        flex: 0 0 140px;
    }
}

/* Fire Animation Background for CTA Section */
.fire-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    filter: blur(8px);
    opacity: 0.7;
}

.fire-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.smoke-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Fire elements */
.fire-particle {
    position: absolute;
    border-radius: 50% 50% 40% 40%;
    background: linear-gradient(to top, rgba(255, 68, 0, 0.7), rgba(255, 153, 0, 0.5), rgba(255, 255, 0, 0.3));
    box-shadow: 0 0 15px rgba(255, 68, 0, 0.4);
    opacity: 0.8;
    filter: blur(2px);
    z-index: 1;
}

.ember-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 153, 0, 0.6);
    box-shadow: 0 0 8px rgba(255, 153, 0, 0.5);
    z-index: 2;
}

.smoke-particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(150, 150, 150, 0.15);
    filter: blur(8px);
    z-index: 3;
}

/* CTA Section adjustments for fire background */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-content {
    position: relative;
    z-index: 10;
}

/* Heat wave effect */
.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        transparent 0%,
        rgba(255, 100, 0, 0.05) 20%,
        rgba(255, 100, 0, 0.02) 40%,
        transparent 100%);
    pointer-events: none;
    z-index: 5;
}
/* AFK Security Animation System */
.afk-security-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
}

.afk-security-animation.active {
    opacity: 1;
}

/* Safety Perimeter Lines */
.security-perimeter {
    position: absolute;
    border: 2px solid rgba(244, 122, 42, 0.3);
    border-radius: 10px;
    animation: perimeterPulse 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(244, 122, 42, 0.2),
                inset 0 0 30px rgba(244, 122, 42, 0.1);
}

@keyframes perimeterPulse {
    0%, 100% {
        transform: scale(1);
        border-color: rgba(244, 122, 42, 0.3);
        box-shadow: 0 0 20px rgba(244, 122, 42, 0.2),
                    inset 0 0 20px rgba(244, 122, 42, 0.1);
    }
    50% {
        transform: scale(1.02);
        border-color: rgba(244, 122, 42, 0.6);
        box-shadow: 0 0 40px rgba(244, 122, 42, 0.3),
                    inset 0 0 40px rgba(244, 122, 42, 0.2);
    }
}

/* Security Dots Network */
.security-dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0.4;
    animation: dotPulse 2s infinite;
}

@keyframes dotPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.2;
        box-shadow: 0 0 5px var(--secondary-color);
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
        box-shadow: 0 0 15px var(--secondary-color);
    }
}

/* Safety Connection Lines */
.security-connection {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(244, 122, 42, 0.4) 50%, 
        transparent 100%);
    transform-origin: left center;
    animation: connectionFlow 3s linear infinite;
}

@keyframes connectionFlow {
    0% {
        opacity: 0;
        transform: scaleX(0);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scaleX(1);
    }
}

/* Monitoring Indicator */
.afk-monitoring-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(38, 62, 81, 0.9);
    color: var(--white);
    padding: 15px 25px;
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(244, 122, 42, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    animation: indicatorSlide 0.5s ease-out;
}

@keyframes indicatorSlide {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.monitoring-icon {
    color: var(--secondary-color);
    font-size: 1.2rem;
    animation: monitoringPulse 2s infinite;
}

@keyframes monitoringPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Safety Beams */
.safety-beam {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(244, 122, 42, 0.2) 10%, 
        rgba(244, 122, 42, 0.4) 50%, 
        rgba(244, 122, 42, 0.2) 90%, 
        transparent 100%);
    animation: beamScan 8s linear infinite;
}

@keyframes beamScan {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10%, 90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

/* Fire Safety Embers */
.ember {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #ff6600, #ff9900, transparent 70%);
    border-radius: 50%;
    animation: emberFloat 8s linear infinite;
    opacity: 0;
}

@keyframes emberFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(720deg);
        opacity: 0;
    }
}

/* Security Grid */
.security-grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(244, 122, 42, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 122, 42, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: gridMove 30s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

/* Activity Status Dot */
.activity-status {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 9999;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px currentColor;
}

.activity-status.active {
    background-color: #4CAF50;
    box-shadow: 0 0 15px #4CAF50;
}

.activity-status.inactive {
    background-color: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}