﻿html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: #fff;
    direction: ltr;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.8s ease;
}

.hide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s cubic-bezier(0.55, 0.085, 0.68, 0.53), transform 0.8s cubic-bezier(0.55, 0.085, 0.68, 0.53), visibility 0.6s ease;
}














.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    background-color: rgb(192, 192, 192, 0.7);
    height: 80px; /* ارتفاع ثابت Navbar */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px; /* فقط فاصله چپ و راست */
    color: #fff;
    font-weight: bold;
    z-index: 100;
}

/* لوگو */
.navbar .logo img {
    height: 65px; /* لوگو بزرگ‌تر از قبل */
    width: auto;
    display: block;
}

    
    .navbar .menu a {
        margin-left:25px; color:#191970; font-size:15px; transition:all 0.3s;text-decoration: none;
    }
    .navbar .menu a:hover {color:#fff}
       .menu a.active {
    color: #191970;          /* آبی */
    position: relative;
}
.menu a.active:hover{
    color: #fff;
}

.menu a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #191970;
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    height: 100vh;
    background: url("./Images/ChatGPT\ Image\ Oct\ 15\,\ 2025\,\ 07_02_28\ PM.png") no-repeat center center /cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 60px;
    overflow: hidden;
}

    .hero::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.hero-text {
    position: relative;
    max-width: 1000px;
    z-index: 1;
}

    .hero-text h1 {
        font-size: 3em;
        margin-bottom: 20px;
        color: #000;
    }

    .hero-text p {
        font-size: 1.2em;
        margin-bottom: 30px;
        line-height: 1.6;
    }

    .hero-text .btn {
        display: inline-block;
        padding: 12px 28px;
        border: 2px solid #d4af37;
        color: #fff;
        text-decoration: none;
        font-weight: bold;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

        .hero-text .btn:hover {
            background: #d4af37;
            color: #0a2a66;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
        }

@media(max-width: 768px) {
    header {
        padding: 10px 20px;
    }

   

    .hero {
        padding-bottom: 100px !important;
    }

  

    header .logo img {
        height: 50px;
    }

    .hero-text h1 {
        font-size: 2em;
    }

    .hero-text p {
        font-size: 1em;
    }

   

   
}

/* ===== HEADER ===== */
    .product-header {
        position: fixed; top: 0; left: 0; width: 100%;
        background-color:rgb(192,192,192,0.7);
     padding: 5px 50px;
        font-weight: bold;
        display: flex; justify-content: space-between; align-items: center;
        color: #fff; transition: all 0.3s ease; z-index: 100;
    }
    
    .product-header .menu a {margin-left:25px; color:#191970; font-size:15px; transition:all 0.3s;}
    .product-header .menu a:hover {color:#fff;}
.logo img{
    height: 60px;
    width: auto;
    object-fit: contain;
}
     .menu a.active {
    color: #191970;          /* آبی */
    position: relative;
}
.menu a.active:hover{
    color: #fff;
}

.menu a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #191970;
}
   
    
    
    
    /* ===== HERO SPLIT ===== */
    
 .hero-blue{
    position: relative;
    background: url(./Images/1.png);
    background-position: center 35%;
    color:#B8860B;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    padding-top:60px;
    min-height:45vh;
}
.hero-blue::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,0.45);
    z-index:0;
}

    .hero-blue h1 {font-size:48px;margin: 0; margin-top: 0;
    padding-top: 40px; /* ارتفاع دلخواه */  position:relative;
    z-index:1;}

.about-card {
    background-color: rgb(192, 192, 192, 0.7);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid rgba(212,175,55,0.3);
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

    .about-card h4 {
        color: #d4af37;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .about-card p {
        line-height: 1.8;
        font-size: 0.95rem;
    }

    .about-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 25px 50px rgba(212, 175, 55, 0.4);
        border-color: #d4af37;
    }

    .about-card.show {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .about-card.hide-animation {
        transform: translateY(80px) scale(0.9);
        opacity: 0;
        transition: all 0.7s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }

.fade-up:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-up:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-up:nth-child(4) {
    transition-delay: 0.4s;
}

.about-extra {
    direction: ltr;
    background: transparent;
    color: #fff;
    padding: 80px 60px;
    text-align: left;
}

    .about-extra .extra-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 40px;
        max-width: 1200px;
        margin: 0 auto;
    }

