
body {
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    font-family: "K2D", sans-serif;
  font-weight: 600;
  font-style: normal;
}


html, body {
    max-width: 100%;
    overflow-x: hidden; 
}

.shadow-navbar {
    transition: all 0.4s ease;
    z-index: 1000;
    padding: 0.5rem 0;
}


.navbar-brand img {
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.navbar-brand img:hover {
    transform: scale(1.1);
}

.nav-link {
    
    font-weight: 600;
    transition: color 0.3s ease, transform 0.2s ease;
    margin: 0 8px;
    font-size: 1.5rem;
    color: #fff;
}

.nav-link:hover {
    /* color: #1ABCFE !important; */
    transform: translateY(-2px);
    color:#1565C0;
}

#call-btn {
    /* border-radius: 16px; */
    padding: 6px 40px;
    font-weight: 700;
    font-size: 1.5rem;
    background-color: #0A1F44;
    color:#fff;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid#0A1F44;
    letter-spacing: 1px;
}

#call-btn:hover {
    background-color: #1565C0 ;
    /* color: #E56C13; */
    border-color:#1565C0 ;
    /* transform: scale(1.05); */
    /* box-shadow: 0 0 15px rgba(255, 136, 0, 0.4); */
}

.navbar-scrolled {
    background-color: #fff !important; 
    transition: background-color 0.4s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); 
}

.navbar-scrolled .nav-link {
    color: #434343 !important; 
}

.navbar-scrolled #call-btn {
    background-color: #0A1F44;
    color: #fff;
    border-color: #0A1F44;
}

.navbar-scrolled #call-btn:hover {
     transform: scale(1.02);
}
.navbar-scrolled .nav-link:hover {
   color:#1565C0 !important;
}

#hero {
    background-image: url(../images/hero.png) !important;
    height: 75vh;
    color: #fff;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    width: 70%;
    font-weight: 800;
     /* text-shadow: 1px 1px 6px rgba(0,0,0,0.2); */
}

#hero h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-shadow: 1px 1px 8px rgba(255, 255, 255, 0.3);
    position: relative; /* مهم جداً عشان نحدد مكان الخط بالنسبة للعنوان */
    padding-bottom: 15px; /* مسافة بين النص والخط المائل */
    display: inline-block; /* يخلي حدود العنصر على قد الكلام بالظبط عشان الخط يظبط تحتها */
}

#hero h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50px; /* يبدأ من الشمال على الشاشات الكبيرة */
    width: 200px; /* طول الخط المظهر في الصورة */
    height: 5px; /* سمك الخط */
    background-color: #1565C0; /* درجة الأزرق اللطيفة المعتمدة عندك */
    border-radius: 4px; /* حواف دائرية ناعمة زي الصورة */
}

/* Shadow overlay */
#hero::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.btn_hero{
    padding: 6px 35px;
    font-weight: 700;
    font-size: 1.5rem;
    background-color: #0A1F44;
    color:#fff;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #0A1F44;
    letter-spacing: 1px;
}
.btn_hero:hover{
    background-color: #122c59;
}

.btn_hero2{
    padding: 6px 35px;
    font-weight: 700;
    font-size: 1.7rem;
    background-color: #1565C0;
    color:#fff;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid #1565C0;
    letter-spacing: 1px;
}
.btn_hero2:hover{
    background-color: #4784c9;
}


.about h6 {
    color: #434343;
    font-size: 1.5rem;
    /* text-shadow: 0 3px 5px rgba(0, 0, 0, .4); */
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.about h2 {
    font-size: 4.5rem;
    /* text-shadow: 0 3px 5px rgba(0, 0, 0, .4); */
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    font-weight: 800;
    font-size: 34px;
    color: #1c1b1b;
}

.about p {
    font-size: 1.1rem;
    /* text-shadow: 0 3px 5px rgba(0, 0, 0, .4); */
    line-height: 1.6;
    font-family: "K2D", sans-serif;
  font-weight: 500;
  font-style: normal;
  color: #545252;
}

.premium-services-block, 
.services11-section {
    width: 100%;
    max-width: 100%;
    overflow: hidden; 
    box-sizing: border-box;
}


.services11-section {
    padding: 20px 0px;
    display: flex;
    justify-content: space-between;
    gap: 0; 
    max-width: 100%;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.service11-card {
    flex: 1 1 33.333%;
    text-align: center;
    padding: 40px 20px; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    color: #fff; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 450px; 
    box-sizing: border-box; 
}

.card-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6),
     rgba(0, 0, 0, 0.6)),
      url('../images/texture.jpg');
}

