/* 
   OBJEXIS AI - Homepage Styles
   A sleek, professional design for a defence technology company
*/

/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap');

/* ===== Base Styles & CSS Reset ===== */
:root {
    /* Brand Colors */
    --charcoal: #1A1A1A;
    --graphite: #4D4D4D;
    --coral: #E4534D;
    --coral-dark: #D13B34;
    --ice-gray: #F5F5F5;
    --cloud-white: #FFFFFF;
    --mist-gray: #E0E0E0;
    --emerald: #3FB984;
    --amber: #F9B847;
    --azure: #3F8EF6;
    --deep-red: #C62828;
    
    /* Additional Colors for Mobile Design */
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --medium-gray: #CCCCCC;
    --dark-gray: #666666;
    --primary-dark: #1A1A1A;
    --primary-medium: #4D4D4D;
    --accent-blue: #3F8EF6;
    --accent-orange: #F9B847;

    /* Typography */
    --heading-font: 'Space Grotesk', 'Avenir Next', 'Inter', sans-serif;
    --body-font: 'Inter', 'Satoshi', Arial, sans-serif;

    /* Spacing */
    --section-spacing: 6rem;
    --element-spacing: 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--graphite);
    background-color: var(--ice-gray);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--charcoal);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: var(--coral);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--charcoal);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: var(--section-spacing) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.underline {
    width: 5rem;
    height: 4px;
    background: var(--coral);
    margin: 0 auto;
    margin-top: 1rem;
    position: relative;
}

.underline::before {
    content: '';
    position: absolute;
    width: 2rem;
    height: 4px;
    background: var(--coral-dark);
    left: -2.5rem;
    top: 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-family: var(--heading-font);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--coral);
    color: var(--cloud-white);
    border: 2px solid var(--coral);
}

.btn-primary:hover {
    background-color: var(--coral-dark);
    color: var(--cloud-white);
}

/* ===== Navigation ===== */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--charcoal);
    box-shadow: 0 2px 10px rgba(26, 26, 26, 0.08);
    z-index: 1000;
}

.navbar {
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--heading-font);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--cloud-white);
    letter-spacing: 1px;
}

.logo-highlight {
    color: var(--coral);
    margin-left: 2px;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin-left: 1.5rem;
}

.nav-menu a {
    color: var(--mist-gray);
    font-family: var(--heading-font);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--cloud-white);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--coral);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-contact {
    padding: 0.5rem 1rem !important;
    border: 1px solid var(--coral);
    border-radius: 4px;
}

.nav-contact:hover {
    background-color: var(--coral);
    color: var(--cloud-white) !important;
}

/* ===== Hero Section ===== */

/* ===== Card/Tile Shared Styles ===== */
.application-card,
.solution-card,
.value-card,
.founder-card,
.stat-item,
.tech-card,
.sidebar-card,
.contact-item,
.benefit-item,
.standalone-item,
.flow-step,
.mission-card,
.vision-card,
.highlight-card {
    background-color: var(--cloud-white);
    border: 1.5px solid var(--mist-gray);
    box-shadow: 0 4px 16px 0 rgba(26,26,26,0.06);
    border-radius: 12px;
}
.hero-text-glow {
    color: var(--cloud-white) !important;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9);
}
.hero h1,
.hero p {
    color: var(--cloud-white);
}

.hero {
    height: 100vh;
    min-height: 600px;
    background: url('img/Hero Image.png') no-repeat center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite) 100%);
    opacity: 0.3; /* 30% opacity as requested */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
    padding-top: 0; /* Reset padding */
}

.hero h1 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    line-height: 1.2;
    margin-top: 100px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
    max-width: 600px;
    text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9);
    margin-top: 20vh;
    margin-top: calc(20vh + 100px);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(10, 25, 51, 0.05),
        rgba(10, 25, 51, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    background-size: 200% 200%;
    animation: scanLines 67s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    z-index: 2;
    pointer-events: none;
}

