/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    background: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 5px 0;
    height: 60px;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: #1a8a3f;
}

.logo img {
    width: 150px;
    height: auto;
    object-fit: contain;
    margin-top: -15px;
    margin-bottom: -15px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #1a8a3f;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1a8a3f;
    border-radius: 2px;
}

.btn-search-now {
    background: #1a8a3f;
    color: #fff;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, transform 0.2s;
}

.btn-search-now:hover {
    background: #15722f;
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #1a8a3f;
    cursor: pointer;
    order: -1;
}

.logo-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1a3a2a;
}

.mobile-search-btn {
    display: none;
    width: 38px;
    height: 38px;
    background: #1a8a3f;
    border-radius: 50%;
    color: #fff;
    font-size: 0.85rem;
    align-items: center;
    justify-content: center;
}

/* Screen reader only - Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    background: url('images/hero-image.webp') center center / cover no-repeat,
                linear-gradient(135deg, #e8f5e9 0%, #f1f8e9 30%, #f9fdf9 60%, #eef7ee 100%);
    display: flex;
    align-items: center;
    padding: 30px 0 50px;
}

.hero-content {
    max-width: 580px;
    padding: 0 20px 0 0;
    margin-left: 30px;
    position: relative;
    z-index: 2;
}

.hero-title-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a3a2a;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    margin-bottom: 10px;
}

.hero-subtitle-urdu {
    font-family: 'Noto Nastaliq Urdu', serif;
    font-size: 0.95rem;
    color: #555;
    direction: rtl;
    text-align: right;
    line-height: 2;
    margin-bottom: 30px;
}

.search-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px 25px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.search-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 28px;
}

.input-group {
    flex: 1;
    position: relative;
}

.input-group input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: border-color 0.3s;
    outline: none;
    background: #fff;
}

.input-group input:focus {
    border-color: #1a8a3f;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 22px;
    transform: translateY(-50%);
    color: #1a8a3f;
    font-size: 0.95rem;
}

.input-label {
    position: absolute;
    bottom: -20px;
    left: 5px;
    font-size: 0.72rem;
    color: #888;
    font-weight: 500;
}

.btn-search {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #1a8a3f, #2ecc71);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(26, 138, 63, 0.3);
}

.btn-search:hover {
    background: linear-gradient(135deg, #15722f, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 138, 63, 0.4);
}

.search-note {
    text-align: center;
    font-size: 0.8rem;
    color: #1a8a3f;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}


/* ===== SEARCH RESULT PREVIEW ===== */
.result-preview {
    padding: 60px 0 40px;
    background: #fff;
}

.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ccc, transparent);
}

.section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
}

