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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Header and Navigation */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
    position: relative;
}

.logo-text:hover {
    transform: translateY(-2px);
}

.logo-opti {
    color: #1f2937;
    transition: color 0.3s ease;
}

.logo-my {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(10deg);
    }
}

.logo-flow {
    color: #2563eb;
    transition: color 0.3s ease;
}

.logo-text:hover .logo-opti {
    color: #6366f1;
}

.logo-text:hover .logo-flow {
    color: #8b5cf6;
}

/* Add a subtle underline effect on hover */
.logo-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #d946ef);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.logo-text:hover::after {
    width: 100%;
}

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

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #2563eb;
}

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

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

/* Hero Section - Enhanced Design */
.hero {
    min-height: 100vh;
    padding: 120px 2rem 4rem;
    background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    position: relative;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    animation: fadeInUp 0.8s ease-out;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

.badge-text {
    color: #6b7280;
    font-weight: 500;
}

.badge-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: gap 0.3s ease;
}

.badge-link:hover {
    gap: 0.5rem;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.badge-link:hover .arrow-icon {
    transform: translateX(2px);
}

/* Hero Title with Gradient */
.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.gradient-text {
    display: block;
    background: linear-gradient(135deg, #1f2937 0%, #4b5563 50%, #6b7280 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Description */
.hero-description {
    font-size: 1.25rem;
    color: #6b7280;
    line-height: 1.7;
    max-width: 650px;
    margin-bottom: 2.5rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(3px);
}

.btn-secondary:hover .btn-icon {
    transform: scale(1.1);
}



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

/* Services Section */
.services {
    padding: 5rem 0;
    background: #f8fafc;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: 0.5rem;
    transition: transform 0.3s, color 0.3s;
}

.service-link:hover {
    color: #1d4ed8;
    transform: translateX(5px);
}/* Benefi
ts Section */
.benefits {
    padding: 5rem 0;
    background: white;
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

.benefits-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.benefit-item {
    margin-bottom: 2rem;
}

.benefit-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.benefit-item p {
    color: #6b7280;
    line-height: 1.6;
}

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

.stat {
    text-align: center;
    padding: 2rem;
    background: #f0f9ff;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2563eb;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-weight: 500;
}



/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #1f2937;
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.contact-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #d1d5db;
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
}

.contact-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.contact-info li {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

.contact-details p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

/* Footer */
.footer {
    background: #111827;
    color: #9ca3af;
    text-align: center;
    padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero {
        padding-top: 140px;
        padding-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .benefits-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .services h2,
    .benefits h2,
    .contact h2 {
        font-size: 2rem;
    }
}
/* Servi
ce Detail Page Styles */
.service-detail-hero {
    padding: 140px 2rem 4rem;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    text-align: center;
}

.breadcrumb {
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s;
}

.breadcrumb a:hover {
    opacity: 0.7;
}

.breadcrumb span {
    opacity: 0.7;
}

.service-detail-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-detail-hero .lead {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* Service Overview */
.service-overview {
    padding: 4rem 0;
    background: white;
}

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

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #4b5563;
    text-align: center;
}

/* Scraping Types */
.scraping-types {
    padding: 5rem 0;
    background: #f8fafc;
}

.scraping-types h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.type-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.type-card h3 {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.type-card p {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.type-card p:last-child {
    margin-bottom: 0;
}

/* Best Practices */
.best-practices {
    padding: 5rem 0;
    background: white;
}

.best-practices h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

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

.practice-card {
    background: #f0f9ff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #2563eb;
}

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

.practice-card h3 {
    font-size: 1.25rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.practice-card p {
    color: #6b7280;
    line-height: 1.7;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1f2937;
}

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

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-item h3 {
    font-size: 1.25rem;
    color: #2563eb;
    margin-bottom: 1rem;
}

.faq-item p {
    color: #6b7280;
    line-height: 1.7;
}

/* Service CTA */
.service-cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: white;
    text-align: center;
}

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

.service-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive adjustments for service detail page */
@media (max-width: 768px) {
    .service-detail-hero h1 {
        font-size: 2rem;
    }
    
    .service-detail-hero .lead {
        font-size: 1.1rem;
    }
    
    .scraping-types h2,
    .best-practices h2,
    .faq-section h2,
    .service-cta h2 {
        font-size: 2rem;
    }
    
    .type-cards,
    .practices-grid {
        grid-template-columns: 1fr;
    }
}

/* Testing Services Specific Styles */
.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

/* Ensure testing cards look consistent */
.testing-grid .type-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testing-grid .type-card p:last-child {
    margin-top: auto;
}

/* Responsive layout for testing grid */
@media (max-width: 1200px) {
    .testing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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