/* ===== About Section ===== */
.about {
    background-color: var(--cloud-white);
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.about-text {
    flex: 1;
}

.about-stats {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.stat-item {
    padding: 1.5rem;
    background-color: var(--ice-gray);
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
background-color: var(--cloud-white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.stat-icon::before,
.stat-icon::after {
    content: '';
    position: absolute;
background-color: var(--coral);
}

.stat-icon-1::before {
    width: 20px;
    height: 20px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.stat-icon-2::before {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background-color: transparent;
border: 3px solid var(--coral);
}

.stat-icon-2::after {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: var(--accent-blue);
}

.stat-icon-3::before {
    width: 25px;
    height: 4px;
    border-radius: 2px;
}

.stat-icon-3::after {
    width: 4px;
    height: 25px;
    border-radius: 2px;
}

.stat-item h3 {
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ===== Technology Section ===== */
.technology {
    background-color: var(--charcoal);
    color: var(--cloud-white);
}

.technology .section-header h2,
.technology h3 {
    color: var(--cloud-white);
}

.tech-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background-color: rgba(26, 26, 26, 0.05);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tech-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--coral), transparent);
    bottom: 0;
    left: 0;
}

.tech-card:hover {
    transform: translateY(-5px);
    background-color: rgba(26, 26, 26, 0.1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    position: relative;
}

.tech-icon::before,
.tech-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.tech-icon-1::before {
    width: 40px;
    height: 40px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    left: 0;
    top: 0;
}

.tech-icon-1::after {
    width: 20px;
    height: 3px;
background-color: var(--coral-dark);
    top: 20px;
    left: 40px;
    transform: rotate(45deg);
}

.tech-icon-2::before {
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent-blue);
    border-radius: 4px;
    left: 0;
    top: 0;
    transform: rotate(45deg);
}

.tech-icon-3::before {
    width: 35px;
    height: 3px;
    background-color: var(--accent-blue);
    top: 15px;
    left: 0;
}

.tech-icon-3::after {
    width: 35px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 30px;
    left: 10px;
}

.tech-icon-4::before {
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent-blue);
    border-radius: 4px;
    left: 0;
    top: 0;
}

.tech-icon-4::after {
    width: 15px;
    height: 15px;
    background-color: var(--accent-orange);
    top: 20px;
    left: 20px;
    border-radius: 50%;
}

.tech-card h3 {
    margin-bottom: 1rem;
}

.tech-card p {
    font-size: 0.95rem;
color: var(--mist-gray);
    margin-bottom: 0;
}

/* ===== Advantage Section ===== */
.advantage {
    background-color: var(--cloud-white);
}

.advantage-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.advantage-img {
    flex: 1;
    min-height: 300px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite) 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.advantage-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.05) 0px,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 6px
    );
}

.advantage-img::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 150px;
    background-color: var(--accent-blue);
    opacity: 0.1;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.advantage-list {
    flex: 1;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.advantage-item:last-child {
    margin-bottom: 0;
}

.advantage-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background-color: var(--ice-gray);
    border-radius: 50%;
    margin-right: 1rem;
    position: relative;
}

