/*
--- TX AI Studio Stylesheet ---

Color Palette:
- Dark Background: #111827
- Lighter Background / Cards: #1F2937
- Primary Text: #F9FAFB
- Accent / Primary CTA: #38BDF8 (Sky Blue)
- Muted Text / Borders: #6B7280

Font:
- Primary: 'Poppins', sans-serif
*/

/* --- Global Resets & Variables --- */
:root {
    --dark-bg: #111827;
    --light-bg: #1F2937;
    --primary-text: #F9FAFB;
    --secondary-text: #9CA3AF;
    --accent-color: #38BDF8;
    --border-color: #374151;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--primary-text);
    line-height: 1.6;
}

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

/* --- Typography & Basic Elements --- */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-text);
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.5rem; }

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

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

a:hover {
    color: #fff;
}

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

.section-padding {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--light-bg);
}

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

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

/* --- Header & Navigation --- */
.site-header {
    background-color: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

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

.main-nav a {
    color: var(--secondary-text);
    font-weight: 400;
    position: relative;
    padding: 5px 0;
}

.main-nav a.active, .main-nav a:hover {
    color: #fff;
}

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

.main-nav a.active::after, .main-nav a:hover::after {
    width: 100%;
}

.mobile-nav-toggle { display: none; }


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

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

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


/* --- Hero Section --- */
.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(rgba(17, 24, 39, 0.7), rgba(17, 24, 39, 0.9)), url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?q=80&w=1420&auto=format&fit=crop') no-repeat center center/cover;
}
.hero-text {
    max-width: 800px;
    margin: 0 auto;
}
.hero .subtitle {
    font-size: 1.25rem;
    color: var(--primary-text);
    margin: 1.5rem 0 2rem;
}

/* --- Cards --- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}
.services-overview .card {
    background-color: var(--dark-bg);
}

.card-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1.5rem;
}
.card h3 {
    margin-bottom: 0.5rem;
}
.card p {
    flex-grow: 1;
}
.card-link {
    font-weight: 600;
    margin-top: 1rem;
}
.project-card {
    padding: 0;
    overflow: hidden;
}
.project-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.project-card .card-content {
    padding: 1.5rem;
}
.project-card .tag {
    display: inline-block;
    background-color: var(--border-color);
    color: var(--secondary-text);
    padding: 4px 12px;
    font-size: 0.8rem;
    border-radius: 12px;
    margin-right: 0.5rem;
    margin-top: 1rem;
}

/* --- Two Column Layout --- */
.two-col-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.two-col-layout .col-img img {
    border-radius: 8px;
}

/* --- CTA Section --- */
.cta {
    background-color: var(--light-bg);
}
.cta h2 { font-size: 2.5rem; }
.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--primary-text);
}

/* --- Page-Specific Sections --- */
.page-header { text-align: center; }
.page-title { font-size: 3.5rem; }

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}
.service-item:last-child { margin-bottom: 0; }
.service-item:nth-child(even) {
    grid-template-columns: 1fr 1fr;
}
.service-item:nth-child(even) .service-img { grid-column: 2; grid-row: 1; }
.service-item img { border-radius: 8px; }
.service-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}
.service-text li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--secondary-text);
}
.service-text li::before {
    content: '✓';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.team-card {
    text-align: center;
}
.team-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 3px solid var(--border-color);
}
.team-card h3 { font-size: 1.25rem; margin-bottom: 0.25rem; }
.team-card .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}
.contact-info ul { list-style: none; margin-top: 2rem; }
.contact-info li { margin-bottom: 1.5rem; }
.contact-info li strong { display: block; margin-bottom: 0.25rem; color: #fff;}\n\n.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary-text);
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

/* --- Footer --- */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--secondary-text);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }
    .section-padding { padding: 60px 0; }

    .main-nav {
        position: fixed;
        top: 80px;
        right: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--dark-bg);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        padding-top: 2rem;
    }
    .main-nav.nav-active {
        transform: translateX(0);
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2.5rem;
    }
    .main-nav a { font-size: 1.2rem; }
    
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        padding: 10px;
    }
    .mobile-nav-toggle .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border-width: 0;
    }
    .mobile-nav-toggle .icon-bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: #fff;
        margin: 5px 0;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .nav-open .icon-bar:nth-child(2) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav-open .icon-bar:nth-child(3) {
        opacity: 0;
    }
     .nav-open .icon-bar:nth-child(4) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .two-col-layout, .service-item, .contact-layout {
        grid-template-columns: 1fr;
    }
    .service-item:nth-child(even) .service-img {
        grid-column: 1;
        grid-row: 1;
    }
    .two-col-layout .col-img {
        margin-top: 2rem;
    }
}