/*
Theme Name: Unipix University
Theme URI: #
Author: maleki
Author URI: http://raysaweb.ir/
Description: Unipix University Theme v2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: university, education, modern
Text Domain: Unipix
*/

@import "assets/css/bootstrap.min.css";
@import "assets/css/bootstrap-rtl.min.css";

/* یا تغییر به مسیر کامل */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

@font-face {
    font-family: 'IranYekan';
    src: url('assets/fonts/IRANYekanFaNum.eot');
    src: url('assets/fonts/IRANYekanFaNum.eot?#iefix') format("eot"),
         url('assets/fonts/IRANYekanFaNum.woff2') format("woff2"),
         url('assets/fonts/IRANYekanFaNum.woff') format("woff"),
         url('assets/fonts/IRANYekanFaNum.ttf') format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IranYekan', Arial, sans-serif !important;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    direction: rtl;
}

html {
    font-family: 'IranYekan', Arial, sans-serif !important;
}
h1 {
    font-weight: bold;
    font-size: 22px;
}
p{
    text-align: justify;    font-size: 15px;
}
a:focus, a:hover {
    text-decoration: none;
}
/* Bootstrap Grid Fix */
.container {
    max-width: 1170px !important;
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-5, .col-lg-7, .col-6 {
    position: relative;
    width: 100%;
    min-height: 1px;
    padding: 0 15px;
}

@media (min-width: 992px) {
    .col-lg-5 {
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    
    .col-lg-7 {
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}
/***************header****************/
a.login-btn {
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s 
ease;
    position: relative;
    z-index: 10;
    text-decoration: none;
    background: linear-gradient(135deg, #a4793d 0%, #f0e993 100%);
}

a.login-btn:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-decoration: none;
}

.site-logo img {
    height: 54px;
    width: auto;
}
/***********end header****************/
section.experience-section h1 {
    margin-top: 0;
}
.experience-section
{
    padding:100px 0; 
}
.experience-content h2
{
  font-size: 3rem; font-weight: 600; color: #2d3748; margin-bottom: 30px; line-height: 1.2;  
}
.experience-images {
    display: flex;
    justify-content: left;
}
.post_content {
    margin-top: 50px;
    font-size: 13px;
    line-height: 30px;
}
.hero-image {
    position: absolute;
  position: absolute;
    background-image: url(https://smnfouladi.ir/wp-content/themes/company/assets/images/img1.jpg);
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    border-radius: 10px 10px 10px 10px;
    bottom: -160px;
    z-index: 999;
    height: 465px;
    width: 96%;
    top: 20px;
}
h2.hero-title
{
color: #0f2942;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    margin-top: 28px;
}

/* Hero Section Parallax Effect */
.hero-journey-section {
    position: relative;
    background-color: #0D1B2A;
    margin-bottom: 115px;
    padding: 50px 0;
    color: #fff;
    line-height: 35px;
    font-size: 15px;
}
h2.tuition-fee-title {
    font-weight: bold;
    font-size: 22px;
}
section.hero-journey-section svg {
    position: absolute;
    left: 0;
    z-index: 9999;
    bottom: -68px;
}
.hero-journey-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #213953 0%, #0f2942 100%);
    z-index: 1;
}

.hero-journey-section .container {
    position: relative;
    z-index: 2;
}

.hero-journey-section .row {
    position: relative;
    z-index: 2;
}
.hero-content {
    text-align: justify;
}
.align-items-start {
    align-items: flex-start !important;
}
.hero-content p {
    color: #fff;
    font-size: 18px;
}
section.hero-journey-section ul {
    list-style: none;
}
/* Header Styles */
.site-header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    padding: 0;
}

/* Navigation Styles */
.main-navigation {
    flex: 1;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-list li {
    position: relative;
}

.nav-list a {
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}
.nav-list a:hover {
    color: #a4793d;    text-decoration: none;
}
/* Logo Styles */
.logo-section {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 15px;
}
.social-nav{
  display:flex;
  gap:14px; /* کمی فاصله بیشتر */
  align-items:center;
  direction:rtl;
}

.social-link{
  display:inline-flex;
  width:56px; /* بزرگتر */
  height:56px; /* بزرگتر */
  border-radius:14px;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:#f7f7f7;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.social-link .icon{
  width:34px; /* بزرگتر */
  height:34px;
  display:block;
}

.social-link:hover,
.social-link:focus{
  transform:translateY(-3px);
  box-shadow:0 6px 18px rgba(0,0,0,0.08);
  background:#ffffff;
  outline:none;
}

/* تلگرام رنگ آبی */
.social-link[aria-label="تلگرام"] .icon{
  fill:#0088cc;
}
/* واکنش‌گرایی */
@media (max-width:600px){
    a.login-btn {
    padding: 9px 14px;
    margin-left: 10px;
    }
  .social-link{ width:46px;height:46px; border-radius:12px; }
  .social-link .icon{ width:28px;height:28px; }
}


 
.logo-icon {
    width: 50px;
    height: 50px;
    background: #0D1B2A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-section {
    margin-left: 25px;
}
.site-title {
    font-size: 24px;
    font-weight: 700;
    color: #0D1B2A;
    margin: 0;
    line-height: 1;
}

.site-subtitle {
    font-size: 14px;
    color: #718096;
    font-weight: 400;
    letter-spacing: 2px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: relative;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    width: 25px;
    height: 20px;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #4a5568;
    transition: all 0.3s ease;
}
input#gform_submit_button_1,.woocommerce div.product form.cart .button,a.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained,
body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link){
display: inline-block;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    line-height: 26px;
    text-align: center;
    background: linear-gradient(135deg, #a4793d 0%, #f0e993 100%);
    color: #000;
    position: relative;
    transition: all 0.4s ease;
    z-index: 1;
    overflow: clip;
    border-radius: 30px;
    text-decoration: none;
    border: 0;min-width: 150px;
}
.wp-block-woocommerce-checkout-actions-block .wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button .wc-block-components-checkout-place-order-button__text {
    display: inline-block !important;
}
input#gform_submit_button_1:hover,.woocommerce div.product form.cart .button:hover{
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-decoration: none;
}
/* Our Programs Section */
.our-programs-section {
padding: 180px 0 208px 0;
    background: white;
}

.programs-content {
    padding-right: 40px;
    position: relative;
}
.programs-content ul li {
    line-height: 35px;
    font-size: 15px;
}
.programs-title,h2.gform_title {
    font-size: 22px;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 1.1;
}

.programs-description {
    font-size: 1.6rem;
    line-height: 1.8;
    color: #718096;
    margin-bottom: 60px;
    max-width: 450px;
    text-align: justify;
}

/* Decorative Element */
.decorative-element {
    position: relative;
    margin-top: 80px;
}

.curved-line {
    position: absolute;
    top: -40px;
    left: 0;
    width: 200px;
    height: 100px;
}

.programs-cta-btn {
  
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    text-decoration: none;
    /* کج کردن دکمه */
    transform: rotate(-45deg);
    top: 166px;   background: linear-gradient(135deg, #a4793d 0%, #f0e993 100%);
}
.programs-cta-btn::after {
    position: absolute;
    left: 0;
    top: 0;
    width: 0%;
    height: 100%;
    content: "";
    transition: all 0.4s ease;
    z-index: -1;
}
.programs-cta-btn:hover {
    /* رنگ خیلی تیره مطابق تصویر */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    transform: rotate(-45deg) translateY(-3px);
    color: white;
    text-decoration: none;
}

.programs-cta-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.programs-cta-btn:hover i {
    transform: translateX(5px);
}

/* Programs Grid - Static Layout مطابق تصویر دوم */
.programs-grid {
    position: relative;
    width: 100%;
    height: 500px;
}

/* Program Cards Base - بدون انیمیشن */
.program-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    z-index: 100;
}

.program-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 25px 20px 20px;
    text-align: left;
}

.program-overlay h3 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.program-overlay h4 {
    font-size: 1.5rem;
    font-weight: 300;
    margin: 0;
    line-height: 1.2;
}

/* Card Positions - مطابق تصویر دوم */

/* Card 1: Lifelong Learning (بالا چپ کوچک) */
.lifelong-card {
    width: 300px;
   height: auto;
    top: 0;
    left: 0;
    z-index: 20;
}

/* Card 2: Graduate Undergraduate (بزرگ بالا راست) */
.graduate-card {
    width:300px;
    height: auto;
    top: -100px;
    right:0px;
    z-index: 15;
}

/* Card 3: Graduate Undergraduate (پایین چپ کوچک) */
.graduate-undergrad-card {
    width: 300px;
     height: auto;
    bottom: -145px;
    left: 0px;
    z-index: 10;
}

/* Card 4: Lifelong Learning (پایین راست متوسط) */
.lifelong-card-bottom {
    width: 300px;
    height: auto;
    bottom: -110px;
    right: 0px;
    z-index: 12;
}
.curved-line {
    display: inline-block;
    float: left;
}
.image-left ,.image-right{
    display: inline-block;
}
.image-left img ,.image-right img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-left {
    max-width: 354px;
    height: 549px;    margin-left: 13px;
}
.image-right{
    max-width: 276px;
    height: 519px;
}
.experience-content p {
    line-height: 27px;
    font-size: 15px;
}
body .woocommerce-Price-bidi {
    direction: ltr;
}

/* Responsive Design */
@media (max-width: 1199px) {
    .programs-grid {
        height: 450px;
    }
    
    .graduate-card {
        width: 380px;
        height: 200px;
        right: -20px;
    }
    
    .lifelong-card {
        width: 250px;
        height: 130px;
    }
    
    .graduate-undergrad-card {
        width: 260px;
        height: 160px;
        left: -15px;
    }
    
    .lifelong-card-bottom {
        width: 320px;
        height: 180px;
        bottom: 40px;
    }
}

@media (max-width: 991px) {
    .col-lg-5, .col-lg-7 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .programs-content {
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }
    
    .programs-title {
        font-size: 2.5rem;
    }
    
    .decorative-element {
        margin-top: 40px;
    }

    .programs-grid {
        height: auto;
        position: static;
    }
    
    .program-card {
        position: static !important;
        width: 100% !important;
        height: 250px !important;
        margin-bottom: 20px;
        display: block;
        z-index: auto !important;
    }
}

/* منوی ریسپانسیو */
@media (max-width: 991px) {
    .main-navigation {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
        z-index: 2000;
        padding: 0;
    }
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    .nav-list li {
        border-bottom: 1px solid #f1f5f9;
        margin: 0;
    }
    .nav-list li:last-child {
        border-bottom: none;
    }
    .nav-list a {
        padding: 15px 20px;
        display: block;
        color: #4a5568;
        font-size: 16px;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2100;
    }
}

/* مخفی کردن منو در دسکتاپ */
@media (min-width: 992px) {
    a.login-btn
    {
        margin-left: 70px;
    }
    .main-navigation {
        position: static;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .nav-list {
        flex-direction: row;
        gap: 30px;
        padding: 0;
    }
    .menu-toggle {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .programs-title {
        font-size: 2.2rem;
    }
    
    .program-overlay h3,
    .program-overlay h4 {
        font-size: 1.3rem;
    }
    
    .program-overlay {
        padding: 20px 15px 15px;
    }
}

@media (max-width: 576px) {
    .our-programs-section {
        padding: 60px 0;
    }
    
    .programs-title {
        font-size: 2rem;
    }
    
    .program-card {
        height: 200px !important;
        margin-bottom: 15px;
    }
    
    .program-overlay h3,
    .program-overlay h4 {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 15px;        top: 35px;
    }
    .main-navigation {
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    .nav-list {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    .nav-list li {
        border-bottom: 1px solid #e2e8f0;
    }
    .nav-list a {
        padding: 15px 0;
    }
}
/* Admission Section */
.admission-section {
    position: relative;
}

.admission-image {
    position: relative;
    margin-bottom: 60px;
}

.admission-bigtext {
    position: absolute;
    left: 0;
    bottom: -90px;
    width: 100%;
    text-align: center;
    font-size:69px;
    font-weight: 400;
    line-height: 1.2em;
    -webkit-text-stroke-width: 1px;
    stroke-width: 1px;
    -webkit-text-stroke-color: #DADADA;
    stroke: #DADADA;
    color: #FFFFFF;
}
.admission-bigtext.bt1 {
    font-size:47px;
    bottom: -140px;
}
.admission-overlay-text {
    font-family: serif;
}

.admission-form-container {
    position: absolute;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.10196078431372549);
    padding:10px 40px 0;
    width: 107%;
    top: -62px;
    right: -7%;
    z-index: 9999999;
}

/* Gravity Forms Styling */
.gravity-form-container .gform_wrapper {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.gravity-form-container .gform_wrapper .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.gravity-form-container .gform_wrapper .gfield {
    margin-bottom: 0;
}

/* لیبل کنار فیلد در گرویتی فرم */
.gform_wrapper .gfield {
    display: flex !important;
    align-items: center !important;
    margin-bottom: 18px !important;
}

.gform_wrapper .gfield_label {
    width: 160px !important;
    min-width: 120px !important;
    margin-left: 12px !important;
    margin-bottom: 0 !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-align: right !important;
    line-height: 1.7 !important;
}
.gform_wrapper .ginput_container {
    flex: 1 !important;
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper select,
.gform_wrapper textarea {
    width: 100%;
    font-size: 15px;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    margin-bottom: 0 !important;
}

@media (max-width: 600px) {
    .gform_wrapper .gfield {
        flex-direction: column;
        align-items: stretch;
    }
    .gform_wrapper .gfield_label {
        width: 100%;
        margin-left: 0;
        margin-bottom: 6px !important;
        text-align: right;
    }
}
.gravity-form-container .gform_wrapper .gfield textarea,
.gravity-form-container .gform_wrapper .gfield select[multiple] {
    grid-column: span 2;
}

.gravity-form-container .gform_wrapper input[type="text"],
.gravity-form-container .gform_wrapper input[type="email"],
.gravity-form-container .gform_wrapper input[type="tel"],
.gravity-form-container .gform_wrapper input[type="date"],
.gravity-form-container .gform_wrapper select,
.gravity-form-container .gform_wrapper textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.gravity-form-container .gform_wrapper input:focus,
.gravity-form-container .gform_wrapper select:focus,
.gravity-form-container .gform_wrapper textarea:focus {
    outline: none;
    border-color: #0D1B2A;
    box-shadow: 0 0 0 3px rgba(164, 30, 54, 0.1);
}

.gravity-form-container .gform_wrapper .gform_footer {
    grid-column: span 2;
    margin-top: 20px;
}

.gravity-form-container .gform_wrapper .gform_button {
    background: #0D1B2A;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.gravity-form-container .gform_wrapper .gform_button:hover {
    background: linear-gradient(135deg, #a4793d 0%, #f0e993 100%);
}

/* Newsletter Section */
.newsletter-section .container{
    background: linear-gradient(180deg, #a4793d 0%, #f0e993 100%);
    padding: 55px 80px;
    position: relative;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px 10px 10px 10px;
    bottom: -85px;
    z-index: 999;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="lines" patternUnits="userSpaceOnUse" width="20" height="2"><rect width="20" height="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23lines)"/></svg>');
    opacity: 0.3;
}

.newsletter-content {
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
@media (min-width: 991px) {
.newsletter-content {
    display: flex;
}
}
.newsletter-text h3 {
color: #1a202c;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    max-width: 400px;
}

.newsletter-signup {
    display: flex;
    gap: 20px;
    align-items: center;
}

.newsletter-input {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 15px 25px;
    color: white;
    font-size: 16px;
    width: 300px;
    outline: none;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
button.newsletter-btn i {
    transform: rotate(-36deg);
}
.newsletter-btn {
    background: white;
    color: #0D1B2A;
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.newsletter-btn:hover {
    background: #f7fafc;
    transform: translateY(-2px);
}
section.newsletter-section {
    background: #f8f9fa;    z-index: 1;
    position: relative;
}
/* Footer Styles */
.site-footer {
    background: #1a202c;
    color: #a0aec0;
padding: 165px 0 0 0;
    position: relative;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo .logo-icon {
    width: 50px;
    height: 50px;
    background: #0D1B2A;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo .logo-text h3 {
    color: white;
    font-size:20px;
    font-weight: 600;
    margin: 0;
    line-height: 1;
}

.footer-logo .logo-text span {
    color: #a0aec0;
    font-size: 14px;
    letter-spacing: 2px;
}

.footer-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact i {
    color: #0D1B2A;
    width: 16px;
}

.widget-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    text-decoration: underline;
    text-decoration-color: #0D1B2A;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-links a:hover {
    color: white;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.post-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.post-image {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    flex: 1;
}

.post-date {
    color: #718096;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
}

.post-content h5 {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
}

.post-content h5 a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.post-content h5 a:hover {
    color: #0D1B2A;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #2d3748;
    padding: 30px 0;
    margin-top: 50px;text-align: center;
}

.copyright {
    text-align: center;
    color: #718096;
    margin: 0;
    font-size: 14px;
}

.copyright strong {
    color: #0D1B2A;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0D1B2A;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1a202c;
    transform: translateY(-3px);
}



/* Upcoming Events Section */
.upcoming-events-section {
    position: relative;
}

.events-header h2 {
    position: relative;margin-top: 0;    font-size: 22px;
    font-weight: bold;
}

.view-all-btn {
    transition: all 0.3s ease;
    font-size: 16px;
}

.view-all-btn:hover {
    color: #1a202c !important;
}

.view-all-btn:hover .arrow-icon {
    transform: translateX(5px);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 20px;margin-bottom: 20px;
}

/* Event Card Styles */
.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f1f5f9;
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.event-meta {
    padding: 0 25px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-date,
.event-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

.event-date .calendar-icon,
.event-location .location-icon {
    font-size: 14px;
}

.event-content {
    padding: 0 25px 20px;
}

.event-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.4;
}

.event-title a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: #0D1B2A;
}

.event-footer {
    padding: 0;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: flex-end;
}

.event-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border-radius: 50%;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    bottom: 25px;
    left: 25px;
}

.event-link:hover {
    background: #0D1B2A;
    color: white;
    transform: scale(1.1);
}

.arrow-circle {
    display: inline-block;
    transition: transform 0.3s ease;
}

.event-link:hover .arrow-circle {
    transform: translateX(2px);
}

/* Responsive Design for Events */
@media (max-width: 991px) {
    .events-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
    
    .events-header {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 20px;
    }
    
    .events-header h2 {
        font-size: 2.5rem !important;
    }
}

@media (max-width: 768px) {
    .upcoming-events-section {
        padding: 60px 0 !important;
    }
    
    .events-header {
        margin-bottom: 40px !important;
    }
    
    .events-header h2 {
        font-size: 2rem !important;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .event-image {
        height: 200px;
    }
    
    .event-content {
        padding: 0 20px 15px;
    }
    
    .event-title {
        font-size: 1.2rem;
    }
    
    .event-meta {
        padding: 0 20px;
        margin: 15px 0 10px;
    }
    
    .event-footer {
        padding: 15px 20px;
    }
}

@media (max-width: 576px) {
    .event-meta {
        gap: 10px;
    }
    
    .event-date,
    .event-location {
        font-size: 13px;
    }
}

/* Blog Page Improvements */
.blog-header {
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="10" height="10"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-header h1 {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 20px;
    color: white;
}

.blog-header p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-container {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

/* Search and Filters */
.blog-filters {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 25px;
    border: 1px solid #f1f5f9;
}

.search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.search-box form {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

.search-box input:focus {
    outline: none;
    border-color: #0D1B2A;
    background: white;
    box-shadow: 0 0 0 3px rgba(164, 30, 54, 0.1);
}

.search-box .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    font-size: 18px;
    z-index: 2;
}

.category-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 24px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0D1B2A;
    border-color: #0D1B2A;
    color: white;
    transform: translateY(-2px);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

/* Blog Cards */
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f1f5f9;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.blog-card-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-content {
    padding: 30px;
    position: relative;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 18px;
    color: #718096;
    font-size: 14px;
}

.blog-card-meta .date,
.blog-card-meta .author {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 18px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
}

.blog-card-title:hover {
    color: #0D1B2A;
}

.blog-card-excerpt {
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 15px;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.read-more-btn {
    color: #0D1B2A;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.read-more-btn:hover {
    color: #1a202c;
    gap: 12px;
}

.blog-card-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.blog-tag {
    background: #f8f9fa;
    color: #64748b;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: #0D1B2A;
    color: white;
}

/* Featured Post */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    height: 450px;
    margin-bottom: 20px;
}

.featured-post .blog-card-image {
    height: 100%;
    border-radius: 16px 0 0 16px;
}

.featured-post .blog-card-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 16px 16px 0;
}

.featured-post .blog-card-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.featured-post .blog-card-excerpt {
    font-size: 16px;
    margin-bottom: 30px;
}

/* Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.blog-pagination ul {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination li {
    margin: 0;
}

.blog-pagination a,
.blog-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #4a5568;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0 15px;
}

.blog-pagination a:hover,
.blog-pagination .current {
    background: #0D1B2A;
    border-color: #0D1B2A;
    color: white;
}

/* Archive Breadcrumb */
.archive-breadcrumb {
    margin-bottom: 40px;
}

.back-link {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0D1B2A;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 100px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.no-posts h3 {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 25px;
    font-weight: 300;
}

.no-posts p {
    color: #718096;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Single Post Styles */
.article-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 100px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 100px;
}

.article-breadcrumb {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.article-breadcrumb a {
    color: #718096;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-breadcrumb a:hover {
    color: #0D1B2A;
}

.article-breadcrumb .separator {
    color: #cbd5e0;
    font-size: 12px;
}

.article-breadcrumb .current {
    color: #4a5568;
    font-weight: 500;
}

.article-meta {
    margin-bottom: 30px;
}

.article-category {
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.article-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.article-date,
.article-author,
.article-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

.article-title {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.2;
    margin-bottom: 25px;
}

.article-excerpt {
    font-size: 1.3rem;
    color: #4a5568;
    line-height: 1.6;
    font-weight: 300;
    max-width: 800px;
}

/* Featured Image */
.article-featured-image {
    padding: 0;
    margin-bottom: 60px;
}

.featured-image-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.featured-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

/* Article Content */
.article-content {
    padding: 60px 0 80px;
    background: white;
}

.article-body {
    background: white;
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.content-wrapper {
    font-size: 18px;
    line-height: 1.8;
    color: #2d3748;
}

.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5,
.content-wrapper h6 {
    color: #2d3748;
    font-weight: 600;
    margin: 35px 0 20px;
    line-height: 1.3;
}

.content-wrapper h2 {
    font-size: 2rem;
    border-bottom: 3px solid #0D1B2A;
    padding-bottom: 10px;
}

.content-wrapper h3 {
    font-size: 1.6rem;
    color: #0D1B2A;
}

.content-wrapper p {
    margin-bottom: 20px;
    text-align: justify;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.content-wrapper blockquote {
    background: #f8f9fa;
    border-right: 4px solid #0D1B2A;
    padding: 25px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 1.1rem;
    border-radius: 8px;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0;
    padding-right: 25px;
}

.content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-wrapper code {
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: #0D1B2A;
    font-size: 16px;
}

.content-wrapper pre {
    background: #2d3748;
    color: #e2e8f0;
    padding: 25px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 25px 0;
}

.content-wrapper pre code {
    background: none;
    color: inherit;
    padding: 0;
}

/* Article Tags */
.article-tags {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.article-tags h4 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 15px;
}

.tags-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.tag-item {
    background: #f1f5f9;
    color: #4a5568;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #0D1B2A;
    color: white;
}

/* Share Buttons */
.article-share {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.article-share h4 {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.share-btn.telegram {
    background: #0088cc;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.linkedin {
    background: #0077b5;
    color: white;
}

.share-btn.copy {
    background: #4a5568;
    color: white;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Author Box */
.author-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 40px;
    border: 1px solid #e2e8f0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h3 {
    font-size: 1.3rem;
    color: #2d3748;
    margin-bottom: 10px;
}

.author-info p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 15px;
}

.author-social a {
    color: #0D1B2A;
    text-decoration: none;
    font-weight: 500;
}

/* Related Posts */
.related-posts {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.related-posts h3 {
    font-size: 1.5rem;
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.related-item:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 150px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 20px;
}

.related-content h4 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.related-content h4 a {
    color: #2d3748;
    text-decoration: none;
}

.related-content h4 a:hover {
    color: #0D1B2A;
}

.related-date {
    color: #718096;
    font-size: 13px;
}

/* Sidebar */
.article-sidebar {
    padding-right: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.sidebar-widget h4 {
    font-size: 1.2rem;
    color: #2d3748;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0D1B2A;
}

/* Table of Contents */
#table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#table-of-contents li {
    margin-bottom: 8px;
}

#table-of-contents a {
    color: #4a5568;
    text-decoration: none;
    padding: 5px 0;
    display: block;
    border-radius: 4px;
    transition: color 0.3s ease;
    font-size: 14px;
}

#table-of-contents a:hover {
    color: #0D1B2A;
    background: #f8f9fa;
    padding-right: 10px;
}

/* Recent Posts Sidebar */
.recent-post-item {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-item h5 {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-post-item h5 a {
    color: #2d3748;
    text-decoration: none;
}

.recent-post-item h5 a:hover {
    color: #0D1B2A;
}

.recent-date {
    color: #718096;
    font-size: 12px;
}

/* Categories List */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: color 0.3s ease;
}

.categories-list a:hover {
    color: #0D1B2A;
}

.post-count {
    background: #f1f5f9;
    color: #718096;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

/* Post Navigation */
.post-navigation {
    background: #f8f9fa;
    padding: 50px 0;
    border-top: 1px solid #e2e8f0;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.nav-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.nav-item:hover {
    transform: translateY(-3px);
}

.nav-item.prev-post {
    text-align: right;
}

.nav-item.next-post {
    text-align: left;
}

.nav-label {
    color: #718096;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

.nav-item h4 {
    margin-top: 10px;
    font-size: 1.1rem;
}

.nav-item h4 a {
    color: #2d3748;
    text-decoration: none;
}

.nav-item h4 a:hover {
    color: #0D1B2A;
}

/* Responsive Design */
@media (max-width: 991px) {
    .col-lg-4 {
    width: 100%;
}
    .article-sidebar {
        padding-right: 0;
        margin-top: 50px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .nav-item.prev-post,
    .nav-item.next-post {
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 768px) {
    .article-header {
        padding: 100px 0 40px;
    }
    
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-excerpt {
        font-size: 1.1rem;
    }
    
    .article-body {
        padding: 30px 20px;
    }
    
    .content-wrapper {
        font-size: 16px;
    }
    
    .content-wrapper h2 {
        font-size: 1.6rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }
    
    .share-buttons {
        justify-content: center;
    }
    
    .featured-image-wrapper {
        border-radius: 0;
    }
}

/* Comments Section */
.comments-section {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

/* WooCommerce Styles */

/* Shop Header */
.shop-header {
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    padding: 120px 0 80px;
    text-align: center;
    color: white;
    position: relative;
}

.shop-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="10" height="10"><circle cx="5" cy="5" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.shop-header-content {
    position: relative;
    z-index: 2;
}

.shop-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 20px;
}

.shop-header .woocommerce-archive-description p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Product Header */
.product-header {
    background: #f8f9fa;
    padding: 40px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-top: 74px;
}

.product-breadcrumb .woocommerce-breadcrumb {
    font-size: 14px;
    color: #718096;
}

.product-breadcrumb .woocommerce-breadcrumb a {
    color: #4a5568;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-breadcrumb .woocommerce-breadcrumb a:hover {
    color: #0D1B2A;
}

.breadcrumb-separator {
    margin: 0 8px;
    color: #cbd5e0;
}

/* Shop Content */
.woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    width: 50%;
}
div#tab-description p {
    line-height: 35px;
}
.woocommerce div.product form.cart div.quantity {
    margin: 15px 0 0px 15px;
}
.woocommerce-product-gallery__image.flex-active-slide {
    border-radius: 15px;
    margin-bottom: 15px;
    display: block;
}
.flex-viewport {
    margin-bottom: 15px;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    margin: 10px;
    width: 90%;
    border-radius: 15px;
}
bdi {
    display: inline-block;    font-size: 22px;
}
span.woocommerce-Price-currencySymbol {
    float: left;
    margin-right: 5px;
    color: #000;font-size: 16px;
    line-height: 32px;
}
h1.product_title.entry-title {
    font-size: 25px;
    font-weight: 800;
}
.shop-content {
    padding: 80px 0;
    background: #f8f9fa;
    min-height: 70vh;
}

/* Shop Toolbar */
.shop-toolbar {
    background: white;
    padding: 25px 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.toolbar-left .woocommerce-result-count {
    color: #4a5568;
    font-weight: 500;
    margin: 0;
}

.toolbar-right .woocommerce-ordering select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    background: white;
    color: #4a5568;
    min-width: 200px;
}

.toolbar-right .woocommerce-ordering select:focus {
    outline: none;
    border-color: #0D1B2A;
    box-shadow: 0 0 0 3px rgba(13, 27, 42, 0.1);
}

/* Shop Sidebar */
.shop-sidebar {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    height: fit-content;
    position: sticky;
    top: 120px;
    margin-bottom: 40px;
}

.shop-sidebar .widget {
    margin-bottom: 40px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 30px;
}

.shop-sidebar .widget:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.shop-sidebar .widget-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0D1B2A;
    position: relative;
}

.shop-sidebar .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.shop-sidebar .widget ul li {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.shop-sidebar .widget ul li:last-child {
    border-bottom: none;
}

.shop-sidebar .widget ul li a {
    color: #4a5568;
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
    font-size: 15px;
}

.shop-sidebar .widget ul li a:hover {
    color: #0D1B2A;
    padding-right: 10px;
}

.shop-sidebar .widget ul li .count {
    background: #f1f5f9;
    color: #718096;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* Products Grid */
.products-grid ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Product Card */
.product-item {
    margin: 0 !important;
}

.product-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Product Image */
.product-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f9fa;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-image a {
    display: block;
    width: 100%;
    height: 100%;
}

/* Sale Badge */
.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 4;
}

.product-card:hover .product-actions {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

.product-actions button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #4a5568;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-actions button:hover {
    background: #0D1B2A;
    color: white;
    transform: scale(1.1);
}

/* Product Content */
.product-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    margin-bottom: 12px;
}

.product-category a {
    color: #718096;
    font-size: 13px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.product-category a:hover {
    color: #0D1B2A;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 15px;
    line-height: 1.4;
    flex: 1;
}

.product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: #0D1B2A;
}

/* Product Rating */
.product-rating {
    margin-bottom: 15px;
}

.product-rating .star-rating {
    color: #ffc107;
    font-size: 14px;
}

.product-rating .star-rating::before {
    color: #e9ecef;
}

/* Product Price */
.product-price {
    margin: 15px 0;
}

.product-price .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0D1B2A;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-price .price del {
    color: #718096;
    font-size: 1.1rem;
    font-weight: 400;
    text-decoration: line-through;
}

.product-price .price ins {
    color: #e53e3e;
    text-decoration: none;
    font-weight: 700;
}

/* Product Excerpt */
.product-excerpt {
    color: #4a5568;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Add to Cart Button */
.product-cart {
    margin-top: auto;
}

.product-cart .button {
    width: 100%;
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-cart .button:hover {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(13, 27, 42, 0.3);
}

.product-cart .button.loading {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Single Product Page */
.single-product-section {
    padding: 80px 0;
    background: white;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper
{
    border-radius: 15px;    overflow: hidden;
}
/* Product Gallery */
.product-images-wrapper .woocommerce-product-gallery {
    margin-bottom: 0;
}

.product-images-wrapper .woocommerce-product-gallery__wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-images-wrapper .woocommerce-product-gallery__image {
    margin: 0;
}

.product-images-wrapper .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: all 0.3s ease;
}

.product-images-wrapper .woocommerce-product-gallery__trigger:hover {
    background: #0D1B2A;
    color: white;
}

/* Product Summary */
.product-summary {
    padding-right: 50px;
}

.product-summary .product_title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 20px;
    line-height: 1.2;
}

.product-summary .woocommerce-product-rating {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-summary .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0D1B2A;
    margin: 25px 0;
}

.product-summary .price del {
    color: #718096;
    font-size: 1.8rem;
    margin-left: 15px;
}

.product-summary .price ins {
    color: #e53e3e;
    text-decoration: none;
}

.product-summary .woocommerce-product-details__short-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 25px 0;
    text-align: justify;
}

.product-summary .cart {
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.product-summary .cart .quantity {
    display: flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.product-summary .cart .quantity input {
    width: 60px;
    height: 50px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
}

.product-summary .cart .single_add_to_cart_button {
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-summary .cart .single_add_to_cart_button:hover {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(13, 27, 42, 0.3);
}

.product-summary .product_meta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}

.product-summary .product_meta > span {
    display: block;
    margin-bottom: 12px;
    color: #4a5568;
    font-size: 14px;
}

/* Product Tabs */
.product-tabs-wrapper {
    margin-top: 80px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

body .woocommerce-tabs .wc-tabs {
    background: none;
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
}

body .woocommerce-tabs .wc-tabs li {
    background: none;
    border: none;
    margin: 0;
    flex: 1;
}

body.rtl .woocommerce-tabs .wc-tabs li a {
    color: #4a5568;
    padding: 25px 30px;
    border: none;
    background: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    display: block !important;
    transition: all 0.3s ease;
    text-decoration: none;
    outline: none;
}

.woocommerce-tabs .wc-tabs li.active a,
.woocommerce-tabs .wc-tabs li a:hover {
    color: #0D1B2A;
    background: white;
    border-bottom: 3px solid #0D1B2A;
}

.woocommerce-tabs .wc-tab {
    padding: 50px;
    font-size: 16px;
    line-height: 1.7;
    color: #4a5568;
}

.woocommerce-tabs .wc-tab h2 {
    color: #2d3748;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 800;
}
div#tab-description h3 {
    font-size: 20px;
    font-weight: 700;
}
.product_meta {
    display: none;
}
h1.product_title.entry-title {
    margin-bottom: 25px;
}

.woocommerce-product-details__short-description p {
    line-height: 30px;
}
/* Related Products */
.related.products,
.upsells.products {
    padding: 30px;
    background: #f8f9fa;
    border-radius: 20px;
}

.related.products h2,
.upsells h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 50px;
    position: relative;
}

.related.products h2::after,
.upsells h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(135deg, #0D1B2A 0%, #1a202c 100%);
    border-radius: 2px;
}

.related-products .products-grid,
.upsells .products-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.related-products .products,
.upsells .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Cross-sells (Cart Page) */
.cross-sells {
    margin-top: 60px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.cross-sells h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
}

.cross-sells .products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Related Courses Section - Simplified Layout */
.related-courses-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;    border-radius: 15px;
}

.related-courses-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Related Header */
.related-header {
    text-align: center;
    margin-bottom: 50px;
}

.related-header h2 {
    font-size: 2.2rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
}

/* Two Column Grid */
.courses-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 0 auto;
}

/* Course Row - عکس سمت راست، متن سمت چپ */
.course-row {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    min-height: 140px;
    border: 2px solid transparent;
    padding: 0;
}

.course-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(13, 27, 42, 0.1);
}

/* عکس سمت راست و بزرگ */
.course-image-side {
    width: 180px;
    min-width: 180px;
    height: 140px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 0 20px 20px 0;
    margin-left: 0;
}

.course-image-side a {
    display: block;
    width: 100%;
    height: 100%;
}

.course-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 0 20px 20px 0;
}

.course-row:hover .course-thumbnail {
    transform: scale(1.05);
}

/* متن سمت چپ و وسط عمودی */
.course-content-side {
    flex: 1;
    padding: 0 35px 0 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 18px;
    line-height: 1.5;
    text-align: right;
}

.course-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-title a:hover {
    color: #0D1B2A;
}

.course-action {
    text-align: right;
}

.view-course-link {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    flex-direction: row-reverse;
    margin-top: 0;
}

.view-course-link:hover {
    background: linear-gradient(135deg, #0056b3 0%, #003d82 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    color: white;
}

.view-course-link i {
    font-size: 14px;
}
span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-product-price__value ,span.wc-block-formatted-money-amount.wc-block-components-formatted-money-amount.wc-block-components-totals-footer-item-tax-value{
    unicode-bidi: normal !important;
}
.wc-block-components-address-form__country.wc-block-components-country-input {
    display: none;
}
/* موبایل */
@media (max-width: 991px) {
    .courses-two-column {
        gap: 25px;
    }
    .course-image-side {
        width: 140px;
        min-width: 140px;
        height: 110px;
    }
    .course-content-side {
        padding: 0 18px 0 0;
    }
}

@media (max-width: 576px) {
    .course-row {
        flex-direction: column;
        min-height: auto;
    }
    .course-image-side {
        width: 100%;
        min-width: 0;
        height: 160px;
        border-radius: 20px 20px 0 0;
    }
    .course-thumbnail {
        border-radius: 20px 20px 0 0;
    }
    .course-content-side {
        padding: 18px;
        text-align: center;
    }
    .course-title {
        text-align: center;
    }
    .course-action {
        text-align: center;
    }
}

/* ریسپانسیو عمومی برای موبایل و تبلت */
@media (max-width: 991px) {
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    .experience-section,
    .our-programs-section,
    .admission-section,
    .upcoming-events-section {
        padding: 40px 0 !important;
    }
    .experience-content h2,
    .programs-title {
        font-size: 1.7rem !important;
    }
    .admission-bigtext {
        font-size: 32px !important;
        bottom: -40px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    .admission-form-container {
        position: static !important;
        width: 100% !important;
        top: unset !important;
        right: unset !important;
        margin-top: 30px;
        padding: 10px 10px 0 10px !important;
        box-sizing: border-box !important;
    }
    .image-left, .image-right {
        height: auto !important;
        margin: 0 0 15px 0 !important;
display: inline-block !important;
        border-radius: 12px !important;
    }
    .image-right {
    max-width: 45%;
}
.image-left {
    max-width: 53%;
}

    .experience-images {
        flex-direction: column !important;
        align-items: center !important;
    }
    .programs-content {
        padding-right: 0 !important;
        text-align: center !important;
    }
    .programs-grid {
        display: flex !important;
        flex-direction: column !important;
        height: auto !important;
    }
    .program-card {
        height: auto !important;
        margin-bottom: 20px !important;
    }
    .events-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    .event-card {
        margin-bottom: 20px !important;
    }
    .woocommerce-order {
    padding: 18px 5px 30px 5px;
}
.woocommerce-order .order_details {
        flex-direction: column;
        gap: 10px;
        padding: 15px 8px;
    }
    .woocommerce-order .shop_table th,
    .woocommerce-order .shop_table td {
        padding: 10px 6px;
        font-size: 14px;
    }
    .woocommerce-order .woocommerce-customer-details address,
    .woocommerce-order .bank-details {
        padding: 10px 8px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .experience-section,
    .our-programs-section,
    .admission-section,
    .upcoming-events-section {
        padding: 20px 0 !important;
    }
    .experience-content h2,
    .programs-title {
        font-size: 1.2rem !important;
        margin-bottom: 18px !important;
    }
    .admission-bigtext {
        font-size: 18px !important;
        bottom: -20px !important;
    }
    .admission-form-container {
        padding: 5px 2px 0 2px !important;
    }
    .image-left, .image-right {
        height: auto !important;
        margin: 0 0 10px 0 !important;
    }
    .programs-description {
        margin-bottom: 20px !important;
    }
    .program-card {        height: auto !important;
        margin-bottom: 10px !important;
    }
    .event-card {
        margin-bottom: 15px !important;
    }
}

/* ریسپانسیو بخش خبرنامه برای موبایل */
@media (max-width: 991px) {
    .experience-images {
    display: block;
}
    .newsletter-section .container {
        padding: 30px 20px !important;
border-radius: 0 !important;
    }
    .newsletter-content {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .newsletter-text h3 {
        font-size: 18px !important;
        max-width: 100% !important;
    }
    .newsletter-signup {
        width: 100% !important;
        justify-content: center !important;
    }
    .newsletter-input {
        width: 100% !important;
        max-width: 300px !important;
    }
}
@media (max-width: 576px) {
    .admission-image img {
    object-fit: contain !important;
}
    .hero-image {
    bottom: 0;
    z-index: 999;
    height: 300px;
    width: 100%;
    top: 0;
    position: relative;
    }
    .newsletter-section .container {
        padding: 20px 15px !important;
        bottom: -40px !important;
    }
    .newsletter-text h3 {
        font-size: 14px !important;
        margin-bottom: 15px;
    }
    .newsletter-input {
        width: 100% !important;
        max-width: 250px !important;
        padding: 12px 20px !important;
    }
    .newsletter-btn {
        padding: 12px 25px !important;
        font-size: 14px !important;
    }
    .hero-journey-section {
    margin-bottom: 0;
}
.programs-cta-btn {
    position: relative; top: -9px;
    right: -64px;
}
.curved-line {
    position: relative;   
}
.site-footer {
    padding: 50px 0 0 0;
}
.gform_wrapper.gravity-theme .gfield input.large, .gform_wrapper.gravity-theme .gfield select.large {
    min-width: 300px;
}
h2.gform_title {
    text-align: center;
}
}
body.menu-open {
    overflow: hidden;
}

/* استایل مدرن برای صفحه حساب کاربری ووکامرس */
.woocommerce-account .woocommerce {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background: #f8f9fa;
    border-radius: 18px;
    padding: 40px 30px 60px 30px;
    box-shadow: 0 8px 32px rgba(13,27,42,0.08);
    margin: 40px auto 60px auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 220px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(13,27,42,0.06);
    padding: 10px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0 0 0 0;
    margin: 0;
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin-bottom: 10px;
    width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: linear-gradient(90deg, #ffd700 0%, #b9932f 100%);
    color: #19223a !important;
    font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 14px 30px;
    color: #4a5568;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(13,27,42,0.06);
    padding: 40px 35px;
    min-width: 0;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
    color: #0D1B2A;
    font-weight: 700;
    margin-bottom: 25px;
}

.woocommerce-account .woocommerce-MyAccount-content p,
.woocommerce-account .woocommerce-MyAccount-content li {
    font-size: 14px;
    color: #2d3748;
    line-height: 2;
}

.woocommerce-account .woocommerce-MyAccount-content ul {
    padding-right: 18px;
}

.woocommerce-account .woocommerce-MyAccount-content strong {
    color: #a4793d;
}

@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 25px;
        padding: 25px 8px 40px 8px;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation {
        flex: none;
        width: 100%;
        margin-left: 0;
        margin-bottom: 18px;
        min-height: unset;
        flex-direction: row;
        padding: 10px 0;
        overflow-x: auto;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-direction: row;
        gap: 10px;
        width: 100%;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation li {
        margin-bottom: 0;
        width: auto;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation a {
        padding: 10px 18px;
        font-size: 0.98rem;
    }
    .woocommerce-account .woocommerce-MyAccount-content {
        padding: 18px 10px;
    }
}

/* استایل مدرن برای صفحه پرداخت و تشکر ووکامرس */
.woocommerce-order {
    max-width: 900px;
    margin: 40px auto 60px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(13,27,42,0.08);
    padding: 40px 30px 60px 30px;
}

.woocommerce-order h2,
.woocommerce-order h3 {
    color: #0D1B2A;
    font-weight: 700;
    margin-bottom: 25px;
    text-align: right;
}

.woocommerce-order .order_details {
    width: 100%;
    margin-bottom: 35px;
    border-radius: 12px;
    background: #f8f9fa;
    padding: 25px 20px;
    box-shadow: 0 2px 10px rgba(13,27,42,0.04);
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
    font-size: 15px;
}

.woocommerce-order .order_details li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 160px;
    margin-bottom: 0;
    color: #2d3748;
    font-size: 15px;
    font-weight: 500;
}

.woocommerce-order .order_details strong {
    color: #a4793d;
    font-size: 16px;
    margin-top: 5px;
    font-weight: 700;
}

.woocommerce-order .woocommerce-notice {
    background: linear-gradient(90deg, #ffd700 0%, #b9932f 100%);
    color: #19223a;
    border-radius: 10px;
    padding: 18px 25px;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: right;
    box-shadow: 0 2px 8px rgba(185,147,47,0.08);
}
a.wc-block-checkout__login-prompt {
    font-size: 16px !important;
    padding: 5px 30px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s 
ease;
    position: relative;
    z-index: 10;
    text-decoration: none;
    background: linear-gradient(135deg, #a4793d 0%, #f0e993 100%);
}
a.wc-block-checkout__login-prompt:hover {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-decoration: none;
}
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
    margin-bottom: 40px;
}

.woocommerce-order .shop_table {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(13,27,42,0.04);
}

.woocommerce-order .shop_table th,
.woocommerce-order .shop_table td {
    padding: 16px 18px;
    text-align: right;
    font-size: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.woocommerce-order .shop_table th {
    background: #f1f5f9;
    color: #0D1B2A;
    font-weight: 700;
    font-size: 16px;
}

.woocommerce-order .shop_table tr:last-child td,
.woocommerce-order .shop_table tr:last-child th {
    border-bottom: none;
}

.woocommerce-order .shop_table tfoot td,
.woocommerce-order .shop_table tfoot th {
    background: #fffbe6;
    color: #a4793d;
    font-weight: 700;
    font-size: 16px;
}

.woocommerce-order .woocommerce-customer-details address {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 22px;
    font-size: 15px;
    color: #2d3748;
    margin-bottom: 0;
    line-height: 2;
    box-shadow: 0 2px 8px rgba(13,27,42,0.04);
}

.woocommerce-order .woocommerce-customer-details h2 {
    margin-top: 40px;
    font-size: 1.3rem;
    color: #0D1B2A;
    font-weight: 700;
}

.woocommerce-order .bank-details {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 18px 22px;
    font-size: 15px;
    color: #2d3748;
    margin-bottom: 30px;
    line-height: 2;
    box-shadow: 0 2px 8px rgba(13,27,42,0.04);
    direction: ltr;
    text-align: left;
}

.woocommerce-order .bank-details strong {
    color: #a4793d;
    font-weight: 700;
}
del .woocommerce-Price-amount.amount bdi{
    text-decoration-line: line-through;
}
@media (max-width: 991px) {
    main#main {
    padding: 0 15px;
}
div#tab-description ul {
    padding-right: 15px;
}
strong {
    font-size: 16px;
    line-height: 35px;
}
    .gform_footer.top_label {
    text-align: center;
}
    .woocommerce-order {
        padding: 18px 5px 30px 5px;
    }
    .woocommerce-order .order_details {
        flex-direction: column;
        gap: 10px;
        padding: 15px 8px;
    }
    .woocommerce-order .shop_table th,
    .woocommerce-order .shop_table td {
        padding: 10px 6px;
        font-size: 14px;
    }
    .woocommerce-order .woocommerce-customer-details address,
    .woocommerce-order .bank-details {
        padding: 10px 8px;
        font-size: 14px;
    }
}
.welcome-text {
    color: #4a5568;
    margin-left: 18px;
}