/* DataMaglia Website Styles */

/* ============= RESET & BASE STYLES ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: #666;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 2rem;
}

/* ============= CONTAINER & LAYOUT ============= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

/* ============= BUTTONS ============= */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border-color: #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

/* ============= NAVIGATION ============= */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo a {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #667eea;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* ============= HERO SECTION ============= */
.hero {
    padding: 8rem 0 5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.hero-title {
    color: #333;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 2.2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-graphic {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.hero-graphic i {
    font-size: 5rem;
    color: white;
}

/* ============= PAGE HERO ============= */
.page-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 8rem 0 4rem;
}

.page-hero-content h1 {
    margin-bottom: 1rem;
}

.page-hero-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ============= VALUE PROPOSITION ============= */
.value-prop {
    padding: 5rem 0;
    background: white;
}

.value-prop h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.value-icon i {
    font-size: 2rem;
    color: white;
}

.value-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* ============= SERVICES PREVIEW ============= */
.services-preview {
    padding: 5rem 0;
    background: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    margin: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.services-cta {
    text-align: center;
}

/* ============= INDUSTRIES ============= */
.industries {
    padding: 5rem 0;
    background: white;
}

.industries h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.industry-item {
    text-align: center;
    padding: 2rem;
}

.industry-item i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.industry-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.industry-item p {
    color: #666;
}

/* ============= SERVICE DETAIL SECTIONS ============= */
.service-detail {
    padding: 5rem 0;
    background: white;
}

.service-detail.alternate {
    background: #f8f9fa;
}

.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-detail.alternate .service-content {
    grid-template-columns: 1fr 2fr;
}

.service-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-text h2 i {
    color: #667eea;
}

.service-intro {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 2rem;
}

.service-features h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.service-features li {
    padding: 0.75rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
    border-bottom: 1px solid #eee;
}

.service-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.service-features strong {
    color: #333;
}

.service-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-graphic {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.service-graphic i {
    font-size: 4rem;
    color: white;
}

/* ============= OUTCOMES & STATS ============= */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.outcome {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.outcome i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.outcome h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.outcome p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ============= TECH STACK ============= */
.tech-stack {
    margin-top: 2rem;
}

.tech-categories {
    display: grid;
    gap: 1rem;
}

.tech-category {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.tech-category h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tech-tags {
    color: #667eea;
    font-weight: 500;
}

/* ============= AI APPLICATIONS ============= */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.application {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.application i {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.application h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.application p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ============= SCALING STATS ============= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat-item h4 {
    font-size: 2rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ============= ADDITIONAL SERVICES ============= */
.additional-services {
    padding: 5rem 0;
    background: #f8f9fa;
}

.additional-services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.additional-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.additional-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.additional-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.additional-item h3 {
    color: #333;
    margin-bottom: 1rem;
}

.additional-item p {
    color: #666;
    margin: 0;
}

/* ============= ENGAGEMENT MODELS ============= */
.engagement-models {
    padding: 5rem 0;
    background: white;
}

.engagement-models h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.models-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.model-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    border: 2px solid #eee;
    text-align: center;
    transition: all 0.3s ease;
}

.model-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.2);
}

.model-card:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.model-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.model-icon i {
    font-size: 1.5rem;
    color: white;
}

.model-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.model-duration {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.model-card ul {
    text-align: left;
    margin-bottom: 1.5rem;
}

.model-card li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.model-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.model-ideal {
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
    margin: 0;
}

/* ============= TEAM SECTION ============= */
.team-section {
    padding: 5rem 0;
    background: white;
}

.team-section h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.team-intro {
    text-align: center;
    font-size: 1.125rem;
    color: #666;
    margin-bottom: 4rem;
}

.team-grid {
    display: grid;
    gap: 4rem;
}

.team-member {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    padding: 3rem;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.member-photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.member-photo i {
    font-size: 8rem;
    color: #667eea;
}

.member-info h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.member-title {
    color: #667eea;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.member-bio {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.member-highlights,
.member-expertise,
.member-experience,
.member-education,
.member-tech-stack,
.member-recognition {
    margin-bottom: 2rem;
}

.member-highlights h4,
.member-expertise h4,
.member-experience h4,
.member-education h4,
.member-tech-stack h4,
.member-recognition h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.member-highlights ul,
.member-recognition ul {
    list-style: none;
}

.member-highlights li,
.member-recognition li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.member-highlights li::before,
.member-recognition li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tags span {
    background: white;
    color: #667eea;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid #667eea;
}

.experience-list {
    display: grid;
    gap: 1rem;
}

.exp-item {
    padding: 1rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.exp-item strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

.tech-expertise {
    display: grid;
    gap: 1rem;
}

.tech-area {
    padding: 1rem;
    background: white;
    border-radius: 8px;
}

.tech-area strong {
    color: #333;
    display: block;
    margin-bottom: 0.5rem;
}

/* ============= COMPANY STORY ============= */
.company-story {
    padding: 5rem 0;
    background: #f8f9fa;
}

.story-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.story-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.story-text p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.story-stats {
    display: grid;
    gap: 2rem;
}

.stat-highlight {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-highlight h3 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-highlight p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

/* ============= VALUES SECTION ============= */
.values-section {
    padding: 5rem 0;
    background: white;
}

.values-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

/* ============= APPROACH SECTION ============= */
.approach-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.approach-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.approach-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.approach-steps {
    display: grid;
    gap: 2rem;
}

.approach-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    align-items: start;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.step-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: #666;
    margin: 0;
}

.approach-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.approach-graphic {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.3);
}

.approach-graphic i {
    font-size: 4rem;
    color: white;
}

/* ============= INDUSTRIES EXPERTISE ============= */
.industries-expertise {
    padding: 5rem 0;
    background: white;
}

.industries-expertise h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
}

.industries-expertise > p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

.industries-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.industry-highlight {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.industry-highlight:hover {
    transform: translateY(-5px);
}

.industry-highlight i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.industry-highlight h3 {
    color: #333;
    margin-bottom: 1rem;
}

.industry-highlight p {
    color: #666;
    margin: 0;
}

/* ============= CONTACT SECTION ============= */
.contact-section {
    padding: 5rem 0;
    background: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.contact-intro {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    align-items: start;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon i {
    font-size: 1.5rem;
    color: white;
}

.method-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.method-content p {
    color: #667eea;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.method-content small {
    color: #888;
}

.response-time h3 {
    color: #333;
    margin-bottom: 1rem;
}

.response-time ul {
    list-style: none;
}

.response-time li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.response-time li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

.response-time strong {
    color: #333;
}

/* ============= CONTACT FORM ============= */
.contact-form-section {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 16px;
}

.contact-form h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form > p {
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-group {
    display: grid;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: #666;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    position: relative;
}

.form-note {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.form-note i {
    color: #667eea;
}

/* ============= FAQ SECTION ============= */
.faq-section {
    padding: 5rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    margin: 0;
    line-height: 1.6;
}

/* ============= CTA SECTIONS ============= */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.final-cta {
    padding: 5rem 0;
    background: #f8f9fa;
    text-align: center;
}

.final-cta-content h2 {
    color: #333;
    margin-bottom: 1rem;
}

.final-cta-content p {
    color: #666;
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.cta-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-stat {
    text-align: center;
}

.cta-stat h3 {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.cta-stat p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* ============= FOOTER ============= */
.footer {
    background: #2d3748;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: white;
    margin-bottom: 1rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #a0aec0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #a0aec0;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #4a5568;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #667eea;
}

.social-links i {
    font-size: 1.2rem;
}

.footer-bottom {
    border-top: 1px solid #4a5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
}

/* ============= RESPONSIVE DESIGN ============= */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-detail.alternate .service-content {
        grid-template-columns: 1fr;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
    }

    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .additional-grid {
        grid-template-columns: 1fr;
    }

    .models-grid {
        grid-template-columns: 1fr;
    }

    .model-card.featured {
        transform: none;
    }

    .team-member {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .story-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .industries-showcase {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .page-hero {
        padding: 6rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .expertise-tags {
        justify-content: center;
    }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-image {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* ============= ACCESSIBILITY ============= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border-color: #000;
    }

    .btn-secondary {
        background: #fff;
        color: #000;
        border-color: #000;
    }
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .final-cta {
        display: none;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        padding: 2rem 0;
    }

    .section {
        padding: 2rem 0;
    }
}