@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Syncopate:wght@400;700&display=swap');

:root {
    --primary-color: #FF0000;
    /* High-Contrast Red */
    --secondary-color: #050505;
    /* Deep Obsidian */
    --accent-color: #FFFFFF;
    /* Stark White */
    --dark-color: #000000;
    --light-color: #F5F5F5;
    --text-color: #E0E0E0;
    --text-light: #A0A0A0;
    --border-color: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(5, 5, 5, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    --red-pulse: 0 0 20px rgba(255, 0, 0, 0.4);
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Responsive Heading Scaling */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    h2 {
        font-size: 2rem;
        letter-spacing: 3px;
    }

    h3 {
        font-size: 1.75rem;
        letter-spacing: 2px;
    }

    h4 {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .display-1 {
        font-size: 3.5rem !important;
    }

    .display-2 {
        font-size: 3rem !important;
    }

    .display-3 {
        font-size: 2.5rem !important;
    }

    .display-4 {
        font-size: 2rem !important;
    }
}

@media (max-width: 480px) {

    h2,
    .display-3 {
        font-size: 1.8rem !important;
        letter-spacing: 2px !important;
        overflow-wrap: break-word;
        word-wrap: break-word;
        hyphens: auto;
    }
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Industrial Luxury Navbar Redesign */
.header-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    transition: var(--transition);
    padding: 0;
}

.nav-machined-frame {
    width: 95%;
    max-width: 1600px;
    margin: 25px auto;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: stretch;
    height: 110px;
    position: relative;
    transition: var(--transition);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.8);
}

/* Technical Accent Line */
.nav-machined-frame::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
    box-shadow: 0 0 15px var(--primary-color);
}

.header-modern.scrolled .nav-machined-frame {
    margin: 0;
    width: 100%;
    max-width: 100%;
    height: 90px;
    border-left: none;
    border-right: none;
    border-top: none;
    background: rgba(0, 0, 0, 0.98);
}

/* Mobile Toggler Refinement */
.nav-machined-toggler {
    width: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: var(--transition);
    margin-left: auto;
    /* Pushes to the right */
}

.nav-machined-toggler span {
    display: block;
    width: 25px;
    height: 2px;
    background: white;
    transition: var(--transition);
}

.nav-machined-toggler[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
    background: var(--primary-color);
}

.nav-machined-toggler[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-machined-toggler[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    background: var(--primary-color);
}

/* Logo Dock */
.logo-dock {
    padding: 0 4rem;
    display: flex;
    align-items: center;
    background: transparent;
    position: relative;
    overflow: hidden;
}

.logo-dock .logo {
    height: 95px;
    transition: var(--transition);
}

.header-modern.scrolled .logo-dock .logo {
    height: 65px;
}

/* Main Navigation Hub */
.nav-industrial-hub {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    background: transparent;
}

.nav-machined-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-machined-item {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

/* Hide Default Bootstrap Caret globally */
.dropdown-toggle::after {
    display: none !important;
}

.nav-machined-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 5px;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    transition: var(--transition);
    opacity: 0.5;
}

.nav-machined-link:hover,
.nav-machined-link.active {
    opacity: 1;
    background: rgba(255, 255, 255, 0.03);
}

/* Active Scan Effect (Moved to ::before to avoid conflict with dropdown caret) */
.nav-machined-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 0 -5px 15px var(--primary-color);
}

.nav-machined-link:hover::before,
.nav-machined-link.active::before {
    width: 100%;
}

/* Machined Dropdown Overlay */
.modern-dropdown {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    background: rgba(5, 5, 5, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-top: 3px solid var(--primary-color) !important;
    border-radius: 0 !important;
    padding: 1rem 0 !important;
    min-width: 240px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9) !important;
    margin-top: 0 !important;
    top: 100% !important;
    left: 0 !important;
    transform: translateY(15px) scaleY(0.9);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top;
    pointer-events: none;
    z-index: 1000;
}

@media (min-width: 992px) {

    .nav-machined-item.dropdown:hover .modern-dropdown,
    .lang-dock.dropdown:hover .modern-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }
}

/* Dropdown Visibility Indicator */
.dropdown-chevron {
    font-size: 0.6rem;
    margin-left: 0.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.5;
}

.dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
    color: var(--primary-color);
}

.modern-dropdown .dropdown-item {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 1rem 2.5rem !important;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.6;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modern-dropdown .dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
    transition: var(--transition);
}

.modern-dropdown .dropdown-item:hover {
    background: rgba(255, 0, 0, 0.05) !important;
    opacity: 1;
    color: var(--primary-color) !important;
    padding-left: 3rem !important;
}

