@font-face {
    font-family: "Madani Arabic Light";
    src: url("../assets/fonts/Madani\ Arabic\ Light.ttf");
}

@font-face {
    font-family: "Madani Arabic Regular";
    src: url("../assets/fonts/Madani\ Arabic\ Regular.ttf");
}

@font-face {
    font-family: "Madani Arabic Medium";
    src: url("../assets/fonts/Madani\ Arabic\ Medium.ttf");
}

@font-face {
    font-family: "Madani Arabic SemiBold";
    src: url("../assets/fonts/Madani\ Arabic\ Semi\ Bold.ttf");
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font: 16px "Madani Arabic Regular";
    color: #111111;
    line-height: 1.5;
}

/* Global list styling: custom brand dots */
ul{ list-style: none; padding-left: 0; }
ul li{
    position: relative;
    padding-left: 18px;
}
ul li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ed1b24;
}

/* Mobil menyu açıq olanda skrolun qarşısını almaq üçün */
html.no-scroll, body.no-scroll{ height: 100%; overflow: hidden; }

h1, h2, h3, h4, h5, h6{
    font-family: "Madani Arabic SemiBold";
}

a{
    font: inherit;
    color: inherit;
}

header{
    min-height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.448), rgba(0, 0, 0, 0.382)), url("../assets/img/hero.webp")center/cover no-repeat;
}

.container{
    max-width: 1200px;
    margin: 0 auto;
    padding-inline: 15px;
}

.nav-bg{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid #57575740;
    background-color: #ffffff;
}

/* Qeyd: Sadə menyu üçün fon deaktiv edildi */

