/* Global Styles */
:root {
    --primary-color: #0a1220;
    --secondary-color: #0f1a2b;
    --accent-color: #2cc2fa;
    --text-color: #f0f0f0;
    --text-secondary: #a0a8b5;
    --grid-color: rgba(44, 194, 250, 0.05);
    --border-color: rgba(44, 194, 250, 0.2);
}

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

body {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
    position: relative;
    overflow-x: hidden;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, var(--grid-color) 1px, transparent 1px),
        linear-gradient(to bottom, var(--grid-color) 1px, transparent 1px);
    background-size: 25px 25px;
    z-index: -1;
    pointer-events: none;
}

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

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    letter-spacing: -1px;
    background: linear-gradient(120deg, var(--text-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 0;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1rem;
}

.emphasis {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(44, 194, 250, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 40%, rgba(44, 194, 250, 0.03) 0%, transparent 25%);
    z-index: 0;
    pointer-events: none;
    opacity: 0.8;
    animation: pulseBackgroundSlow 20s ease-in-out infinite alternate;
}

@keyframes pulseBackgroundSlow {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

section:nth-child(odd) {
    background-color: rgba(10, 18, 32, 0.95);
}

section:nth-child(even) {
    background-color: rgba(15, 26, 43, 0.95);
}

section:not(:first-of-type)::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, 
        transparent, 
        rgba(44, 194, 250, 0.3) 20%, 
        rgba(44, 194, 250, 0.5) 50%,
        rgba(44, 194, 250, 0.3) 80%,
        transparent
    );
    width: 100%;
}

.dark-section {
    background-color: rgba(15, 26, 43, 0.95);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 70px;
}

.section-line {
    height: 1px;
    background-color: var(--accent-color);
    width: 40px;
    margin: 0 20px;
}

/* Header and Navigation */
header {
    height: 100vh;
    background-color: var(--primary-color);
    background-image: 
        linear-gradient(to bottom, rgba(10, 18, 32, 0.7), rgba(10, 18, 32, 0.9)),
        url('https://source.unsplash.com/random/1920x1080/?healthcare,technology');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(44, 194, 250, 0.1) 0%, transparent 10%),
        radial-gradient(circle at 80% 40%, rgba(44, 194, 250, 0.05) 0%, transparent 15%),
        radial-gradient(circle at 40% 70%, rgba(44, 194, 250, 0.08) 0%, transparent 20%),
        radial-gradient(circle at 70% 90%, rgba(44, 194, 250, 0.1) 0%, transparent 12%);
    z-index: 0;
    opacity: 0.7;
    animation: pulseBackground 15s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.2);
    }
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    background-color: rgba(10, 18, 32, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Add a class for scrolled navbar */
.nav-scrolled {
    padding: 15px 50px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 400;
    position: relative;
}

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

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

.hero {
    height: calc(100vh - 81px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Particle animation for hero section */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-color);
    opacity: 0.3;
}

.particle:nth-child(1) {
    width: 6px;
    height: 6px;
    top: 20%;
    left: 10%;
    animation: float 20s linear infinite;
}

.particle:nth-child(2) {
    width: 12px;
    height: 12px;
    top: 40%;
    left: 25%;
    animation: float 30s linear infinite;
}

.particle:nth-child(3) {
    width: 8px;
    height: 8px;
    top: 60%;
    left: 15%;
    animation: float 25s linear infinite;
}

.particle:nth-child(4) {
    width: 10px;
    height: 10px;
    top: 80%;
    left: 30%;
    animation: float 22s linear infinite;
}

.particle:nth-child(5) {
    width: 7px;
    height: 7px;
    top: 30%;
    left: 70%;
    animation: float 18s linear infinite reverse;
}

.particle:nth-child(6) {
    width: 14px;
    height: 14px;
    top: 50%;
    left: 85%;
    animation: float 28s linear infinite reverse;
}

.particle:nth-child(7) {
    width: 9px;
    height: 9px;
    top: 70%;
    left: 75%;
    animation: float 24s linear infinite reverse;
}

.particle:nth-child(8) {
    width: 11px;
    height: 11px;
    top: 85%;
    left: 65%;
    animation: float 26s linear infinite reverse;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0.2;
    }
    25% {
        transform: translateY(-100px) translateX(100px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-50px) translateX(200px) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translateY(100px) translateX(100px) rotate(270deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0) translateX(0) rotate(360deg);
        opacity: 0.2;
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.tagline {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-line {
    height: 2px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #1db3eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 194, 250, 0.2);
}

/* About Section */
.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(10, 18, 32, 0.9), rgba(15, 26, 43, 0.7));
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(5px);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: rgba(10, 18, 32, 0.8);
    padding: 40px 30px;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--accent-color);
    transition: height 0.3s ease;
}

/* This was moved to the service-card declaration */

.service-card:hover::after {
    height: 100%;
}

.service-icon {
    margin-bottom: 20px;
    color: var(--accent-color);
}

/* Clients Section */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.client-logo {
    background-color: rgba(10, 18, 32, 0.7);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(44, 194, 250, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.client-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}


.client-logo p {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background-color: rgba(10, 18, 32, 0.85);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.team-member-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
}

.member-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(44, 194, 250, 0.1), rgba(44, 194, 250, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-member h3 {
    padding: 20px 25px 5px;
    color: var(--text-color);
}

.team-member-info {
    padding: 0 25px 25px;
}

.member-background {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 10px;
}

/* Contact Form */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    margin-bottom: 20px;
    display: flex;
    gap: 20px;
}

.form-row input, 
.form-row textarea {
    flex: 1;
}

input, textarea {
    width: 100%;
    padding: 15px;
    background-color: rgba(10, 18, 32, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-color);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

textarea {
    min-height: 150px;
    resize: vertical;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(44, 194, 250, 0.2), inset 0 2px 4px rgba(0, 0, 0, 0.05);
    background-color: rgba(10, 18, 32, 0.9);
}

.submit-button {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border: none;
    padding: 14px 32px;
    border-radius: 4px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #1db3eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(44, 194, 250, 0.2);
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

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

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

.footer-info p {
    margin-bottom: 5px;
}

.copyright {
    font-size: 0.8rem;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin-bottom: 5px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav {
        padding: 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 20px;
    }
    
    section {
        padding: 70px 0;
    }
}

/* Text block styling for better readability */
.text-block p {
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 16px;
}

/* Content section spacing for company overview */
.content-section {
    margin-bottom: 30px;
}

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

/* Header styling in content sections */
.content-section h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

/* Custom list styling enhancement */
.custom-list {
    margin-left: 20px;
    margin-bottom: 20px;
    list-style-type: none; /* Remove default bullets */
}

.custom-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.custom-list li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
}

/* Fix for overview section (removed the specific white background) */
#overview .text-block p,
#overview .content-section p,
#overview li {
    color: var(--text-secondary);
}

#overview h3 {
    color: var(--text-color);
}

/* Ensure team member images display properly */
.team-member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s ease, transform 0.5s ease;
}

.team-member:hover .team-member-image img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Placeholder enhancement */
.member-placeholder:after {
    content: "Photo";
    color: #999;
    font-size: 16px;
}