.extra-card {
    background: #C0C0C0;
    border: none;
    border-radius: 16px;
    padding: 25px;
    text-align: left;
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

    .extra-card.show {
        transform: translateY(0) scale(1);
        opacity: 1;
    }

    .extra-card.hide-animation {
        transform: translateY(80px) scale(0.9);
        opacity: 0;
        transition: all 0.7s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }

    .extra-card i {
        font-size: 2rem;
        color: #000;
        margin-bottom: 10px;
        display: block;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .extra-card:hover i {
        transform: scale(1.3) rotate(8deg);
    }

    .extra-card h4 {
        color: #000;
        font-size: 1.3rem;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .extra-card p {
        color: #000;
        line-height: 1.8;
        font-size: 1rem;
    }

@media (max-width: 768px) {
    .about-extra {
        padding: 60px 20px;
    }
}

.service-card {
    background-color: rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 25px;
    border: 1px solid #191970;
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.service-card {
    position: relative;
    overflow: hidden;
    background-color: transparent;
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
}

.bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 220px;
    color: rgb(192,192,192,0.5);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .bg-icon {
    transform: translate(-50%, -50%) scale(1.15);
    color:rgb(192,192,192,0.5);;
}

.service-card h3,
.service-card p {
    position: relative;
    z-index: 1;
    color: #000;
}

.service-card h4 {
    color:#000;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    line-height: 1.8;
    font-size: 0.95rem;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(212, 175, 55, 0.4);
    border-color: #191970;
}

.service-card.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.service-card.hide-animation {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
    transition: all 0.7s cubic-bezier(0.55, 0.085, 0.68, 0.53);
}

.fade-up:nth-child(1) {
    transition-delay: 0.1s;
}

.fade-up:nth-child(2) {
    transition-delay: 0.2s;
}

.fade-up:nth-child(3) {
    transition-delay: 0.3s;
}

.fade-up:nth-child(4) {
    transition-delay: 0.4s;
}

.fade-up:nth-child(5) {
    transition-delay: 0.5s;
}

.fade-up:nth-child(6) {
    transition-delay: 0.6s;
}
 /* ===== NAVBAR ===== */

.navbar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 80px; /* ارتفاع ثابت */
    font-weight: bold;
    padding: 0 50px; /* فقط padding افقی */
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    z-index: 100;
}

/* Navbar logo */
.navbar-logo {
    height: 60px; /* لوگو بزرگ‌تر از قبل */
    width: auto;
    display: block;
}

    .navbar .company-name {font-size:22px; font-weight:bold;}
    .navbar .menu a {margin-left:25px; color:#191970; font-size:15px; transition:all 0.3s;}
    .navbar .menu a:hover {color:#fff;}
   .menu a.active {
    color: #191970;          /* آبی */
    position: relative;
}
.menu a.active:hover{
    color: #fff;
}

.menu a.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #191970;
}

    /* Hamburger */
    .hamburger {
        display: none;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
        z-index: 110;
        gap: 5px;
    }
    .hamburger span {
        display: block;
        height: 3px;
        width: 25px;
        background-color: #000;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

.s-contact {
    direction: ltr;
    background: rgba(0, 188, 212, 0.15);
    color: #e0e0e0;
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex-grow: 1;
}

    .s-contact::before {
        content: "";
        position: absolute;
        top: -150px;
        left: -150px;
        width: 400px;
        height: 400px;
        background: rgba(0, 188, 212, 0.15);
        filter: blur(80px);
        z-index: 0;
    }

    .s-contact .section-header {
        position: relative;
        z-index: 2;
    }

    .s-contact .subhead {
        color: #C9A35E;
        font-size: 2.1rem;
        margin-bottom: 10px;
    }

    .s-contact .display-1--light {
        font-size: 2rem;
        color: #fff;
        line-height: 1.6;
    }

    .s-contact .contact-email a {
        color: #00bcd4;
        text-decoration: none;
        font-weight: 600;
    }

.contact-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    margin-top: 70px;
    z-index: 2;
    position: relative;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    width: 300px;
    transition: all 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
    transform: translateY(70px) scale(0.9);
    opacity: 0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

    .contact-card.animate-in {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .contact-card.animate-out {
        opacity: 0;
        transform: translateY(70px) scale(0.9);
        transition: all 0.7s cubic-bezier(0.55, 0.085, 0.68, 0.53);
    }

    .contact-card:hover {
        background: rgba(0, 188, 212, 0.15);
        box-shadow: 0 0 25px rgba(0, 188, 212, 0.4);
        transform: translateY(-10px) scale(1.03);
    }

    .contact-card .icon {
        font-size: 2.5rem;
        color: #00bcd4;
        margin-bottom: 10px;
        transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .contact-card:hover .icon {
        transform: scale(1.3) rotate(12deg);
    }

.map-wrap {
    margin: 60px auto;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 188, 212, 0.2);
}

.subscribe-wrap {
    margin-top: 50px;
}

    .subscribe-wrap h4 {
        font-size: 1.4rem;
        margin-bottom: 15px;
        color: #00bcd4;
    }

.mc-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

    .mc-form input.email {
        padding: 12px 20px;
        border-radius: 30px;
        border: 1px solid #00bcd4;
        background: transparent;
        color: #fff;
        width: 260px;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

        .mc-form input.email:focus {
            outline: none;
            background: rgba(255,255,255,0.05);
            transform: scale(1.05);
        }

    .mc-form button {
        background: #00bcd4;
        color: #fff;
        border: none;
        padding: 12px 25px;
        border-radius: 30px;
        cursor: pointer;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

        .mc-form button:hover {
            background: #00acc1;
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 188, 212, 0.3);
        }

#contact [data-aos],
#contact form,
#contact iframe {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

#contact .animate-in {
    opacity: 1;
    transform: translateY(0);
}

footer {
    position: relative;
    bottom: 0;
    width: 100%;
    z-index: 10;
    direction: ltr;
    background:  #191970;
    color: #fff;
    text-align: center;
    padding: 14px 0;
    opacity: 0;
    font-weight: bolder;
    font-size: 18px;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: "Arial", sans-serif;
    margin-top: auto;
}

    footer.animate-in {
        opacity: 1;
        transform: translateY(0);
    }

    footer span strong {
        color: #B8860B;
    }

.cl-go-top {
    position: fixed;
    bottom: 25px;
    left: 25px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 1000;
}

    .cl-go-top.visible {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

    .cl-go-top a {
        display: flex;
        justify-content: center;
        align-items: center;
        background: linear-gradient(135deg, #00bcd4, #007f9e);
        color: white;
        font-size: 20px;
        font-weight: bold;
        width: 45px;
        height: 45px;
        border-radius: 50%;
        text-decoration: none;
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 0 8px rgba(0, 188, 212, 0.5);
    }

        .cl-go-top a:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 0 15px rgba(0, 188, 212, 0.8);
        }



 

   

@media (max-width: 768px) {

 .navbar {
        background-color:rgb(192, 192, 192, 0.7) ; /* رنگ دلخواه موبایل */
    }
        nav.open {
            display: block;
            animation: fadeInDown 0.3s ease forwards;
        }

   

  

    nav li {
        margin: 10px 0;
    }

    nav a {
        color: white;
        text-decoration: none;
        font-size: 1.1rem;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

.lang-switch {
    position: fixed;
    top: 15px;
    right: 850px;
    z-index: 1100;
    background:  #191970;
    border-radius: 12px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    
}


    .lang-switch:hover {
        transform: translateY(-2px) scale(1.05);
    }

.lang-title {
    color:#fff;
    font-weight: bold;
    margin-right: 18px;
}

#langSelect {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 4px 6px;
    background-color: white;
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

    #langSelect:hover {
        border-color: #007bff;
        transform: scale(1.05);
    }



h1 {
    font-family: VazirBold;
    font-size: 32px;
    color: #C9A35E;
}

h2 {
    font-family: VazirBold;
    font-size: 36px;
    color: #C9A35E;
}

h3 {
    font-family: IRANSans;
    font-size: 26px;
    color: #C9A35E;
}

h4 {
    font-family: VazirMedium;
    font-size: 20px;
    color: #C9A35E;
}

h5 {
    font-family: Shabnam;
    font-size: 18px;
    color: #FFFFFF;
    margin-top: 5px;
    margin-bottom: 5px;
}

h6 {
    font-family: Shabnam;
    font-size: 14px;
    color: #AAB7C4;
}

.LiBullet {
    font-family: VazirMedium;
    font-size: 20px;
    color: bisque;
}

p {
    font-family: IRANSans;
    font-size: 26px;
    color: #C9A35E;
    text-align: justify;
}

.MenuStyle {
    font-size: 20px;
    font-weight: bold;
    color:#0b0b0b;
    padding: 30px;
    padding-right: 0px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

    .MenuStyle:hover {
        color: white;
        transform: translateY(-3px);
    }

.bgCard {
    background-color: rgba(255,255,255,0.05);
}

/* Mobile and Tablet Optimization */
@media (max-width: 1200px) {
    .hero-text h1 {
        font-size: 2.5em;
    }

    .hero-text p {
        font-size: 1.1em;
    }

    .extra-card, .service-card {
        padding: 20px;
    }
}

@media (max-width: 992px) {
    header.main-header, header.sticky {
        padding: 10px 30px;
    }

    .hero {
        padding: 0 30px;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .about-extra, .s-contact {
        padding: 60px 30px;
    }

    .extra-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    header.main-header, header.sticky {
        padding: 10px 20px;
    }

    header .logo img {
        height: 80px;
    }

    header.sticky img {
        height: 50px;
    }

    .hero {
        padding: 0 20px;
        height: 80vh;
    }

    .hero-text h1 {
        font-size: 1.8em;
        margin-top: 100px;
    }

    .hero-text .btn {
        margin-top: 50px;
    }

    .about-extra, .s-contact {
        padding: 40px 20px;
    }

    .extra-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .extra-card, .service-card {
        padding: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-cards {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 350px;
    }

    .mc-form {
        flex-direction: column;
        align-items: center;
    }

        .mc-form input.email {
            width: 100%;
            max-width: 300px;
        }

    .lang-switch {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 12px;
    }

    #langSelect {
        padding: 3px 5px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 1.5em;
    }

    .hero-text p {
        font-size: 0.9em;
    }

    .section-header h2, .section-header h3 {
        font-size: 1.2em;
    }

    .section-header p {
        font-size: 0.9em;
    }

    .extra-card h4, .service-card h4 {
        font-size: 1.1em;
    }

    .extra-card p, .service-card p {
        font-size: 0.9em;
    }

    .LiBullet {
        font-size: 16px;
    }

    .cl-go-top a {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

@media (max-width: 400px) {
    .hero-text h1 {
        font-size: 1.3em;
    }

    .hero-text .btn {
        padding: 10px 20px;
    }

    .extra-card, .service-card {
        padding: 12px;
    }

        .extra-card i, .contact-card .icon {
            font-size: 1.5rem;
        }
}


@media (max-width: 768px) {



    /* منوی موبایل */
    .menu {
        position: fixed;
        top: 60px;       /* زیر دکمه زبان */
        right: -260px;   /* مخفی در ابتدا */
        width: 220px;
        background-color: #fff;
        flex-direction: column;
        padding: 15px 20px;
        border-radius: 12px;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
        transition: right 0.3s ease, opacity 0.3s ease;
        z-index: 2000;
        display: flex;
        opacity: 0;
    }

    /* وقتی منو باز شد */
    .menu.open {
        right: 10px;      /* ظاهر می‌شود */
        opacity: 1;
    }

    /* لینک‌های منو */
    .menu a {
        color: #000;
        margin: 12px 0;   /* فاصله مساوی بین لینک‌ها */
        font-size: 1.1rem;
        text-decoration: none;
        padding: 8px 10px;
        border-radius: 6px;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .menu a:hover {
        background-color: #00bcd4;
        color: #000;
    }

    /* همبرگر */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 25px;
        height: 20px;
        cursor: pointer;
        position: fixed;
        top: 52px;   /* زیر دکمه زبان */
        right: 20px;
        z-index: 2100;
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 100%;
        background-color:#191970;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translateY(8px);
    }
    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translateY(-8px);
    }

    /* مرتب کردن لینک‌ها به صورت عمودی و کامل */
    .menu a.active {
        color: #191970;
        font-weight: bold;
    }

    /* تنظیم فاصله با لبه صفحه */
    .menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

}