.card-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6),
     rgba(0, 0, 0, 0.6)),
      url('../images/middle-serv.jpg');
}


.card-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6),
     rgba(0, 0, 0, 0.6)),
      url('../images/HousePainting.jpg');
}

.service11-card h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3;
    z-index: 1;
}

.service11-card p {
    color: #e0e0e0;
    line-height: 1.7;
    font-size: 1.05rem;
    max-width: 90%;
    z-index: 1;
}

@media (max-width: 1024px) {
    .service11-card {
        flex: 1 1 50%; 
    }

    .services11-section {
        overflow: hidden;
    }
}

@media (max-width: 768px) {
    .service11-card {
        flex: 1 1 100%; 
        padding: 60px 20px;
    }
    
    #about .container {
        flex-direction: column; 
        gap: 10px;
        width: 100%;
        max-width: 100%; 
        margin: 0 auto;
        padding: 0 15px; 
        box-sizing: border-box;
    }
    #about h2, #about h6, #about p {
        text-align: center;
        margin: 0 auto;
        max-width: 100%; 
    }
}


.services-main-header {
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
}

.services-main-header h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.services-main-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4784c9;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .services-main-header h2 {
        font-size: 2rem;
    }
    .services-main-header p {
        font-size: 0.95rem;
        padding: 0 10px;
    }
}

.premium-services-block {
    width: 100%;
    overflow: hidden;
}

.service-block-row {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 2px;
}

.interior-bg {
    background-image: url('../images/intrior.png');
}
.exterior-bg {
    background-image: url('../images/exterior.png');
}
.commercial-bg {
    background-image: url('../images/comercial.png');
}
.cabinet-bg {
    background-image: url('../images/cabient.jpg');
}

.service-content-overlay {
    margin: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    padding: 60px 50px;
    min-height: 450px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(3px); 
}

.service-content-overlay h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.service-content-overlay p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #e5e5e5;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .service-block-row {
        min-height: auto;
        
        justify-content: center !important; 
    }
    
    .service-content-overlay {
        background: rgba(0, 0, 0, 0.75); 
        padding: 40px 25px; 
        min-height: auto;
        text-align: center;
        
        
        margin: 20px auto; 
        width: 90%; 
    }
    
    .service-content-overlay h2 {
        font-size: 1.8rem;
    }
    
    .service-content-overlay p {
        font-size: 0.95rem;
    }
}


.why-section{
    position:relative;
    background:#fff;
    overflow:hidden;
}

.why-section::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:radial-gradient(circle,#1565C0 0%, transparent 70%);
    top:-200px;
    right:-200px;
    opacity:.08;
}

.why-header{
    display: flex;
    flex-direction: row;
}

.section-title{
    position:relative;
    display:inline-block;
}
.section-title::after{
    content:"";
    width:60%;
    height:4px;
    background:#1565C0;
    position:absolute;
    left:20%;
    bottom:-10px;
    border-radius:5px;
}

.why-h1{
    font-size: 5rem;
    font-weight: 700;
    color: #0A1F44 !important;
}

.why-p1{
    font-size: 2rem;
    font-weight: 600;
    color: #0A1F44 !important;
}

.why-card{
    padding:30px 20px;
    border-radius:20px;
    background:#f8f9fa;
    transition:.35s;
    position:relative;
    z-index:1;
    overflow:hidden;
}

/* gradient border hover */
.why-card::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:20px;
    padding:2px;
    background:linear-gradient(45deg,#1565C0,#324b76,#0A1F44);
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
    mask-composite:exclude;
    opacity:0;
    transition:.4s;
}

