/* ========================================
   Patna Mobile First CSS - App Like Design
   Mobile First Approach - Base Styles
======================================== */

/* App-like Global Styles */
* {
    -webkit-tap-highlight-color: transparent;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hero Section - Mobile First App Style */
.seo-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 120px 0 35px;
    color: white;
    position: relative;
    overflow: hidden;
}

.seo-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.seo-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.seo-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    letter-spacing: -0.5px;
}

.seo-hero-subtitle {
    font-size: 1rem;
    margin-bottom: 12px;
    font-weight: 600;
    opacity: 0.95;
}

.seo-hero-description {
    font-size: 0.95rem;
    margin-bottom: 28px;
    opacity: 0.9;
    line-height: 1.6;
    padding: 0 10px;
}

.hero-cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    padding: 0 10px;
}

.hero-cta-btn {
    background: white;
    color: #667eea;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: none;
    cursor: pointer;
}

.hero-cta-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero-cta-btn.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    box-shadow: none;
}

.hero-cta-btn.secondary:active {
    background: rgba(255,255,255,0.1);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
    padding: 0 10px;
}

.hero-stat {
    text-align: center;
    flex: 1;
    min-width: 90px;
}

.hero-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    display: block;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.8rem;
    opacity: 0.9;
    margin-top: 4px;
}

/* Why Choose Section - App Like Cards */
.why-choose-seo {
    padding: 40px 0;
    background: #f5f7fa;
}

.why-choose-seo .section-title {
    padding: 0 20px;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.why-choose-seo p {
    padding: 0 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.5;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding: 0 16px;
}

.why-choose-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.why-choose-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.why-choose-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.why-choose-icon i {
    font-size: 2rem;
    color: white;
}

.why-choose-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.why-choose-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    padding: 0;
    text-align: left;
    margin: 0;
}

/* About Section - Mobile First */
.about-seo-section {
    padding: 40px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
    padding: 0 20px;
}

.about-image {
    position: relative;
    order: 2;
}

.about-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.about-text {
    order: 1;
}

.about-text h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.about-text p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-features {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.about-features li {
    padding: 14px 0;
    font-size: 0.95rem;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.about-features li:last-child {
    border-bottom: none;
}

.about-features li i {
    color: #667eea;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-features li span {
    flex: 1;
    line-height: 1.5;
}

/* Services Section - App Style */
.services {
    padding: 40px 0;
    background: #f5f7fa;
}

.services .section-title {
    padding: 0 20px;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.services-section-seo {
    padding: 40px 0;
    background: #f5f7fa;
}

.services-section-seo .section-title {
    padding: 0 20px;
    font-size: 1.5rem;
}

.services-section-seo > p {
    padding: 0 20px;
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 28px;
    line-height: 1.5;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
}

.service-card:active {
    transform: scale(0.98);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.service-icon i {
    font-size: 1.75rem;
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.service-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* CTA Sections - Mobile First */
.cta-seo-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    color: white;
}

.cta-seo-section .container {
    padding: 0 20px;
}

.cta-seo-section h2 {
    font-size: 1.6rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.cta-seo-section p {
    font-size: 1rem;
    margin-bottom: 28px;
    opacity: 0.95;
    line-height: 1.5;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.cta-buttons .hero-cta-btn {
    max-width: 100%;
}

/* FAQ Section - Mobile First */
.faq-section-seo {
    padding: 40px 0;
    background: white;
}

.faq-section-seo .section-title,
.faq-section-seo .section-subtitle {
    padding: 0 20px;
}

.faq-container-seo {
    padding: 0 20px;
    margin-top: 32px;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
}

.faq-question h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    flex: 1;
    text-align: left;
    line-height: 1.4;
}

.faq-question i {
    color: #667eea;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-left: 12px;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 18px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Section Subtitle */
.section-subtitle-seo {
    text-align: center;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 28px;
    padding: 0 20px;
    line-height: 1.5;
}

/* Service Book Links */
.service-book-link {
    margin-top: 12px;
    display: inline-block;
    color: #667eea;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.service-book-link:active {
    transform: translateX(3px);
    color: #764ba2;
}

.service-book-link i {
    margin-left: 6px;
    transition: all 0.2s ease;
    font-size: 0.85rem;
}

/* About CTA Wrapper */
.about-cta-wrapper {
    margin-top: 24px;
}

.about-cta-wrapper .hero-cta-btn {
    display: inline-flex;
    max-width: 100%;
}

/* Why Choose CTA Wrapper */
.why-choose-cta-wrapper {
    text-align: center;
    margin-top: 32px;
    padding: 0 20px;
}

.why-choose-cta-wrapper .hero-cta-btn {
    display: inline-flex;
    max-width: 100%;
}

/* Dark CTA Section */
.cta-seo-dark {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
}

.cta-footer-text {
    margin-top: 24px;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

/* Container Improvements */
.container {
    max-width: 100%;
    padding: 0 16px;
}

/* Section Title Improvements */
.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}

/* Utility Classes for Mobile */
.mobile-center {
    text-align: center;
}

.mobile-full-width {
    width: 100%;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Touch Improvements */
a, button {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.1);
}

/* App-like Spacing */
section {
    margin: 0;
}

/* Improve readability on mobile */
p, li {
    line-height: 1.6;
}

/* Better focus states for accessibility */
.hero-cta-btn:focus,
.service-book-link:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Book Now Section - Mobile First */
.book-now-seo-section {
    padding: 40px 0;
    background: white;
}

.book-now-seo-section .section-title {
    padding: 0 20px;
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.book-now-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding: 0 16px;
}

.book-now-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s ease;
    border: 1px solid #f0f0f0;
    text-align: center;
}

.book-now-card:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.book-now-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.book-now-icon i {
    font-size: 1.75rem;
    color: white;
}

.book-now-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 700;
}

.book-now-card p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.book-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.book-now-btn:active {
    transform: scale(0.98);
}

.book-now-btn.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
    box-shadow: none;
}

.book-now-btn.secondary:active {
    background: rgba(102, 126, 234, 0.1);
}

.book-now-location-info {
    margin-top: 32px;
    padding: 0 16px;
}

.location-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 16px;
    padding: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.location-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-card h3 i {
    font-size: 1.5rem;
}

.location-card p {
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.6;
    opacity: 0.95;
}

.location-card p strong {
    font-weight: 700;
    opacity: 1;
}

.location-card a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 20px;
    }
}
