:root {
    --color-primary: #0f172a; /* Deep Navy */
    --color-secondary: #0f766e; /* Teal */
    --color-accent: #f59e0b; /* Amber for subtle highlights */
    --color-background: #F5F7FA; /* Off-white background */
    --color-white: #ffffff;
    --color-text: #334155; /* Slate 700 */
    --color-text-light: #64748b; /* Slate 500 */
    --color-border: #e2e8f0;
    
    --font-main: 'Inter', sans-serif;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* Container & Grid */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-primary);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 3rem;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    border: none;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-full-width {
    width: 100%;
}

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

.btn-primary:hover {
    background-color: #0d6efd; /* Slightly different blue on hover, or keep teal shade */
    background-color: #115e59; /* Darker teal */
}

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

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

/* Navbar */
.navbar {
    background-color: var(--color-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: -0.025em; /* Tight, modern wordmark feel */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--color-text);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--color-secondary);
}

.nav-links .btn-primary {
    color: var(--color-white);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-authority {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* About Snippet (Homepage) */
.about-snippet {
    background-color: var(--color-white);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.about-snippet-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services */
.services {
    background-color: var(--color-white);
}

.card {
    background-color: var(--color-background);
    padding: 2rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
}

.icon-box {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Portfolio */
.portfolio {
    background-color: var(--color-background);
}

.portfolio-item {
    background-color: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.portfolio-link {
    display: block;
    height: 100%;
}

.portfolio-preview {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-text {
    font-weight: 700;
    color: rgba(0,0,0,0.5);
    font-size: 1.25rem;
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-desc {
    font-size: 0.95rem;
    color: var(--color-text-light);
}

/* Process */
.process {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.process .section-title {
    color: var(--color-white);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

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

.step {
    text-align: center;
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.1);
    margin-bottom: 0.5rem;
}

.step h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.step p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
}

/* Clients */
.clients {
    background-color: var(--color-white);
    text-align: center;
}

.client-type {
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
}

/* CTA */
.cta {
    background-color: var(--color-background);
    text-align: center;
    padding: 5rem 0;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

/* Sound Toggle */
.sound-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.sound-toggle:hover {
    transform: scale(1.1);
    background: var(--color-accent);
}

@media (max-width: 768px) {
    .sound-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(14, 165, 233, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.footer {
    background-color: #020617; /* Darker than primary */
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.footer-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-logo p {
    color: rgba(255,255,255,0.7);
    margin-top: 0.5rem;
}

.footer-founder-note {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

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

.footer-links a {
    color: rgba(255,255,255,0.8);
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-copyright {
    margin-top: 2rem;
    color: rgba(255,255,255,0.4);
    font-size: 0.9rem;
}

/* About & Contact Page Specifics */
.about-page, .contact-page {
    background-color: var(--color-white);
    min-height: 80vh;
    padding-top: 4rem;
}

.lead-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.about-content-block {
    text-align: center;
    margin-bottom: 4rem;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-section h3 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-list {
    list-style-type: none;
    padding-left: 0;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-light);
}

.feature-list li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.about-footer {
    text-align: center;
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: var(--radius-md);
    max-width: 800px;
    margin: 0 auto;
}

.about-footer h3 {
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--color-text-light);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--color-background);
    padding: 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-white);
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Form Status Messages */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 500;
    display: none;
}

.status-success {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        flex-direction: column;
        padding: 2rem 0;
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-links {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-contact-info {
        text-align: center !important;
        margin-right: 0 !important;
        align-items: center !important;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 1rem !important;
    }
}
