/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0f172a;
    --primary-dark: #020617;
    --secondary-color: #1e293b;
    --accent-color: #fbbf24;
    --accent-gold: #f59e0b;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-light: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --border-color: #e2e8f0;
    --gradient-1: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-2: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-gold: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.15);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.2);
    --shadow-premium: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
    object-fit: contain;
}

.logo.has-img .logo-text {
    display: block; /* Show text next to logo image */
}

.logo-text {
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--accent-color);
}

.logo-slogan {
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

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

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    opacity: 0.05;
    z-index: -2;
}

.hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 1;
    filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 100%);
    z-index: 0;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

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

.hero-content {
    text-align: left;
    max-width: 700px;
    z-index: 1;
    position: relative;
    animation: fadeInUp 1s ease-out;
    padding: 2rem 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    color: #ffffff;
    letter-spacing: -0.04em;
    font-family: 'Inter', sans-serif;
}

.hero-tagline {
    font-size: 1rem;
    font-weight: 500;
    color: #fbbf24;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #e2e8f0;
    margin-bottom: 2.5rem;
    line-height: 1.75;
    font-weight: 400;
    max-width: 600px;
}

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

.btn {
    padding: 0.875rem 2.5rem;
    border-radius: 2px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 0.9375rem;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.025em;
}

.btn-premium {
    background: #0f172a;
    color: #ffffff;
    border: 1px solid #1e293b;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.3);
}

.btn-premium:hover {
    background: #1e293b;
    border-color: #334155;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-dark);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--gradient-1);
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.section-background .bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 250, 251, 0.95) 0%, rgba(249, 250, 251, 0.9) 100%);
    z-index: 1;
}

.services .container,
.portfolio .container,
.about .container,
.contact .container {
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 0;
    border-radius: 2px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: start;
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--text-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2.5rem 0 2.5rem 2.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .service-icon {
        margin: 0 !important;
    }
}

.service-icon svg {
    width: 32px;
    height: 32px;
}

.service-card-content {
    padding: 2.5rem 2.5rem 2.5rem 0;
}

@media (max-width: 768px) {
    .service-card-content {
        padding: 0 !important;
        width: 100%;
    }
}

.service-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-features li {
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* Portfolio Section */
.portfolio {
    padding: 6rem 0;
    background: white;
    position: relative;
}

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

.portfolio-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 250px;
    background: var(--gradient-1);
    overflow: hidden;
}

.portfolio-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: var(--gradient-1);
    display: block;
}

.portfolio-preview-image:not([src]),
.portfolio-preview-image[src=""],
.portfolio-preview-image[src*="404"] {
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.875rem;
    position: relative;
}

.portfolio-preview-image:not([src])::after,
.portfolio-preview-image[src=""]::after {
    content: 'Screenshot Coming Soon';
    position: absolute;
    color: white;
    font-weight: 500;
    opacity: 0.8;
}

.portfolio-card:hover .portfolio-preview-image {
    transform: scale(1.05);
}

.portfolio-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: white;
    background: var(--gradient-1);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.portfolio-image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.6;
}

