/* ========================================================
   1toz Services Page Stylesheet (service.css)
   Clean, Modular Styles for Services, Features, Workflow, FAQs & Ads
   ======================================================== */

:root {
    --primary: #6366f1;
    --primary-light: #eef2ff;
    --secondary: #a855f7;
    --dark: #0f172a;
    --text: #475569;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --soft-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --border: #f1f5f9;
}

/* Container & Spacing Consistency (Exactly matches Home & Portfolio) */
.otoz-container, 
.service-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
    width: 100%;
    box-sizing: border-box;
}

.otoz-section {
    padding: 90px 0;
}

/* ========================================================
   HERO / BANNER SECTION
   ======================================================== */
.services-hero {
    padding: 100px 0 70px;
    background: radial-gradient(circle at top right, #f5f3ff, #ffffff);
    text-align: center;
    position: relative;
}

.services-hero-tag {
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    display: inline-block;
}

.services-hero h1 {
    font-size: 52px;
    line-height: 1.15;
    margin-bottom: 20px;
    font-weight: 800;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    letter-spacing: -0.02em;
}

.services-hero h1 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-hero p {
    font-size: 18px;
    color: var(--text);
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* ========================================================
   CATEGORY FILTER BAR
   ======================================================== */
.services-filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.filter-btn:hover, 
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.25);
}

/* ========================================================
   SERVICES GRID & CARDS
   ======================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    padding: 38px;
    position: relative;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--soft-shadow);
    border-color: var(--primary);
}

.service-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f59e0b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-icon {
    height: 60px;
    width: 60px;
    background: var(--primary-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--gradient);
    color: var(--white);
    transform: scale(1.05);
}

.service-category-tag {
    font-size: 11px;
    font-weight: 700;
    color: #8b5cf6;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.service-card p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 22px;
    flex-grow: 1;
    line-height: 1.6;
}

.service-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px dashed #e2e8f0;
}

.service-features-list {
    margin-bottom: 26px;
    list-style: none;
    padding: 0;
}

.service-features-list li {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-features-list li i {
    color: #10b981;
    font-size: 13px;
    flex-shrink: 0;
}

.service-card-btn {
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    display: block;
    background: var(--light-bg);
    color: var(--dark);
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid #e2e8f0;
}

.service-card:hover .service-card-btn {
    background: var(--gradient);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.25);
}

/* ========================================================
   AD BANNER SECTION
   ======================================================== */
.otoz-ad-section {
    padding: 35px 0;
    background: transparent;
}

.otoz-ad-wrapper {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.otoz-ad-content {
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    padding: 28px 36px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.03);
}

.otoz-ad-content:hover {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

.ad-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-bottom-left-radius: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-left: 1px solid rgba(99, 102, 241, 0.15);
    border-bottom: 1px solid rgba(99, 102, 241, 0.15);
}

.ad-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-top: 5px;
}

.ad-info {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: 1;
}

.ad-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--primary);
    flex-shrink: 0;
}

.ad-text h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 19px;
    color: var(--dark);
    margin-bottom: 4px;
    font-weight: 700;
}

.ad-text p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

.ad-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.ad-price-tag {
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    background: #fdf4ff;
    padding: 4px 12px;
    border-radius: 50px;
}

.btn-ad-cta {
    background: var(--gradient);
    color: #ffffff !important;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 18px rgba(99, 102, 241, 0.2);
}

.btn-ad-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(99, 102, 241, 0.3);
}

.responsive-ad-img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
    transition: transform 0.3s;
}

.responsive-ad-img:hover {
    transform: scale(1.01);
}

/* Dynamic Carousel Ad Slides */
.otoz-ad-carousel-frame {
    position: relative;
    width: 100%;
    min-height: 180px;
}

.otoz-ad-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.otoz-ad-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* ========================================================
   WHY CHOOSE US / FEATURES SECTION
   ======================================================== */
.features-section {
    background: var(--light-bg);
    border-radius: 36px;
    padding: 70px 45px;
    margin: 40px 0;
    border: 1px solid #e2e8f0;
}

.features-section-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.features-content h2 {
    font-size: 38px;
    margin-bottom: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    font-weight: 800;
}

.features-content h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-content p {
    font-size: 16px;
    margin-bottom: 30px;
    color: var(--text);
    line-height: 1.6;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.feature-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon-wrapper {
    height: 48px;
    width: 48px;
    border-radius: 14px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 17px;
    margin-bottom: 4px;
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.feature-info p {
    font-size: 14px;
    margin: 0;
    color: var(--text);
}

.features-illustration img {
    width: 100%;
    max-width: 460px;
    border-radius: 24px;
    box-shadow: var(--soft-shadow);
    border: 1px solid #e2e8f0;
}

/* ========================================================
   WORKFLOW / PROCESS SECTION
   ======================================================== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 38px;
    margin-bottom: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    color: var(--dark);
}

.section-title h2 span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title p {
    font-size: 16px;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 26px;
}

.process-card {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 35px 28px;
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
}

.process-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: var(--soft-shadow);
}

.process-number {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.process-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--dark);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

.process-card p {
    font-size: 14px;
    margin-bottom: 0;
    color: var(--text);
    line-height: 1.5;
}

/* ========================================================
   ACCORDION FAQ SECTION
   ======================================================== */
.faq-section {
    background: #fafafa;
}

.faq-container {
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    padding: 20px 26px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark);
    font-size: 16px;
    user-select: none;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-arrow {
    transition: transform 0.3s ease;
    color: var(--text);
    font-size: 14px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--white);
    border-top: 0px solid #e2e8f0;
}

.faq-answer p {
    padding: 0 26px 20px;
    color: var(--text);
    font-size: 14.5px;
    margin: 0;
    line-height: 1.6;
}

.faq-item.active {
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.06);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    border-top: 1px solid #f1f5f9;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

/* ========================================================
   CTA BANNER SECTION
   ======================================================== */
.cta-banner {
    background: var(--gradient);
    padding: 70px 40px;
    border-radius: 32px;
    color: var(--white);
    text-align: center;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.cta-banner h2 {
    color: var(--white) !important;
    font-size: 40px !important;
    margin-bottom: 14px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
}

.cta-banner p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-white {
    background: var(--white);
    color: var(--primary) !important;
    padding: 12px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-trans {
    border: 2px solid var(--white);
    color: var(--white) !important;
    padding: 10px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-trans:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 1024px) {
    .features-section-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .features-illustration {
        order: -1;
    }
    .services-hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 991px) {
    .ad-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .ad-actions {
        align-items: flex-start;
        width: 100%;
    }
    .btn-ad-cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .otoz-section {
        padding: 60px 0;
    }
    .services-hero {
        padding: 130px 0 50px;
    }
    .services-hero h1 {
        font-size: 32px;
    }
    .service-card {
        padding: 28px;
    }
    .features-section {
        padding: 45px 25px;
        border-radius: 24px;
    }
    .cta-banner {
        padding: 50px 25px;
        border-radius: 24px;
    }
    .cta-banner h2 {
        font-size: 28px !important;
    }
    .otoz-ad-content {
        padding: 30px 20px 22px;
    }
    .ad-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .ad-text h3 {
        font-size: 18px;
    }
}