/* =================================
   1. FONT DEFINITIONS
   ================================= */
@font-face {
    font-family: 'Posterama';
    src: url('../fonts/posterama-regular.woff2') format('woff2'),
         url('../fonts/posterama-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Posterama';
    src: url('../fonts/posterama-bold.woff2') format('woff2'),
         url('../fonts/posterama-bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}


/* =================================
   2. GENERAL & TYPOGRAPHY STYLES
   ================================= */
body {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    margin: 0;
    color: #333;
    line-height: 1.6;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
h1, h2, .logo {
    font-family: 'Posterama', sans-serif;
    font-weight: 700;
}
h3 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}
a {
    text-decoration: none;
    color: #007BFF;
}
a:hover {
    color: #0056b3;
}
.btn {
    display: inline-block;
    background-color: #27ae60;
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}
.section-title {
    text-align: center;
    margin-bottom: 80px;
}
.section-title span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title h2 {
    font-family: 'Posterama', sans-serif;
    font-size: 42px;
    color: #2c3e50;
    margin: 0;
}


/* =================================
   3. HEADER STYLES
   ================================= */
header {
    background-color: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 24px;
    color: #2c3e50;
    text-decoration: none;
}
nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
nav ul li {
    display: inline-block;
    margin-left: 30px;
}
nav ul li a {
    color: #34495e;
    font-weight: 500;
    text-decoration: none;
}


/* =================================
   4. HOMEPAGE - HERO SECTION
   ================================= */
.hero {
    position: relative;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    overflow: hidden;
}
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
}
.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}
.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}


/* =================================
   5. HOMEPAGE - FEATURES GRID
   ================================= */
.features {
    padding: 80px 0;
    background-color: #f8f9fa;
}
.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.feature-item {
    text-align: center;
}
.feature-item h3 {
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 10px;
}


/* =================================
   6. HOMEPAGE - TEAM SECTION (GLASS CARD)
   ================================= */
.team-section {
    padding: 80px 0;
    background-color: #2c3e50;
}
.team-photo-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.team-photo-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}
.glass-card {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    padding: 30px;
    margin: 20px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}
.glass-card h2 {
    font-family: 'Posterama', sans-serif;
    font-size: 32px;
    margin: 0 0 10px 0;
}
.glass-card p {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    opacity: 0.9;
}


/* =================================
   7. HOMEPAGE - TESTIMONIAL SLIDER
   ================================= */
.testimonial-slider {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
}
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.slide {
    display: none;
    align-items: center;
    gap: 60px;
    padding: 0 5%;
}
.slide.active {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    animation: fadeIn 0.8s ease-in-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.slide-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}
.slide-content {
    text-align: left;
}
.quote-icon {
    color: #34495e;
    margin-bottom: 15px;
}
.slide-content p {
    font-size: 20px;
    font-style: italic;
    line-height: 1.7;
    color: #333;
    margin-bottom: 30px;
}
.client-name {
    font-family: 'Posterama', sans-serif;
    font-weight: 700;
    font-size: 22px;
    color: #2c3e50;
}
.slider-nav {
    position: absolute;
    bottom: 20px;
    right: 5%;
    display: flex;
    gap: 15px;
}
.slider-nav button {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, border-color 0.3s;
}
.slider-nav button:hover {
    background-color: #27ae60;
    border-color: #27ae60;
}
.slider-nav button:hover svg {
    stroke: #fff;
}


/* =================================
   8. HOMEPAGE - CALL TO ACTION (CTA)
   ================================= */
.cta-section {
    position: relative;
    padding: 120px 0;
    background-image: url('../images/cta-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
}
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(25, 42, 60, 0.75);
    z-index: 1;
}
.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}
.cta-content h2 {
    font-family: 'Posterama', sans-serif;
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}
.cta-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 40px;
    opacity: 0.9;
}
.btn-cta {
    background-color: #27ae60;
    color: #fff;
    padding: 15px 35px;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-block;
}
.btn-cta:hover {
    background-color: #2ecc71;
    transform: translateY(-3px);
    color: #fff;
}


/* =================================
   9. FOOTER STYLES
   ================================= */
.site-footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding: 60px 0 0;
    font-size: 15px;
    line-height: 1.7;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}
.footer-column .footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 15px;
}
.footer-column p {
    margin: 0;
}
.footer-column h4 {
    color: #fff;
    font-family: 'Posterama', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 20px;
}
.footer-column.links ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
.footer-column.links li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column.links li a:hover {
    color: #fff;
}
.footer-bar {
    background-color: #233140;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
    font-size: 14px;
}


