/* azad_fa.css */

/* General Section Styling */
.section-azad {
    padding: 4rem 1rem;
    text-align: center;
}

.section-azad.bg-light {
    background-color: #f8f9fa;
}

.section-azad.bg-white {
    background-color: white;
}

.section-title-azad {
    font-size: 1.9rem;
    color: #2c3e50;
    margin-bottom: 2.8rem;
    position: relative;
    display: inline-block;
}

.section-title-azad::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -8px;
    width: 70px;
    height: 4px;
    background: linear-gradient(to right, #004085, #0056b3);
    border-radius: 2px;
}

/* Hero Section */
.hero-azad {
    background: linear-gradient(135deg, #004085, #0056b3);
    color: white;
    padding: 5.5rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 85px;
}

.hero-azad::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    pointer-events: none;
}

.hero-content-azad h1 {
    font-size: 2.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    color: white;
}

.hero-content-azad p {
    font-size: 1.05rem;
    margin-bottom: 2.2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2.2;
}

.hero-cta-azad {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.cta-button-azad {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.cta-button-azad.primary {
    background-color: #28a745;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button-azad.primary:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.cta-button-azad.secondary {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-button-azad.secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

/* Services Grid */
.services-grid-azad {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card-azad {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e0e0e0;
}

.service-card-azad:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

.service-card-azad i {
    font-size: 2.8rem;
    color: #004085;
    margin-bottom: 1.2rem;
}

.service-card-azad h3 {
    font-size: 1.35rem;
    color: #2c3e50;
    margin-bottom: 0.8rem;
}

.service-card-azad p {
    font-size: 0.92rem;
    color: #666;
    line-height: 2;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.service-link-azad {
    display: inline-block;
    background-color: #0056b3;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.service-link-azad:hover {
    background-color: #004085;
}

/* Journals Section */
.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.8rem;
    max-width: 1200px;
    margin: 0 auto;
}

.journal-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    text-align: right;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

.journal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.journal-card h4 {
    font-size: 1.15rem;
    color: #004085;
    margin-bottom: 0.7rem;
}

.journal-card p {
    font-size: 0.88rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 0.4rem;
}

.journal-card ul {
    list-style: none;
    padding: 0;
    margin-top: 0.8rem;
    text-align: right;
}

.journal-card ul li {
    margin-bottom: 0.4rem;
    color: #444;
    font-size: 0.85rem;
    line-height: 1.6;
}

.journal-card ul li i {
    color: #28a745;
    margin-left: 0.5rem;
}

/* Tips Section */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.tip-item {
    background: #e0f2f7;
    border-left: 5px solid #0056b3;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: right;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.tip-item:hover {
    transform: translateY(-3px);
}

.tip-item h4 {
    font-size: 1.1rem;
    color: #004085;
    margin-bottom: 0.6rem;
}

.tip-item p {
    font-size: 0.85rem;
    color: #444;
    line-height: 1.8;
}

/* FAQ Section */
.faq-section-azad {
    padding: 3.5rem 1rem;
    background-color: white;
    max-width: 850px;
    margin: 0 auto;
}

.faq-item-azad {
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 0;
    text-align: right;
}

.faq-question-azad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    font-size: 1rem;
}

.faq-question-azad i {
    transition: transform 0.3s ease;
    color: #0056b3;
}

.faq-question-azad.active i {
    transform: rotate(180deg);
}

.faq-answer-azad {
    padding-top: 0.8rem;
    color: #555;
    line-height: 1.9;
    display: none;
    text-align: justify;
    font-size: 0.9rem;
}

/* Top Branches Section */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.2rem;
    max-width: 900px;
    margin: 0 auto;
}

.branch-item {
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.03);
    padding: 0.8rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.branch-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.branch-item h5 {
    font-size: 0.95rem;
    color: #004085;
    margin-bottom: 0.3rem;
}

.branch-item p {
    font-size: 0.8rem;
    color: #666;
}

/* CTA Banner Section */
.cta-banner-azad {
    background: linear-gradient(90deg, #004085, #0056b3);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.cta-banner-azad h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: white;
}

.cta-banner-azad p {
    font-size: 1rem;
    margin-bottom: 1.8rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 2;
}

.contact-buttons-azad {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.contact-button-azad {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1.3rem;
    border-radius: 6px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.contact-button-azad i {
    font-size: 1.2rem;
}

.contact-button-azad.whatsapp {
    background-color: #25D366;
}
.contact-button-azad.whatsapp:hover {
    background-color: #1DA851;
    transform: translateY(-2px);
}

.contact-button-azad.telegram {
    background-color: #0088cc;
}
.contact-button-azad.telegram:hover {
    background-color: #006699;
    transform: translateY(-2px);
}

.contact-button-azad.eitaa {
    background-color: #7b1fa2;
}
.contact-button-azad.eitaa:hover {
    background-color: #5d0f81;
    transform: translateY(-2px);
}

.contact-button-azad.form {
    background-color: #f39c12;
}
.contact-button-azad.form:hover {
    background-color: #e67e22;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .hero-content-azad h1 {
        font-size: 1.7rem;
    }

    .hero-content-azad p {
        font-size: 0.9rem;
    }

    .cta-button-azad {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .section-title-azad {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .service-card-azad, .journal-card, .tip-item, .branch-item {
        padding: 1rem;
    }

    .service-card-azad i {
        font-size: 2.5rem;
    }

    .service-card-azad h3 {
        font-size: 1.2rem;
    }

    .service-card-azad p {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    .journal-card h4 {
        font-size: 1.05rem;
    }
    .journal-card p {
        font-size: 0.8rem;
        line-height: 1.7;
    }
    .journal-card ul li {
        font-size: 0.8rem;
    }

    .tip-item h4 {
        font-size: 1rem;
    }
    .tip-item p {
        font-size: 0.8rem;
        line-height: 1.7;
    }

    .faq-question-azad {
        font-size: 0.95rem;
    }
    .faq-answer-azad {
        font-size: 0.85rem;
        line-height: 1.8;
    }

    .branch-item h5 {
        font-size: 0.9rem;
    }

    .cta-banner-azad h2 {
        font-size: 1.5rem;
    }

    .cta-banner-azad p {
        font-size: 0.95rem;
        line-height: 1.8;
    }

    .contact-button-azad {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    .contact-button-azad i {
        font-size: 1.1rem;
    }
}

@media (min-width: 768px) {
    .hero-azad {
        padding: 6.5rem 2rem;
    }

    .hero-content-azad h1 {
        font-size: 2.5rem;
    }

    .hero-content-azad p {
        font-size: 1.05rem;
    }

    .section-title-azad {
        font-size: 2rem;
    }

    .services-grid-azad {
        grid-template-columns: repeat(2, 1fr);
    }

    .journals-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .hero-azad {
        padding: 8rem 3rem;
    }

    .hero-content-azad h1 {
        font-size: 2.8rem;
    }

    .hero-content-azad p {
        font-size: 1.15rem;
    }

    .section-title-azad {
        font-size: 2.2rem;
    }

    .services-grid-azad {
        grid-template-columns: repeat(3, 1fr);
    }

    .journals-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tips-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .branches-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-buttons-azad {
        gap: 1.5rem;
    }
} 