/* ===============================================
   Home Page Specific Styles (RTL)
   =============================================== */

/* ===============================================
   1. Hero/Slider Section - Home Specific
   =============================================== */
.slider {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #dbeafe 100%);
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.slider::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(45, 122, 62, 0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.slider h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    color: #2d7a3e;
    margin-bottom: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.slider p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: #1e5a2d;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons .btn {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
}

.cta-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   2. Landing Links & Services Section
   =============================================== */
.landing-links,
.services-section,
.portfolio-section,
.audio-section,
.indexing-section {
    padding: 4rem 1.5rem;
    background: #ffffff;
}

.services-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
}

.landing-links h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2d7a3e;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.landing-links h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 50%;
    transform: translateX(50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #2d7a3e 0%, #48bb78 100%);
    border-radius: 2px;
}

/* ===============================================
   3. Service Cards
   =============================================== */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    position: relative;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d7a3e 0%, #48bb78 100%);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(45, 122, 62, 0.15);
    border-color: #2d7a3e;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card .card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.service-card:hover .card-image {
    transform: scale(1.05);
}

.service-card .card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

.service-card p {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    flex: 1;
}

.service-card i {
    font-size: 2rem;
    color: #2d7a3e;
    margin-bottom: 0.5rem;
}

/* ===============================================
   4. Button Styles - Extended
   =============================================== */
.btn-primary {
    background: #2d7a3e;
    color: white;
}

.btn-primary:hover {
    background: #1e5a2d;
}

.btn-success {
    background: #22c55e;
    color: white;
}

.btn-success:hover {
    background: #16a34a;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-telegram {
    background: #0088cc;
    color: white;
}

.btn-telegram:hover {
    background: #006699;
}

.btn-danger {
    background: #f31264;
    color: white;
}

.btn-danger:hover {
    background: #c10d4f;
}

.btn-info {
    background: #148da2;
    color: white;
}

.btn-info:hover {
    background: #0e6b7d;
}

.btn i {
    margin-left: 0.5rem;
}

/* ===============================================
   5. Service Box Section & Process Steps
   =============================================== */
.service-box {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 4rem 1.5rem;
    margin: 3rem 0;
}

.process-step {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(45, 122, 62, 0.1);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(45, 122, 62, 0.15);
    border-color: #2d7a3e;
}

.service-box h2 {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2d7a3e;
    margin-bottom: 3rem;
    font-weight: 700;
}

.service-box .col-md-4 {
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.service-box .col-md-4:hover {
    transform: translateY(-5px);
}

.service-box i {
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.service-box h3 {
    font-size: 1.125rem;
    color: #1e293b;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-box p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.orange { color: #f59e0b; }
.red { color: #ef4444; }
.green { color: #22c55e; }

/* ===============================================
   6. Audio Section
   =============================================== */
.audio-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4rem 1.5rem;
}

.audio-player-wrapper {
    max-width: 700px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.audio-player {
    width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 8px;
}

.audio-caption {
    text-align: center;
}

.audio-info {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.audio-info i {
    color: #2d7a3e;
    margin-left: 0.25rem;
}

.audio-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===============================================
   7. Indexing/Logos Section
   =============================================== */
.indexing-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    padding: 4rem 1.5rem;
}

.section-description {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
}

.logo-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #2d7a3e;
}

/* ===============================================
   8. Guaranteed Publication Section
   =============================================== */
.guaranteed-publication-section {
    background: linear-gradient(135deg, #1e5a2d 0%, #2d7a3e 50%, #3d9a4e 100%);
    padding: 4rem 2rem;
    margin: 3rem 0;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.important-note {
    background: rgba(255, 255, 255, 0.15);
    color: #fef3c7;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1.5rem auto;
    max-width: 600px;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.important-note i {
    font-size: 1.25rem;
    color: #fde68a;
}

.guaranteed-publication-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
}

.guaranteed-publication-content {
    position: relative;
    z-index: 1;
}

.guaranteed-publication-section h2 {
    color: #ffffff;
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.guaranteed-publication-section h2 i {
    vertical-align: middle;
    margin-left: 0.5rem;
}

.guaranteed-publication-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.05rem;
    line-height: 1.8;
}

.guaranteed-publication-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.guaranteed-publication-cta .btn {
    padding: 1rem 1.75rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.guaranteed-publication-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

/* ===============================================
   9. Featured Pages & Fields Section
   =============================================== */
.featured-pages-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 4rem 1.5rem;
}

.fields-section {
    background: linear-gradient(135deg, #ede9fe 0%, #ddd6fe 100%);
    padding: 4rem 1.5rem;
}

/* ===============================================
   10. Portfolio/Posts Section
   =============================================== */
.portfolio-section {
    background: #f9fafb;
}

.posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1400px;
    padding: 0 1rem;
}

.post {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e5e7eb;
}

.post:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #2d7a3e;
}

.post img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #e5e7eb;
    transition: transform 0.3s ease;
}

.post:hover img {
    transform: scale(1.05);
}

.post h2 {
    font-size: 1.25rem;
    padding: 1.5rem 1.5rem 0;
    margin: 0;
    color: #1e293b;
    font-weight: 700;
    line-height: 1.4;
}

.post h2 a {
    color: inherit;
    transition: color 0.3s ease;
}

.post h2 a:hover {
    color: #2d7a3e;
}

.post .date {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post .summary-text {
    padding: 0 1.5rem 1.5rem;
    color: #475569;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* ===============================================
   7. Logos Section
   =============================================== */
.logoes {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2rem 0;
}

.logoes img {
    max-width: 140px;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logoes img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* ===============================================
   11. Company Info Section
   =============================================== */
.company-info-section {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    padding: 4rem 1.5rem;
}

.company-info-section .subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.datetime-display {
    display: inline-block;
    background: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #2d7a3e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
}

/* ===============================================
   12. Blog Posts Section
   =============================================== */
.blog-posts-section {
    background: #ffffff;
    padding: 4rem 1.5rem;
}

.blog-posts-section .posts {
    margin: 2rem auto;
}

.blog-posts-section .post {
    display: flex;
    flex-direction: column;
}

.blog-posts-section .post img {
    order: -1;
}

.blog-posts-section .no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-size: 1.125rem;
}

/* ===============================================
   13. FAQ Section
   =============================================== */
.faq-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    padding: 4rem 1.5rem;
}

.faq-controls {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 2rem auto;
    max-width: 900px;
}

#faq {
    max-width: 900px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

#faq details {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

#faq details:hover {
    border-color: #2d7a3e;
    box-shadow: 0 4px 12px rgba(45, 122, 62, 0.1);
}

#faq details[open] {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
    border-color: #2d7a3e;
}

#faq summary {
    font-weight: 600;
    font-size: 1.05rem;
    color: #1e293b;
    cursor: pointer;
    padding: 0.5rem 0 0.5rem 2.5rem;
    position: relative;
    transition: color 0.3s ease;
}

#faq summary::before {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #2d7a3e;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    transition: all 0.3s ease;
}

#faq details[open] summary::before {
    content: 'âˆ’';
    transform: translateY(-50%) rotate(0deg);
}