nav{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.nav-left{
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Hamburger (hidden on desktop) */
.nav-toggle{
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-toggle i{ font-size: 22px; color: #111111; }

.logo{
    display: flex;
    align-items: center;
    gap: 10px;
}       

.logo img{
    width: 60px;
    height: 60px;
}

.nav-close{ display: none; }

.nav-center{
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-center a{
    text-decoration: none;
    color: #000;
    font: 16px "Madani Arabic Regular";
}

.dropdown{
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown i{
    font-size: 10px;
    padding-top: 4px;
}

.nav-right{
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary{
    text-decoration: none;
    color: #ffffff;
    font: 16px "Madani Arabic Regular";
    background-color: #ed1b24;
    padding: 10px 15px;
    border-radius: 10px;
    width: fit-content;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary i{
    font-size: 20px;
}

.hero-content{
    margin-top: 80px;
    padding-block: 140px;
}

.hero-content h1{
    font: 60px "Madani Arabic SemiBold";
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

.hero-content h1{
    overflow: hidden;
}

.hero-content h1 .h1-line1{
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hero-content h1 .h1-line2{
    display: block;
    white-space: nowrap;
}

.hero-content p{
    font: 15px "Madani Arabic Regular";
    color: #ffffff;
    margin-top: 20px;
}

.hero-bullets{
    margin-top: 16px;
    padding-left: 0;
    color: #ffffff;
    list-style: none;
}

.hero-bullets li{
    font: 15px "Madani Arabic Regular";
    color: #ffffff;
    margin-bottom: 6px;
    position: relative;
    padding-left: 18px;
}

.hero-bullets li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ed1b24;
}

.hero-content-buttons{
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

/* Services section */
.services{
    padding: 40px 0;
    background-color: #ffffff;
}

.services-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card{
    background-color: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.08);
}

.service-icon{
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #fff4f5;
    color: #ed1b24;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.service-icon i{
    font-size: 22px;
}

.service-card h3{
    font: 20px "Madani Arabic SemiBold";
    margin-bottom: 8px;
}

.service-card p{
    font: 15px "Madani Arabic Regular";
    color: #555555;
}

@media (max-width: 900px){
    .services-grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px){
    .services-grid{
        grid-template-columns: 1fr;
    }
}

/* Responsive navbar */
@media (max-width: 1024px){
    .nav-toggle{ display: inline-flex; }
    .nav-center{
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100vh;
        background: #ffffff;
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 16px 20px;
        z-index: 999;
    }
    .nav-bg.open .nav-center{ display: flex; }
    .nav-center a{
        font: inherit;
        color: #111111;
        padding: 10px 0;
        width: auto;
        max-width: none;
        text-align: center;
        background: transparent;
        border: 0;
    }
    .nav-center a:hover{ text-decoration: underline; }
    .nav-close{
        position: absolute;
        top: 16px;
        right: 16px;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        border: 0;
        background: transparent;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #111111;
        font-size: 22px;
    }
    .nav-bg.open .nav-close{ display: inline-flex; }
}

/* Service details (text + image) */
.service-details{
    padding: 50px 0 40px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

.service-details-grid{
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 24px;
}

.service-details-text h2{
    font: 32px "Madani Arabic SemiBold";
    margin-bottom: 10px;
}

.service-details-text p{
    font: 16px "Madani Arabic Regular";
    color: #555555;
    margin-bottom: 12px;
}

.service-details-text ul{ padding-left: 0; }

.service-details-text li{
    font: 15px "Madani Arabic Regular";
    color: #3a3a3a;
    margin-bottom: 6px;
}

.service-details-image img{
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

@media (max-width: 900px){
    .service-details-grid{
        grid-template-columns: 1fr;
    }
}

/* Contact section */
.contact{
    padding: 60px 0 80px;
    background: #f9fafb;
}

.contact h2{
    font: 34px "Madani Arabic SemiBold";
    margin-bottom: 10px;
}

/* Compact contact cards */
.compact-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.compact-card{
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
}

.compact-card .icon{
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compact-card .content .label{
    display: block;
    font: 12px "Madani Arabic Regular";
    color: #7a7a7a;
}

.compact-card .content .value{
    display: block;
    font: 16px "Madani Arabic Medium";
    color: #111111;
}

.compact-card .arrow{
    color: #111111;
}

/* Variants */
.variant-primary{
    background: #fff4f5;
    border: 1px solid #ffd8db;
}
.variant-primary .icon{ background: #ffffff; color: #ed1b24; }
.variant-primary .arrow{ color: #ed1b24; }

.variant-secondary{
    background: #f4f7ff;
    border: 1px solid #d9e2ff;
}
.variant-secondary .icon{ background: #ffffff; color: #3b5bdb; }

.variant-tertiary{
    background: #f4fff7;
    border: 1px solid #d8ffdf;
}
.variant-tertiary .icon{ background: #ffffff; color: #2f9e44; }

@media (max-width: 900px){
    .compact-grid{
        grid-template-columns: 1fr;
    }
}

/* Subpages: shared layout */
.subpage-hero{
    padding: 110px 0 40px;
    background: #f6f7f9;
    border-bottom: 1px solid #eeeeee;
}

.subpage-hero h1{
    font: 40px "Madani Arabic SemiBold";
    margin-bottom: 8px;
}

.subpage-hero p{
    font: 16px "Madani Arabic Regular";
    color: #555555;
}

.sub-section{
    padding: 36px 0;
}

.two-col{
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 24px;
}

.two-col .text h2{
    font: 28px "Madani Arabic SemiBold";
    margin-bottom: 10px;
}

.two-col .text p{
    font: 16px "Madani Arabic Regular";
    color: #333333;
    margin-bottom: 10px;
}

.two-col .text ul{ padding-left: 0; }

.two-col .text li{
    font: 15px "Madani Arabic Regular";
    color: #3a3a3a;
    margin-bottom: 6px;
}

.two-col .media img{
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.feature-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature-card{
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 16px;
    background: #ffffff;
}

.feature-card h3{
    font: 18px "Madani Arabic SemiBold";
    margin-bottom: 6px;
}

.feature-card p{
    font: 14px "Madani Arabic Regular";
    color: #555555;
}

.steps{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.step{
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 14px;
}

.step .num{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff4f5;
    color: #ed1b24;
    font: 14px "Madani Arabic Medium";
    margin-bottom: 8px;
}

.step h4{
    font: 16px "Madani Arabic SemiBold";
    margin-bottom: 4px;
}

.step p{
    font: 14px "Madani Arabic Regular";
    color: #555555;
}

.pricing-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.price-card{
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 16px;
}

.price-card h3{
    font: 18px "Madani Arabic SemiBold";
    margin-bottom: 6px;
}

.price-card ul{ padding-left: 0; }
.price-card li{ font: 14px "Madani Arabic Regular"; color: #555555; margin-bottom: 4px; }

.faq{
    display: grid;
    gap: 8px;
}

.faq details{
    background: #ffffff;
    border: 1px solid #e9e9e9;
    border-radius: 12px;
    padding: 10px 14px;
}

.faq summary{
    cursor: pointer;
    font: 16px "Madani Arabic Medium";
}

.cta-banner{
    background: #fff4f5;
    border: 1px solid #ffd8db;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cta-banner h3{ font: 20px "Madani Arabic SemiBold"; }
.cta-banner p{ color: #555555; }

.map-placeholder{
    width: 100%;
    height: 260px;
    border-radius: 12px;
    border: 1px solid #e9e9e9;
    background: linear-gradient(135deg, #f6f7f9, #eef1f4);
}

@media (max-width: 1000px){
    .two-col{ grid-template-columns: 1fr; }
    .feature-grid{ grid-template-columns: 1fr 1fr; }
    .steps{ grid-template-columns: 1fr 1fr; }
    .pricing-grid{ grid-template-columns: 1fr; }
    .two-col .media img{ height: 260px; }
}

@media (max-width: 600px){
    .feature-grid{ grid-template-columns: 1fr; }
    .steps{ grid-template-columns: 1fr; }
    .two-col .media img{ height: 220px; }
}

/* Responsive typography */
@media (max-width: 1200px){
    .hero-content h1{ font-size: 52px; }
}

@media (max-width: 1024px){
    .hero-content h1{ font-size: 46px; }
    .hero-content p{ font-size: 15px; }
    .nav-center a{ font-size: 15px; }
    .btn-primary{ height: 38px; padding: 8px 14px; font-size: 15px; }
    .subpage-hero h1{ font-size: 34px; }
    .contact h2{ font-size: 30px; }
    .service-details-text h2{ font-size: 28px; }
}

@media (max-width: 768px){
    .hero-content{ padding-block: 110px; }
    .hero-content h1{ font-size: 38px; }
    .subpage-hero h1{ font-size: 30px; }
    .two-col .text h2{ font-size: 24px; }
    .two-col .text p{ font-size: 15px; }
    .service-card h3{ font-size: 18px; }
    .service-card p{ font-size: 14px; }
    .feature-card h3{ font-size: 16px; }
    .feature-card p{ font-size: 13px; }
    .step h4{ font-size: 15px; }
    .step p{ font-size: 13px; }
    .compact-card .content .value{ font-size: 15px; }
    .compact-card .content .label{ font-size: 11px; }
}

@media (max-width: 480px){
    .hero-content{ padding-block: 90px; }
    .hero-content h1{ font-size: 30px; }
    .hero-content p{ font-size: 14px; }
    .btn-primary{ font-size: 14px; height: 36px; padding: 8px 12px; }
    .contact h2{ font-size: 26px; }
    .service-details-text h2{ font-size: 24px; }
    .price-card h3{ font-size: 16px; }
}

/* CTA banner mobil düzəlişləri */
@media (max-width: 600px){
    .cta-banner{ flex-direction: column; align-items: stretch; }
    .cta-banner .btn-primary{ width: 100%; text-align: center; }
    .hero-content{
        padding-block: 80px;
    }
    header{
        min-height: 60vh;
    }
}
