/* ============================================
   SAS INDUSTRIAL THEME - MAIN STYLESHEET
   Southern Automation Solutions
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;500;600;700&family=Barlow:wght@300;400;500;600;700&family=Barlow+Condensed:wght@400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
    --sas-blue: #0070BB;
    --sas-blue-dark: #004A7C;
    --sas-blue-light: #1A8ED8;
    --sas-orange: #F47B20;
    --sas-orange-dark: #D4661A;
    --sas-navy: #0A1628;
    --sas-navy-light: #111D35;
    --sas-charcoal: #1A2332;
    --sas-slate: #2A3A4E;
    --sas-steel: #8A9BB5;
    --sas-silver: #C5D0DC;
    --sas-white: #F0F4F8;
    --sas-pure-white: #FFFFFF;
    --sas-glow: rgba(0, 112, 187, 0.4);
    --sas-glow-orange: rgba(244, 123, 32, 0.4);
    
    --font-display: 'Rajdhani', sans-serif;
    --font-body: 'Barlow', sans-serif;
    --font-condensed: 'Barlow Condensed', sans-serif;
    
    --max-width: 1280px;
    --section-pad: clamp(60px, 8vw, 120px);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-snap: all 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.7;
    color: var(--sas-silver);
    background: var(--sas-navy);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-snap);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    color: var(--sas-pure-white);
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Utility Classes --- */
.text-gradient {
    background: linear-gradient(135deg, var(--sas-blue-light), var(--sas-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-orange {
    color: var(--sas-orange);
}

.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--sas-orange), var(--sas-blue-light));
    border: none;
    margin-bottom: 24px;
}

.accent-line-center {
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sas-orange);
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--sas-steel);
    max-width: 640px;
    line-height: 1.8;
}

/* --- Animated Background Pattern --- */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.03;
    background-image: 
        linear-gradient(rgba(0,112,187,0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,112,187,0.5) 1px, transparent 1px);
    background-size: 80px 80px;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.site-header.scrolled {
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 112, 187, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    transition: var(--transition-smooth);
}

.site-header.scrolled .header-inner {
    padding: 12px 0;
}

.site-logo img {
    height: 140px;
    width: auto;
    transition: var(--transition-smooth);
}

.site-header.scrolled .site-logo img {
    height: 110px;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-main a {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    padding: 8px 16px;
    border-radius: 4px;
    position: relative;
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--sas-pure-white);
}

.nav-main a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--sas-orange);
    transition: transform 0.3s ease;
}

.nav-main a:hover::after,
.nav-main a.active::after {
    transform: translateX(-50%) scaleX(1);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-phone {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--sas-steel);
}

.header-phone:hover {
    color: var(--sas-orange);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dark));
    color: var(--sas-pure-white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--sas-glow-orange);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 12px 28px;
    background: transparent;
    color: var(--sas-pure-white);
    border: 1px solid rgba(0, 112, 187, 0.4);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    background: rgba(0, 112, 187, 0.1);
    border-color: var(--sas-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--sas-glow);
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 28px;
    height: 2px;
    background: var(--sas-pure-white);
    transition: var(--transition-smooth);
    display: block;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--sas-navy);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    filter: brightness(0.5) contrast(1.2);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(0, 112, 187, 0.15) 0%, transparent 60%),
        linear-gradient(180deg, rgba(10, 22, 40, 0.3) 0%, rgba(10, 22, 40, 0.8) 70%, var(--sas-navy) 100%);
}

/* Animated circuit lines */
.hero-circuits {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    overflow: hidden;
    opacity: 0.08;
}

.circuit-line {
    position: absolute;
    background: var(--sas-blue-light);
    animation: circuitPulse 4s ease-in-out infinite;
}

.circuit-line:nth-child(1) {
    width: 200px;
    height: 1px;
    top: 30%;
    left: 5%;
    animation-delay: 0s;
}

