 body {
       background-image: linear-gradient(
        1333deg,            		 					
        rgb(103, 193, 112)10%,
        rgb(215, 224, 217)100%);
     background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;  
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 120vh;
}


footer {
    background: linear-gradient(
        1333deg,
        rgba(3, 3, 35, 0.32) 0%,
        rgba(99, 145, 121, 1) 100%
    );
    text-align: center;
    padding: 10px 0;
    position: relative;
    width: 100%;
    bottom: 0;
    z-index: 1000;
}
.footer-column{
width:100%;                        
border: px solid #ccc;
border-radius: 10px;

}
#footer_social {
    display: flex;
    gap: 15px;
}

#footer_social a img {
    width: 30px;
    height: auto;
		margin-left: 30px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#footer_social a img:hover {
    transform: scale(1.2);
    filter: brightness(1.5);
}
.footer-map-wrapper {
  overflow: hidden;       /* Ensures child iframe respects border-radius */
  border-radius: 100px;    /* Adjust this for curve intensity */
  border: px solid #69f0844d; /* Optional border */
  width: 100%;            /* Full width of parent column */
  max-height: 150px;      /* Adjust height as needed */
}

.footer-map-wrapper iframe {
  width: 70%;
	margin-left:15%;
  height: 150px;          /* Match the wrapper height */
  border: none;           /* Remove default iframe border */
  border-radius: 30px;    /* Match wrapper radius for seamless curve */
  display: block;         /* Removes default inline iframe gap space */
}

header {
       background: linear-gradient(
        1333deg,
        rgba(3, 3, 35, 0.32) 0%,
        rgba(1, 1, 1, 1) 100%
    );
    color: white;
    display: flex;
    flex-direction: row-reverse; /* RTL برای فارسی */
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    padding: 10px 20px;
    direction: rtl;
    padding: 10px 7% 10px 7%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: width 0.9s ease, padding 0.9s ease, background 0.3s ease;
    box-shadow: 0px 12px 50px rgba(30, 30, 30, 0.15);
 
}
/* ساختار کلی منو */
#menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

/* منوی انگلیسی: از چپ به راست و چسبیده به چپ */
#menu.menu-en {
    direction: ltr;
    justify-content: flex-start;
}

/* منوی فارسی: از راست به چپ و چسبیده به راست */
#menu.menu-fa {
    direction: rtl;
    justify-content: flex-end;
}

/* لینک‌های منو */
#menu a {
    text-decoration: none;
    padding: 8px 12px;
}

/* آیتم تصویری */
#menu a.menu-icon-link {
    padding: 0;
}


#menu a.menu-icon-link img {
    height: 40px;         /* adjust size as you like */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    header {
        position: relative;
        height: auto;
        overflow-x: auto;
        white-space: nowrap;
    }
}

#logo img {
    max-width: 70px;
    height: auto;
}

nav {
    display: flex;
    gap: 50px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

nav a:hover {
    color: #c4e8cbd2;
    transform: scale(1.4);
    filter: brightness(1.5);
}

#social {
    display: flex;
    gap: 15px;
}

#social a img {
    width: 30px;
    height: auto;
    transition: transform 0.3s ease, filter 0.3s ease;
}

#social a img:hover {
    transform: scale(1.2);
    filter: brightness(1.5);
}








.video-triangle-preview {
  background: #000 !important;
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.triangle-container {
  position: relative;
  width: 400px;
  height: 400px;
  transform: rotate(0deg);
}

.video-triangle {
  position: absolute;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
  opacity: 0;
  transition: all 1s ease;
}

/* Triangle positions */
.bottom-video {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.top-video {
  top: 0;
  right: 0;
  transform: translateX(50%);
}

.center-video {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Active states */
.video-active {
  opacity: 1 !important;
  z-index: 10;
}

/* Logo reveal */
.logo-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: all 1.5s ease;
  z-index: 100;
}

.logo-reveal img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.8));
}

.logo-reveal.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Blur transition */
.video-triangle-preview.blur-active .video-triangle {
  filter: blur(10px);
  opacity: 0.3;
}



/* Ensure videos can play on localhost */
.video-triangle-preview video {
    pointer-events: none;
}

/* Force videos to show on media page */
body.page-template-media .video-triangle {
    opacity: 0 !important;
}

body.page-template-media .video-active {
    opacity: 1 !important;
}

/* Fix video positioning */
.triangle-container {
    width: 400px !important;
    height: 400px !important;
}
/* MEDIA PAGE VIDEO FIXES */
body.page-template-media .video-triangle-preview {
    background: #000 !important;
    height: 100vh !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    z-index: 9999 !important;
}

body.page-template-media .triangle-container {
    width: 500px !important;
    height: 500px !important;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body.page-template-media .video-triangle {
    opacity: 0 !important;
    transition: all 1s ease !important;
}

body.page-template-media .video-active {
    opacity: 1 !important;
    z-index: 10 !important;
}

/* Hide other content on media page */
body.page-template-media header,
body.page-template-media footer {
    display: none !important;
}
