body {
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
    background: #f7f7f7;
    margin: 0;
    direction: rtl;
    scrollbar-width: none;
}

.slider-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.92) 40%, rgba(10,123,108,0.0) 100%), url('../images/w1.jpg');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    width: 100%;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 100vh;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
        
    background-size: cover;
}

.slide.active {
    opacity: 1;
}

.slide h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
   
}

.slide p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: normal;
}

.slide-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #0a7b6c;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background-color 0.3s;
    font-weight: 500;
}

.slide-btn:hover {
    background-color: #065a4f;
}

.slider-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    display: none;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background-color: #0a7b6c;
}

.info-boxes {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
    right: 0;
}

.info-box {
    flex: 1;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(4px);
    background-color: #2467568a;
    position: relative;
    transition: transform 0.3s;
}

.info-box:not(:first-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background: rgba(255, 255, 255, 0.3);
}

.info-box h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: bold;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.info-box p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-weight: normal;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

@media (max-width: 768px) {
    .info-boxes {
        flex-direction: column;
        bottom: 0;
        position: relative;
        padding: 20px;
        margin-top: -100px;
    }

    .info-box {
        margin-bottom: 15px;
    }

    .info-box:not(:last-child)::after {
        width: 70%;
        height: 1px;
        bottom: -7px;
        right: 15%;
        top: auto;
        transform: none;
    }

    .slide h2 {
        font-size: 2.5rem;
    }

    .slide p {
        font-size: 1.2rem;
    }
}

.services-slider-section {
    background: linear-gradient(to left, rgba(255, 255, 255, 0.92) 40%, rgba(10,123,108,0.0) 100%), url('../images/w1.jpg');
    background-size: cover;
    background-position: center;
    /* padding: 48px 0 32px 0; */
    text-align: center;
    height: auto;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-slider {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.service-slide {
    display: none;
    animation: fadeIn 0.7s;
}

.service-slide.active {
    display: block;
}

.service-slide h2 {
    color: #0a7b6c;
    margin-bottom: 18px;
    font-size: 1.4rem;
}

.service-slide ul {
    list-style: disc inside;
    text-align: right;
    color: #222;
    margin: 0 auto;
    max-width: 350px;
}

.service-slide li {
    font-size: 1.05rem;
    margin-bottom: 10px;
    text-align: right;
}

/* --- Services Slider Controls: Diagonal Line with Dots --- */
.services-slider-controls {
    position: absolute;
    top: 120%;
    left: 120%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    z-index: 2;
    background: none;
    margin: 0;
    width: auto;
    height: auto;
}

.services-slider-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 5px;
    background: #e6f7f5;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    border: 2px solid #0a7b6c;
}

.services-slider-dot.active {
    background: #0a7b6c;
}

.services-slider-controls .diagonal-line {
    display: none !important;
}

@media (max-width: 600px) {
    .services-slider-controls {
        width: auto;
        height: auto;
    }
}

.main-nav {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    padding: 0;
    margin-bottom: 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    color: #0a7b6c;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 18px 0;
    transition: color 0.2s;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.main-nav a:hover {
    color: #1fc8db;
}
@media (max-width: 700px) {
    .main-nav ul {
        gap: 16px;
    }
    .main-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }
}

.overlay-nav {
    background: rgba(255,255,255,0.7);
    position: fixed;
    top: -80px; /* مخفی در ابتدا */
    right: 0;
    left: 0;
    z-index: 100;
    box-shadow: none;
    border: none;
    backdrop-filter: blur(4px);
    transition: top 0.4s cubic-bezier(.4,0,.2,1), background 0.3s;
    opacity: 0;
    pointer-events: none;
}
.overlay-nav.visible {
    top: 0;
    opacity: 1;
    pointer-events: auto;
}
.overlay-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.overlay-nav a {
    display: block;
    color: #0a7b6c;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 18px 0;
    transition: color 0.2s;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.overlay-nav a:hover {
    color: #1fc8db;
}
@media (max-width: 700px) {
    .overlay-nav ul {
        gap: 16px;
    }
    .overlay-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* منوی اولیه (روی اسلایدر) */
.normal-nav {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.7);
    z-index: 1000; /* مقدار بالا برای اطمینان از نمایش */
    box-shadow: none;
    border: none;
    backdrop-filter: blur(4px);
    transition: background 0.3s;
}

/* منوی چسبان (بعد از اسکرول) */
.sticky-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.85);
    z-index: 2000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: none;
    backdrop-filter: blur(4px);
    transition: top 0.4s cubic-bezier(.4,0,.2,1), background 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}
