﻿/* ===== Base & Variables ===== */
@import url('fonts.css');

:root {
    --primary-green: #2fac66;
    --overlay-black: rgba(0, 0, 0, 0.3);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: iransharp, 'Arial', sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
}

body {
    margin-bottom: 0;
}

.text-primary {
    color: var(--primary-green) !important;
}

/* ===== Navbar ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    transition: none;
}

.logo-bg {
    display: inline-block;
    padding: 4px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.315);
    
    margin-right: 20px;
}

.logo-main {
    height: 50px;
    width: auto;
}

.logo-secondary {
    height: 35px;
    width: auto;
}



.navbar-brand {
    font-weight: bold;
    font-size: 25px;
}
.navbar-scrolled {
    box-shadow: none;
}
.nav-link {
    font-size: 20px;
    font-weight: bold;
    color: white !important;
    margin: 0 10px;
    padding: 5px 10px;
    transition: background 0.3s, color 0.3s;
}
.nav-link:hover {
    border-radius: 5px;
    color: var(--primary-green) !important;
}

/* ===== Home Slider ===== */
#home {
    height: 100vh;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
#home .carousel-inner,
#home .carousel-item img {
    height: 100vh ;
    object-fit: cover ;
}
.slider-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    z-index: 2;
    background: #000000a3;
}
.slider-overlay h1 {
    font-size: 3rem;
    font-weight: bold;
}
.slider-overlay p {
    font-size: 1.2rem;
}
.carousel-inner {
    position: fixed;
}
.logo-slider{
    width: 15%;
    height: 10%;
    background-color: rgba(255, 255, 255, 0.315);
    border-radius: 5px ; 
    padding: 7px ;

}

/* ===== Sections ===== */
section {
    background-color: #fff;
    z-index: 5;
}
section h2 {
    font-weight: bold;
    text-decoration: underline;
}
.section-up {
    position: relative;
    z-index: 2;
    transform: translateY(50px);
    opacity: 0;
    transition: transform 0.7s ease, opacity 0.7s ease;
}
.section-up.aos-animate {
    transform: translateY(0);
    opacity: 1;
}

/* ===== Products ===== */
#products .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}
#products .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}
.product-card {
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
    height: 100%;
}
#products .col-md-3 {
    width: 25%;
    padding: 0;
    margin: 0;
}
.product-card img {
    width: 100%;
    height: 350px;
    display: block;
    transition: transform 0.3s;
    margin: 0;
    object-fit: cover;
}
.product-card:hover img {
    transform: scale(1.1);
}
.product-card .overlay-p {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-green);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: height 0.3s;
    font-weight: bold;
    text-align: center;
    padding: 10px;
}
.product-card:hover .overlay-p {
    height: 100%;
    opacity: 0.5;
}

/* ===== About Section ===== */
#about {
    background: #e0e0e0;
}

/* ===== Services ===== */
#services .container {
    padding: 0;
    margin: 0;
    max-width: 100%;
}
#services .row {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0;
    padding: 0;
}
#services .col-md-6 {
    width: 50%;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}
#services .col-md-6 img {
    width: 100%;
    height: 400px;
    display: block;
    object-fit: cover;
    margin: 0;
    margin-bottom: 20px;
}
#services .custom-card {
    border: none;
    padding: 0;
}
#services .card-body {
    padding: 0;
}
.custom-card .card-body {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 20px;
}
.btn-brand-green {
    background-color: var(--primary-green);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}
.btn-brand-green:hover {
    background-color: #02823d;
}

/* ===== Footer ===== */
footer {
    background-color: #2f2f2f;
    color: #f1f1f1; 
    padding: 40px 20px 20px;
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 20;
    position: relative;

}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}
.footer-content > div {
    flex: 1 1 250px;
    min-width: 220px;
}
.footer-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #00cc66;
    display: inline-block;
    padding-bottom: 5px;
    color: #ffffff;
}
.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-content ul li {
    margin-bottom: 10px;
}
.footer-content ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-content ul li a:hover {
    color: #00cc66;
}
.footer-content p {
    line-height: 1.8;
    font-size: 15px;
    color: #cccccc;
}
.logo {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}
.honors ul li {
    font-size: 14px;
    color: #cccccc;
}
.footer-bottom-line {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 13px;
    color: #aaaaaa;
}
.legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
}

/* Location icon style for contact address */
.location-icon {
    color: var(--primary-green);
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-content > div {
        align-items: center;
        text-align: center;
    }
    .legal {
        align-items: center;
        text-align: center;
    }
}

/* ===== Final Fixes ===== */
.logo {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.315);
    border-radius: 8px ;
}
.legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}