.circuit-line:nth-child(2) {
    width: 1px;
    height: 150px;
    top: 30%;
    left: calc(5% + 200px);
    animation-delay: 0.5s;
}

.circuit-line:nth-child(3) {
    width: 300px;
    height: 1px;
    top: 60%;
    right: 10%;
    animation-delay: 1s;
}

.circuit-line:nth-child(4) {
    width: 1px;
    height: 200px;
    top: 20%;
    right: 25%;
    animation-delay: 1.5s;
}

.circuit-line:nth-child(5) {
    width: 150px;
    height: 1px;
    bottom: 25%;
    left: 15%;
    animation-delay: 2s;
}

.circuit-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--sas-blue-light);
    border-radius: 50%;
    animation: nodePulse 3s ease-in-out infinite;
}

.circuit-node:nth-child(6) { top: 30%; left: 5%; animation-delay: 0.2s; }
.circuit-node:nth-child(7) { top: 30%; left: calc(5% + 200px); animation-delay: 0.7s; }
.circuit-node:nth-child(8) { top: 60%; right: 10%; animation-delay: 1.2s; }
.circuit-node:nth-child(9) { top: 20%; right: 25%; animation-delay: 1.7s; }

@keyframes circuitPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.3; box-shadow: 0 0 4px var(--sas-blue-light); }
    50% { opacity: 1; box-shadow: 0 0 12px var(--sas-blue-light); }
}

.hero-content {
    position: relative;
    z-index: 4;
    padding-top: 120px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 112, 187, 0.1);
    border: 1px solid rgba(0, 112, 187, 0.25);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--sas-orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-badge span {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sas-blue-light);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 .line-highlight {
    display: inline;
    position: relative;
}

.hero h1 .line-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, var(--sas-orange), transparent);
    opacity: 0.3;
    z-index: -1;
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    color: var(--sas-steel);
    max-width: 560px;
    margin-bottom: 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(0, 112, 187, 0.15);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--sas-pure-white);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-number .plus {
    color: var(--sas-orange);
}

.hero-stat-label {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sas-steel);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   SERVICES SHOWCASE
   ============================================ */
.services-section {
    position: relative;
    z-index: 10;
    padding: var(--section-pad) 0;
    background: var(--sas-navy);
}

.services-header {
    text-align: center;
    margin-bottom: 64px;
}

.services-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: linear-gradient(145deg, var(--sas-navy-light), var(--sas-charcoal));
    border: 1px solid rgba(0, 112, 187, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    cursor: pointer;
    group: true;
}

.service-card:hover {
    border-color: rgba(0, 112, 187, 0.3);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px var(--sas-glow);
}

.service-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
    filter: brightness(0.7) saturate(0.8);
}

.service-card:hover .service-card-image img {
    transform: scale(1.08);
    filter: brightness(0.8) saturate(1);
}

.service-card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(transparent, var(--sas-charcoal));
    pointer-events: none;
}

.service-card-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(0, 112, 187, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 112, 187, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sas-blue-light);
    font-size: 1.1rem;
    z-index: 2;
    transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon {
    background: var(--sas-orange);
    border-color: var(--sas-orange);
    color: var(--sas-pure-white);
}

.service-card-body {
    padding: 24px 28px 28px;
}

.service-card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--sas-pure-white);
    margin-bottom: 10px;
    transition: var(--transition-snap);
}

.service-card:hover .service-card-title {
    color: var(--sas-blue-light);
}

.service-card-desc {
    font-size: 0.92rem;
    color: var(--sas-steel);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-card-link {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sas-orange);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-card-link .arrow {
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-link .arrow {
    transform: translateX(6px);
}

/* ============================================
   ABOUT / COMPANY SECTION
   ============================================ */
.about-section {
    position: relative;
    z-index: 10;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--sas-navy) 0%, var(--sas-navy-light) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1);
}

.about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(0, 112, 187, 0.2);
    border-radius: 12px;
    pointer-events: none;
}

