/*
Theme Name: Nafiab
Theme URI: https://example.com/nafiab
Author: Your Name
Author URI: https://example.com
Description: Nafiab - Broadband & Internet WordPress Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nafiab
Tags: broadband, internet, business, services
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
*/

/* Reset & Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Muli', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: #0066cc;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* WordPress Required Classes */
.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    width: 100%;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    font-size: 14px;
    color: #666;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Gallery Support */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin: 20px 0;
}

.gallery-item {
    text-align: center;
}

.gallery-caption {
    font-size: 12px;
    color: #666;
}

/* Main Content Area */
#main-content {
    min-height: 400px;
}

/* Breadcrumb */
.breadcrumb-area {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
}

.breadcrumb-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.breadcrumb-inner {
    position: relative;
    z-index: 1;
}

.breadcrumb-inner .page-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 15px;
}

.breadcrumb-inner .page-list {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.breadcrumb-inner .page-list li {
    color: #fff;
}

.breadcrumb-inner .page-list li a {
    color: #fff;
}

.breadcrumb-inner .page-list li a:hover {
    color: #0066cc;
}

/* Section Styles */
.pt-120 {
    padding-top: 120px;
}

.pb-120 {
    padding-bottom: 120px;
}

.pt-80 {
    padding-top: 80px;
}

.pb-80 {
    padding-bottom: 80px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

/* Service Box */
.service-box {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-box__img {
    margin-bottom: 20px;
    overflow: hidden;
    border-radius: 10px;
}

.service-box__img img {
    width: 100%;
    transition: transform 0.3s ease;
}

.service-box:hover .service-box__img img {
    transform: scale(1.1);
}

.service-box__title {
    font-size: 24px;
    margin-bottom: 15px;
}

.service-box__title a {
    color: #333;
}

.service-box__title a:hover {
    color: #0066cc;
}

.service-box__text {
    color: #666;
    margin-bottom: 20px;
}

.service-box__link {
    color: #0066cc;
    font-weight: 600;
}

.service-box__link i {
    margin-left: 5px;
    transition: margin-left 0.3s ease;
}

.service-box__link:hover i {
    margin-left: 10px;
}

/* Team Box */
.team-box {
    text-align: center;
    margin-bottom: 30px;
}

.team-box__img {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.team-box__img img {
    width: 100%;
}

.team-box__title {
    font-size: 20px;
    margin-bottom: 10px;
}

.team-box__text {
    color: #666;
    margin-bottom: 15px;
}

.team-box__social {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.team-box__social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    display: inline-block;
}

.team-box__social a:hover {
    background: #0066cc;
    color: #fff;
}

/* Pricing Box */
.pricing-box {
    background: #fff;
    border-radius: 15px;
    padding: 40px 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-box:hover {
    transform: translateY(-10px);
}

.pricing-box--featured {
    border: 2px solid #0066cc;
    transform: scale(1.05);
}

.pricing-box__head {
    margin-bottom: 30px;
}

.pricing-box__tag {
    display: block;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666;
    margin-bottom: 15px;
}

.pricing-box__price {
    display: flex;
    justify-content: center;
    align-items: baseline;
}

.pricing-box__price .currency {
    font-size: 24px;
    font-weight: 600;
}

.pricing-box__price .amount {
    font-size: 48px;
    font-weight: 700;
    color: #0066cc;
}

.pricing-box__price .period {
    color: #666;
    font-size: 14px;
}

.pricing-box__features ul {
    text-align: left;
    margin-bottom: 30px;
}

.pricing-box__features li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.pricing-box__features li span:first-child {
    color: #666;
}

.pricing-box__features li span:last-child {
    font-weight: 600;
}

.pricing-box__btn {
    display: inline-block;
    padding: 15px 40px;
    background: #0066cc;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
}

.pricing-box__btn:hover {
    background: #0052a3;
    color: #fff;
}

/* Blog Box */
.ba-blog-box {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.ba-blog-box__img {
    overflow: hidden;
}

.ba-blog-box__img img {
    width: 100%;
    transition: transform 0.3s ease;
}

.ba-blog-box:hover .ba-blog-box__img img {
    transform: scale(1.1);
}

.ba-blog-box__meta {
    padding: 20px 20px 10px;
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.ba-blog-box__meta span i {
    margin-right: 5px;
}

.ba-blog-box__title {
    padding: 0 20px;
    font-size: 20px;
    margin-bottom: 15px;
}

.ba-blog-box__title a {
    color: #333;
}

.ba-blog-box__title a:hover {
    color: #0066cc;
}

.ba-blog-box__text {
    padding: 0 20px;
    color: #666;
    margin-bottom: 20px;
}

.ba-blog-box__link {
    display: inline-block;
    padding: 0 20px 20px;
    color: #0066cc;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 5px;
    background: #f5f5f5;
    color: #333;
}

.pagination a:hover,
.pagination .current {
    background: #0066cc;
    color: #fff;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .pt-120 {
        padding-top: 80px;
    }

    .pb-120 {
        padding-bottom: 80px;
    }

    .breadcrumb-inner .page-title {
        font-size: 28px;
    }

    .pricing-box--featured {
        transform: none;
        margin: 30px 0;
    }
}

@media (max-width: 767px) {
    .pt-120 {
        padding-top: 60px;
    }

    .pb-120 {
        padding-bottom: 60px;
    }

    .breadcrumb-area {
        padding: 60px 0;
    }

    .breadcrumb-inner .page-title {
        font-size: 24px;
    }

    .service-box__title,
    .ba-blog-box__title {
        font-size: 18px;
    }

    .pricing-box__price .amount {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-inner .page-list {
        flex-direction: column;
        gap: 5px;
    }

    .service-box,
    .pricing-box {
        padding: 20px;
    }
}

/* Contact Form */
.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.contact-form button[type="submit"] {
    padding: 15px 40px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button[type="submit"]:hover {
    background: #0052a3;
}

/* Sidebar Widgets */
.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget .sidebar-title {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.sidebar-widget form {
    display: flex;
}

.sidebar-widget form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
}

.sidebar-widget form button {
    padding: 12px 20px;
    background: #0066cc;
    color: #fff;
    border: none;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.sidebar-widget .category-list li {
    border-bottom: 1px solid #eee;
}

.sidebar-widget .category-list li a {
    display: block;
    padding: 10px 0;
    color: #666;
}

.sidebar-widget .category-list li a:hover {
    color: #0066cc;
    padding-left: 10px;
}

.sidebar-widget .recent-posts li {
    margin-bottom: 15px;
}

.sidebar-widget .recent-posts li a {
    display: flex;
    gap: 15px;
    align-items: center;
}

.sidebar-widget .recent-posts li img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Stats Section */
.stats-section {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.single-statics-item {
    padding: 30px;
}

.single-statics-item .odometer {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    display: block;
}

.single-statics-item .label {
    color: #fff;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background-size: cover;
    background-position: center;
}

.cta-title {
    color: #fff;
    font-size: 36px;
    margin-bottom: 10px;
}

.cta-text {
    color: #fff;
    opacity: 0.9;
}

/* FAQ Accordion */
.accordion-item {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.accordion-button {
    width: 100%;
    padding: 20px;
    background: #fff;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.accordion-button::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 24px;
}

.accordion-button:not(.collapsed)::after {
    content: '-';
}

.accordion-body {
    padding: 20px;
    background: #f9f9f9;
}

/* Contact Info */
.contact-info__item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-info__item .icon {
    width: 60px;
    height: 60px;
    background: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-info__item .content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.contact-info__item .content p {
    color: #666;
}

.contact-info__item .content a {
    color: #666;
}

.contact-info__item .content a:hover {
    color: #0066cc;
}

.contact-info__social {
    display: flex;
    gap: 15px;
}

.contact-info__social a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    text-align: center;
}

.contact-info__social a:hover {
    background: #0066cc;
    color: #fff;
}