/* ===== Redesigned About Section ===== */
#about {
    background-color: #f4f4f4;
    padding-top: 60px;
    padding-bottom: 60px;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-green);
    margin-bottom: 40px;
    text-decoration: underline;
    text-align: center; /* وسط‌چین در دسکتاپ */
}

.about-text {
    font-size: 16px;
    line-height: 2;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

/* جمله پایانی سبز و برجسته */
.about-text.highlight-text {
    font-weight: bold;
    color: var(--primary-green);
    font-size: 18px;
}

/* تصویر */
.about-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.about-img-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.about-img-wrapper:hover {
    transform: scale(1.02);
}

/* Responsive design */
@media (max-width: 992px) {
    .about-img-wrapper {
        margin-bottom: 30px;
    }
    .about-text {
        text-align: center;
    }
}

@import url('fonts.css');


:root {
    --primary-green: #2fac66;
    --overlay-black: rgba(0, 0, 0, 0.3);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: iransharp, 'Arial', sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
}

.text-primary {
    color: var(--primary-green) !important;
}
    

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    transition: none;
}

.navbar-brand{
    font-weight:bold;
    font-size: 25px;
}

.navbar-scrolled {
    box-shadow: none;
}

.nav-link {
    font-size:20px;
    font-weight: bold;
    color: white !important;
    margin: 0 10px;
    padding: 5px 10px;
    transition: background 0.3s, color 0.3s;
}

    .nav-link:hover {
        border-radius: 5px;
        color: var(--primary-green) !important;
    }

.image-container {
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 15px rgba(0,0,0,0.3);
    }


    .overlay {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.5); 
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .overlay-text {
      color: #fff;
      font-size: 70px;
      font-weight: bold;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    }


    .main-title{
        margin-top: 120px;
        text-align: center;
        color: #2fac66;

    }

    .title{
        text-align: center;
        margin-top: 50px;
    }
    
    .container2 {
  margin-top: 80px ;
  margin-right: 300px ;
  margin-bottom: 100px ;
  
 
 }

.column p {
  color: #777;
  margin: 6px 0;
  font-size: 20px;
  margin-bottom: 20px;
  margin-left: 10px ;
}



@import url('fonts.css');


:root {
    --primary-green: #2fac66;
    --overlay-black: rgba(0, 0, 0, 0.3);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: iransharp, 'Arial', sans-serif;
    scroll-behavior: smooth;
    background-color: #fff;
}

.text-primary {
    color: var(--primary-green) !important;
}
    

/* Navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    transition: none;
}

.navbar-brand{
    font-weight:bold;
    font-size: 25px;
}

.navbar-scrolled {
    box-shadow: none;
}

.nav-link {
    font-size:20px;
    font-weight: bold;
    color: white !important;
    margin: 0 10px;
    padding: 5px 10px;
    transition: background 0.3s, color 0.3s;
}

    .nav-link:hover {
        border-radius: 5px;
        color: var(--primary-green) !important;
    }

.image-container {
      position: relative;
      overflow: hidden;
      box-shadow: 0 0 15px rgba(0,0,0,0.3);
    }


    .overlay {
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      left: 0;
      background-color: rgba(0, 0, 0, 0.5); 
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .overlay-text {
      color: #fff;
      font-size: 70px;
      font-weight: bold;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
    }



    /* fonts */
@import url('fonts.css');

:root {
    --primary-green: #2fac66;
    --dark-green: #238b52;
    --light-gray: #f8f9fa;
    --overlay-black: rgba(0, 0, 0, 0.5);
}

/* base */
body, html {
    margin: 0;
    padding: 0;
    font-family: iransharp, 'Vazir', 'Arial', sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
    line-height: 1.8;
}

.text-primary {
    color: var(--primary-green) !important;
}

/* navbar */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    transition: background 0.3s ease;
}

.navbar-scrolled {
    background: rgba(0,0,0,0.8);
}

.navbar-brand {
    font-weight: bold;
    font-size: 25px;
}

.nav-link {
    font-size: 18px;
    font-weight: bold;
    color: white !important;
    margin: 0 10px;
    transition: color 0.3s, background 0.3s;
}

.nav-link:hover {
    border-radius: 5px;
    color: var(--primary-green) !important;
}

/* hero image */
.image-container {
    position: relative;
    overflow: hidden;
    height: 70vh;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: var(--overlay-black);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    color: #fff;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
}

/* sections */
section {
    padding-top: 50px;
    padding-bottom: 50px;
}