.about-accent-box {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dark));
    padding: 28px 32px;
    border-radius: 12px;
    z-index: 2;
    box-shadow: 0 15px 40px rgba(244, 123, 32, 0.3);
}

.about-accent-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--sas-pure-white);
    line-height: 1;
}

.about-accent-label {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
}

.about-text .section-subtitle {
    margin-bottom: 32px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 36px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.about-feature-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: rgba(0, 112, 187, 0.1);
    border: 1px solid rgba(0, 112, 187, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sas-blue-light);
    font-size: 0.9rem;
}

.about-feature-text {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--sas-silver);
    letter-spacing: 0.5px;
}

/* ============================================
   INDUSTRIES SECTION
   ============================================ */
.industries-section {
    position: relative;
    z-index: 10;
    padding: var(--section-pad) 0;
    background: var(--sas-navy-light);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.industry-card {
    text-align: center;
    padding: 36px 20px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 112, 187, 0.08);
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.industry-card:hover {
    border-color: rgba(0, 112, 187, 0.25);
    background: rgba(0, 112, 187, 0.06);
    transform: translateY(-4px);
}

.industry-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: rgba(0, 112, 187, 0.1);
    border: 1px solid rgba(0, 112, 187, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: var(--transition-smooth);
}

.industry-card:hover .industry-icon {
    background: rgba(244, 123, 32, 0.15);
    border-color: rgba(244, 123, 32, 0.3);
}

.industry-name {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sas-silver);
}

/* ============================================
   DIGITAL FACTORY / MES SECTION
   ============================================ */
.digital-section {
    position: relative;
    z-index: 10;
    padding: var(--section-pad) 0;
    background: var(--sas-navy);
    overflow: hidden;
}

.digital-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 112, 187, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.digital-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.digital-card {
    padding: 36px;
    background: linear-gradient(145deg, rgba(17, 29, 53, 0.8), rgba(26, 35, 50, 0.8));
    border: 1px solid rgba(0, 112, 187, 0.1);
    border-radius: 12px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.digital-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, var(--sas-blue-light), var(--sas-orange));
    transition: height 0.5s ease;
}

.digital-card:hover::before {
    height: 100%;
}

.digital-card:hover {
    border-color: rgba(0, 112, 187, 0.25);
    transform: translateX(4px);
}

.digital-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--sas-pure-white);
    margin-bottom: 12px;
}

.digital-card-desc {
    font-size: 0.92rem;
    color: var(--sas-steel);
    line-height: 1.75;
}

/* ============================================
   EMERGENCY BANNER
   ============================================ */
.emergency-banner {
    position: relative;
    z-index: 10;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--sas-orange), var(--sas-orange-dark));
    overflow: hidden;
}

.emergency-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.03) 20px,
        rgba(255,255,255,0.03) 40px
    );
    pointer-events: none;
}

.emergency-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    text-align: center;
}

.emergency-text h3 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    letter-spacing: -0.5px;
}

.emergency-text p {
    font-family: var(--font-condensed);
    font-weight: 400;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.emergency-cta .btn-emergency {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-condensed);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 36px;
    background: var(--sas-pure-white);
    color: var(--sas-orange-dark);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.emergency-cta .btn-emergency:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    position: relative;
    z-index: 10;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--sas-navy-light) 0%, var(--sas-navy) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(17, 29, 53, 0.6);
    border: 1px solid rgba(0, 112, 187, 0.1);
    border-radius: 10px;
    transition: var(--transition-smooth);
}

.contact-info-card:hover {
    border-color: rgba(0, 112, 187, 0.25);
    background: rgba(0, 112, 187, 0.05);
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(0, 112, 187, 0.1);
    border: 1px solid rgba(0, 112, 187, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sas-blue-light);
    font-size: 1.1rem;
}

.contact-info-label {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sas-steel);
    margin-bottom: 2px;
}

.contact-info-value {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--sas-pure-white);
}

.contact-info-value a {
    color: var(--sas-pure-white);
}