.why-card:hover::before{
    opacity:1;
}

.why-card img{
    width:70px;
    height:70px;
    object-fit:cover;
    margin-bottom:15px;
    transition:.4s;
}

.why-card h5{
    font-weight:700;
    color:#0A1F44;
}

.why-card p{
    font-size:14px;
    color:#666;
}

.why-card:hover{
    transform:translateY(-12px) scale(1.02);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}
.why-card:hover img{
    transform:rotate(5deg) scale(1.1);
}

.counter-row{
    background:#0A1F44;
    padding:70px 0;
}

.counter{
    color:#fff;
    font-size:2.3rem;
    font-weight:800;
}

.counter-row p{
    color:#fff;
    font-weight:600;
    font-size:1.2rem;
}

.contact-pro-section{
background:linear-gradient(135deg,#f8f9fa,#ffffff);
}

.section-title{
  font-weight:800;
  position:relative;
  font-size:2rem;
}
.section-title::after{
  content:"";
  width:90px;
  height:4px;
  background:#1565C0;
  display:block;
  margin:10px auto 0;
  border-radius:10px;
}

.map-box{
  width:100%;
  height:450px;
  overflow:hidden;
  box-shadow:0 20px 40px rgba(0,0,0,.15);
  border-radius:20px;
}

.p-map{
font-size: 2rem;
}

.footer-link {
    color: #f8f9fa;
    text-decoration: none;
    transition: color 0.3s ease;
    /* padding-left:2px ; */
}

.footer-link:hover {
    color: #4280c6;
}

@media (max-width: 1200px) {
    #hero h1 { font-size: 2rem;
    width: 100%; }
    #hero h3 { font-size: 2rem; }
    .service11-card {
        flex: 1 1 45%; 
    }
}

@media (max-width: 992px) {
    #hero h1 { font-size: 1.8rem;
    width: 100%; }
    #hero h3 { font-size: 1.1rem; }
    .map-box{
    height:400px;
    }
}

@media (max-width: 768px) {
    #hero h1 { font-size: 1.8rem;
     width: 100%; }
    #hero h3 { font-size: 1.8rem;padding-top: 40px; }
    .btn_hero, .btn_hero2 {
        font-size: 1.2rem;
        padding: 5px 15px;
        margin-bottom: 10px;
        width: 60%;
        margin: 0 auto;
    } .hero .container {
        text-align: center;
        padding: 0 15px;
    }
    .navbar {
        background-color: transparent !important; 
    }

    .navbar:has(.navbar-collapse.show) {
        background-color: #fff !important; 
        padding: 15px 5px;
    }

    .navbar-collapse.show .nav-link {
        color: #434343 !important;
        /* background-color: #fff !important; */
    }

    .navbar-scrolled {
    background-color: #fff !important; 
    transition: background-color 0.4s ease;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1);  */
    }

    .navbar-scrolled .nav-link {
    color: #434343 !important; 
    }

    .navbar-scrolled #call-btn {
    background-color: #0A1F44;
    color: #fff;
    border-color: #0A1F44;
    }
    .map-box{
    height:350px;
    }
    .p-map{
    font-size: 1.5rem;
    }
    .service11-card {
        flex: 1 1 100%; 
        border-left: none; 
        margin-bottom: 30px;
    }
    .services11-section {
        gap: 30px; 
    }
    #about .container {
        flex-direction: column; 
        gap: 10px;
        width: 100%;
        margin:0 auto;
    }
    #about h2 {
        font-size: 1.5rem;
        text-align: center;
        /* width: 100%; */
        margin:0 auto;
    }
    #about h6 {
        font-size: 1.3rem;
        text-align: center;
        width: 100%;
        flex: 1 1 100%; 
        margin:0 auto;
    }
    #about p {
        font-size: 0.95rem;
        text-align: center;
        width: 100%;
                margin:0 auto;

    }
    #about img {
        max-width: 100%;
        height: auto;
    }
    .why-header{
        flex-direction: column;
        flex-wrap: wrap;
        gap: 10px;
        text-align: center;
    }
}