/* =================================
   10. ABOUT US PAGE - HERO SECTION
   ================================= */
.about-hero {
    padding: 100px 0;
    background-color: #fff;
}
.about-hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}
.about-hero-content {
    flex: 1;
    max-width: 50%;
}
.about-hero-content .pre-header {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.about-hero-content h1 {
    font-family: 'Posterama', sans-serif;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2c3e50;
    font-weight: 700;
}
.about-hero-content p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #34495e;
}
.about-hero-image {
    flex: 1;
    max-width: 45%;
}
.about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}


/* =================================
   11. ABOUT US PAGE - WHY US SECTION
   ================================= */
.why-us-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}
.feature-block {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}
.feature-block:last-child {
    margin-bottom: 0;
}
.feature-image,
.feature-content {
    flex: 1;
}
.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
.feature-content h3 {
    font-family: 'Posterama', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}
.feature-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.8;
    color: #34495e;
}
.feature-block.block-reverse {
    flex-direction: row-reverse;
}


/* =================================
   12. ABOUT US PAGE - KEY FEATURES
   ================================= */
.key-features {
    padding: 100px 0;
    position: relative;
    background: #f8f9fa;
}

/* DESKTOP: INTERACTIVE MAP STYLES */
.feature-map-desktop {
    display: none;
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 600px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}
.feature-map-desktop::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 20, 40, 0.5);
    z-index: 1;
}
.map-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.map-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hotspots-container-linear {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    padding: 0 10%;
}
.hotspot-trigger {
    position: relative;
    width: 60px;
    height: 60px;
    cursor: pointer;
}
.sonar-emitter {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #27ae60;
    display: flex;
    justify-content: center;
    align-items: center;
}
.sonar-emitter::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #fff;
}
.sonar-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #27ae60;
    opacity: 0;
    z-index: -1;
    animation: sonar-effect 2s infinite;
}
@keyframes sonar-effect {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}
.hotspot-popup {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    text-align: center;
    z-index: 10;
}

.hotspot-popup.position-above {
    bottom: 120%;
}

.hotspot-popup.position-below {
    top: 120%;
}
.hotspot-popup.visible {
    display: block;
}
.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}
.hotspot-svg-icon {
    margin: 0 auto 15px auto;
    width: 40px;
    height: 40px;
    background-color: #ecfdf5;
    color: #27ae60;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hotspot-content h3 {
    font-family: 'Posterama', sans-serif;
    font-size: 18px;
    margin-bottom: 10px;
    color: #2c3e50;
}
.hotspot-content p {
    font-size: 14px;
    line-height: 1.6;
    color: #34495e;
    margin: 0;
}


