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

:root {
    --primary-color: #00f5ff;
    --secondary-color: #0066ff;
    --accent-color: #ff006e;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #111111;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --gradient-1: linear-gradient(135deg, #00f5ff, #0066ff);
    --gradient-2: linear-gradient(135deg, #ff006e, #8338ec);
    --glow: 0 0 20px rgba(0, 245, 255, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
header {
    position: fixed;
    top: 0;
    height: 64px; /* optional – matches the expected height of .header-content */
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 245, 255, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.3));
    transition: filter 0.3s ease;
}

.logo:hover img {
    filter: drop-shadow(0 0 12px rgba(0, 245, 255, 0.6));
}

.logo h1 {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--primary-color);
}

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

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 4rem; /* adjust as needed to clear the header */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(0,245,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1200px;     /* allows content to spread wider */
    margin: 0 auto;        /* centers it horizontally */
    padding: 0 1.5rem;     /* adds horizontal breathing room */
    width: 100%;           /* ensures it can stretch inside parent */
}

.hero-logo {
    margin-bottom: 2rem;
}

.hero-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.5));
    animation: glow 2s ease-in-out infinite alternate;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 245, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(0, 245, 255, 0.8)); }
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero .tagline {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--gradient-1);
    color: var(--dark-bg);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--glow);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.4);
}

.btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.secondary:hover {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.hero .btn + .btn {
    margin-top: 3rem; /* adds spacing between the first and second buttons */
}
/* Workflow Ideas (Under Hero CTA) */
.workflow-ideas {
    margin-top: 5rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
    width: 100%;
    padding: 0 1.5rem;
    color: var(--text-primary);
}

.workflow-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    align-items: stretch;
    width: 100%;
}

.workflow-intro {
    flex: 0 0 35%;
    font-size: 1.9rem;
    font-style: italic;
    font-weight: 600;
    display: flex;                 /* Enables flexbox inside */
    align-items: flex-start;      /* Vertically centers the text */
    justify-content: flex-end;    /* Pushes text toward the right */
    padding-right: 1rem;          /* Adds spacing from the list */
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(0, 245, 255, 0.2);
}

.workflow-list {
    flex: 1 1 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    width: 100%;
    max-width: 100%;
    overflow: hidden;         /* Prevents content from overflowing */
}

.workflow-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    flex: 1;
}

.workflow-list li {
    font-size: 0.85rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    padding-left: 1.2rem;
    position: relative;
    color: var(--text-primary);
    font-style: italic;
    width: 100%;              /* Forces li to use full width */
    white-space: normal;      /* Allow text to wrap normally */
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Base styles for all list item icons */
.workflow-list li {
    padding-left: 2rem; /* Increased padding to accommodate icons */
}

.workflow-list li::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.workflow-list li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.workflow-list li:hover::before {
    transform: scale(1.2);
}

/* Specific icons for each list item */
.workflow-list li.icon-document::before {
    content: "\f15c"; /* document icon */
}

.workflow-list li.icon-sermon::before {
    content: "\f02d"; /* book icon */
}

.workflow-list li.icon-recruiting::before {
    content: "\f500"; /* user-check icon */
}

.workflow-list li.icon-qa::before {
    content: "\f059"; /* question-circle icon */
}

/* Responsive for mobile */
@media (max-width: 768px) {
    .workflow-grid {
        flex-direction: column;
        flex-wrap: wrap;      /* allow wrapping on smaller screens */
        min-width: unset;    /* Remove minimum width constraint */
        width: 100%;
    }

    .workflow-intro {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        justify-content: center; /* Center text on mobile */
        text-align: center;
        padding-right: 0;
    }
    
    .workflow-list {
        min-width: unset; /* Remove minimum width constraint */
    }
}

/* About Section */
.about {
    padding: 100px 0;
    background: var(--darker-bg);
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.about-text {
    font-size: 1.2rem;
    line-height: 1.8;
}

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

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.tech-visual {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: var(--card-bg);
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 255, 0.2);
}

.tech-visual iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tech-visual::before {
    content: '';
    width: 200px;
    height: 200px;
    background: url('images/logo.png') no-repeat center;
    background-size: contain;
    filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.5));
    animation: pulse 2s ease-in-out infinite;
}

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

/* Services Section */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.service-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0.9) drop-shadow(0 0 5px rgba(0, 245, 255, 0.2));
    border-radius: 12px;
    background-color: var(--card-bg);
    padding: 6px;
    flex-shrink: 0;
}

.services {
    padding: 100px 0;
    background: var(--dark-bg);
}

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

.service-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 245, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

.card-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.service-card .btn.secondary {
    align-self: center;
    margin-top: auto;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 1rem;
}

.citation {
    margin-top: 0;
    font-size: 0.6rem;
    color: var(--text-secondary);
}

.article-title {
    font-style: italic;
}

.stat-number {
    display: block;
    font-weight: 700;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.stat-text {
    display: block;
    font-size: 1.2rem; /* slightly smaller if desired */
    color: var(--text-primary-color);
}

/* New Page Styles */
.page-hero {
    padding: 120px 0 60px;
    text-align: center;
}

.video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--card-bg);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.info-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: var(--darker-bg);
    border-top: 1px solid rgba(0, 245, 255, 0.2);
    text-align: center;
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Hero section */
    .hero h1 { 
        font-size: 2.5rem; 
        margin-top: 2rem;
    }
    .hero .subtitle { 
        font-size: 1.2rem; 
        margin-bottom: 1.5rem;
    }
    .hero-logo img {
        height: 80px; /* Smaller logo on mobile */
    }
    
    /* Button layout */
    .hero .btn {
        display: block;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        padding: 12px 20px;
        font-size: 1rem;
    }
    .btn.secondary { 
        margin-left: auto; 
        margin-right: auto;
        margin-top: 1rem; 
    }
    .hero .btn + .btn {
        margin-top: 1rem; /* Reduced spacing between buttons */
    }
    
    /* Navigation */
    .header-content {
        position: relative;
    }
    nav ul { 
        display: none; 
    }
    .mobile-nav-toggle {
        display: block;
        position: absolute;
        right: 1rem;
        top: 1.2rem;
    }
    nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 245, 255, 0.2);
        z-index: 1000;
    }
    nav.mobile-active ul li {
        margin: 0.5rem 0;
        text-align: center;
    }
    
    /* Other responsive adjustments */
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    
    /* Adjust padding for mobile */
    .hero {
        padding-top: 5rem;
    }
    .container {
        padding: 0 15px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Hide scrollbar but keep functionality */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}