.advantage-icon::before,
.advantage-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.advantage-icon::before {
    width: 12px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.advantage-icon::after {
    width: 2px;
    height: 12px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.advantage-text h3 {
    margin-bottom: 0.5rem;
}

.advantage-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(135deg, var(--graphite) 0%, var(--charcoal) 50%, var(--graphite) 100%);
    background-size: 200% 200%;
    animation: heroColorShift 40s ease-in-out infinite;
    color: var(--cloud-white);
    text-align: center;
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.cta h2 {
    color: var(--cloud-white);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--mist-gray);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.cta .container {
    position: relative;
    z-index: 2;
}

/* ===== Footer ===== */
footer {
    background-color: var(--charcoal);
    color: var(--mist-gray);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo-center {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    left: 0%;
}

@media (max-width: 768px) {
    .footer-logo-center {
        left: 0;
    }
}
.footer-logo-img {
    max-height: 60px;
    width: auto;
}

.footer-columns {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}
.footer-col {
    min-width: 140px;
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    color: white;
    text-decoration: none;
    gap: 8px;
}
.footer-social-icon {
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.footer-partner-logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    align-items: center;
    margin-bottom: 1.5rem;
}
.partner-logo img {
    max-height: 60px;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 6rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: var(--cloud-white);
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--coral);
}

.footer-col ul li {
    margin-bottom: 0.7rem;
}

.footer-col ul li a {
    color: var(--mist-gray);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--cloud-white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* (Obsolete .partner-logos and .partner-logos-row rules removed for new layout) */
.partner-logo a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.partner-logo a:hover {
    opacity: 0.8;
}

/* ===== Responsive Design ===== */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 500px;
    }
}

@media (max-width: 768px) {
    .section-header {
        margin-bottom: 2rem;
    }

    .footer-columns {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .footer-col {
        min-width: unset;
        width: 100%;
        text-align: center;
    }
    .footer-partner-logos {
        flex-wrap: wrap;
        gap: 20px;
    }
    .partner-logo img {
        max-height: 50px;
    }

    .nav-menu {
        display: none; /* In a real site, this would be replaced with a mobile menu */
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .stat-item, .tech-card {
        padding: 1.2rem;
    }
}

@media (min-width: 768px) {
    .about-content, .advantage-content {
        flex-direction: row;
    }
}

/* ===== About Page Specific Styles ===== */

/* Page Header - Unified Generic Style */
.page-header-generic {
    height: 25vh;
    min-height: 250px;
    background: linear-gradient(135deg, var(--charcoal) 0%, var(--graphite) 100%);
    position: relative;
    display: flex;
    align-items: center;
    color: var(--cloud-white);
    overflow: hidden;
    margin-top: 80px; /* Account for fixed navbar */
}

.page-header-generic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 30% 30%, rgba(0, 123, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 70% 70%, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.page-header-generic .page-header-content {
    color: var(--cloud-white);
    position: relative;
    z-index: 10;
    text-align: center;
}

.page-header-generic h1 {
    color: var(--cloud-white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.page-header-generic p {
    font-size: 1.1rem;
    color: var(--mist-gray);
    margin-bottom: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(10, 25, 51, 0.05),
        rgba(10, 25, 51, 0.05) 10px,
        transparent 10px,
        transparent 20px
    );
    background-size: 200% 200%;
    animation: scanLines 20s linear infinite;
    will-change: background-position;
    transform: translateZ(0);
    backface-visibility: hidden;
    z-index: 2;
    pointer-events: none;
}

/* Story Section */
.story {
    background-color: var(--white);
}

.story-content {
    max-width: 900px;
    margin: 0 auto;
}

.story-text h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.story-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Mission & Vision Section */
.mission-vision {
    background-color: var(--light-gray);
}

.mission-vision-content {
    max-width: 900px;
    margin: 0 auto;
}

.mission-vision-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.mission-vision-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Founders Section */
.founders {
    background-color: var(--white);
}

.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.founder-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.founder-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
background: linear-gradient(135deg, var(--graphite) 0%, var(--charcoal) 100%);
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.founder-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: var(--accent-blue);
    opacity: 0.3;
    border-radius: 50%;
}

.founder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: repeating-linear-gradient(
        -45deg,
        rgba(255, 255, 255, 0.05) 0px,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 8px
    );
}

.founder-card h3 {
    margin-bottom: 0.5rem;
color: var(--charcoal);
}

.founder-card h4 {
    color: var(--accent-blue);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.founder-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Core Values Section */
.values {
    background-color: var(--cloud-white);
    color: var(--graphite);
}

.values .section-header h2 {
    color: var(--charcoal);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
background: linear-gradient(90deg, var(--coral), var(--coral-dark));
    bottom: 0;
    left: 0;
}

.value-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}


.value-card h3 {
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--graphite);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ===== Contact Page Specific Styles ===== */

/* Contact Info Section */
.contact-info {
    background-color: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.contact-item {
    background-color: var(--cloud-white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon::before, .contact-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.contact-icon-location::before {
    width: 25px;
    height: 35px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 100% 35%, 82% 100%, 18% 100%, 0% 35%);
}

.contact-icon-location::after {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    border-radius: 50%;
    top: 28px;
}

.contact-icon-email::before {
    width: 30px;
    height: 20px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.contact-icon-email::after {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid var(--accent-orange);
    top: 35px;
    background-color: transparent;
}

.contact-icon-phone::before {
    width: 25px;
    height: 25px;
    background-color: var(--accent-blue);
    border-radius: 3px;
    transform: rotate(15deg);
}

.contact-icon-phone::after {
    width: 15px;
    height: 15px;
    background-color: var(--white);
    border-radius: 2px;
    transform: rotate(15deg);
}

.contact-item h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.contact-item p {
    margin-bottom: 0;
    line-height: 1.6;
}

.contact-item a {
    color: var(--accent-blue);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

/* Contact Form Section */
.contact-form-section {
    background-color: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.contact-form-container {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Main Contact Form Section */
.contact-form-section-main {
    background-color: var(--white);
}

.contact-form-main {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--light-gray);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.form-header p {
color: var(--graphite);
    margin-bottom: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-family: var(--heading-font);
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem 1rem;
    border: 2px solid var(--mist-gray);
    border-radius: 4px;
    font-family: var(--body-font);
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--cloud-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(228, 83, 77, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group select {
    cursor: pointer;
}

.form-submit {
    margin-top: 1rem;
}

.form-submit .btn {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-card {
    background-color: var(--cloud-white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.sidebar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.commitment-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.commitment-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.commitment-icon {
    width: 20px;
    height: 20px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.commitment-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 5px;
    border-left: 2px solid var(--white);
    border-bottom: 2px solid var(--white);
    transform: translate(-50%, -60%) rotate(-45deg);
}

.commitment-item span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Map Section */
.map-section {
    background-color: var(--white);
    padding-bottom: 0;
}

.map-container {
    margin-top: 2rem;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.05) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.map-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.map-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-icon::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 35px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 100% 35%, 82% 100%, 18% 100%, 0% 35%);
}

.map-icon::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    background-color: var(--white);
    border-radius: 50%;
    top: 22px;
}

.map-content h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.map-content p {
    color: var(--light-gray);
    margin-bottom: 0.5rem;
}

.map-content small {
    color: var(--medium-gray);
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    section {
        padding: 4rem 0;
    }
    
    .hero {
        min-height: 450px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.8rem;
    }
    
    .tech-grid, .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    /* About page responsive styles */
    .page-header {
        min-height: 300px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    .founders-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-card, .vision-card {
        padding: 1.5rem;
    }
    
    .founder-card {
        padding: 1.5rem;
    }
    
    .value-card {
        padding: 1.5rem;
    }
    
    /* Contact page responsive styles */
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .map-placeholder {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ===== Portal Page Specific Styles ===== */

/* Portal Info Section */
.portal-info {
    background-color: var(--white);
    padding: 4rem 0;
}

.portal-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.portal-intro p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.portal-intro p:last-child {
    margin-bottom: 0;
    color: var(--primary-dark);
}

/* Portal Form Section */
.portal-form-section {
    background-color: var(--light-gray);
    padding: 5rem 0;
}

.portal-form-main {
    max-width: 900px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.portal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark {
    position: relative;
}

/* Security Notice Section */
.security-notice {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0;
}

.security-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.security-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.security-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 100% 25%, 82% 100%, 18% 100%, 0% 25%);
}

.security-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 12px;
    background-color: var(--white);
    border-radius: 2px;
    top: 38px;
}

.security-text h3 {
    color: var(--white);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.security-text p {
    color: var(--light-gray);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Portal Page Responsive */
@media (max-width: 768px) {
    .portal-form-main {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .security-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .portal-info {
        padding: 3rem 0;
    }
    
    .portal-form-section {
        padding: 3rem 0;
    }
    
    .portal-form-main {
        padding: 1.5rem;
    }
    
    .security-notice {
        padding: 2rem 0;
    }
}

/* ===== Portal Access Section (Contact Page) ===== */
.portal-access-section {
    background-color: var(--primary-dark);
    padding: 4rem 0;
    margin-top: 80px; /* Account for fixed navbar */
    position: relative;
    overflow: hidden;
}

.portal-access-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 123, 255, 0.1) 0%, transparent 70%),
        radial-gradient(circle at 80% 70%, rgba(230, 126, 34, 0.1) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.portal-access-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.portal-access-content {
    position: relative;
}

.portal-access-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.portal-access-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 100% 25%, 82% 100%, 18% 100%, 0% 25%);
}

.portal-access-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 12px;
    background-color: var(--white);
    border-radius: 2px;
    top: 38px;
}

.portal-access-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.portal-access-card p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.05rem;
}

.portal-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.portal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

/* Portal Access Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        margin-top: 8rem; /* Add much more spacing to move text down from white background area */
    }
    
    .portal-access-card p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .portal-access-card {
        padding: 1.5rem;
    }
    
    .portal-access-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .portal-access-icon::before {
        width: 25px;
        height: 25px;
    }
    
    .portal-access-icon::after {
        width: 15px;
        height: 8px;
        top: 28px;
    }
    
    .portal-btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}

/* ===== Technology Page Specific Styles ===== */

/* Technology Overview Section */
.tech-overview {
    background-color: var(--white);
}

.tech-overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tech-overview-text h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.tech-overview-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Core Technologies Section */
.core-technologies {
    background-color: var(--light-gray);
}

.core-technologies .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.core-technologies .tech-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.core-technologies .tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
}

.core-technologies .tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.core-technologies .tech-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.covert-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.covert-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 45px;
    border-radius: 2px;
}

.ai-icon::before {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.ai-icon::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 38px;
    border-radius: 2px;
}

.tech-features h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.tech-features p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--primary-dark);
}

.tech-specs {
    list-style: none;
    padding: 0;
}

.tech-specs li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tech-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.tech-specs li:last-child {
    margin-bottom: 0;
}

/* Technical Capabilities Section */
.capabilities {
    background-color: var(--white);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.capability-card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1.5px solid var(--mist-gray);
    box-shadow: 0 4px 16px 0 rgba(26,26,26,0.06);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: box-shadow 0.3s, border-color 0.3s;
    position: relative;
}

.capability-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.capability-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.capability-icon::before, .capability-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.capability-icon-1::before {
    width: 25px;
    height: 25px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    background-color: transparent;
}

.capability-icon-1::after {
    width: 15px;
    height: 15px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.capability-icon-2::before {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(45deg);
}

.capability-icon-2::after {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(-45deg);
    background-color: var(--accent-orange);
}

.capability-icon-3::before {
    width: 25px;
    height: 25px;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.capability-icon-3::after {
    width: 12px;
    height: 12px;
    background-color: var(--white);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.capability-icon-4::before {
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent-blue);
    border-radius: 4px;
    background-color: transparent;
}

.capability-icon-4::after {
    width: 4px;
    height: 20px;
    background-color: var(--accent-orange);
    border-radius: 2px;
}

.capability-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.capability-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Innovation Section */
.innovation {
    background-color: var(--primary-dark);
    color: var(--white);
}

.innovation .section-header h2 {
    color: var(--white);
}

.innovation-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.innovation-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.innovation-text h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.innovation-text p {
    font-size: 1.05rem;
    line-height: 1.7;
color: var(--mist-gray);
    margin-bottom: 1.5rem;
}

.innovation-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.innovation-stats .stat-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.innovation-stats .stat-item::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    bottom: 0;
    left: 0;
}

.innovation-stats .stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Technology Page Responsive */
@media (max-width: 768px) {
    .core-technologies .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .core-technologies .tech-card {
        padding: 2rem;
    }
    
    .capabilities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .capability-card {
        padding: 1.5rem;
    }
    
    .innovation-content {
        gap: 2rem;
    }
    
    .innovation-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 576px) {
    .tech-overview-text h3 {
        font-size: 1.3rem;
    }
    
    .tech-overview-text p {
        font-size: 1rem;
    }
    
    .core-technologies .tech-card {
        padding: 1.5rem;
    }
    
    .tech-features h4 {
        font-size: 1.1rem;
    }
    
    .capability-icon {
        width: 60px;
        height: 60px;
    }
    
    .innovation-text h3 {
        font-size: 1.3rem;
    }
    
    .innovation-text p {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== Solutions Page Specific Styles ===== */

/* ===== Hero Text Glow/Stroke Effect ===== */

/* Solutions Overview Section */
.solutions-overview {
    background-color: var(--white);
}

.solutions-overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.solutions-overview-text h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.solutions-overview-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Detection Layer Section */
.detection-layer {
    background-color: var(--light-gray);
}

.detection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2.5rem;
}

.solution-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
}

.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.solution-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rf-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    opacity: 0.3;
}

.rf-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.vision-icon::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 20px;
    background-color: var(--accent-blue);
    border-radius: 4px;
}

.vision-icon::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 45px;
    border-radius: 2px;
}

.solution-features h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.solution-features p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: var(--primary-dark);
}

.solution-specs {
    list-style: none;
    padding: 0;
}

.solution-specs li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.solution-specs li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background-color: var(--accent-blue);
    border-radius: 50%;
}

