/* ============================================
   SHD Security Corp - Main Styles
   Colors: Royal Blue (#1F3BB3), Cyan (#00BFFF)
   ============================================ */

:root {
    --royal-blue: #1F3BB3;
    --cyan: #00BFFF;
    --dark-navy: #0A1B5C;
    --light-navy: #1a2f6f;
    --white: #FFFFFF;
    --light-gray: #F5F7FA;
    --text-dark: #1a1a2e;
    --text-light: #e8e9f3;
    --gradient-primary: linear-gradient(135deg, var(--dark-navy) 0%, var(--royal-blue) 50%, var(--cyan) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--royal-blue) 0%, var(--cyan) 100%);
    --shadow-glow: 0 0 30px rgba(0, 191, 255, 0.3);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Reset & Base Styles
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gradient-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--royal-blue);
    font-weight: 300;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.btn-cyan {
    background: var(--gradient-secondary);
    color: var(--white);
}

.btn-cyan:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 191, 255, 0.4);
}

.btn-outline-cyan {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--cyan);
}

.btn-outline-cyan:hover {
    background: var(--cyan);
    color: var(--dark-navy);
    transform: translateY(-2px);
}

.btn-royal {
    background: var(--royal-blue);
    color: var(--white);
    border: 2px solid transparent;
}

.btn-royal:hover {
    background: transparent;
    border-color: var(--royal-blue);
    color: var(--royal-blue);
    transform: translateY(-2px);
}

.glow-effect {
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
}

.glow-effect:hover {
    box-shadow: 0 0 30px rgba(0, 191, 255, 0.8);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 27, 92, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    color: var(--white);
}

.logo-shield {
    display: flex;
    align-items: center;
}

.logo-text strong {
    color: var(--cyan);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.8rem;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    font-size: 0.95rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--cyan);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.contact-btn {
    background: var(--gradient-secondary);
    padding: 8px 20px;
    border-radius: 6px;
}

.nav-link.contact-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--cyan);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.particle-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 191, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: var(--cyan);
    padding: 8px 24px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.1s both;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    animation: fadeInUp 1s ease 0.6s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* ============================================
   Sticky CTA Bar
   ============================================ */

.sticky-cta {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--royal-blue), var(--cyan));
    padding: 12px 0;
    z-index: 999;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.sticky-cta-text {
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
}

.sticky-cta .btn-sm {
    background: var(--white);
    color: var(--royal-blue);
    box-shadow: none;
    font-weight: 700;
}

.sticky-cta .btn-sm:hover {
    background: var(--dark-navy);
    color: var(--white);
}

/* ============================================
   Certification Badge Bar
   ============================================ */

.cert-bar {
    background: var(--dark-navy);
    padding: 1.5rem 0;
    overflow: hidden;
    position: relative;
}