.sticky-nav.visible {
    opacity: 1;
    pointer-events: auto;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 36px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.main-nav a {
    display: block;
    color: #246756;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 18px 0;
    transition: color 0.2s;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.main-nav a:hover {
    color: #65a99a;
}
@media (max-width: 700px) {
    .main-nav ul {
        gap: 16px;
    }
    .main-nav a {
        font-size: 1rem;
        padding: 12px 0;
    }
}

/* بخش اخبار */
.news-section {
    padding: 45px 0;
    /* background: linear-gradient(120deg, #4a9581 0%, #c0e0dbd1 100%);*/
    color: #0a7b6c;
    height: auto;
    background-color: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
    color: #0a7b6c;
}

.section-subtitle {
    text-align: center;
    color: #4a9581;
    margin-bottom: 3rem;
    font-weight: normal;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

.news-card {
    background: #f7f7f7;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 1.5rem;
    text-align: center;
}

.news-tag {
    display: inline-block;
    background: #4a9581;
    color: #fff;
    padding: 0.3rem 2rem;
    border-radius: 15px;
    font-size: 0.9rem;
    margin-bottom: 0rem;
    text-align: center;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: bold;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
    color: #0a7b6c;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-more {
    text-align: center;
    margin-top: 2rem;
    padding: 0 20px;
}

.more-link {
    color: #1fc8db;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.more-link:hover {
    color: #0a7b6c;
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* بخش شرکت‌های زیرمجموعه */
.subsidiaries-section {
   /*  background: #fff;*/
    padding: 10px 0;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.subsidiaries-title {
    color: #0a7b6c;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.subsidiaries-subtitle {
    color: #666;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 4rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: normal;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.companies-container {
    position: relative;
    width: 600px;
    height: 400px;
    background-color: transparent;
    border-radius: 10px;
    padding: 20px;
}

/* استایل دایره‌ها */
.company-circle {
    position: absolute;
    border: 2px solid rgba(10, 123, 108, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
    cursor: pointer;
    text-decoration: none;
    background-color: rgba(10, 123, 108, 0.05);
    background-color:rgb(74 149 129);
}

.company-circle:hover {
    border-color: #0a7b6c;
    box-shadow: 0 0 20px rgba(10, 123, 108, 0.2);
    transform: scale(1.1);
}

.center-circle {
    width: 90px;
    height: 90px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    z-index: 2;
    background-color: #fff;
    border: 2px solid #0a7b6c;
    background-color: #246756;
}

.center-circle:hover {
    transform: translate(-50%, -50%) !important;
    border-color: rgba(255,255,255,0.8);
    box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.satellite-circle {
    width: 82.5px;
    height: 82.5px;
    position: absolute;
}

/* استایل مستطیل‌ها */
.rectangle-link {
    position: absolute;
    width: 130px;
    height: 40px;
    background-color: rgba(10, 123, 108, 0.05);
    border: 2px solid rgba(10, 123, 108, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.5s ease;
    color: #0a7b6c;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.rectangle-link:hover {
    border-color: #0a7b6c;
    box-shadow: 0 0 20px rgba(10, 123, 108, 0.2);
    transform: scale(1.05);
    background-color: rgba(10, 123, 108, 0.1);
}

/* موقعیت مستطیل‌ها */
.rectangle-right-1 { right: -80px; top: 15%; transform: rotate(-15deg); }
.rectangle-right-2 { right: -125px; top: 45%; }
.rectangle-right-3 { right: -80px; top: 75%; transform: rotate(15deg); }
.rectangle-left-1 { left: -80px; top: 15%; transform: rotate(15deg); }
.rectangle-left-2 { left: -125px; top: 45%; }
.rectangle-left-3 { left: -80px; top: 75%; transform: rotate(-15deg); }

/* خطوط ارتباطی */
.connection-line {
    position: absolute;
    height: 2px;
    background: rgba(10, 123, 108, 0.1);
    transform-origin: 0 50%;
    overflow: hidden;
}

.connection-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(10, 123, 108, 0) 0%, rgba(10, 123, 108, 0.05) 100%);
}

.connection-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 25px;
    height: 6px;
    background: linear-gradient(90deg, transparent, rgba(10, 123, 108, 1), transparent);
    animation: shine 4s linear infinite;
    animation-delay: var(--shine-delay);
    opacity: 0.8;
}

@keyframes shine {
    0% { left: -25px; opacity: 0; }
    2% { left: 0%; opacity: 0.8; }
    23% { left: 100%; opacity: 0; }
    24% { opacity: 0; }
    100% { opacity: 0; left: 100%; }
}

/* مسیر دایره‌ای */
.circular-path {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px dashed rgba(10, 123, 108, 0.2);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotatePath 60s infinite linear;
}

/* متن و لوگو */
.circle-text {
    color: white;
    font-size: 18px;
    text-decoration: none;
}

/* انیمیشن‌ها */
@keyframes rotatePath {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ریسپانسیو */
@media (max-width: 768px) {
    .companies-container {
        width: 100%;
        height: auto;
        padding: 20px;
    }

    .company-circle {
        position: relative;
        margin: 10px auto;
    }

    .center-circle {
        position: relative;
        transform: none !important;
        margin: 20px auto;
    }

    .satellite-circle {
        position: relative;
        margin: 10px auto;
    }

    .connection-line, .circular-path {
        display: none;
    }

    .rectangle-link {
        position: relative;
        margin: 10px auto;
        transform: none !important;
        right: auto;
        left: auto;
    }
}

/* فوتر */
.footer {
    background-color: #1a2634;
    color: #fff;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-section {
    flex: 1;
}

.footer-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: bold;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background: #4a9581;
}

.contact-info {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: normal;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.footer-links a:hover {
    color: #65a99a;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: #4a9581;
}

.social-link img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 30px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* بخش درباره ما */
.about-section {
    background-color: #1a2634;
    color: #fff;
    padding: 40px 0;
    text-align: right;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.about-title {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    font-weight: bold;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

.about-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: normal;
    font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}

@media (max-width: 768px) {
    .about-container {
        padding: 0 15px;
    }
}

/* تنظیمات fullPage.js */
html.fp-enabled,
.fp-enabled body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}

#fp-nav {
    position: fixed;
    z-index: 100;
    margin-top: -32px;
    top: 50%;
    opacity: 1;
}

#fp-nav.left {
    left: 17px;
}

#fp-nav ul li {
    width: 14px;
    height: 14px;
    margin: 12px 7px;
    position: relative;
}

#fp-nav ul li a {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
}

#fp-nav ul li a span {
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    height: 8px;
    width: 8px;
    border: 2px solid #0a7b6c;
    background: rgba(255, 255, 255, 0.5);
    left: 50%;
    top: 50%;
    margin: -4px 0 0 -4px;
    transition: all 0.1s ease-in-out;
}

#fp-nav ul li a.active span {
    background: #0a7b6c;
    transform: scale(1.2);
}