.result-card {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 30px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.result-item {
    text-align: center;
    flex: 1;
    padding: 0 15px;
    border-right: 1px solid #eee;
}

.result-item:last-child {
    border-right: none;
}

.result-icon {
    width: 45px;
    height: 45px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #1a8a3f;
    font-size: 1.1rem;
}

.result-label {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 5px;
    font-weight: 500;
}

.result-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.network-logo-small {
    width: 20px;
    height: auto;
    vertical-align: middle;
    margin-right: 4px;
}

.preview-note {
    text-align: center;
    font-size: 0.8rem;
    color: #888;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* ===== TELECOM SECTION ===== */
.telecom-section {
    padding: 60px 0;
    background: #f8faf8;
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

.section-heading {
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a3a2a;
    margin-bottom: 8px;
}

.section-subheading {
    text-align: center;
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 40px;
}

.telecom-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.telecom-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #f0f0f0;
}

.telecom-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.telecom-logo {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.telecom-logo img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

.telecom-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a3a2a;
    margin-bottom: 8px;
}

.telecom-card p {
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 20px;
    line-height: 1.5;
}

.telecom-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a8a3f;
}

.stat-label {
    font-size: 0.72rem;
    color: #999;
    margin-top: 2px;
}

/* ===== WHY CHOOSE US ===== */
.why-choose {
    padding: 60px 0;
    background: #fff;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1a8a3f, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #fff;
    font-size: 1.3rem;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1a3a2a;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #edf7ed 0%, #f3f9f3 100%);
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-image {
    flex: 0 0 320px;
}

.about-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.about-content {
    flex: 1;
}

.about-content .section-heading {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.7;
}

.about-badges {
    display: flex;
    gap: 25px;
    margin-top: 25px;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #1a8a3f;
}

.badge i {
    font-size: 1rem;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 60px 0;
    background: #f8faf8;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.faq-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.faq-list {
    flex: 1;
}

.faq-item {
    background: #fff;
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

.faq-question {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question i {
    color: #1a8a3f;
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 20px 16px;
}

.faq-answer p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.faq-image {
    flex: 1;
    min-width: 0;
}

.faq-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
}

/* ===== BLOG CONTENT ===== */
.blog-content a {
    color: #1a8a3f;
    text-decoration: underline;
    font-weight: 500;
    word-break: break-word;
}

.blog-content a:hover {
    color: #15722f;
}

/* ===== FOOTER ===== */
.footer {
    background: url('images/footer-image.webp') center bottom / 100% auto no-repeat,
                #1a3a2a;
    color: #ccc;
    padding: 50px 0 20px;
    position: relative;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-img {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-col p {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #aaa;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #1a8a3f;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.82rem;
    color: #ccc;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #2ecc71;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: #ccc;
}

.contact-list li a {
    color: #ccc;
}

.contact-list li i {
    color: #2ecc71;
    font-size: 0.85rem;
    width: 16px;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: #999;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .telecom-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        background-position: right bottom;
        background-size: 45%;
        min-height: 450px;
    }

    .hero-content {
        max-width: 60%;
        margin-left: 20px;
    }

    .about-container {
        flex-direction: column;
    }

    .about-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .about-content .section-heading {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        gap: 15px;
    }

    .nav.active {
        display: flex;
    }

    .btn-search-now {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        order: -1;
    }

    .mobile-search-btn {
        display: flex;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .logo img {
        width: 140px;
        height: 140px;
    }

    .header-container {
        position: relative;
    }

    .hero {
        background-position: center bottom;
        background-size: 100%;
        min-height: auto;
        padding: 30px 0 180px;
    }

    .hero-content {
        max-width: 100%;
        margin-left: 15px;
        margin-right: 15px;
        padding: 0;
    }

    .hero-title-urdu {
        font-size: 1.5rem;
        text-align: center;
        line-height: 1.7;
    }

    .hero-subtitle-urdu {
        text-align: center;
    }

    .search-box {
        padding: 20px 15px 15px;
    }

    .result-card {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .result-item {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-bottom: 15px;
    }

    .result-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .telecom-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }

    .faq-container {
        flex-direction: column;
    }

    .faq-image {
        flex: 0 0 auto;
        width: 100%;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer {
        background: #1a3a2a;
        padding: 50px 0 0;
        overflow: hidden;
    }

    .footer-bottom {
        background: url('images/footer-image.webp') center bottom / 100% auto no-repeat;
        flex-direction: column;
        text-align: center;
        gap: 5px;
        padding: 60px 15px 15px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .about-badges {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero {
        background-size: 100%;
        background-position: center bottom;
        padding: 20px 0 150px;
    }

    .hero-content {
        margin-left: 10px;
        margin-right: 10px;
    }

    .hero-title-urdu {
        font-size: 1.15rem;
        line-height: 1.7;
    }

    .hero-subtitle-urdu {
        font-size: 0.8rem;
    }

    .btn-search {
        font-size: 0.9rem;
        padding: 12px;
    }

    .section-heading {
        font-size: 1.15rem;
    }

    .logo img {
        width: 140px;
        height: 140px;
    }

    .search-box {
        padding: 15px 12px 12px;
    }

    .input-group input {
        padding: 12px 12px 12px 38px;
        font-size: 0.85rem;
    }
}