.modern-dropdown .dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary-color);
    transition: var(--transition);
    box-shadow: 2px 0 10px var(--primary-color);
}

.modern-dropdown .dropdown-item:hover::before {
    height: 60%;
}

/* Action Center */
.nav-action-center {
    display: flex;
    align-items: center;
    padding: 0 3.5rem;
    gap: 2.5rem;
    background: transparent;
}

.lang-dock {
    position: relative;
}

.btn-lang-machined {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
    letter-spacing: 2px;
    transition: var(--transition);
}

.btn-lang-machined:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 0, 0, 0.05);
}

.nav-cta-machined {
    height: 45px;
    width: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.nav-cta-machined::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    left: -100%;
    transition: var(--transition);
    z-index: -1;
}

.nav-cta-machined:hover {
    color: white;
}

.nav-cta-machined:hover::before {
    left: 0;
}

/* Mobile Toggle - Industrial Corner */
.nav-machined-toggler {
    display: flex;
}

@media (min-width: 992px) {
    .nav-machined-toggler {
        display: none;
    }
}

/* Premium Mobile Overlay */
#mobileNav.collapse.show,
#mobileNav.collapsing {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    /* Technical Grid Pattern Overlay */
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 20px 20px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 2000;
    padding-top: 0;
    border-top: none !important;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.3);
}

.mobile-nav-logo {
    height: 40px;
}

.btn-mobile-close {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    padding: 0.6rem 1.2rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.btn-mobile-close:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.mobile-nav-content {
    padding: 2.5rem 2rem;
    /* Reduced padding */
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    /* Changed from center to allow better fit */
    text-align: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.mobile-nav-item {
    margin-bottom: 1.2rem;
    /* Condensed spacing */
    opacity: 0;
    transform: translateY(20px);
}

#mobileNav.show .mobile-nav-item {
    animation: slideUpFade 0.4s forwards;
}

#mobileNav.show .mobile-nav-item:nth-child(1) {
    animation-delay: 0.1s;
}

#mobileNav.show .mobile-nav-item:nth-child(2) {
    animation-delay: 0.15s;
}

#mobileNav.show .mobile-nav-item:nth-child(3) {
    animation-delay: 0.2s;
}

#mobileNav.show .mobile-nav-item:nth-child(4) {
    animation-delay: 0.25s;
}

#mobileNav.show .mobile-nav-item:nth-child(5) {
    animation-delay: 0.3s;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav-link {
    font-family: var(--font-heading);
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    /* Slightly smaller for density */
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    transition: var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary-color);
    letter-spacing: 8px;
}

.mobile-lang-switch {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.mobile-lang-link {
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    opacity: 0.5;
}

.mobile-lang-link.active {
    opacity: 1;
    color: var(--primary-color);
}

.mobile-nav-footer {
    margin-top: 2rem;
    /* Condensed */
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    text-align: center;
}

.mobile-contact-info {
    margin-bottom: 2rem;
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: var(--transition);
}

.mobile-contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.mobile-contact-item:hover {
    opacity: 1;
    color: var(--primary-color);
}

.mobile-social-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}

.mobile-social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

/* Hide standard footer on mobile */
@media (max-width: 991px) {
    .footer-modern {
        background: black;
    }

    .footer-modern .footer-section:not(.copyright-section) {
        display: none;
    }

    .footer-modern .copyright-section {
        display: block !important;
        text-align: center;
        border-top: none;
        padding: 1.5rem 0 !important;
        margin-bottom: 0 !important;
    }
}

/* Page Spacing Fix */
body {
    padding-top: 0;
}

.page-header,
.hero-section {
    padding-top: 180px !important;
}

@media (max-width: 991px) {

    .page-header,
    .hero-section {
        padding-top: 120px !important;
    }

    .page-header h1 {
        font-size: 2.2rem !important;
        letter-spacing: 3px !important;
    }
}