.contact-info-value a:hover {
    color: var(--sas-orange);
}

.contact-form-wrapper {
    background: linear-gradient(145deg, var(--sas-navy-light), var(--sas-charcoal));
    border: 1px solid rgba(0, 112, 187, 0.15);
    border-radius: 16px;
    padding: 40px;
}

.contact-form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.contact-form-sub {
    font-size: 0.9rem;
    color: var(--sas-steel);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sas-steel);
    margin-bottom: 8px;
    display: block;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(0, 112, 187, 0.15);
    border-radius: 8px;
    color: var(--sas-pure-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-snap);
    outline: none;
}

.form-input:focus,
.form-textarea:focus {
    border-color: var(--sas-blue-light);
    box-shadow: 0 0 0 3px var(--sas-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--sas-slate);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    margin-top: 8px;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    position: relative;
    z-index: 10;
    padding: 60px 0 0;
    background: var(--sas-navy);
    border-top: 1px solid rgba(0, 112, 187, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 48px;
}

.footer-brand img {
    height: 130px;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--sas-steel);
    line-height: 1.7;
    max-width: 340px;
}

.footer-heading {
    font-family: var(--font-condensed);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sas-pure-white);
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--sas-steel);
    transition: var(--transition-snap);
}

.footer-links a:hover {
    color: var(--sas-orange);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 112, 187, 0.08);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    font-size: 0.8rem;
    color: var(--sas-slate);
}

.footer-badges {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-badge {
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 14px;
    border: 1px solid rgba(0, 112, 187, 0.15);
    border-radius: 4px;
    color: var(--sas-steel);
}

/* ============================================
   SERVICE DETAIL PAGES
   ============================================ */
.page-hero {
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(180deg, var(--sas-navy) 0%, var(--sas-navy-light) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 30% 50%, rgba(0, 112, 187, 0.08) 0%, transparent 60%);
}

.page-hero-breadcrumb {
    font-family: var(--font-condensed);
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sas-steel);
    margin-bottom: 16px;
}

.page-hero-breadcrumb a {
    color: var(--sas-blue-light);
}

.page-hero-breadcrumb a:hover {
    color: var(--sas-orange);
}

.page-hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 20px;
}

.page-content {
    position: relative;
    z-index: 10;
    padding: 80px 0;
    background: var(--sas-navy-light);
}

.page-content-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
}

.page-body {
    font-size: 1rem;
    color: var(--sas-silver);
    line-height: 1.85;
}

.page-body h2 {
    font-size: 1.6rem;
    margin: 40px 0 16px;
    color: var(--sas-pure-white);
}

.page-body ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-body ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.page-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--sas-blue-light);
    border-radius: 2px;
    transform: rotate(45deg);
}

.page-body img {
    border-radius: 12px;
    margin: 32px 0;
    border: 1px solid rgba(0, 112, 187, 0.15);
}

.page-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: linear-gradient(145deg, var(--sas-navy), var(--sas-charcoal));
    border: 1px solid rgba(0, 112, 187, 0.15);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
}

.sidebar-card-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--sas-pure-white);
}

.sidebar-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-nav a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-condensed);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--sas-steel);
    border-radius: 6px;
    border-left: 2px solid transparent;
    transition: var(--transition-snap);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(0, 112, 187, 0.08);
    border-left-color: var(--sas-orange);
    color: var(--sas-pure-white);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .page-content-inner {
        grid-template-columns: 1fr;
    }
    
    .page-sidebar {
        position: static;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        border-left: 1px solid rgba(0, 112, 187, 0.15);
    }
    
    .nav-main.active {
        right: 0;
    }
    
    .nav-main a {
        font-size: 1.1rem;
        padding: 12px 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .header-cta {
        display: none;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .digital-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .emergency-inner {
        flex-direction: column;
        gap: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .about-accent-box {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: -40px;
        margin-left: 20px;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .industries-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-form-wrapper {
        padding: 24px;
    }
}