/* MOBILE: ACCORDION STYLES */
.feature-accordion-mobile {
    display: block;
    max-width: 500px;
    margin: 0 auto;
}
.accordion-item {
    margin-bottom: 15px;
}
.accordion-header {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background 0.3s;
}
.accordion-header:hover {
    background: rgba(255, 255, 255, 0.6);
}
.accordion-icon {
    color: #2c3e50;
    flex-shrink: 0;
}
.accordion-header h4 {
    font-family: 'Posterama', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: #fff;
    border-radius: 0 0 12px 12px;
    margin-top: -8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.accordion-content p {
    padding: 25px 20px;
    font-size: 16px;
    line-height: 1.7;
    color: #34495e;
}
.accordion-item.active .accordion-content {
    max-height: 200px;
    padding-top: 5px;
}


/* =================================
   13. RESPONSIVE STYLES
   ================================= */
@media (max-width: 992px) {
    /* About Us Hero */
    .about-hero .container {
        flex-direction: column;
        text-align: center;
    }
    .about-hero-content,
    .about-hero-image {
        max-width: 100%;
    }
    .about-hero-image {
        margin-top: 40px;
    }
    .about-hero-content h1 {
        font-size: 40px;
    }
    
    /* Why Us Section */
    .feature-block {
        flex-direction: column !important;
        gap: 40px;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .feature-map-desktop {
        display: block;
    }
    .feature-accordion-mobile {
        display: none;
    }
}


/* ========================================================
   14. SERVICES PAGE - HERO SECTION (FINAL)
   ======================================================== */

/* کانتینر اصلی تمام-عرض */
.hero-final-wrapper {
    width: 100%;
    padding: 120px 0;
    background-color: #fff;
    overflow: hidden;
}

/* استفاده از Flexbox برای ایجاد دو ستون */
.hero-final-grid {
    display: flex;
    align-items: center;
    max-width: 1500px; /* برای جلوگیری از کشیدگی زیاد */
    margin: 0 auto;
}

/* ستون متن */
.hero-final-text {
    flex: 1 1 55%; /* سهم بیشتر برای متن */
    padding: 0 40px 0 60px;
}

/* ستون تصویر */
.hero-final-image-area {
    flex: 1 1 45%; /* سهم کمتر برای تصویر */
}

/* استایل‌های متن */
.hero-final-text .pre-header {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.hero-final-text h1 {
    font-family: 'Posterama', sans-serif;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 25px;
    color: #2c3e50;
}
.hero-final-text p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 35px;
    color: #34495e;
}


/* -- Image Layering (Final Adjustments) -- */

/* -- لایه‌بندی تصاویر (نسخه نهایی با بازبینی کامل) -- */

/* ظرف نگهدارنده اصلی */
.image-layer-stack {
    position: relative;
    aspect-ratio: 4 / 3;
    /*overflow: hidden; /* بخش‌های اضافه عکس پس‌زمینه رو مخفی میکنه */
    border-radius: 16px;
}



/* تصویر پس‌زمینه (با روش پیشنهادی شما) */
.image-layer-bg {
    position: absolute;
    object-fit: cover;
    z-index: 0; /* لایه زیر */
    
    /* عکس رو بزرگتر و وسط‌چین میکنیم */
    width: 140%; 
    height: 140%;
    top: 35%;
    left: 90%;
    border-radius: 12px;
    
    /* با عدد دوم (عمودی) میتونی بیاریش بالاتر یا پایین‌تر */
    transform: translate(-50%, -40%); 
    /* این خط جایگزین اورلی میشه و عکس رو تیره میکنه */
    filter: brightness(60%);
}

/* تصویر جلویی (بدون تغییر) */
.image-layer-fg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-60%, -50%);
    width: 70%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    z-index: 2; /* لایه رو */
}

/* ========================================================
   15. SERVICES PAGE - Capabilities Section
   ======================================================== */

.capabilities-section {
    padding: 100px 0;
    background-color: #f0f2f5; /* کمی تغییر رنگ پس‌زمینه برای بهتر دیده شدن افکت گلس */
    position: relative;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* ستون متن کمی بزرگتر */
    gap: 80px;
    align-items: flex-start; /* آیتم‌ها از بالا تراز میشوند */
}

.capabilities-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.capabilities-content .section-heading {
    font-family: 'Posterama', sans-serif;
    font-size: 42px;
    color: #2c3e50;
    margin-top: 0;
    margin-bottom: 40px;
}

/* --- استایل آکاردئون شیشه‌ای (Glassmorphism) --- */
.glass-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item .accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    
    /* افکت اصلی گلس */
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.accordion-item .accordion-header:hover {
    background: rgba(255, 255, 255, 0.6);
}

.accordion-header h4 {
    margin: 0;
    font-family: 'Posterama', sans-serif;
    font-size: 20px;
    color: #2c3e50;
    position: relative;
    padding-left: 35px; /* فضا برای آیکون */
}

/* آیکون کنار عنوان */
.accordion-header h4::before {
    content: '✓'; /* آیکون تیک - می‌تونی با هرچیزی عوض کنی */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #27ae60;
    font-size: 22px;
    font-weight: bold;
}