/* Hero Section - The Command Hub Redesign */
.hero-section {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    background: url('../images/herosection.jpeg') no-repeat 95% center / cover;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Cinematic Split-Tone Mask + Technical Grid Overlay */
    background:
        linear-gradient(90deg, #000 0%, #000 35%, transparent 100%),
        radial-gradient(rgba(255, 0, 0, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px;
    opacity: 0.95;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: left !important;
    /* Forces left alignment for the Editorial look */
}

.hero-title {
    font-size: clamp(3.5rem, 12vw, 9rem);
    font-weight: 950;
    line-height: 0.85;
    margin-bottom: 2.5rem;
    color: white;
    letter-spacing: -6px;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 4rem;
        letter-spacing: -2px;
        align-items: center;
        text-align: center;
    }
}

.hero-title span {
    color: var(--primary-color);
    font-size: 0.75em;
    margin-top: 0.2em;
    padding-left: 0.1em;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 0.9rem;
    color: white;
    max-width: fit-content;
    margin-bottom: 4rem;
    background: rgba(255, 0, 0, 0.15);
    border-left: 5px solid var(--primary-color);
    padding: 0.8rem 2rem;
    letter-spacing: 6px;
    font-weight: 700;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 3px;
        padding: 0.6rem 1.2rem;
        margin-bottom: 3rem;
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

.btn {
    padding: 1.2rem 3.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    border-radius: 0;
    letter-spacing: 4px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .btn {
        padding: 1rem 2rem;
        font-size: 0.75rem;
        letter-spacing: 2px;
        width: 100%;
    }
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    color: white;
}

.btn-primary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateX(10px);
    letter-spacing: 7px;
    box-shadow: -10px 10px 30px rgba(255, 0, 0, 0.3);
}

.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 0, 0, 0.08);
    transform: translateY(-8px);
    letter-spacing: 5px;
}

/* Features Section */
.features-section {
    background-color: var(--secondary-color);
    padding: 8rem 0;
    border-top: 1px solid var(--border-color);
}

@media (max-width: 991px) {
    .features-section {
        padding: 4rem 0;
    }
}

.feature-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 4rem 2rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

@media (max-width: 768px) {
    .feature-card {
        padding: 2.5rem 1.5rem;
    }

    .feature-icon {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
}

.feature-card:hover {
    background: rgba(255, 0, 0, 0.03);
    border-color: var(--primary-color);
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 50px rgba(255, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

/* Why Choose AGS */
.why-choose-section {
    padding: 8rem 0;
    background: linear-gradient(to right, var(--dark-color) 50%, #080808 100%);
}

@media (max-width: 991px) {
    .why-choose-section {
        padding: 4rem 0;
        background: var(--dark-color);
    }
}

.section-tag {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 1rem;
    display: block;
}

@media (max-width: 768px) {
    .section-tag {
        font-size: 0.65rem;
        letter-spacing: 2px !important;
        text-align: center;
    }
}

.list-bullet {
    width: 10px;
    height: 10px;
    background-color: var(--primary-color);
    margin-right: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-box {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .stat-box {
        padding: 2rem !important;
    }

    .stat-number {
        font-size: 2.5rem !important;
    }

    .stat-label {
        font-size: 0.6rem;
        letter-spacing: 2px !important;
    }

    .contact-form-wrapper {
        padding: 2rem !important;
    }

    .contact-item {
        padding: 1.5rem !important;
    }
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--primary-color);
    display: block;
}

.stat-label {
    letter-spacing: 3px;
}

/* Footer */
.footer-modern {
    background-color: var(--dark-color);
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 3rem;
}

@media (max-width: 991px) {
    .footer-modern {
        padding: 1.5rem 0 0 !important;
        margin-bottom: 0 !important;
        overflow: hidden;
    }

    body,
    html {
        height: auto !important;
    }
}

.footer-section h5,
.footer-section h6 {
    font-size: 0.9rem;
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
}

.footer-links li a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-links a {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: scale(1.1);
}

/* Cinematic Effects */
.cinematic-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    mix-blend-mode: overlay;
}

.red-glow-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.15), transparent 70%);
    pointer-events: none;
    z-index: 5;
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes redPulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.2);
    }

    100% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.6);
    }
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .nav-machined-frame {
        margin: 10px auto;
        height: 80px;
        width: 98%;
    }

    .logo-dock {
        padding: 0 1.5rem;
    }

    .logo-dock .logo {
        height: 60px;
    }

    .nav-action-center {
        display: none !important;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
    }

    .hero-section,
    .page-header {
        background-position: center;
        text-align: center !important;
        padding-top: 140px !important;
    }

    .hero-section::before {
        background: radial-gradient(circle at center, rgba(0, 0, 0, 0.8) 0%, #000 100%);
    }

    .hero-content {
        text-align: center !important;
        width: 100%;
    }

    .hero-title {
        align-items: center;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        margin: 0 auto 3rem;
        font-size: 0.7rem;
        letter-spacing: 3px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-box {
        padding: 2rem 1.5rem;
    }

    .btn {
        padding: 1rem 2rem;
        width: 100%;
        margin-bottom: 1rem;
    }
}