.fp-tooltip {
    position: absolute;
    top: -2px;
    color: #fff;
    font-size: 14px;
    font-family: arial, helvetica, sans-serif;
    white-space: nowrap;
    max-width: 220px;
    padding: 5px 10px;
    background: rgba(10, 123, 108, 0.9);
    border-radius: 4px;
}

.fp-tooltip.left {
    right: 20px;
}

/* تنظیمات منو */
.main-nav a.active {
    color: #1fc8db;
    position: relative;
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 100%;
    height: 2px;
    background: #1fc8db;
}

@media (max-width: 768px) {
    .fp-enabled body {
        overflow: auto;
    }
    
    #fp-nav {
        display: none;
    }
}

/* تنظیم وزن‌های فونت */
h1, h2, .section-title, .subsidiaries-title {
    font-weight: bold;
}

h3, .footer-title, .about-title, .news-content h3 {
    font-weight: bold;
}

.main-nav a, .overlay-nav a, .slide-btn, .rectangle-link {
    font-weight: 500;
}

p, .info-box p, .section-subtitle, .subsidiaries-subtitle, .about-text, .footer-links a {
    font-weight: normal;
}

@font-face {
    font-family: 'Modam-FaNum-Regular';
    src: url('../fonts/ModamFaNum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-fanum-regular {
    font-family: 'Modam-FaNum-Regular', sans-serif;
  }

  @font-face {
    font-family: 'Modam-FaNum-Thin';
    src: url('../fonts/ModamFaNum-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-fanum-thin {
    font-family: 'Modam-FaNum-Thin', sans-serif;
  }
  @font-face {
    font-family: 'Modam-FaNum-Bold';
    src: url('../fonts/ModamFaNum-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-fanum-bold {
    font-family: 'Modam-FaNum-Bold', sans-serif;
  }
  @font-face {
    font-family: 'Modam-FaNum-Black';
    src: url('../fonts/ModamFaNum-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-fanum-black {
    font-family: 'Modam-FaNum-Black', sans-serif;
  }
  @font-face {
    font-family: 'Modam-Standard-Regular';
    src: url('../fonts/Modam-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-standard-regular {
    font-family: 'Modam-Standard-Regular', sans-serif;
  }
  @font-face {
    font-family: 'Modam-Standard-Thin';
    src: url('../fonts/Modam-Light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-standard-thin {
    font-family: 'Modam-Standard-Thin', sans-serif;
  }
  @font-face {
    font-family: 'Modam-Standard-Bold';
    src: url('../fonts/Modam-Bold.woff') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-standard-bold {
    font-family: 'Modam-Standard-Bold', sans-serif;
  }
  @font-face {
    font-family: 'Modam-Standard-Black';
    src: url('../fonts/Modam-Black.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }
  
  .modam-standard-black {
    font-family: 'Modam-Standard-Black', sans-serif;
  }

/* --- Services Slider New Layout --- */
.services-slider-layout {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  height: 90vh;
  min-height: 600px;
  padding: 40px 0 0 0;
}
.services-slider-decor {
  flex: 1.2;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-width: 350px;
  min-height: 350px;
  max-width: 600px;
  z-index: 1;
  position: relative;
}
.services-slider-decor svg {
    visibility: hidden;
  width: 100%;
  height: auto;
  max-width: 480px;
  max-height: 480px;
  display: block;
}
.services-slider-content {
    margin-right: 5%;
  flex: 1.8;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-left: 40px;
  padding-right: 20px;
  z-index: 2;
}
.services-slider-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #065a4f;
  margin-bottom: 18px;
  font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.services-slider-subtitle {
  font-size: 1.5rem;
  font-weight: bold;
  color: #222;
  margin-bottom: 18px;
  font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.services-slider-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  width: 100%;
  max-width: 520px;
  counter-reset: item;
  font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.services-slider-list li {
  display: flex;
  align-items: center;
  font-size: 1.15rem;
  color: #0a7b6c;
  margin-bottom: 12px;
  font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
  text-align: right;
  position: relative;
  padding-right: 38px;
}
.services-slider-list li::before {
  content: counter(item, persian);
  counter-increment: item;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0;
  width: 28px;
  height: 28px;
  background: #e6f7f5;
  border: 2px solid #0a7b6c;
  color: #0a7b6c;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(10,123,108,0.08);
  font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
}
.services-slider-buttons {
  display: flex;
  gap: 18px;
  margin-bottom: 32px;
  margin-top: 8px;
}
.cta-btn {
  background: #0a7b6c;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 12px 32px;
  font-size: 1.1rem;
  font-family: 'Modam-FaNum-Regular', Arial, sans-serif;
  font-weight: bold;
  box-shadow: 0 2px 12px rgba(10,123,108,0.08);
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  text-decoration: none;
  outline: none;
}
.cta-btn:hover {
  background: #065a4f;
  color: #fff;
}
.cta-btn-outline {
  background: #e6f7f5;
  color: #0a7b6c;
  border: 2px solid #0a7b6c;
}
.cta-btn-outline:hover {
  background: #0a7b6c;
  color: #fff;
}
.services-slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}
.services-slider-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin: 0 5px;
  background: #e6f7f5;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
  border: 2px solid #0a7b6c;
}
.services-slider-dot.active {
  background: #0a7b6c;
}
@media (max-width: 1100px) {
  .services-slider-layout {
    flex-direction: column-reverse;
    align-items: center;
    min-height: 0;
    padding: 0;
  }
  .services-slider-decor {
    margin-bottom: 24px;
    justify-content: center;
    min-width: 220px;
    min-height: 220px;
  }
  .services-slider-content {
    align-items: flex-start;
    padding-left: 0;
    padding-right: 0;
  }
}
@media (max-width: 700px) {
  .services-slider-title {
    font-size: 2rem;
  }
  .services-slider-subtitle {
    font-size: 1.1rem;
  }
  .services-slider-list li {
    font-size: 1rem;
    padding-right: 32px;
  }
  .services-slider-list li::before {
    width: 22px;
    height: 22px;
    font-size: 0.95rem;
  }
  .cta-btn, .cta-btn-outline {
    font-size: 1rem;
    padding: 10px 18px;
  }
}


html {
    height:100%;
  }
  
  body {
    margin:0;
  }
  
  .bg {
    animation:slide 3s ease-in-out infinite alternate;
    background-image: linear-gradient(-60deg, #6c3 50%, #09f 50%);
    background-image: linear-gradient(-60deg, #cdebe12e 50%, #ffffff73 50%);
    bottom:0;
    left:-50%;
    opacity:.5;
    position:fixed;
    right:-50%;
    top:0;
    z-index:-1;
  }
  
  .bg2 {
    animation-direction:alternate-reverse;
    animation-duration:4s;
  }
  
  .bg3 {
    animation-duration:5s;
  }
  
  .content {
    background-color:rgba(100,100,100,.8);
    border-radius:.25em;
    box-shadow:0 0 .25em rgba(0,0,0,.25);
    box-sizing:border-box;
    left:50%;
    padding:10vmin;
    position:fixed;
    text-align:center;
    top:50%;
    transform:translate(-50%, -50%);
  }
  
  h1 {
    font-family:monospace;
  }
  
  @keyframes slide {
    0% {
      transform:translateX(-25%);
    }
    100% {
      transform:translateX(25%);
    }
  }