.cert-bar-label {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.cert-track {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.cert-track-inner {
    display: flex;
    gap: 3rem;
    animation: scrollCerts 30s linear infinite;
    width: max-content;
}

.cert-badge {
    color: var(--cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    padding: 8px 24px;
    border: 1px solid rgba(0, 191, 255, 0.3);
    border-radius: 6px;
    background: rgba(0, 191, 255, 0.05);
    flex-shrink: 0;
}

@keyframes scrollCerts {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================
   Why SHD Section
   ============================================ */

.why-shd {
    padding: 6rem 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.why-card {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.why-card:hover {
    border-color: var(--cyan);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.15);
}

.why-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.why-card h3 {
    font-size: 1.3rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.why-card p {
    color: #555;
    line-height: 1.7;
}

/* ============================================
   About Section
   ============================================ */

.about {
    padding: 6rem 0;
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

.about-highlights {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.highlight-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.highlight-text strong {
    display: block;
    color: var(--dark-navy);
    margin-bottom: 0.3rem;
}

.highlight-text span {
    color: #666;
    font-size: 0.95rem;
}

.about-visual {
    position: relative;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(31, 59, 179, 0.2);
}

.tech-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.tech-card h4 {
    font-size: 1rem;
    color: var(--dark-navy);
}

/* ============================================
   Services Section
   ============================================ */

.services {
    padding: 6rem 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card-main {
    padding: 2.5rem;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--cyan);
    box-shadow: 0 20px 50px rgba(0, 191, 255, 0.2);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: var(--cyan);
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: var(--white);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--cyan);
    color: var(--dark-navy);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.service-icon {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark-navy);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #555;
    font-size: 0.95rem;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
}

.service-card.featured .service-features li::before {
    background: var(--cyan);
}

/* Expandable service card */
.expand-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 1.5rem;
    padding: 0;
    transition: all 0.3s ease;
}

.expand-btn:hover {
    gap: 0.8rem;
}

.expand-btn svg {
    transition: transform 0.3s ease;
}

.service-card.expanded .expand-btn svg,
.portfolio-card.expanded .expand-btn svg {
    transform: rotate(180deg);
}

.service-card-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
    padding: 0 2.5rem;
    border-top: 0 solid rgba(0, 191, 255, 0.1);
}

.service-card.expanded .service-card-details {
    max-height: 600px;
    padding: 1.5rem 2.5rem 2.5rem;
    border-top-width: 1px;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section:last-child {
    margin-bottom: 0;
}

.detail-section h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--royal-blue);
    margin-bottom: 0.75rem;
}

.service-card.featured .detail-section h4 {
    color: var(--cyan);
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.detail-tag {
    background: rgba(0, 191, 255, 0.1);
    color: var(--royal-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.service-card.featured .detail-tag {
    background: rgba(0, 191, 255, 0.2);
    color: var(--white);
}

.detail-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.detail-list li {
    font-size: 0.85rem;
    color: #666;
    padding-left: 1rem;
    position: relative;
}

.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    background: var(--cyan);
    border-radius: 50%;
}

.service-card.featured .detail-list li {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   AI Technology Section
   ============================================ */

.ai-tech {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.ai-tech::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 191, 255, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 90% 80%, rgba(0, 191, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
}

.ai-tech .section-title,
.ai-tech .section-subtitle {
    color: var(--white);
}

.ai-tech-content {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ai-tech-text .lead {
    opacity: 0.9;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.ai-feature {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.ai-feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 12px;
}

.ai-feature-content h4 {
    color: var(--cyan);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.ai-feature-content p {
    opacity: 0.85;
    line-height: 1.7;
    font-size: 0.95rem;
}

.ai-tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-animation {
    position: relative;
    width: 300px;
    height: 300px;
}

.ai-circle {
    position: absolute;
    border: 2px solid var(--cyan);
    border-radius: 50%;
    opacity: 0.3;
}

.ai-circle-1 {
    width: 300px;
    height: 300px;
    animation: pulse 3s ease-in-out infinite;
}

.ai-circle-2 {
    width: 220px;
    height: 220px;
    top: 40px;
    left: 40px;
    animation: pulse 3s ease-in-out infinite 1s;
}

.ai-circle-3 {
    width: 140px;
    height: 140px;
    top: 80px;
    left: 80px;
    animation: pulse 3s ease-in-out infinite 2s;
}

.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    box-shadow: 0 0 40px rgba(0, 191, 255, 0.6);
    animation: glow 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 40px rgba(0, 191, 255, 0.6); }
    50% { box-shadow: 0 0 60px rgba(0, 191, 255, 0.9); }
}

/* ============================================
   Industries Section
   ============================================ */

.industries {
    padding: 6rem 0;
    background: var(--light-gray);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.industry-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all 0.3s ease;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(31, 59, 179, 0.2);
}

.industry-card.featured {
    background: var(--gradient-primary);
    color: var(--white);
    border: 2px solid var(--cyan);
}

.industry-card.featured h3,
.industry-card.featured p {
    color: var(--white);
}

.industry-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.industry-card h3 {
    font-size: 1.3rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.industry-card p {
    color: #666;
    font-size: 0.95rem;
}

/* ============================================
   Portfolio Section
   ============================================ */

.portfolio {
    padding: 6rem 0;
    background: var(--white);
}

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

.portfolio-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.4s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.portfolio-image {
    position: relative;
    height: 200px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.portfolio-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 191, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 191, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.portfolio-overlay {
    position: relative;
    z-index: 1;
}

.portfolio-category {
    display: inline-block;
    background: var(--cyan);
    color: var(--dark-navy);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-content h3 {
    font-size: 1.4rem;
    color: var(--dark-navy);
    margin-bottom: 1rem;
}

.portfolio-content p {
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.7;
}

.portfolio-content p strong {
    color: var(--royal-blue);
    font-weight: 600;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-tag {
    background: rgba(0, 191, 255, 0.1);
    color: var(--royal-blue);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Expandable portfolio */
.portfolio-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.portfolio-card.expanded .portfolio-details {
    max-height: 600px;
}

.portfolio-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 0 2rem 2rem;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
    padding-top: 1.5rem;
}

.portfolio-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.portfolio-detail-icon {
    display: flex;
    align-items: center;
}

.portfolio-detail-item h4 {
    font-size: 0.9rem;
    color: var(--dark-navy);
    margin-bottom: 0;
}

.portfolio-detail-item p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Cannabis Compliance Section
   ============================================ */

.cannabis-section {
    padding: 6rem 0;
    background: var(--dark-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cannabis-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(0, 191, 255, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}

.cannabis-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.cannabis-badge {
    display: inline-block;
    background: rgba(0, 191, 255, 0.15);
    border: 1px solid rgba(0, 191, 255, 0.3);
    color: var(--cyan);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.cannabis-section .section-title,
.cannabis-section .section-subtitle {
    color: var(--white);
}

.cannabis-section .lead {
    opacity: 0.9;
}

.cannabis-requirements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.cannabis-req-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.cannabis-req-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
}

.cannabis-req-item strong {
    display: block;
    color: var(--cyan);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.cannabis-req-item p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.cannabis-proof-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 191, 255, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
}

.cannabis-proof-header {
    margin-bottom: 2rem;
}

.cannabis-proof-badge {
    display: inline-block;
    background: var(--cyan);
    color: var(--dark-navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.cannabis-proof-header h3 {
    font-size: 1.5rem;
    color: var(--white);
}

.cannabis-proof-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.cannabis-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 191, 255, 0.1);
    border-radius: 10px;
}

.cannabis-stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--cyan);
}

.cannabis-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.cannabis-proof-list {
    list-style: none;
}

.cannabis-proof-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    opacity: 0.9;
}

.cannabis-proof-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
    padding: 6rem 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-info {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 3rem;
    border-radius: 16px;
    height: fit-content;
}

.contact-info h3 {
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item strong {
    display: block;
    color: var(--cyan);
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.contact-item p {
    opacity: 0.9;
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-navy);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

.form-status {
    text-align: center;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 8px;
    display: none;
}

.form-status.success {
    display: block;
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
}

.form-status.error {
    display: block;
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
}

/* ============================================
   Chatbot Widget
   ============================================ */

.chatbot {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.chatbot-toggle {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 5px 25px rgba(0, 191, 255, 0.5);
    transition: all 0.3s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 191, 255, 0.7);
}

.chatbot-window {
    display: none;
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 400px;
    height: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    flex-direction: column;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chatbot-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

.chatbot-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--light-gray);
}

.chatbot-message {
    margin-bottom: 1rem;
}

.chatbot-message p {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.user-message p {
    background: var(--gradient-secondary);
    color: var(--white);
    margin-left: 2rem;
    border-bottom-right-radius: 4px;
}

.bot-message p {
    background: var(--white);
    color: var(--text-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-right: 2rem;
    border-bottom-left-radius: 4px;
}

.quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.quick-reply {
    background: var(--white);
    border: 2px solid var(--cyan);
    color: var(--royal-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.quick-reply:hover {
    background: var(--cyan);
    color: var(--white);
}

.chatbot-footer {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 0.5rem;
}

.chatbot-footer input {
    flex: 1;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.chatbot-footer input:focus {
    outline: none;
    border-color: var(--cyan);
}

.btn-send {
    background: var(--gradient-secondary);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-send:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 191, 255, 0.4);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background: var(--white);
    border-radius: 12px;
    width: fit-content;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--cyan);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--dark-navy);
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.footer-logo strong {
    color: var(--cyan);
}

.footer-col p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-col h4 {
    color: var(--cyan);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--cyan);
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--cyan);
}

/* ============================================
   Scroll Reveal Animations
   ============================================ */

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 27, 92, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding: 3rem;
        transition: left 0.4s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

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

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .ai-tech-content {
        grid-template-columns: 1fr;
    }

    .ai-tech-visual {
        margin-top: 3rem;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .cannabis-content {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .chatbot-window {
        width: 340px;
    }

    .section-title {
        font-size: 2rem;
    }

    .sticky-cta-content {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sticky-cta-text {
        font-size: 0.85rem;
    }

    .portfolio-detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-list {
        grid-template-columns: 1fr;
    }
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .chatbot {
        bottom: 20px;
        right: 20px;
    }

    .chatbot-window {
        width: calc(100vw - 40px);
        right: -10px;
        height: 450px;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 2rem 1.5rem;
    }

    .cannabis-proof-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .cannabis-stat-number {
        font-size: 1.5rem;
    }

    .cert-badge {
        font-size: 0.8rem;
        padding: 6px 16px;
    }
}

/* ============================================
   Utility Classes
   ============================================ */

.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