.portfolio-image-placeholder span {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-content {
    padding: 2rem;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.portfolio-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.portfolio-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-top: 2rem;
}

.portfolio-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.testimonial-rating .star {
    color: #fbbf24;
    margin-right: 0.25rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
    font-style: italic;
}

.testimonial-author {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.author-info strong {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

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

.about-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--bg-secondary);
    position: relative;
}

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

.contact-info {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Form Messages */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
    animation: slideIn 0.3s ease;
}

.form-message-success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message-error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

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

.logo-img-footer {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
    object-fit: contain;
    display: block;
}

.footer-brand .logo.has-img .logo-text {
    display: none;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

/* AI Chatbot Styles */
.chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
}

/* Hide Tawk.to when AI chatbot is open */
.chatbot-container.chatbot-open ~ * #tawkchat-container,
.chatbot-container.chatbot-open ~ * iframe[title*="tawk"],
.chatbot-container.chatbot-open ~ * iframe[title*="chat"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.chatbot-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.chatbot-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 600px;
    max-height: calc(100vh - 120px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.chatbot-container.chatbot-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chatbot-header {
    background: var(--gradient-1);
    color: white;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.chatbot-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-header-text h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.chatbot-header-text p {
    margin: 0;
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f8f9fa;
}

.chatbot-message {
    display: flex;
    max-width: 85%;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message-user {
    align-self: flex-end;
    margin-left: auto;
}

.chatbot-message-assistant {
    align-self: flex-start;
}

.message-content {
    padding: 0.875rem 1.125rem;
    border-radius: 18px;
    line-height: 1.5;
    font-size: 0.9375rem;
}

.chatbot-message-user .message-content {
    background: var(--primary-color);
    color: white;
    border-bottom-right-radius: 4px;
}

.chatbot-message-assistant .message-content {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.message-content p {
    margin: 0;
}

.message-content strong {
    font-weight: 600;
}

.message-content em {
    font-style: italic;
}

.chatbot-typing .message-content {
    background: white;
    padding: 1rem;
}

.typing-indicator {
    display: flex;
    gap: 0.375rem;
    align-items: center;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        opacity: 0.3;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
        transform: translateY(-8px);
    }
}

.chatbot-input-container {
    padding: 1rem 1.5rem;
    background: white;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.chatbot-input:focus {
    border-color: var(--primary-color);
}

.chatbot-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.2s ease;
}

.chatbot-send-btn:hover {
    background: var(--primary-color-dark);
    transform: scale(1.05);
}

.chatbot-send-btn:active {
    transform: scale(0.95);
}

.chatbot-footer {
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
}

.chatbot-escalate-btn {
    width: 100%;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

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

.chatbot-redirect-btn {
    margin-top: 0.75rem;
    padding: 0.625rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.chatbot-redirect-btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

/* Contact Form Modal Styles */
.chatbot-contact-form {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-radius: 20px;
    display: none; /* Hidden by default */
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.chatbot-contact-form[style*="display: flex"],
.chatbot-contact-form[style*="display:block"] {
    display: flex !important;
}

.chatbot-contact-form-header {
    background: var(--gradient-1);
    color: white;
    padding: 1.5rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.chatbot-contact-form-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.chatbot-contact-form-close {
    background: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    line-height: 1;
    transition: all 0.3s ease;
    font-weight: 300;
}

.chatbot-contact-form-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.chatbot-contact-form-body {
    flex: 1;
    padding: 2rem 1.75rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: #f8f9fa;
}

.chatbot-contact-form-body > p {
    margin: 0 0 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    text-align: center;
    padding: 0 0.5rem;
}

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

.chatbot-form-group:last-of-type {
    margin-bottom: 2rem;
}

.chatbot-form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}

.chatbot-form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
    color: var(--text-primary);
    font-family: inherit;
}

.chatbot-form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.chatbot-form-group input:hover {
    border-color: #d1d5db;
}

.chatbot-form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    background: white;
    transform: translateY(-1px);
}

.chatbot-form-submit-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    letter-spacing: 0.02em;
}

.chatbot-form-submit-btn:hover {
    background: var(--primary-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.chatbot-form-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.chatbot-form-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Hide Tawk.to widget by default - AI chatbot is the default */
/* BUT: Allow it to show when body has tawk-to-active class */
body:not(.tawk-to-active) #tawkchat-container,
body:not(.tawk-to-active) #tawkchat-container *,
body:not(.tawk-to-active) iframe[title*="tawk"],
body:not(.tawk-to-active) iframe[title*="chat"],
body:not(.tawk-to-active) iframe[title*="Tawk"],
body:not(.tawk-to-active) iframe[title*="Chat"],
body:not(.tawk-to-active) [id*="tawk"]:not(#tawkchat-container),
body:not(.tawk-to-active) [id*="Tawk"]:not(#tawkchat-container),
body:not(.tawk-to-active) [class*="tawk"]:not(.tawk-widget),
body:not(.tawk-to-active) [class*="Tawk"]:not(.tawk-widget) {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    position: fixed !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    z-index: -1 !important;
}

/* Show Tawk.to ONLY when explicitly requested (when user clicks "Chat with Human") */
/* Use very specific selectors with high specificity and !important */
body.tawk-to-active #tawkchat-container,
body.tawk-to-active #tawkchat-container *,
body.tawk-to-active iframe[title*="tawk"],
body.tawk-to-active iframe[title*="chat"],
body.tawk-to-active iframe[title*="Tawk"],
body.tawk-to-active iframe[title*="Chat"],
body.tawk-to-active [id*="tawk"],
body.tawk-to-active [id*="Tawk"],
body.tawk-to-active [class*="tawk"],
body.tawk-to-active [class*="Tawk"] {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    position: fixed !important;
    left: auto !important;
    top: auto !important;
    right: 20px !important;
    bottom: 20px !important;
    width: auto !important;
    height: auto !important;
    z-index: 999999 !important;
    max-width: 376px !important;
    max-height: 600px !important;
}

/* Hide Tawk.to when AI chatbot is visible AND tawk-to-active is NOT set */
body:has(.chatbot-container.chatbot-open):not(.tawk-to-active) #tawkchat-container,
body:has(.chatbot-container.chatbot-open):not(.tawk-to-active) iframe[title*="tawk"],
body:has(.chatbot-container.chatbot-open):not(.tawk-to-active) iframe[title*="chat"] {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Hide AI chatbot when Tawk.to is active - only show one chat at a time */
body.tawk-to-active .chatbot-container,
body.tawk-to-active .chatbot-toggle {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-container {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 20px;
        height: calc(100vh - 100px);
        max-height: calc(100vh - 100px);
    }

    .chatbot-toggle {
        bottom: 20px;
        right: 10px;
        width: 56px;
        height: 56px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .logo-slogan {
        display: none; /* Hide slogan on mobile for cleaner look */
    }
    
    .logo-text {
        font-size: 1.125rem;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: left 0.3s ease;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        padding: 2rem 1.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }

    .service-icon {
        margin: 0 auto 1rem !important;
        width: 70px;
        height: 70px;
        flex-shrink: 0;
        align-self: center;
    }

    .service-card-content {
        padding: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        text-align: left;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .service-title {
        font-size: 1.375rem;
        margin-bottom: 1rem;
        text-align: center;
        line-height: 1.3;
        width: 100%;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        text-align: left;
        width: 100%;
        letter-spacing: 0.01em;
        word-spacing: 0.05em;
    }

    .service-features {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
        width: 100%;
    }

    .service-features li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
        line-height: 1.7;
        text-align: left;
    }

    .service-link {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .service-card {
        padding: 2rem 1.25rem !important;
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
        display: flex !important;
        flex-direction: column !important;
        align-items: center;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto 1rem !important;
        width: 70px;
        height: 70px;
        flex-shrink: 0;
    }

    .service-card-content {
        padding: 0 !important;
        width: 100%;
        text-align: left;
    }

    .service-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
        line-height: 1.3;
    }

    .service-description {
        font-size: 0.95rem;
        line-height: 1.85;
        margin-bottom: 1.5rem;
        text-align: left;
        width: 100%;
        word-spacing: 0.05em;
    }

    .service-features {
        gap: 0.625rem;
        margin-bottom: 1.25rem;
        width: 100%;
    }

    .service-features li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
        line-height: 1.7;
        text-align: left;
    }

    .service-link {
        width: 100%;
        text-align: center;
        margin-top: 0.5rem;
    }

    .contact-info,
    .contact-form {
        padding: 1.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* FAQ Styles */
.faq-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.faq-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.faq-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.faq-content {
    padding: 4rem 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    line-height: 1;
    min-width: 24px;
    text-align: center;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ul,
.faq-answer ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.faq-answer li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.faq-answer strong {
    color: var(--text-primary);
}

/* Multi-Page Styles */
.services-hero, .portfolio-hero, .about-hero, .resources-hero, .contact-hero, .faq-hero {
    padding: 8rem 0 4rem;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.services-hero-title, .portfolio-hero h1, .about-hero h1, .resources-hero h1, .contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.services-hero-subtitle, .portfolio-hero p, .about-hero p, .resources-hero p, .contact-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

.services-detail, .portfolio-detail, .about-content-section, .resources-content, .contact-detail {
    padding: 4rem 0;
    background: white;
}

.services-detail-grid {
    display: grid;
    gap: 3rem;
    margin-top: 3rem;
}

.service-detail-card {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.service-icon-large {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
}

.service-icon-large svg {
    width: 40px;
    height: 40px;
}

.service-detail-card h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-detail-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.service-detail-content h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-detail-content ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-detail-content ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.7;
}

.service-detail-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tech-tag {
    padding: 0.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.process-section {
    padding: 4rem 0;
    background: var(--bg-secondary);
}

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

.process-step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.process-step p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-section {
    padding: 4rem 0;
    background: var(--gradient-1);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: white;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.portfolio-details {
    margin-top: 1.5rem;
}

.portfolio-details h4 {
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.portfolio-details ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.portfolio-details ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.portfolio-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

.about-main-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-main-content h2 {
    font-size: 2rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.about-main-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

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

.approach-item {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.approach-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.approach-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

.why-choose-list {
    list-style: none;
    margin: 2rem 0;
}

.why-choose-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.8;
}

.why-choose-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
}

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

.resource-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.resource-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--gradient-1);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.resource-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resource-excerpt {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.resource-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.resource-meta span {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.resource-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.resource-link:hover {
    color: var(--primary-dark);
}

.resources-cta, .portfolio-cta {
    text-align: center;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-top: 4rem;
}

.resources-cta h2, .portfolio-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resources-cta p, .portfolio-cta p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.contact-benefits {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-benefits h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-benefits ul {
    list-style: none;
}

.contact-benefits ul li {
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.contact-methods {
    margin: 2rem 0;
}

.contact-urgency {
    background: var(--gradient-1);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.contact-urgency h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.contact-urgency p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
}

.form-intro {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.125rem;
    width: 100%;
}

.form-note {
    text-align: center;
    color: var(--text-light);
    font-size: 0.875rem;
    margin-top: 1rem;
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }

    .services-detail-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .resources-grid {
        grid-template-columns: 1fr;
    }

    .approach-grid {
        grid-template-columns: 1fr;
    }

    .service-detail-card {
        padding: 2rem;
    }
}