.accordion-toggle-icon {
    font-size: 28px;
    font-weight: 300;
    color: #34495e;
    transition: transform 0.3s ease;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease-out;
    background: #fff;
    border-radius: 0 0 12px 12px;
    margin-top: -10px; /* کمی همپوشانی با هدر */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.accordion-content p {
    padding: 25px;
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #34495e;
}

/* استایل حالت فعال (Active) */
.accordion-item.active .accordion-header {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.accordion-item.active .accordion-toggle-icon {
    transform: rotate(45deg);
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* ارتفاع تقریبی برای محتوا */
    padding-top: 15px;
}

/* ========================================================
   16. SERVICES PAGE - CProduct Showcase Section
   ======================================================== */

.product-showcase-section {
    padding: 100px 0;
    background-color: #fff;
}

.product-gallery-grid {
    display: grid;
    /* گرید واکنشگرا: ۴ ستون در دسکتاپ، ۳ ستون در تبلت و ۲ ستون در موبایل */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.gallery-item a {
    display: block;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item a:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

.gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================================
   17. LIGHTBOX CUSTOM STYLES (baguetteBox Override)
   ======================================================== */

/* 1. Change the overlay from black to your site's dark color */
#baguetteBox-overlay {
    background-color: rgba(44, 62, 80, 0.9); /* Using the dark blue from your site's palette */
}

/* 2. Style the Next/Previous/Close buttons */
.baguetteBox-button {
    background-color: rgba(255, 255, 255, 0.1) !important; /* A subtle, semi-transparent background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%; /* Make them circular */
    transition: background-color 0.3s ease;
}

.baguetteBox-button:hover {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

/* Make the arrow and 'X' icons inside the buttons white */
.baguetteBox-button svg {
    fill: #fff !important;
}

/* 3. Add a border to the main image */
#baguetteBox-slider .full-image img {
    border: 3px solid #fff;
    border-radius: 8px; /* Optional: adds rounded corners to the image */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

/* --- Final CTA Section --- */
.final-cta-section {
    background-color: #27ae60; /* The site's primary green color */
    padding: 80px 0;
    text-align: center;
}

.final-cta-section h2 {
    color: #fff;
    font-family: 'Posterama', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 30px;
}

.btn-cta-white {
    background-color: #fff;
    color: #2c3e50; /* Dark blue text */
    padding: 15px 35px;
    border-radius: 50px; /* Pill-shaped button */
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta-white:hover {
    color: #2c3e50;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* =================================
   18. CONTACT PAGE (USER DESIGN) STYLES
   ================================= */

/* --- Hero Section (User Design) --- */
.contact-hero-design {
    position: relative;
    padding: 120px 0;
    color: #fff;
    background-image: url('../images/hero-bg.jpg'); /* <-- مسیر تصویر پس‌زمینه */
    background-size: cover;
    background-position: center;
}

.contact-hero-design-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 30, 25, 0.85); /* یک لایه تیره روی عکس */
    z-index: 1;
}

.contact-hero-design .container {
    position: relative;
    z-index: 2;
}

.contact-hero-design-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.hero-design-left h1 {
    font-family: 'Posterama', sans-serif;
    font-size: 52px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-design-left p {
    font-size: 18px;
    line-height: 1.7;
    max-width: 450px;
    margin-bottom: 30px;
}

.hero-contact-card {
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-contact-card .pre-header {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-contact-card h3 {
    font-family: 'Posterama', sans-serif;
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.hero-contact-card p {
    font-size: 16px;
    margin-bottom: 25px;
}


/* --- Get In Touch Section --- */
.get-in-touch-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.get-in-touch-card {
    background: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    text-align: center;
}

.get-in-touch-card h2 {
    font-family: 'Posterama', sans-serif;
    font-size: 42px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.get-in-touch-card .section-subtitle {
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #555;
    line-height: 1.7;
}

/* --- Minimal Form Styles --- */
.minimal-contact-form .form-row-minimal {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.form-group-minimal {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.form-group-minimal input,
.form-group-minimal textarea {
    width: 100%;
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 10px 0;
    font-size: 16px;
    background: transparent;
    position: relative;
    z-index: 2;
}

.form-group-minimal input:focus,
.form-group-minimal textarea:focus {
    outline: none;
    border-bottom-color: #27ae60;
}

.form-group-minimal label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #999;
    transition: all 0.3s ease;
    z-index: 1;
}

/* --- Label animation --- */
.form-group-minimal input:focus + label,
.form-group-minimal input:valid + label,
.form-group-minimal textarea:focus + label,
.form-group-minimal textarea:valid + label {
    top: -15px;
    font-size: 12px;
    color: #27ae60;
}

.form-group-minimal button {
    width: auto;
    padding: 12px 40px;
}

/* --- Responsive for User Design --- */
@media (max-width: 992px) {
    .contact-hero-design-grid {
        grid-template-columns: 1fr;
    }
    .hero-design-left {
        text-align: center;
    }
    .hero-design-left p {
        margin: 0 auto 30px auto;
    }
}
@media (max-width: 768px) {
    .minimal-contact-form .form-row-minimal {
        flex-direction: column;
        gap: 0;
        margin-bottom: 0;
    }
    .get-in-touch-card {
        padding: 40px 25px;
    }
}