/* cards */
.card {
    border: none;
    border-radius: 15px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-title {
    color: var(--dark-green);
    font-weight: bold;
    margin-bottom: 15px;
}

.card-text {
    color: #444;
}

/* buttons */
.btn-success {
    background-color: var(--primary-green);
    border: none;
    border-radius: 30px;
    padding: 10px 25px;
    font-size: 18px;
    transition: background 0.3s ease;
}

.btn-success:hover {
    background-color: var(--dark-green);
}

/* footer */
footer {
    background: #111;
    font-size: 14px;
}

/* ===== Footer ===== */
footer {
    background-color: #2f2f2f;
    color: #f1f1f1; 
    padding: 40px 20px 20px;
    font-family: 'Tahoma', sans-serif;
    direction: rtl;
    margin-bottom: 0;
    padding-bottom: 0;
    z-index: 20;
    position: relative;

}
.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}
.footer-content > div {
    flex: 1 1 250px;
    min-width: 220px;
}
.footer-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid #00cc66;
    display: inline-block;
    padding-bottom: 5px;
    color: #ffffff;
}
.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-content ul li {
    margin-bottom: 10px;
}
.footer-content ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-content ul li a:hover {
    color: #00cc66;
}
.footer-content p {
    line-height: 1.8;
    font-size: 15px;
    color: #cccccc;
}
.logo {
    width: 120px;
    height: auto;
    margin-bottom: 10px;
}
.honors ul li {
    font-size: 14px;
    color: #cccccc;
}
.footer-bottom-line {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 13px;
    color: #aaaaaa;
}
.legal {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: right;
}

/* Location icon style for contact address */
.location-icon {
    color: var(--primary-green);
    font-size: 1.2em;
    vertical-align: middle;
    margin-right: 5px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .footer-content > div {
        align-items: center;
        text-align: center;
    }
    .legal {
        align-items: center;
        text-align: center;
    }
}

/* ===== Final Fixes ===== */
.logo {
    width: 70px;
    height: 70px;
}
.legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}



:root {
    --primary-green: #2fac66;   
    --danger-red: #e63946;      
    --warning-yellow: #ffb703; 
    --dark-gray: #333333;
    --light-gray: #f8f9fa;
    --overlay-black: rgba(0, 0, 0, 0.5);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: iransharp, 'Vazir', 'Arial', sans-serif;
    background-color: #fff;
    scroll-behavior: smooth;
    line-height: 1.8;
}

/* ====== Navbar ====== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    transition: background 0.3s ease;
}

.navbar-scrolled {
    background: rgba(0,0,0,0.85);
}

.navbar-brand {
    font-weight: bold;
    font-size: 25px;
}

.nav-link {
    font-size: 18px;
    font-weight: bold;
    color: white !important;
    margin: 0 10px;
    transition: color 0.3s, background 0.3s;
}

.nav-link:hover {
    border-radius: 5px;
    color: var(--primary-green) !important;
}

/* ====== Hero Section ====== */
.image-container {
    position: relative;
    overflow: hidden;
    height: 60vh;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background-color: var(--overlay-black);
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    color: #fff;
    font-size: 3.2rem;
    font-weight: bold;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

/* ====== Sections ====== */
section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.text-primary {
    color: var(--primary-green) !important;
}

/* ====== Cards (Services & Advantages) ====== */
.card {
    border: none;
    border-radius: 15px;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.card-title {
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.card-title:before {
    content: "✔ ";
    color: var(--primary-green);
    font-size: 1.2rem;
}

.card:nth-child(1) .card-title:before { content: "⚡ "; color: var(--primary-green); }
.card:nth-child(2) .card-title:before { content: "🌩️ "; color: var(--warning-yellow); }
.card:nth-child(3) .card-title:before { content: "🔥 "; color: var(--danger-red); }

.card-text {
    color: #444;
}

/* ====== Footer ====== */
footer {
    background-color: #2f2f2f;
    color: #f1f1f1; 
    padding: 40px 20px 20px;
    margin-bottom: 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.footer-content > div {
    flex: 1 1 250px;
    min-width: 220px;
}

.footer-content h4 {
    font-size: 18px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--primary-green);
    display: inline-block;
    padding-bottom: 5px;
    color: #ffffff;
}

.footer-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-content ul li {
    margin-bottom: 10px;
}

.footer-content ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content ul li a:hover {
    color: var(--primary-green);
}

.footer-content p {
    line-height: 1.8;
    font-size: 15px;
    color: #cccccc;
}

.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
}

.footer-bottom-line {
    text-align: center;
    border-top: 1px solid #444;
    margin-top: 40px;
    padding-top: 15px;
    font-size: 13px;
    color: #aaaaaa;
}

/* ====== Responsive ====== */
@media (max-width: 768px) {
    .overlay-text {
        font-size: 2rem;
    }
    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}

.contact-link {
        color: #fff;             
        text-decoration: none;   
        transition: color 0.3s;
    }

.contact-link:hover {
        color: #ddd;          
    }
