/*root*/

:root {
    --color1: #15a79c;
    --color2: #3FB989;   
    --color3: #F79C28;  
    --color4: #7A7A7A;    
    --white: #ffffff;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}
:root {
    --site1: #15a79c; 
    --site2: #F79C28;
    --site3: #90c348; 
    --site4: #3FB989;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Assistant', sans-serif;
    color: var(--text-navy);
    direction: rtl;
    min-height: 100vh;
    background-attachment: fixed;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.rich-content h2 ,.rich-content h3,.rich-content h4,.rich-content h5{
    color: var(--color1);
    font-weight: normal;
}

.root-page-112, 
.page-wrapper, 
.container, 
.page-content, 
.rich-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
.rich-content {
    max-width: 1400px;
    margin: 0 auto;
}
/*title*/
@keyframes colorFlow {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.page-content-head {
    background: #00000082 !important;
    text-align: center;
    background: linear-gradient(to top, rgb(255 255 255 / 85%) 0%, rgb(255 255 255 / 67%) 100%, rgb(255 255 255 / 0%) 100%) !important;
}

.breadcrumbs ul {
    list-style: none;
    padding: 0;
    margin: 0;
    /* display: flex; */
    gap: 8px;
    align-items: center;
}

.breadcrumbs li a, .breadcrumbs li span {
    color: #2f2f2f !important;
    font-size: 20px;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumbs li a:hover {
    color: #4a5a54 !important;
}

.page-title {
    margin-top: 10px;
    font-size: 5rem;
    font-weight: 900;
    color: #4a5a54 !important;
    /* display: flex; */
    gap: 10px;
}

.static-part {
    color: #4a5a54 !important;
    opacity: 0.9;
}

.flowing-part {
    position: relative;
    display: inline-block;
    
    background: linear-gradient(
        to right, 
        #2a8f6e 0%,   
        #5cb28d 20%,  
        #79c7a2 40%,  
        #4ac0c0 60%,   
        #5cb28d 80%,  
        #2a8f6e 100% 
    );
    
    background-size: 200% auto !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-fill-color: transparent !important;
    animation: colorFlow 5s linear infinite !important;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}

.flowing-part::after {
    content: none !important;
    display: none !important;
}
.breadcrumbs ul > li:after {
    color: #5b6964;
}
@media (max-width: 768px) {
    .page-content-head {
        text-align: center;
        padding: 25px 15px;
    }
    .breadcrumbs ul {
        justify-content: center;
    }
    .page-title {
        font-size: 2.2rem;
        justify-content: center;
        flex-direction: column;
        gap: 0;
    }
}


/*faq*/
.faq {
    border: 1px solid rgba(14, 33, 59, 0.12) !important;
    border-radius: 50px !important;
    /* background:  var(--color4) !important; */
    backdrop-filter: blur(5px);
    margin: 0 auto 35px auto !important;
    position: relative !important;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1) !important;
    max-width: 95%;
}

.faq:hover {
    background: #f7f7f7 !important;
    /* border-color: var(--p-blue) !important; */
    transform: translateX(-5px);
}

.faq > a {
    display: flex !important;
    align-items: center;
    padding: 25px 55px 25px 25px !important;
    text-decoration: none !important;
    background: transparent !important;
}

.faq-h3 {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--p-navy) !important;
    border: none !important;
    background: transparent !important;
}

.faq-h3:before {
    right: -78px !important;
    top: -12px !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 20px !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1) !important;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.faq:nth-of-type(1) .faq-h3:before { content: "\f043" !important; background: white !important; color: var(--p-blue) !important; border: 1px solid #dbeafe !important; }
.faq:nth-of-type(2) .faq-h3:before {content: "\f05b" !important;background: white !important;color: var(--color2) !important;border: 1px solid #dcfce7 !important;}
.faq:nth-of-type(3) .faq-h3:before {content: "\f0ec" !important;background: white !important;color: var(--color1) !important;border: 1px solid #fef3c7 !important;}
.faq:nth-of-type(4) .faq-h3:before {content: "\f1ad" !important;background: white !important;color: var(--color2) !important;border: 1px solid #ffe4e6 !important;}


.faq > a:after {
    content: "\f105";
    font-family: "FontAwesome";
    margin-right: auto;
    font-size: 18px;
    opacity: 0.3;
    transition: 0.3s;
}

.faq.opened > a:after {
    transform: rotate(90deg);
    opacity: 1;
    color: var(--p-blue);
}

.faq .answer {
    padding: 0 55px 30px 25px !important;
    color: rgba(14, 33, 59, 0.8) !important;
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    background: transparent !important;
    border: none !important;
}

.faq .answer ul { padding-right: 15px; margin-top: 10px; }
.faq .answer li { margin-bottom: 10px; list-style-type: none; position: relative; }
.faq .answer li:before { content: "•"; color: var(--p-blue); position: absolute; right: -15px; font-weight: bold; }



.product-shell {
    color: var(--color4);
    max-width: 1200px;
    margin: 20px auto;
    direction: rtl;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin: 10px auto;
    border-radius: 2px;
}

.search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid transparent;
    border-radius: 100px;
    background: var(--white);
    box-shadow: var(--shadow);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(139, 195, 74, 0.1);
}

.search-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.town-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 50px;
}

.btn-town {
    padding: 12px 15px;
    background: var(--white);
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-town:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-town.active {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(74, 134, 197, 0.3);
}

.btn-all {
    background: var(--primary-green) !important;
    color: white !important;
    border: none;
    grid-column: 1 / -1;
    margin-bottom: 10px;
    font-size: 1.1rem;
    gap: 8px;
}

.viewer-container {
    animation: fadeIn 0.5s ease;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

table {
    width: 100% !important;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

th, td {
    padding: 15px !important;
    border-bottom: 1px solid #e2e8f0;
    text-align: right !important;
}

thead {
    background-color: #f8fafc;
    color: var(--primary-blue);
}

tr:last-child td {
    border-bottom: none;
}

.description-area p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.description-area ul, .description-area ol {
    background: #f1f5f9;
    padding: 25px 40px;
    border-radius: 12px;
    margin: 20px 0;
}

.description-area li {
    margin-bottom: 10px;
}

.town-title-placeholder {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.card-header {
    background: #ffffff00;
    color: #fff;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .town-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-card {
        padding: 20px;
    }
    table {
        display: block;
        overflow-x: auto;
    }
}

/*sub_menu*/
.sub-pages-nav.with-icons {
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 0;
    width: 100%;
}

.sub-pages-nav.with-icons ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sub-pages-nav.with-icons ul li {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e1e8ed;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: center;
    height: 100%;
    max-width: 100%; 
}

.sub-pages-nav.with-icons ul li:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color: var(--site2);
}

.sub-pages-nav.with-icons ul li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-decoration: none !important;
    height: 100%;
    border: none;
    background-color: #ffffff00;
}

.sub-pages-nav.with-icons .icon {
    display: block;
    margin-bottom: 20px;
}

.sub-pages-nav.with-icons img {
    width: 100%; 
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.sub-pages-nav.with-icons li:hover img {
    transform: scale(1.1);
}

.sub-pages-nav.with-icons span:not(.icon) {
    display: block;
    font-size: 1.4rem; 
    font-weight: 800;
    line-height: 1.3;

    color: var(--site1);
}



.sub-pages-nav.with-icons li:hover span:not(.icon)::after {
    transform: translateX(-10px);
}
.sub-pages-nav ul > li:nth-child(4n + 1) a .icon,.sub-pages-nav ul > li:nth-child(4n + 2) a .icon,.sub-pages-nav ul > li:nth-child(4n + 3) a .icon, .sub-pages-nav ul > li:nth-child(4n + 4) a .icon{
  background:none;
}

/* התאמה רספונסיבית */
@media (max-width: 992px) {
    .sub-pages-nav.with-icons ul {
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 600px) {
    .sub-pages-nav.with-icons ul {
        grid-template-columns: 1fr;
    }
}
/*faq*/
.faq:nth-of-type(1) .faq-h3:before {color: var(--site1) !important; border-color: var(--site1)  !important;}
.faq:nth-of-type(2) .faq-h3:before {color: var(--site2) !important; border-color: var(--site2) !important; }
.faq:nth-of-type(3) .faq-h3:before {color:  var(--site3) !important; border-color: var(--site3)  !important;}
.faq:nth-of-type(4) .faq-h3:before {color:  var(--site4) !important; border-color: var(--site4)  !important;}

.btn-town.active {
    background: var(--site3) !important;
    border-color: var(--site4) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(144, 195, 72, 0.3);
}

.btn-all {
    background: var(--site1) !important; 
}

.search-input:focus {
    border-color: var(--site5);
    box-shadow: 0 0 0 4px rgba(59, 126, 215, 0.1);
}

.sub-pages-nav li:nth-child(1) .card-content { border-bottom: 5px solid var(--site2); }
.sub-pages-nav li:nth-child(2) .card-content { border-bottom: 5px solid var(--site3); }
.sub-pages-nav li:nth-child(3) .card-content { border-bottom: 5px solid var(--site5); }
.sub-pages-nav li:nth-child(4) .card-content { border-bottom: 5px solid var(--site1); }


.section-title::after {
    background: linear-gradient(to right, var(--site3), var(--site2));
}

.product-shell {
    background-color:  var(--white);
    padding: 30px;
    border-radius: 20px;
}

.section-title {
    color: var(--color1);
    border-right: 5px solid var(--color2);
    padding-right: 15px;
    font-weight: 900;
}

.search-input {
    border: 2px solid var(--color4);
    background:var(--white);
    color: var(--color1);
}

.search-input:focus {
    box-shadow: 0 0 0 4px var(--color1);;
    border-color:var(--color1);;
}

.btn-town {
    background-color: var(--white) ;
    border: 1px solid var(--color4);
    color: var(--color1);
    transition: all 0.3s ease;
}

.btn-town:hover {
    background-color: var(--color4);
    color:var(--white) ;
    border-color: var(--color1);;
}

.btn-town.active {
    background: var(--color3) !important;
    border-color:var(--color4) !important;
    color: var(--white) !important;
    font-weight: bold;
}

.description-area table tr:first-child {
    background-color: var(--site1) !important;
    color:var(--white)  !important;
}

.description-area table tr:nth-child(even) {
    background-color: rgba(144, 195, 72, 0.05);
}

.model-entry {
    max-width: 1000px;
    margin: 40px auto;
    animation: fadeInContainer 0.6s ease-out;
}

.bento-card {
    background: var(--white);
    border-radius: 30px !important;
    border: 1px solid rgba(31, 67, 115, 0.08) !important;
    border-right: 12px solid var(--color1)  !important;
    box-shadow: var(--shadow-premium);
    padding: 50px;
    position: relative;
    overflow: hidden;
}


.icon-box {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg,  var(--color1) ,  var(--color4) ) !important;
    color:  var(--white) !important;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.town-title-placeholder {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color1);
    margin: 0;
}


.description-area table tr:first-child {
    background: var(--color1) !important;
    color: var(--white) !important;
}

.description-area td, .description-area th {
    padding: 18px !important;
    border-bottom: 1px solid #f0f4f8;
    font-size: 1.1rem;
}

.description-area a {
    color: var(--color4);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.description-area a:hover {
    color: var(--color1);
    border-bottom-color: var(--color2);
}

.description-area ul {
    list-style: none;
    padding-right: 20px;
}

.description-area li {
    position: relative;
    margin-bottom: 12px;
    padding-right: 25px;
}

.description-area li::before {
    content: '←';
    position: absolute;
    right: 0;
    color: var(--color3) ;
    font-weight: bold;
}

@keyframes fadeInContainer {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .bento-card { padding: 25px; border-right-width: 8px !important; }
    .town-title-placeholder { font-size: 1.6rem; }
}
/*לשוניות*/
.product-shell-v7 { 
    font-family: 'Assistant', sans-serif; direction: rtl; 
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    color:  var(--color1);
}

.v7-hero { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.v7-main-title { font-size: 2.8rem; font-weight: 900; color: var(--color1); margin-bottom: 15px; letter-spacing: -1px; }
.v7-description { font-size: 1.15rem; line-height: 1.6; color: #64748b; margin-bottom: 35px; }
.v7-highlight { color: var(--color4); font-weight: 800; border-bottom: 2px solid var(--color2); }

/* Improved Search Bar */
.v7-search-wrapper { display: flex; justify-content: center; }
.v7-search-bar { 
    position: relative; width: 100%; max-width: 550px; 
    background: #fff; border-radius: 100px; padding: 6px;
    box-shadow: 0 10px 25px rgba(31, 67, 115, 0.08);
    border: 1px solid #e2e8f0; display: flex; align-items: center;
    transition: all 0.3s ease;
}
.v7-search-bar:focus-within { border-color: var(--color4); box-shadow: 0 15px 35px rgba(59, 126, 215, 0.15); transform: translateY(-2px); }

.v7-search-icon { margin-right: 20px; color: var(--color1); width: 22px; height: 22px; }
.v7-search-bar input { 
    flex: 1; border: none; padding: 12px 15px; font-size: 1.05rem; 
    font-family: inherit; background: transparent; color: var(--color1);
}
.v7-search-bar input:focus { outline: none; }
.v7-search-badge { 
    background: var(--color1); color: #fff; padding: 8px 18px; 
    border-radius: 100px; font-size: 0.85rem; font-weight: 800; margin-left: 5px;
}

.v7-grid { display: flex; gap: 20px; justify-content: space-between; }

.v7-card { 
    flex: 1; background: #fff; border-radius: 24px; border: 1px solid #f1f5f9;
    padding: 30px; cursor: pointer; transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex; flex-direction: column; position: relative;
}
.v7-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px -12px rgba(31, 67, 115, 0.12); border-color: var(--accent); }

.v7-icon-box { 
    width: 55px; height: 55px; border-radius: 16px; background: var(--accent); color: #fff;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -5px var(--accent);
}
.v7-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.v7-badge-pill { font-size: 0.7rem; font-weight: 800; color: var(--accent); background: #f8fafc; padding: 4px 12px; border-radius: 100px; border: 1px solid #f1f5f9; }

.v7-card-body { flex: 1; margin-bottom: 25px; }
.v7-card-title { font-size: 1.3rem; font-weight: 800; color: var(--color1); margin: 0 0 12px; line-height: 1.2; }
.v7-towns { display: flex; gap: 8px; font-size: 0.85rem; color: #94a3b8; line-height: 1.4; }
.v7-towns i { width: 14px; flex-shrink: 0; margin-top: 3px; }

.v7-card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; border-top: 1px solid #f8fafc; }
.v7-btn-text { font-weight: 800; color: var(--accent); font-size: 0.9rem; }
.v7-circle-arrow { width: 32px; height: 32px; border-radius: 50%; background: #f8fafc; display: flex; align-items: center; justify-content: center; color: var(--accent); transition: 0.3s; }
.v7-card:hover .v7-circle-arrow { background: var(--accent); color: #fff; transform: translateX(-5px); }

.v7-card.fade { opacity: 0.2; filter: grayscale(1); transform: scale(0.95); }
.v7-card.highlight { border: 2px solid var(--accent); }

.v7-overlay { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.4); backdrop-filter: blur(12px); display: none; z-index: 9999; align-items: center; justify-content: center; padding: 20px; }
.v7-modal { background: #fff; width: 100%; max-width: 950px; max-height: 85vh; border-radius: 32px; overflow-y: auto; box-shadow: 0 40px 100px -20px rgba(0,0,0,0.3); animation: v7Pop 0.4s ease; }
.v7-modal-header { padding: 25px 40px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: #fff; z-index: 10; }
.v7-modal-title { font-weight: 900; color: var(--color1); font-size: 1.4rem; }

.v7-close-btn {
    background: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px; transition: 0.3s;
 }

.v7-close-btn:hover {
     background:  var(--white);
}
.v7-modal-content {
     padding: 40px; 
}

@keyframes v7Pop {
     from { opacity: 0; transform: scale(0.95) translateY(20px); } to { opacity: 1; transform: scale(1) translateY(0); } 
}

@media (max-width: 1100px) {
    .v7-grid {
         flex-wrap: wrap;
     }
    .v7-card {
         min-width: calc(50% - 10px); 
    }
}
@media (max-width: 650px) {
    .v7-card {
         min-width: 100%; 
        }
    .v7-main-title {
         font-size: 2rem; 
        }
    .v7-search-bar {
         border-radius: 20px;
         }
    .v7-search-badge {
         display: none; 
        }
}

.water-anchor-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px auto;
    padding: 10px;
    background:  var(--white);
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    border: 1px solid  var(--white);
    max-width: fit-content;
    direction: rtl;
    background: #ebebeb;
}

.anchor-item {
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

#heroTownSelect {
    border: none;
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    color: var(--site1);
    cursor: pointer;
    outline: none;
    border: 1px solid transparent;
}
#heroTownSelect:hover {
     border-color:  var(--color4);
 }

.video-trigger {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color1);
    cursor: pointer;
    padding: 8px 15px;
}
.video-trigger:hover
 { 
    color: var(--color4);
}

.emergency-action {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color:  var(--white);
    color: #e63946 !important;
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    border: 1px solid #ffccd1;
}

.emergency-action:hover {
    background-color: #e63946;
    color: #ffffff !important;
}


.emergency-pulse {
    width: 8px;
    height: 8px;
    background-color: #e63946;
    border-radius: 50%;
    position: relative;
}
.emergency-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    animation: pulse-ring 1.5s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(3); opacity: 0; }
}

@media (max-width: 600px) {
    .water-anchor-bar {
        flex-direction: column;
        border-radius: 15px;
        width: 100%;
    }
}

/*servicies*/

.btgrid.services {
    direction: rtl;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 20px 0;
}
.btgrid.services  .col-md-4 {
    margin-bottom: 2rem;
}
.btgrid.services .content {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid  var(--white);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    height: 100%;
    margin-bottom: 30px;
}

.btgrid.services .content:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.15);
    border-color:  var(--color1);
}

.btgrid.services .content {
    margin: 0;
    text-align: center;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

.btgrid.services .content p {
    padding-top: 25px;
}

.btgrid.services .content h3 {
    padding: 0 25px 25px 25px;
}

.btgrid.services .content img {
    width: 150px !important; 
    height: 150px !important;
    object-fit: contain;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.btgrid.services .content:hover img {
    transform: scale(1.1);
}

.btgrid.services .content h3 a {
    font-size: 1.25rem;
    font-weight: 800;
    color:  var(--color1);
    text-decoration: none !important;
}

.btgrid.services .content ul {
    list-style: none;
    padding: 20px 25px;
    margin: 0;
    flex-grow: 1;
}

.btgrid.services .content ul li {
    padding: 8px 0;
    border-bottom: 1px solid  var(--white);
    display: flex;
    align-items: center;
}

.btgrid.services .content ul li:last-child {
    border-bottom: none;
}

.btgrid.services .content ul li::before {
    content: "←";
    margin-left: 10px;
    color:  var(--color1);
    font-weight: bold;
    transition: margin 0.2s ease;
}

.btgrid.services .content:hover ul li::before {
    margin-left: 15px;
}

.btgrid.services .content ul li a {
    color:  var(--color4);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.btgrid.services .content ul li a:hover {
    color: var(--color1);
}


@media (max-width: 768px) {
    .btgrid.services .col-md-4 {
        margin-bottom: 20px;
    }
}
/*eitur*/

.clean-service-grid {
    max-width: 1500px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 10px;
    margin: 1rem auto;
}

.service-item {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    border-top: 4px solid #1f4373;
}

.service-item[data-idx="1"] { border-top-color: #159146; }
.service-item[data-idx="2"] { border-top-color: #f39519; }
.service-item[data-idx="3"] { border-top-color: #15a79c; }
.service-item[data-idx="4"] { border-top-color: #90c348; }

.service-item:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.model-num-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: #94a3b8;
    margin-bottom: 10px;
}

.model-main-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 15px;
    min-height: 3em;
}

.towns-preview {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.modal-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(15, 23, 42, 0.7); 
    backdrop-filter: blur(8px); 
    display: none; 
    z-index: 9999; 
    align-items: center; 
    justify-content: center;
    padding: 20px;
}

.modal-box {
    background: #fff; 
    width: 100%; 
    max-width: 950px; 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.35);
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-head {
    padding: 25px 40px; 
    border-bottom: 1px solid #f1f5f9;
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background: #ffffff;
    position: sticky;
    top: 0;
}

.modal-title-text {
    font-size: 2rem;
    color: var(--site1);
    font-weight: bold;
}

.close-circle-btn {
    cursor: pointer; 
    border: none; 
    background: #f1f5f9; 
    width: 45px; 
    height: 45px; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    transition: 0.2s;
}

.close-circle-btn:hover {
    background: #e2e8f0;
    color: #ef4444;
    transform: rotate(90deg);
}

.modal-body { 
    padding: 40px 50px; 
    overflow-y: auto; 
    line-height: 1.8; 
    font-size: 1.15rem;
    color: #334155;
}
.sub-pages-nav a .icon {
    width: 50%;
}
.modal-body table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.modal-body td, .modal-body th { border: 1px solid #eee; padding: 12px; text-align: right; }

@media (max-width: 1000px) { 
    .clean-service-grid { grid-template-columns: repeat(2, 1fr); } 
    .modal-box { max-width: 95%; }
}
@media (max-width: 600px) { 
    .clean-service-grid { grid-template-columns: 1fr; } 
    .modal-head { padding: 20px; }
    .modal-body { padding: 20px; }
}