.solution-specs li:last-child {
    margin-bottom: 0;
}

/* Neutralization Layer Section */
.neutralization-layer {
    background-color: var(--primary-dark);
    color: var(--white);
}

.neutralization-layer .section-header h2 {
    color: var(--white);
}

.neutralization-content {
    max-width: 1000px;
    margin: 0 auto;
}

.kinetic-interceptor-card {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 3rem;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    overflow: hidden;
}

.kinetic-interceptor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-blue));
}

.interceptor-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.interceptor-icon {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-blue) 100%);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interceptor-icon::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 8px;
    background-color: var(--white);
    border-radius: 4px;
    transform: rotate(-45deg);
}

.interceptor-icon::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--white);
    top: 35px;
    left: 45px;
    transform: rotate(-45deg);
}

.interceptor-details {
    flex: 2;
}

.interceptor-details h3 {
    color: var(--white);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.interceptor-details h4 {
    color: var(--accent-orange);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 500;
}

.interceptor-details p {
    color: var(--light-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.feature-icon::before, .feature-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.launch-icon::before {
    width: 20px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(-45deg);
}

.launch-icon::after {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 10px solid var(--accent-orange);
    background-color: transparent;
    top: 8px;
    left: 14px;
}

.ai-autonomy-icon::before {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    background-color: transparent;
}

.ai-autonomy-icon::after {
    width: 10px;
    height: 10px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.navigation-icon::before {
    width: 25px;
    height: 3px;
    border-radius: 2px;
}

.navigation-icon::after {
    width: 3px;
    height: 25px;
    border-radius: 2px;
    background-color: var(--accent-orange);
}

.cost-icon::before {
    width: 20px;
    height: 20px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.cost-icon::after {
    width: 8px;
    height: 8px;
    background-color: var(--white);
    border-radius: 50%;
}

.feature-text h5 {
    color: var(--white);
    margin-bottom: 0.3rem;
    font-size: 1rem;
    font-weight: 600;
}

.feature-text p {
    color: var(--light-gray);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Intelligence Engine Section */
.intelligence-engine {
    background-color: var(--white);
}

.intelligence-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.intelligence-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.intelligence-text h3 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.intelligence-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.intelligence-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intelligence-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.intelligence-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.intelligence-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.intelligence-icon::before, .intelligence-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.threat-sim-icon::before {
    width: 25px;
    height: 25px;
    border: 3px solid var(--accent-blue);
    border-radius: 4px;
    background-color: transparent;
}

.threat-sim-icon::after {
    width: 15px;
    height: 15px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.evolution-icon::before {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(45deg);
}

.evolution-icon::after {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(-45deg);
    background-color: var(--accent-orange);
}

.zero-day-icon::before {
    width: 25px;
    height: 25px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.zero-day-icon::after {
    width: 15px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 40px;
    border-radius: 2px;
}

.intelligence-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.intelligence-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Integrated System Section */
.integrated-system {
    background-color: var(--light-gray);
}

.system-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.system-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.flow-step {
    background-color: var(--white);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    min-width: 200px;
    transition: all 0.3s ease;
    position: relative;
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-icon::before, .step-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.detect-icon::before {
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    background-color: transparent;
}

.detect-icon::after {
    width: 40px;
    height: 2px;
    background-color: var(--accent-orange);
    top: 38px;
    border-radius: 1px;
}

.analyze-icon::before {
    width: 25px;
    height: 25px;
    background-color: var(--accent-blue);
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.analyze-icon::after {
    width: 12px;
    height: 12px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.engage-icon::before {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    transform: rotate(-45deg);
}

.engage-icon::after {
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 15px solid var(--accent-orange);
    background-color: transparent;
    top: 25px;
    left: 32px;
}

.flow-arrow {
    width: 0;
    height: 0;
    border-left: 10px solid var(--accent-blue);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    margin: 0 1rem;
}

.flow-step h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-dark);
    font-size: 1.2rem;
}

.flow-step p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--dark-gray);
}

.system-benefits {
    text-align: center;
}

.system-benefits h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background-color: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.benefit-icon::before, .benefit-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.redundancy-icon::before {
    width: 25px;
    height: 3px;
    border-radius: 2px;
}

.redundancy-icon::after {
    width: 25px;
    height: 3px;
    border-radius: 2px;
    top: 35px;
    background-color: var(--accent-orange);
}

.autonomous-icon::before {
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    background-color: transparent;
}

.autonomous-icon::after {
    width: 10px;
    height: 10px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.adaptable-icon::before {
    width: 25px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(45deg);
}

.adaptable-icon::after {
    width: 25px;
    height: 3px;
    border-radius: 2px;
    transform: rotate(-45deg);
    background-color: var(--accent-orange);
}

.benefit-item h4 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.benefit-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Standalone Systems Section */
.standalone-systems {
    background-color: var(--white);
}

.standalone-content {
    text-align: center;
}

.standalone-content > p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.standalone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.standalone-item {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
}

.standalone-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.standalone-item h4 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.standalone-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Applications Section */
.applications {
    background-color: var(--primary-dark);
    color: var(--white);
}

.applications .section-header h2 {
    color: var(--white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.application-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.application-card::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-orange));
    bottom: 0;
    left: 0;
}

.application-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.application-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.application-icon::before, .application-icon::after {
    content: '';
    position: absolute;
    background-color: var(--accent-blue);
}

.military-icon::before {
    width: 25px;
    height: 25px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.military-icon::after {
    width: 15px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 40px;
    border-radius: 2px;
}

.infrastructure-icon::before {
    width: 30px;
    height: 20px;
    background-color: var(--accent-blue);
    border-radius: 2px;
}

.infrastructure-icon::after {
    width: 20px;
    height: 3px;
    background-color: var(--accent-orange);
    top: 45px;
    border-radius: 2px;
}

.border-icon::before {
    width: 35px;
    height: 3px;
    border-radius: 2px;
}

.border-icon::after {
    width: 3px;
    height: 35px;
    border-radius: 2px;
    background-color: var(--accent-orange);
}

.urban-icon::before {
    width: 25px;
    height: 25px;
    border: 3px solid var(--accent-blue);
    border-radius: 4px;
    background-color: transparent;
}

.urban-icon::after {
    width: 15px;
    height: 15px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.event-icon::before {
    width: 30px;
    height: 30px;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    background-color: transparent;
}

.event-icon::after {
    width: 18px;
    height: 18px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

.application-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.application-card p {
    font-size: 0.95rem;
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Solutions Page Responsive */
@media (max-width: 768px) {

/* === Objexis Technology Page: Application Cards Text Color Fix === */
section#verticals.application-cards-section .application-card p,
section#verticals.application-cards-section .application-card h3,
.application-cards-section .container.application-cards .application-card p,
.application-cards-section .container.application-cards .application-card h3 {
color: var(--charcoal) !important;
}
    .detection-grid {
        grid-template-columns: 1fr;
    }
    
    .kinetic-interceptor-card {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .system-flow {
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
    }
    
    .intelligence-features {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .solution-card {
        padding: 2rem;
    }
    
    .kinetic-interceptor-card {
        padding: 1.5rem;
    }
    
    .interceptor-details h3 {
        font-size: 1.5rem;
    }
    
    .interceptor-details h4 {
        font-size: 1.1rem;
    }
    
    .flow-step {
        padding: 1.5rem;
        min-width: 180px;
    }
    
    .standalone-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* === Objexis Technology Page: Tile Text Color Unification === */
.capability-card h3,
.capability-card p {
    color: var(--charcoal);
}
.highlight-card h2,
.highlight-card h3,
.highlight-card p {
    color: var(--charcoal);
}

/* === Objexis Technology Page: Tile Background Color Unification === */
.highlight-card {
    background-color: rgba(255, 255, 255, 0.1) !important;
    padding: 2.5rem 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.07);
}

.highlight-card-content h2,
.highlight-card-content h3,
.highlight-card-content ul {
    margin-bottom: 1.5rem;
}

.highlight-card-content ul {
    padding-left: 1.5rem;
    line-height: 1.7;
}

/* ===== Key Capabilities Section ===== */
.capabilities-section {
    background-color: var(--ice-gray);
}

.capabilities-grid-new {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.capability-item {
    background-color: var(--cloud-white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--mist-gray);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    line-height: 1.6;
}

.capability-item strong {
    font-family: var(--heading-font);
    color: var(--charcoal);
    display: block;
    margin-bottom: 0.5rem;
}

.capabilities-summary {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    max-width: 800px;
    margin: 2rem auto 0;
    line-height: 1.7;
}

/* ===== Field-Proven Section ===== */
.field-proven-section {
    background-color: var(--cloud-white);
}

.field-proven-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
}

.application-list {
    list-style: none;
    padding-left: 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.application-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.application-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--coral);
    font-weight: bold;
}

/* ===== Solutions Page Specific Styles ===== */
.solutions-main .container {
    max-width: 900px;
}

.solution-category {
    margin-bottom: 3rem;
}

.solution-category h2 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.solution-category p {
    font-size: 1.05rem;
    line-height: 1.7;
}

.solution-item {
    position: relative;
    padding: 2rem;
    border: 1px solid var(--mist-gray);
    border-radius: 12px;
    background-color: var(--cloud-white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.products-in-development {
    background-color: var(--ice-gray);
}

.products-in-development .solution-item h2 {
    font-size: 1.8rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
}

.products-in-development .solution-item p {
    font-size: 1.05rem;
    line-height: 1.7;
}

/* ===== Responsible AI Section ===== */
.responsible-ai {
    background-color: var(--cloud-white);
}

.responsible-ai-content {
    max-width: 900px;
    margin: 0 auto;
}

.responsible-ai-content p {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.responsible-ai-content p strong {
    font-family: var(--heading-font);
    color: var(--charcoal);
}

.commitment-list-new {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.commitment-list-new li {
    margin-bottom: 1.5rem;
}

.commitment-list-new strong {
    font-family: var(--heading-font);
    color: var(--charcoal);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.commitment-list-new p {
    margin-bottom: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== New Contact Page Styles ===== */
.contact-details-section {
    background-color: var(--ice-gray);
    padding: var(--section-spacing) 0;
}

.contact-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-detail-card {
    background-color: var(--cloud-white);
    border: 1px solid var(--mist-gray);
    border-radius: 12px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
}

.contact-detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--coral);
}

.contact-detail-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background-color: var(--ice-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--coral);
}

.email-icon::before {
    content: '@';
    font-family: var(--heading-font);
    font-size: 2.5rem;
    font-weight: 700;
}

.hours-icon::before {
    content: '🕒'; /* Clock emoji */
    font-size: 2.5rem;
}

.contact-detail-card h3 {
    color: var(--charcoal);
    margin-bottom: 0.5rem;
}

.contact-detail-card p {
    margin-bottom: 1.5rem;
}

.contact-link {
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--coral);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--coral-dark);
}

.contact-text {
    font-family: var(--body-font);
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--graphite);
}

/* ===== New Portal Login Page Styles (Government) ===== */
.portal-main-gov {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px); /* Full height minus navbar */
    padding: 4rem 1.5rem;
    margin-top: 80px;
    background-color: var(--ice-gray);
}

.portal-container-gov {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    width: 100%;
    max-width: 1000px;
    background-color: var(--cloud-white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--mist-gray);
}

.login-panel-gov {
    padding: 3rem;
    border-right: 1px solid var(--mist-gray);
}

.notice-panel-gov {
    padding: 3rem;
    background-color: var(--ice-gray);
}

.notice-panel-gov h3 {
    color: var(--coral-dark);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--coral-dark);
    padding-bottom: 0.5rem;
}

.notice-panel-gov p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.login-header {
    margin-bottom: 2rem;
}

.login-header h2 {
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--graphite);
    margin-bottom: 0;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form .form-submit .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* ===== News Page Styles ===== */
.news-section {
    background-color: var(--ice-gray);
    padding: var(--section-spacing) 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.news-card {
    background-color: var(--cloud-white);
    border: 1px solid var(--mist-gray);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-color: var(--coral);
}

.news-card-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: var(--cloud-white); /* White background for empty space */
    padding: 1rem; /* Add some padding around the contained logos */
}

.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-img img {
    transform: scale(1.05);
}

.news-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-category {
    display: inline-block;
    background-color: var(--coral);
    color: var(--cloud-white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.news-card-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}

.news-card-content p {
    font-size: 0.95rem;
    color: var(--graphite);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.news-card-date {
    font-size: 0.9rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.news-card .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* ===== News Article Page Styles ===== */
.article-featured-image {
    width: 100%;
    height: auto;
    max-height: 400px; /* Adjusted max-height for better aspect ratio */
    overflow: hidden;
    margin-bottom: 3rem;
    background-color: var(--cloud-white); /* White background for empty space */
    padding: 2rem; /* Add padding around the contained logo */
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed from cover to contain */
    max-width: 600px; /* Ensure logo doesn't get too wide */
}

/* ===== Hero Color Animation ===== */
@keyframes heroColorShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes scanLines {
    0% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

@keyframes scanLinesTransform {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-28px);
    }
}

/* ===== ENHANCED MOBILE RESPONSIVE DESIGN ===== */

/* Hide hamburger menu by default (desktop) */
.hamburger-menu {
    display: none;
    position: relative;
    z-index: 1001;
    margin-right: 1rem;
    order: -1; /* This ensures it appears before the logo */
}

.mobile-nav {
    display: none;
}

/* Mobile overlay for when menu is open */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Tablet & Smaller Desktops (max-width: 991px) */
@media (max-width: 991px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .capabilities-grid-new {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .verticals-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 3rem;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Mobile Hero Text Shadow - Match desktop version */
    .hero h1 {
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9);
    }
    
    .hero p {
        text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.9);
    }

    /* Mobile Page Header Improvements */
    .page-header-generic {
        height: 35vh;
        min-height: 320px;
        padding: 2rem 0;
    }

    .page-header-generic .page-header-content {
        padding: 0 1.5rem;
    }

    .page-header-generic h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .page-header-generic p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 1rem;
        margin-bottom: 0;
    }

    /* Mobile Navigation */
    .nav-menu {
        display: none;
    }

    /* Mobile navbar container adjustments */
    .navbar .container {
        position: relative;
        justify-content: center; /* Center the logo */
    }

    /* Position hamburger menu absolutely to the left */
    .hamburger-menu {
        display: block;
        cursor: pointer;
        z-index: 1001;
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .hamburger-menu .bar {
        display: block;
        width: 25px;
        height: 3px;
        margin: 5px auto;
        background-color: var(--cloud-white);
        transition: all 0.3s ease-in-out;
        border-radius: 2px;
    }

    .hamburger-menu.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Center the logo on mobile */
    .logo {
        position: relative;
        z-index: 1000;
    }

    .mobile-nav {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--charcoal);
        z-index: 1000;
        transition: left 0.3s ease-in-out;
        padding-top: 100px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    }

    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav ul {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        list-style: none;
    }

    .mobile-nav li {
        margin: 1.5rem 0;
        width: 100%;
    }

    .mobile-nav a {
        color: var(--mist-gray);
        font-size: 1.2rem;
        font-family: var(--heading-font);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: block;
        padding: 0.5rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: color 0.3s ease;
    }

    .mobile-nav a:hover,
    .mobile-nav a.active {
        color: var(--cloud-white);
    }

    /* Hero Section Mobile */
    .hero {
        background-image: url('img/Mobile Hero Image.png');
        background-position: center center;
        background-size: cover;
        min-height: 70vh;
        height: auto;
    }

    .hero-content {
        padding-top: 2rem;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-top: 4.5rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 1rem;
        margin-top: 10rem;
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Grid Layouts */
    .capabilities-grid-new,
    .verticals-grid,
    .founders-grid,
    .values-grid,
    .contact-info-grid,
    .tech-grid,
    .about-stats,
    .applications-grid,
    .benefits-grid,
    .standalone-grid,
    .intelligence-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Cards and Items */
    .vertical-card,
    .founder-card,
    .value-card,
    .contact-item,
    .tech-card,
    .stat-item,
    .application-card,
    .benefit-item,
    .standalone-item,
    .intelligence-item,
    .capability-item {
        padding: 1.5rem;
    }

    /* Footer */
    .footer-top {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .partner-logos {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .partner-logo img {
        max-height: 50px;
    }

    /* Contact Page Specific */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container,
    .contact-form-main {
        padding: 2rem;
    }

    /* Portal Page */
    .portal-container-gov {
        grid-template-columns: 1fr;
        margin: 0 1rem;
    }

    .login-panel-gov,
    .notice-panel-gov {
        padding: 2rem;
    }

    .login-panel-gov {
        border-right: none;
        border-bottom: 1px solid var(--mist-gray);
    }

    /* Solutions Page */
    .detection-grid,
    .core-technologies .tech-grid {
        grid-template-columns: 1fr;
    }

    .kinetic-interceptor-card {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .system-flow {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 1rem 0;
    }

    /* Technology Page */
    .capabilities-grid {
        grid-template-columns: 1fr;
    }

    .innovation-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Small Mobile Devices (max-width: 576px) */
@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .container {
        padding: 0 0.75rem;
    }

    .hero {
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .mobile-nav {
        width: 90%;
    }

    .vertical-card,
    .founder-card,
    .value-card,
    .contact-item,
    .tech-card,
    .stat-item {
        padding: 1.2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .innovation-stats {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    /* Page Headers */
    .page-header {
        min-height: 200px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 0.95rem;
    }
}

/* Landscape Mobile Devices */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        padding-top: 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        margin-top: 1rem;
    }
    
    .hero p {
        font-size: 0.95rem;
        margin-top: 0.5rem;
    }
}