#faq summary:hover {
    color: #2d7a3e;
}

#faq p, #faq ul {
    margin-top: 1rem;
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
}

#faq ul {
    padding-right: 1.5rem;
}

#faq li {
    margin-bottom: 0.5rem;
}

#faq a {
    color: #2d7a3e;
    text-decoration: underline;
    transition: color 0.3s ease;
}

#faq a:hover {
    color: #1e5a2d;
}

/* FAQ Controls */
.faq-controls #search {
    flex: 1;
    min-width: 280px;
    max-width: 600px;
    padding: 0.875rem 1.25rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.faq-controls #search:focus {
    outline: none;
    border-color: #2d7a3e;
    box-shadow: 0 0 0 4px rgba(45, 122, 62, 0.1);
}

.faq-controls button {
    padding: 0.875rem 1.75rem;
    background: #2d7a3e;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.faq-controls button:hover {
    background: #1e5a2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 122, 62, 0.3);
}

.faq-controls button:active {
    transform: translateY(0);
}

/* ===============================================
   9. Responsive Design
   =============================================== */

/* Tablet */
@media (max-width: 1024px) {
    .service-cards {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.25rem;
    }
    
    .posts {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .slider {
        padding: 3rem 1.5rem;
    }
    
    .landing-links {
        padding: 3rem 1rem;
    }
    
    .landing-links h2 {
        margin-bottom: 2rem;
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .service-box {
        padding: 3rem 1rem;
    }
    
    .guaranteed-publication-section {
        padding: 3rem 1.5rem;
        margin: 2rem 0;
        border-radius: 16px;
    }
    
    .guaranteed-publication-cta {
        gap: 0.75rem;
    }
    
    .guaranteed-publication-cta .btn {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .posts {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .logoes {
        gap: 1.5rem;
    }
    
    .logoes img {
        max-width: 100px;
    }
    
    .cta-buttons {
        gap: 0.75rem;
    }
    
    .cta-buttons .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .slider h1 {
        font-size: 1.5rem;
    }
    
    .slider p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .service-card .card-image {
        height: 180px;
    }
    
    .post img {
        height: 200px;
    }
    
    .guaranteed-publication-cta {
        flex-direction: column;
    }
    
    .guaranteed-publication-cta .btn {
        width: 100%;
    }
}

/* ===============================================
   10. Utility Classes
   =============================================== */
.tc {
    text-align: center;
}

.tj {
    text-align: justify;
}

.ltr {
    direction: ltr;
}

.mt {
    margin-top: 2rem;
}

.mb {
    margin-bottom: 2rem;
}

/* ===============================================
   11. Animations
   =============================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.landing-links,
.service-box,
.guaranteed-publication-section,
.posts {
    animation: fadeInUp 0.6s ease-out backwards;
    margin:auto;
}

.landing-links:nth-of-type(1) { animation-delay: 0.1s; }
.landing-links:nth-of-type(2) { animation-delay: 0.2s; }
.landing-links:nth-of-type(3) { animation-delay: 0.3s; }
.landing-links:nth-of-type(4) { animation-delay: 0.4s; }

