/* ===== GLOBAL STYLES ===== */
.iw-counselling {
    font-family: 'Philosopher', sans-serif;
    color: #2d3748;
    line-height: 1.7;
    overflow-x: hidden;
}

.iw-arabic {
    font-family: 'Amiri', serif;
    font-size: 2.1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: #FFFFFF;
}
.iw-arabic-two {
    font-family: 'Amiri', serif;
    font-size: 2.1rem;
    line-height: 1.9;
    margin-bottom: 1.2rem;
    color: #7f1102;
}


.iw-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 0;
}

.iw-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.iw-section-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.iw-section-title {
    color: #234e52;
    font-size: 2.4rem;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.iw-section-title::after {
    content: '';
    display: block;
    width: 70%;
    height: 4px;
    background: #d4a373;
    margin: 1rem auto 0;
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.iw-hero {
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.iw-hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.iw-hero-text {
    flex: 1;
    min-width: 300px;
    padding: 2rem 0;
}

.iw-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.2rem;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.iw-subtitle {
    font-size: 1.7rem;
    margin-bottom: 2.5rem;
    color: rgba(255,255,255,0.9);
    font-weight: normal;
}

.iw-quran-verse {
    background: rgba(127, 17, 2, 0.7);
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    color: white;
    border: 2px solid rgba(212, 163, 115, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.iw-hero-illustration {
    flex: 1;
    min-width: 300px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.iw-islamic-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('islamic-pattern.png') center/contain;
    opacity: 0.15;
}

.iw-guidance-symbol {
    font-size: 12rem;
    z-index: 2;
    color: rgba(255,255,255,0.7);
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 0.7; }
}

/* ===== INTRODUCTION SECTION ===== */
.iw-intro {
    background: #f8f5f0;
    position: relative;
    padding: 5rem 0;
}

.iw-intro::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 100px;
    background: url('wave-divider.svg') top/cover;
}

.iw-assalam {
    font-size: 1.8rem;
    color: #7f1102;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.iw-intro-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.iw-prophet-saying {
    background: rgba(163, 190, 140, 0.15);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2.5rem;
    border-left: 4px solid #a3be8c;
}

/* ===== SERVICES SECTION ===== */
.iw-services {
    padding: 5rem 0;
    background: white;
}

.iw-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.iw-service-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(163, 190, 140, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.iw-service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: rgba(212, 163, 115, 0.5);
}

.iw-service-icon {
    font-size: 3.5rem;
    padding: 1.5rem 0 0.5rem;
    text-align: center;
}

.iw-service-card h3 {
    color: #234e52;
    font-size: 1.8rem;
    margin: 0.5rem 0 1rem;
    padding: 0 1.5rem;
    text-align: center;
}

.iw-service-card > p {
    padding: 0 1.5rem;
    color: #4a5568;
    text-align: center;
    min-height: 60px;
    font-size: 1.1rem;
}

.iw-service-details {
    background: #f9f9f9;
    padding: 1.8rem;
    margin-top: auto;
    border-top: 3px solid #d4a373;
    flex-grow: 1;
}

.iw-service-details h4 {
    color: #7f1102;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.iw-service-details ul {
    padding-left: 1.5rem;
    margin-bottom: 1.8rem;
}

.iw-service-details li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.iw-service-details li::before {
    content: '•';
    color: #a3be8c;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

.iw-service-meta {
    background: rgba(35, 78, 82, 0.05);
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
}

.iw-book-btn {
    display: block;
    background: #7f1102;
    color: white;
    text-align: center;
    padding: 1rem;
    margin: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(127, 17, 2, 0.3);
}

.iw-book-btn:hover {
    background: #5a0c02;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(127, 17, 2, 0.4);
}

/* ===== FEATURES SECTION ===== */
.iw-why-choose {
    background: linear-gradient(rgba(163, 190, 140, 0.1), rgba(212, 163, 115, 0.1));
    padding: 5rem 0;
}

.iw-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-top: 1rem;
}

.iw-feature {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    border-bottom: 4px solid #d4a373;
}

.iw-feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.iw-feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #234e52;
}

.iw-feature h3 {
    color: #234e52;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

/* ===== PRIVACY SECTION ===== */
.iw-privacy {
    background: #234e52;
    color: white;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.iw-privacy::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: url('wave-divider-light.svg') top/cover;
}

.iw-privacy .iw-section-title {
    color: white;
}

.iw-privacy .iw-section-title::after {
    background: #d4a373;
}

.iw-privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.iw-privacy-verse {
    background: rgba(163, 190, 140, 0.25);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 3.5rem;
    text-align: center;
    border: 2px solid rgba(212, 163, 115, 0.3);
}

.iw-privacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.iw-privacy-item {
    background: rgba(255,255,255,0.08);
    padding: 2rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 163, 115, 0.2);
}

.iw-privacy-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

/* ===== BOOKING SECTION ===== */
.iw-booking {
    padding: 6rem 0;
    background: #f8f5f0;
}

.iw-booking-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
}

.iw-booking-info {
    flex: 1;
    min-width: 300px;
}

.iw-booking-info h2 {
    color: #234e52;
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.iw-booking-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.iw-booking-text em {
    font-style: italic;
    color: #7f1102;
    font-weight: bold;
}

.iw-offers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.8rem;
    margin-top: 2rem;
}

.iw-offer-card {
    padding: 2rem 1.5rem;
    border-radius: 16px;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.iw-offer-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.iw-booking-cta {
    flex: 1;
    min-width: 300px;
}

.iw-cta-box {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 5px solid #d4a373;
}

.iw-cta-box h3 {
    color: #234e52;
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.iw-cta-btn {
    display: inline-block;
    background: #234e52;
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    margin: 1.5rem 0 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(35, 78, 82, 0.4);
}

.iw-cta-btn:hover {
    background: #163237;
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(35, 78, 82, 0.5);
}

.iw-contact-info {
    border-top: 1px dashed #d4a373;
    padding-top: 1.5rem;
    font-size: 1.1rem;
    color: #4a5568;
}

.iw-contact-info p {
    margin: 0.7rem 0;
}

/* ===== CLOSING SECTION ===== */
.iw-closing {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #234e52, #163237);
    color: white;
    text-align: center;
}

.iw-closing-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.iw-closing-text {
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
}

.iw-barak {
    font-family: 'Amiri', serif;
    font-size: 2rem;
    margin-top: 1.5rem;
    color: #d4a373;
}

.iw-islamic-art {
    position: relative;
    height: 100px;
    margin-top: 3rem;
}

.iw-art-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('islamic-border.svg') center/contain repeat-x;
    opacity: 0.3;
}

.iw-art-verse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    color: rgba(212, 163, 115, 0.8);
    white-space: nowrap;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .iw-hero h1 {
        font-size: 2.8rem;
    }
    
    .iw-section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .iw-hero-content {
        flex-direction: column;
    }
    
    .iw-hero h1 {
        font-size: 2.4rem;
    }
    
    .iw-subtitle {
        font-size: 1.4rem;
    }
    
    .iw-arabic {
        font-size: 1.7rem;
    }
    
    .iw-section-title {
        font-size: 1.8rem;
    }
    
    .iw-services-grid {
        grid-template-columns: 1fr;
    }
    
    .iw-booking-content {
        flex-direction: column;
    }
}