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

:root {
    --primary-color: #0066cc;
    --primary-dark: #0052a3;
    --secondary-color: #f8f9fa;
    --dark-bg: #1a1a2e;
    --light-bg: #f5f7fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --border-color: #e0e0e0;
    --highlight-color: #00d4ff;
    --success-color: #28a745;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

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

/* Navigation */
.navbar {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    text-transform: lowercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    display: block;
}

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

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -50px;
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 30px;
    min-width: 800px;
    border-radius: 8px;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    display: grid;
}

.dropdown-section h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-section a {
    display: block;
    padding: 8px 0;
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s, padding-left 0.3s;
}

.dropdown-section a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.nav-cta {
    display: flex;
    gap: 15px;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: 0.3s;
}

/* Buttons */
.btn {
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,102,204,0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

.btn-large {
    padding: 16px 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 120px 0;
    text-align: center;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--highlight-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-description {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

/* Sections */
.section {
    padding: 100px 0;
}

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

.section-dark {
    background: var(--dark-bg);
    color: var(--white);
}

.section-white {
    background: var(--white);
}

.section-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-light);
    margin-bottom: 15px;
    font-weight: 600;
}

.section-dark .section-label {
    color: var(--highlight-color);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.section-dark .section-title,
.section-cta .section-title {
    color: var(--white);
}

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

.section-description {
    font-size: 18px;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
}

.section-dark .section-description {
    color: rgba(255,255,255,0.8);
}

.section-cta .section-description {
    color: rgba(255,255,255,0.9);
}

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

/* Feature Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    font-size: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.stat-card {
    text-align: center;
    padding: 30px;
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--highlight-color);
}

.stat-card p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* Performance Grid */
.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.performance-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.performance-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.performance-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

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

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

/* Case Studies */
.case-studies {
    display: grid;
    gap: 50px;
    margin-top: 60px;
}

.case-study {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.case-study-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 40px;
}

.case-study-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.2);
    border-radius: 4px;
    margin-bottom: 15px;
}

.case-study-header h3 {
    font-size: 28px;
    line-height: 1.3;
}

.case-study-content {
    padding: 40px;
}

.case-study-section {
    margin-bottom: 30px;
}

.case-study-section h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.case-study-section ul {
    margin-left: 20px;
}

.case-study-section li {
    margin-bottom: 8px;
    color: var(--text-light);
}

.case-study-metrics {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 8px;
}

.metric {
    text-align: center;
}

.metric-label {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.metric-value {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
}

.case-study-tech {
    margin: 30px 0;
}

.tech-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.tech-tag {
    padding: 8px 16px;
    background: var(--light-bg);
    border-radius: 20px;
    font-size: 14px;
    color: var(--text-dark);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin: 60px 0;
}

.testimonial-card {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-header {
    margin-bottom: 20px;
}

.testimonial-category {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.testimonial-card h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.testimonial-points {
    list-style: none;
}

.testimonial-points li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 12px;
    color: var(--text-light);
}

.testimonial-points li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.testimonial-quote {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 12px;
    margin-top: 40px;
    border-left: 4px solid var(--primary-color);
}

.testimonial-quote p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-about .logo {
    color: var(--white);
    font-size: 32px;
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
    line-height: 1.8;
}

.footer-tagline {
    font-style: italic;
    font-size: 14px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

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

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

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

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Page Header for Sub-pages */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.page-header p {
    font-size: 20px;
    opacity: 0.9;
}

/* Content Section for Sub-pages */
.content-section {
    padding: 80px 0;
}

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

.content-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.content-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.content-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-card ul {
    margin-left: 20px;
    color: var(--text-light);
}

.content-card li {
    margin-bottom: 10px;
}

/* FAQ Styles */
.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 25px;
    background: var(--white);
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--light-bg);
}

.faq-question::after {
    content: "+";
    font-size: 24px;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-answer-content {
    padding: 0 25px 25px 25px;
    color: var(--text-light);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .dropdown-menu {
        position: static;
        display: none;
        min-width: auto;
        grid-template-columns: 1fr;
        box-shadow: none;
        padding: 20px 0;
        background: var(--light-bg);
    }

    .dropdown.active .dropdown-menu {
        display: grid;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .stats-grid,
    .performance-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .case-study-metrics {
        flex-direction: column;
        gap: 20px;
    }

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

/* Team Page Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-grid-developers {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.team-member-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.team-member-image {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.team-member-image img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.team-grid-developers .team-member-image img {
    width: 150px;
    height: 150px;
}

.team-member-info h3 {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.team-member-title {
    font-size: 16px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-member-bio {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 24px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .team-grid,
    .team-grid-developers {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .team-member-image img {
        width: 150px;
        height: 150px;
    }

    .team-grid-developers .team-member-image img {
        width: 120px;
        height: 120px;
    }
}

