/* Theme Name: OPINF
Theme URI: https://opinf.com
Author: OPINF Team Author
URI: https://opinf.com
Description: A multi-section theme for OPINF Platform
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: opinf
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4 */
/* Base Theme Variables */ :root { --color-primary: #26348b; --color-secondary: #e6007e; --color-text: #1f2937; --color-heading: #111827; --color-light: #f3f4f6; } /* Base Styles */ html { font-size: 16px; } @media (max-width: 1024px) { html { font-size: 14px; } } @media (max-width: 768px) { html { font-size: 12px; } } body { font-size: 1rem; } html[dir="ltr"] { font-family: sans-serif, system-ui, -apple-system; } a.custom-logo-link img { max-width: 150px; } /* Section Colors */ .section-home { --section-color: var(--color-primary); } .section-property { --section-color: #15803d; } 
h1 {
  font-size: 2rem!important;
  font-weight: 800!important;
  margin-bottom: 1.5rem!important;
}

h2 {
  font-size: 1.625rem!important;
  font-weight: 700!important;
  margin: 3rem 0 1rem!important;
}

h3 {
  font-size: 1.375rem!important;
  font-weight: 600!important;
  margin: 2.25rem 0 0.75rem!important;
}

h4 {
  font-size: 1.125rem!important;
  font-weight: 600!important;
  margin: 1.75rem 0 0.625rem!important;
}

h5 {
  font-size: 1rem!important;
  font-weight: 600!important;
  margin: 1.25rem 0 0.5rem!important;
}

/* Text */
p {
  font-size: 0.9375rem!important;
  margin-bottom: 1rem!important;
  color: #374151!important;
}

/* Lists */
ul {
  margin: 1rem 1.25rem 1.5rem!important;
  padding-right: 1.125rem!important;
}

li {
  font-size: 0.9375rem!important;
  margin-bottom: 0.625rem!important;
}
.section-legal { --section-color: #9f1239; } .section-contractors { --section-color: #7e22ce; } /* Buttons */ .btn-primary, .btn-secondary { padding: 0.5rem 1rem; border-radius: 0.375rem; font-weight: 500; transition: all 0.2s; } .btn-primary { background-color: var(--section-color); color: white; } .btn-secondary { background-color: var(--color-secondary); color: var(--color-primary); } .btn-primary:hover, .btn-secondary:hover { opacity: 0.9; } /* Course Badge and Type */ .course-badge, .course-type { position: absolute; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; top: 10px; } .course-badge { right: 10px; background: rgba(0, 0, 0, 0.7); color: white; } .course-type { left: 10px; } .type-online { background: #10b981; color: white; } .type-in-person, .type-offline { background: #f59e0b; color: white; } /* Price Tag */ .price-tag { background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%); color: white; padding: 4px 12px; border-radius: 20px; } /* Course Rating */ .course-rating { display: flex; align-items: center; margin-top: auto; padding-top: 1rem; border-top: 1px solid #e5e7eb; } .rating-stars { color: #FCD34D; display: flex; gap: 0.25rem; } .rating-count { color: #6B7280; font-size: 0.875rem; margin-right: 0.5rem; } .text-justify { text-align: justify; } /* Countdown Timer */ .countdown { display: flex; margin: 8px 0; direction: ltr; align-items: center; justify-content: flex-end; } .countdown-item { text-align: center; color: rgba(245, 158, 11, var(--tw-bg-opacity)); padding: 4px; border-radius: 4px; min-width: 45px; } .countdown-number { font-size: 14px; font-weight: bold; } .countdown-label { font-size: 10px; opacity: 0.8; } /* Mega Menu */ .megamenu { position: relative; } .megamenu-m { display: none; position: absolute; top: 100%; width: 100vw; background: #ffffffc9; box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); border-radius: 0.5rem; padding: 1.5rem; z-index: 50; opacity: 0.5; visibility: hidden; transition: all 0.2s ease-in-out; right: -46vw; } .megamenu:hover .megamenu-m, .megamenu-m:hover { display: block; opacity: 1; visibility: visible; } .megamenu-m::before { content: ''; position: absolute; top: -10px; right: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-bottom: 10px solid white; } /* Swiper Customization */ .swiper-button-next, .swiper-button-prev { color: #1e3a8a !important; } .swiper-button { align-items: center !important; background: hsla(0, 0%, 100%, .75); border-radius: 50%; box-shadow: 0 0 2px #7d7d7d; height: 40px !important; width: 40px !important; transition: .3s ease-in-out; } .swiper-button-next:after, .swiper-button-prev:after { font-size: 2rem !important; } .swiper-button:hover { background: #fff; } /* Utility Classes */ .ellipsis-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; line-height: 2.5rem; height: 3.5rem; } .ellipsis-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.5rem; height: 3.5rem; } .ellipsis-2.text-2xl{ line-height: 1.8rem !important; } .ellipsis-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.1rem; height: 1.2rem; } .ellipsis-1-big { line-height: 2rem; height: 2rem; } /* Form Elements */ .form-input { width: 100%; padding: 0.5rem 0.75rem; border: 1px solid #e5e7eb; border-radius: 0.375rem; transition: all 0.2s; } .form-input:focus { outline: none; border-color: var(--section-color); box-shadow: 0 0 0 2px rgba(var(--section-color), 0.1); } /* Status Messages */ .error { color: #dc2626; font-size: 0.875rem; margin-top: 0.25rem; } .success { color: #16a34a; font-size: 0.875rem; margin-top: 0.25rem; } /* Media Queries */ @media (max-width: 768px) { .megamenu-content { position: static; min-width: auto; box-shadow: none; padding: 1rem 0; } .countdown-item { min-width: 45px; } .course-card { margin: 0 1rem; } } @media print { .no-print { display: none !important; } } /* Footer Styles */ .footer-widget { margin-bottom: 2rem; } .footer-widget ul { margin-bottom: 1rem; } .footer-widget ul li a { color: #9ca3af; display: flex; align-items: center; transition: color 0.2s; } .footer-widget ul li a:hover { color: white; } .footer-widget ul li a:before { content: '\f054'; font-family: 'Font Awesome 5 Free'; font-weight: 900; margin-left: 0.5rem; font-size: 0.75rem; } .footer-widget .newsletter-form { display: flex; margin-top: 1rem; } .footer-widget .newsletter-form input { background-color: #1f2937; color: white; padding: 0.5rem 1rem; border-radius: 0 0.375rem 0.375rem 0; flex-grow: 1; outline: none; } .footer-widget .social-icons a { transition: color 0.2s; } .footer-widget .social-icons a:hover { color: #eab308; } #comments .reply-button { display: none; } .text-body-2 { font-size: 1.1rem; font-weight: 400; line-height: 2.17; } .text-body-2 { font-size: 1.1rem; font-weight: 400; line-height: 2.17; } .\!leading-\[15px\] { line-height: 15px!important; } .bg-hint-object-error { background-color: var(--color-hint-object-error); } .ProductPrice_ProductPrice__discountWrapper__1Ru_1 { height: 20px; width: 34px; } .text-h5 { font-size: 1.2rem; font-weight: 700; line-height: 1.875rem; } button, input, optgroup, select, textarea { line-height: inherit; color: inherit; border-width: thin; padding-right: 2.5rem !important; padding-left: 2.5rem !important; padding-top: 5px; padding-bottom: 5px; } .filter-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; } .filter-group { position: relative; } .filter-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; color: #475569; } .filter-group select, .filter-group input { width: 100%; padding: 0.75rem; border: 1px solid #e2e8f0; border-radius: 0.375rem; background-color: white; transition: border-color 0.2s; } .searchable-select-wrapper { position: relative; } .searchable-select-input { width: 100%; padding: 0.75rem; padding-right: 2.5rem; border: 1px solid #e2e8f0; border-radius: 0.375rem; background-color: white; } .searchable-select-dropdown { position: absolute; top: 100%; left: 0; right: 0; background: white; border: 1px solid #e2e8f0; border-radius: 0.375rem; margin-top: 0.25rem; max-height: 200px; overflow-y: auto; z-index: 50; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); display: none; } .searchable-select-dropdown.active { display: block; } .searchable-select-option { padding: 0.75rem; cursor: pointer; transition: background-color 0.2s; } .searchable-select-option:hover { background-color: #f8fafc; } .searchable-select-option.selected { background-color: #e2e8f0; } .filter-group .reset-filters { background: #ef4444; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 0.375rem; cursor: pointer; transition: background-color 0.2s; } .filter-group .reset-filters:hover { background: #dc2626; } .filter-group .apply-filters { background: #3b82f6; color: white; border: none; padding: 0.75rem 1.5rem; border-radius: 0.375rem; cursor: pointer; transition: background-color 0.2s; } .filter-group .apply-filters:hover { background: #2563eb; } /* Primary Container */ #primary.content-area { padding: 20px; margin-top: 30px; margin-bottom: 30px; background-color: #f9fafb; } /* Main Content Area */ #main.site-main { color: #374151; } /* Modern Fancy Breadcrumb Navigation */ .rank-math-breadcrumb, .woocommerce-breadcrumb { display: flex; align-items: center; gap: 8px; padding: 12px 20px; margin: 20px 0; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); border-radius: 12px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 8px 16px rgba(0, 0, 0, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); font-size: 14px; font-weight: 500; position: relative; overflow: hidden; z-index:9 } .rank-math-breadcrumb::before, .woocommerce-breadcrumb::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-primary)); background-size: 200% 100%; animation: breadcrumb-gradient 3s ease-in-out infinite; } @keyframes breadcrumb-gradient { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 0%; } } /* Breadcrumb Container Hover Effect */ .rank-math-breadcrumb:hover, .woocommerce-breadcrumb:hover { transform: translateY(-1px); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 12px 24px rgba(0, 0, 0, 0.15); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* Breadcrumb Links */ .rank-math-breadcrumb a, .woocommerce-breadcrumb a { color: var(--color-primary); text-decoration: none; font-weight: 600; padding: 6px 12px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; } .rank-math-breadcrumb a::before, .woocommerce-breadcrumb a::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); transition: left 0.5s; } .rank-math-breadcrumb a:hover, .woocommerce-breadcrumb a:hover { color: #ffffff; background: var(--color-primary); border-color: var(--color-primary); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(38, 52, 139, 0.3); } .rank-math-breadcrumb a:hover::before, .woocommerce-breadcrumb a:hover::before { left: 100%; } /* Breadcrumb Separator */ .rank-math-breadcrumb .separator, .rank-math-breadcrumb span, .woocommerce-breadcrumb span { color: #64748b; font-size: 16px; font-weight: 700; margin: 0 4px; opacity: 0.7; transition: all 0.3s ease; } .rank-math-breadcrumb .separator::before, .rank-math-breadcrumb span:not(a)::before, .woocommerce-breadcrumb span:not(a)::before { content: '›'; font-size: 18px; background: linear-gradient(45deg, var(--color-primary), var(--color-secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* Active/Current Breadcrumb Item */ .rank-math-breadcrumb .current, .rank-math-breadcrumb .breadcrumb_last, .woocommerce-breadcrumb .active, .rank-math-breadcrumb span:last-child { font-weight: 700; color: var(--color-heading); padding: 6px 16px; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: white; border-radius: 10px; box-shadow: 0 2px 8px rgba(38, 52, 139, 0.25); position: relative; line-height:2.2 } .rank-math-breadcrumb .current::after, .rank-math-breadcrumb .breadcrumb_last::after, .woocommerce-breadcrumb .active::after { content: ''; position: absolute; top: 50%; right: -6px; transform: translateY(-50%); width: 0; height: 0; border-left: 6px solid var(--color-primary); border-top: 6px solid transparent; border-bottom: 6px solid transparent; } /* Home Icon for First Breadcrumb */ .rank-math-breadcrumb a:first-child::before, .woocommerce-breadcrumb a:first-child::before { content: '🏠'; margin-right: 6px; font-size: 14px; } /* Responsive Design */ @media (max-width: 768px) { .rank-math-breadcrumb, .woocommerce-breadcrumb { padding: 8px 12px; margin: 10px 0; font-size: 12px; flex-wrap: wrap; } .rank-math-breadcrumb a, .woocommerce-breadcrumb a { padding: 4px 8px; font-size: 12px; } .rank-math-breadcrumb .current, .rank-math-breadcrumb .breadcrumb_last, .woocommerce-breadcrumb .active { padding: 4px 12px; } } @media (max-width: 480px) { .rank-math-breadcrumb, .woocommerce-breadcrumb { padding: 6px 8px; } .rank-math-breadcrumb a, .woocommerce-breadcrumb a { padding: 3px 6px; font-size: 11px; } } /* Page Container */ .page { margin: 0 auto; background-color: #ffffff; } /* General Button Styles */ .wc-block-components-button { display: inline-flex; /* Flexbox for alignment */ align-items: center; /* Vertically center content */ justify-content: center; /* Horizontally center content */ padding: 12px 20px; /* Add padding */ font-size: 14px; /* Adjust font size */ font-weight: 600; /* Semi-bold text */ text-decoration: none; /* Remove underline */ color: #ffffff; /* White text */ background-color: #3b82f6; /* Blue background */ border-radius: 6px; /* Rounded corners */ transition: all 0.3s ease; /* Smooth hover effect */ } /* Hover State */ .wc-block-components-button:hover { background-color: #2563eb; /* Darker blue on hover */ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow on hover */ } /* Button Text Styling */ .wc-block-components-button__text { display: inline-block; /* Inline-block for precise padding and alignment */ font-size: 14px; /* Base font size */ font-weight: 600; /* Semi-bold text */ color: #fff; /* Inherit text color from the parent button */ line-height: 1.5; /* Improve readability */ text-align: center; /* Center-align text */ text-transform: none; /* Optional: Use natural case for the text */ user-select: none; /* Prevent text selection */ } /* Specific Button Variations */ .wc-block-cart__submit-button { border: 2px solid #3b82f6; /* Add border */ background-color: #3b82f6; /* Blue background */ } .wc-block-cart__submit-button:hover { background-color: #2563eb; /* Darker blue on hover */ border-color: #2563eb; /* Match border to hover color */ } /* Navigation Styles */ /* Base Navigation */ .site-header .nav-menu { display: flex; align-items: center; justify-content: flex-end; gap: 0; } .site-header .menu-item { position: relative; } .site-header .menu-item a { display: flex; align-items: center; padding: 0.75rem 1rem; color: #1f2937; font-weight: 500; transition: all 0.2s; font-size: 0.8rem } .site-header .menu-item a:hover { color: #1a237e; background-color: #f9fafb; border-radius: 0.375rem; } /* Mega Menu */ .desktop-menu .has-megamenu { position: static !important; } .desktop-menu .has-megamenu:hover .megamenu-content { display: block; } .megamenu-grid { display: flex; gap: 2rem; justify-content: space-between; } .desktop-menu .megamenu-column { flex: 1; min-width: 280px; } .megamenu-column .sub-menu { list-style: none; padding: 0; margin: 0; } .megamenu-column>.sub-menu>li>a { display: block; font-weight: 600; color: #1a237e; border-right: 4px solid #fbbf24; padding: 0.75rem 1rem; margin-bottom: 0.5rem; } .megamenu-column .sub-menu .sub-menu { padding-right: 1.5rem; margin-bottom: 1.5rem; } .megamenu-column .sub-menu .sub-menu a { display: block; color: #4b5563; font-weight: normal; padding: 0.5rem 1rem; transition: all 0.2s; } .desktop-menu .megamenu-column .sub-menu .sub-menu a:hover { color: #1a237e; background-color: #f9fafb; border-radius: 0.375rem; padding-right: 1.5rem; } .megamenu-column>li>a:after { content: "\f053"; padding-right: 5px; font-family: 'FontAwesome'; font-size: 0.6rem; } /* Mobile */ @media (max-width: 768px) { .site-header .nav-menu { display: none; flex-direction: column; gap: 0; } .site-header .nav-menu.active { display: flex; position: absolute; inset: 100% 0 auto 0; background: white; border-top: 1px solid #e5e7eb; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .has-megamenu { position: relative; } .megamenu-content { position: static; min-width: 100%; box-shadow: none; padding: 1rem; transform: none; } .megamenu-grid { flex-direction: column; gap: 1rem; } .megamenu-column { width: 100%; min-width: 0; } .megamenu-column>.sub-menu>li>a { border-right: 0; border-bottom: 2px solid #fbbf24; } } /* Optimized CSS */ .desktop-menu .megamenu-content { display: none; position: absolute; left: 50%; transform: translateX(-50%); width: 100%; background: white; padding: 2rem; border-radius: 0.5rem; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); z-index: 50; } .megamenu-grid { display: flex; gap: 2rem; } .desktop-menu .megamenu-column { min-width: 280px; flex: 1; } .site-header .sub-menu.depth-0 { display: contents; } .desktop-menu .megamenu-column>li>a { display: block !important; font-weight: 600 !important; color: #1a237e !important; border-right: 4px solid #fbbf24; padding: 0.5rem!important; margin-bottom: 0.5rem!important; font-size: 0.8rem; } .desktop-menu .megamenu-column .sub-menu { padding-right: 1.5rem; margin-bottom: 1.5rem; } .megamenu-column .sub-menu a { display: block; color: #4b5563; padding: 0.5rem; transition: 0.2s; font-size: 0.8rem; } .desktop-menu .megamenu-column .sub-menu a:hover { color: #1a237e; background: #f9fafb; border-radius: 0.375rem; padding-right: 1.5rem; } nav.footer-legal-nav, .footer-column { font-size: 0.8rem; } /* Mobile Navigation Styles */ .mobile-nav { position: fixed; top: 0; right: -300px; /* Start off-screen */ width: 250px; height: 100vh; background-color: white; box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); transition: right 0.3s ease; z-index: 1000; overflow-y: auto; padding: 10px; } .mobile-nav.active { right: 0; } .mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); opacity: 0; visibility: hidden; transition: opacity 0.3s ease; z-index: 999; } .mobile-nav-overlay.active { opacity: 1; visibility: visible; } .mobile-nav__close { position: absolute; top: 20px; left: 20px; background: none; border: none; font-size: 24px; color: #666; cursor: pointer; } .mobile-nav .nav-menu { list-style: none; padding: 0; margin: 40px 0 0; } .mobile-nav .nav-menu li { margin: 0; padding: 0; } .mobile-nav .nav-menu a { display: block; padding: 12px 0; color: #333; text-decoration: none; border-bottom: 1px solid #eee; } .mobile-nav .has-megamenu>a { display: flex; justify-content: space-between; align-items: center; } .mobile-nav .has-megamenu.active>a::after { transform: rotate(180deg); } .mobile-nav .megamenu-content { display: none; padding-left: 20px; } .mobile-nav .has-megamenu.active .megamenu-content { display: block; } .mobile-nav .megamenu-grid { display: block; } .mobile-nav .megamenu-column { margin: 10px 0; } .mobile-nav__user-section { padding: 15px; border-bottom: 1px solid #eee; margin-bottom: 15px; } .mobile-nav__user-section .account-card-icons { display: flex; align-items: center; gap: 1rem; } .mobile-nav__user-section .account-card-icons a { text-decoration: none; } .megamenu-column li.menu-item-type-post_type_archive a { border: none; font-size: 1rem; color: #000; } .not-active .badge { background: linear-gradient(90deg, #f97316 0%, #ec4899 100%); } .text-body-2 { font-size: 0.875rem; /* 14px */ line-height: 1.25rem; } .text-caption { font-size: 0.75rem; /* 12px */ line-height: 1rem; } .text-neutral-300 { color: #D4D4D4; } .post-card .wp-post-image.main-cover { height: 20vw; object-fit: cover; } .description-container { position: relative; overflow: hidden; transition: max-height 0.3s ease-out; } .description-container.collapsed { max-height: 300px; /* Fixed height for collapsed state */ } .description-container.expanded { max-height: none; /* Allow full height when expanded */ } .description-container.collapsed:after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 50px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)); pointer-events: none; } .expand-button { display: inline-flex; align-items: center; gap: 4px; color: #2563eb; cursor: pointer; padding: 4px 8px; border: none; background: none; font-size: 14px; margin-top: 8px; margin-bottom: 1rem; } .expand-button:hover { color: #1e40af; } .expand-button svg { width: 16px; height: 16px; transition: transform 0.2s ease; } .expand-button.expanded svg { transform: rotate(0deg); } @keyframes blob { 0% { transform: translate(0px, 0px) scale(1); } 33% { transform: translate(30px, -50px) scale(1.1); } 66% { transform: translate(-20px, 20px) scale(0.9); } 100% { transform: translate(0px, 0px) scale(1); } } .animate-blob { animation: blob 5s infinite; } .animation-delay-2000 { animation-delay: 1s; } .animation-delay-4000 { animation-delay: 3s; } /* Add this to your CSS file */ .woocommerce-traditional-login { margin-top: 2rem; padding: 1rem; background: #fff; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } .woocommerce-traditional-login h2 { text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem; font-weight: bold; color: #333; } .rotate-180 { transform: rotate(180deg); } /* Gallery Styles */ .grid-gallery-container .gallery-card { transform: translateY(0); transition: transform 0.3s ease, box-shadow 0.3s ease; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); overflow: hidden; } .grid-gallery-container .gallery-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); } .active-view-btn { position: relative; } .active-view-btn::after { content: ''; position: absolute; bottom: -3px; left: 0; right: 0; height: 2px; background-color: #3b82f6; border-radius: 2px; } /* Gallery Slider Animation */ .gallery-slide { opacity: 0; transition: opacity 0.3s ease; } .gallery-slide[style*="display: flex"] { opacity: 1; } .gallery-thumb { transition: all 0.3s ease; } .gallery-thumb:hover { transform: translateY(-2px); } .gallery-thumb.ring-2 { transform: translateY(-3px); } /* Timeline Styles */ .timeline-marker { position: absolute; transform: translateX(-50%); z-index: 10; } .marker-start { left: 0%; transform: translateX(0%); } .marker-end { left: 100%; transform: translateX(-100%); } .pulsing-marker::after { content: ''; position: absolute; top: -4px; left: -4px; right: -4px; bottom: -4px; border-radius: 50%; border: 3px solid rgba(59, 130, 246, 0.5); animation: pulse 2s infinite; } @keyframes pulse { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: 0.5; } 100% { transform: scale(1); opacity: 1; } } /* Milestone Connector Line */ .milestone-item { position: relative; } .milestone-connector { position: absolute; top: 24px; left: 50%; width: calc(100% + 1.5rem); height: 3px; background: linear-gradient(to right, transparent, #e2e8f0, transparent); } /* 3D Hover Effect for Gallery Cards */ @media (min-width: 768px) { .gallery-card { perspective: 1000px; } .gallery-card:hover img { transform: scale(1.05) rotateY(5deg); } } /* Custom Animation for Gallery */ @keyframes slideUpFade { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .grid-gallery-container .gallery-card { animation: slideUpFade 0.5s ease forwards; animation-delay: calc(var(--index, 0) * 0.1s); } /* Responsive adjustments */ @media (max-width: 640px) { .timeline-marker .w-8 { width: 1.5rem; } .timeline-marker .h-8 { height: 1.5rem; } .timeline-visualization .h-3 { height: 0.5rem; } .gallery-main-slider .gallery-slide { height: 250px !important; } .gallery-thumbs .gallery-thumb { width: 3.5rem; height: 3.5rem; } } /* Touch-friendly gallery on mobile */ @media (max-width: 768px) { .gallery-prev, .gallery-next { width: 2.5rem; height: 2.5rem; } .milestone-item { padding-bottom: 1.5rem; margin-bottom: 1rem; border-bottom: 1px dashed #e2e8f0; } } /* Image Loading Transition */ .gallery-card img, .gallery-slide img { filter: blur(0); transition: filter 0.3s ease, transform 0.5s ease; } .gallery-card img.loading, .gallery-slide img.loading { filter: blur(5px); } /* Timeline Progress Animation */ .timeline-visualization .bg-gradient-to-r { transition: width 1.5s cubic-bezier(0.65, 0, 0.35, 1); width: 0; } .timeline-visualization.animate .bg-gradient-to-r { width: var(--progress-width); } /* Gallery Modal Transitions */ .gallery-modal { backdrop-filter: blur(5px); } /* 3D Effect Styles */ .perspective-1000 { perspective: 1000px; } .device-mockup { transition: all 0.5s ease; } /* Active tab styling */ .active-device { border-bottom-color: #3b82f6; color: #2563eb; } /* Laptop specific styles */ .laptop-screen { border-radius: 3px; transform: translateZ(2px); background-color: #fff; } /* Mobile specific styles */ .mobile-screen { border-radius: 3px; transform: translateZ(2px); background-color: #fff; } /* Device screen reflections */ .laptop-mockup::after, .mobile-mockup::after { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 50%); pointer-events: none; z-index: 1; } /* Device shadows */ .laptop-container, .mobile-container { filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1)); } /* Animation for iframe loaders */ @keyframes fadeOut { 0% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } } .iframe-loaded .iframe-loader { animation: fadeOut 0.5s forwards; } /* Hide/show device views */ .device-view { display: none; } .device-view.active-view { display: block; } .mobile-screen.absolute.top-\[55px\].left-\[25px\].right-\[25px\].bottom-\[55px\].overflow-hidden { top: 55px; left: 25px; right: 25px; bottom: 55px; } .laptop-screen.absolute.top-\[44px\].left-\[35px\].right-\[32px\].bottom-\[34px\].overflow-hidden { top: 44px; left: 35px; right: 32px; bottom: 34px; } /* Animation classes */ .slide-up-animate { animation-name: slideUp; animation-duration: 0.8s; animation-fill-mode: forwards; } .animation-delay-300 { animation-delay: 0.3s; } .animation-delay-600 { animation-delay: 0.6s; } @keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } /* 3D Perspective */ .perspective-1000 { perspective: 1000px; } .transform-style-3d { transform-style: preserve-3d; } .rotate-y-3 { transform: rotateY(3deg); } .hover\:rotate-y-5:hover { transform: rotateY(5deg); } /* Skill animations */ .animate-skill-1 { width: 100%; animation: skillWidth 1.5s ease-out; } .animate-skill-2 { width: 100%; animation: skillWidth 1.5s ease-out 0.2s forwards; opacity: 0; } .animate-skill-3 { width: 100%; animation: skillWidth 1.5s ease-out 0.4s forwards; opacity: 0; } .animate-skill-4 { width: 100%; animation: skillWidth 1.5s ease-out 0.6s forwards; opacity: 0; } @keyframes skillWidth { from { width: 0; opacity: 0; } to { opacity: 1; } } /* Card hover effects */ .service-card:hover .service-icon { transform: translateY(-10px); } .tech-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } /* Project card filter functionality */ .project-card { transition: all 0.5s ease; } .project-card.hidden { opacity: 0; transform: scale(0.8); height: 0; margin: 0; padding: 0; overflow: hidden; } /* Timeline animation */ .process-timeline { position: relative; } .process-step { opacity: 0; transform: translateY(20px); transition: all 0.6s ease; } .process-step.visible { opacity: 1; transform: translateY(0); } /* Team card hover effects */ .team-card .social-links { transform: translateY(20px); opacity: 0; transition: all 0.3s ease; } .team-card:hover .social-links { transform: translateY(0); opacity: 1; } .back-to-top{ z-index:9999 !important; } .flex { display: flex; } .grid { display: grid; } .grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } :root { --blue-50: #eaecf6; --blue-100: #d5d9ed; --blue-200: #abb3db; --blue-300: #818dc9; --blue-400: #5767b7; --blue-500: #26348b; --blue-600: #222a7f; --blue-700: #1c2368; --blue-800: #171c52; --blue-900: #11153b; --red-50: #fde6f4; --red-100: #fbcce9; --red-200: #f799d3; --red-300: #f366bd; --red-400: #ef33a7; --red-500: #e6007e; --red-600: #cf0071; --red-700: #ab005e; --red-800: #87004a; --red-900: #630037; } .bg-blue-50 { background-color: var(--blue-50) !important; } .bg-blue-100 { background-color: var(--blue-100) !important; } .bg-blue-200 { background-color: var(--blue-200) !important; } .bg-blue-300 { background-color: var(--blue-300) !important; } .bg-blue-400 { background-color: var(--blue-400) !important; } .bg-blue-500 { background-color: var(--blue-500) !important; } .bg-blue-600 { background-color: var(--blue-600) !important; } .bg-blue-700 { background-color: var(--blue-700) !important; } .bg-blue-800 { background-color: var(--blue-800) !important; } .bg-blue-900 { background-color: var(--blue-900) !important; } .bg-red-50 { background-color: var(--red-50) !important; } .bg-red-100 { background-color: var(--red-100) !important; } .bg-red-200 { background-color: var(--red-200) !important; } .bg-red-300 { background-color: var(--red-300) !important; } .bg-red-400 { background-color: var(--red-400) !important; } .bg-red-500 { background-color: var(--red-500) !important; } .bg-red-600 { background-color: var(--red-600) !important; } .bg-red-700 { background-color: var(--red-700) !important; } .bg-red-800 { background-color: var(--red-800) !important; } .bg-red-900 { background-color: var(--red-900) !important; } .text-blue-50 { color: var(--blue-50) !important; } .text-blue-100 { color: var(--blue-100) !important; } .text-blue-200 { color: var(--blue-200) !important; } .text-blue-300 { color: var(--blue-300) !important; } .text-blue-400 { color: var(--blue-400) !important; } .text-blue-500 { color: var(--blue-500) !important; } .text-blue-600 { color: var(--blue-600) !important; } .text-blue-700 { color: var(--blue-700) !important; } .text-blue-800 { color: var(--blue-800) !important; } .text-blue-900 { color: var(--blue-900) !important; } .text-red-50 { color: var(--red-50) !important; } .text-red-100 { color: var(--red-100) !important; } .text-red-200 { color: var(--red-200) !important; } .text-red-300 { color: var(--red-300) !important; } .text-red-400 { color: var(--red-400) !important; } .text-red-500 { color: var(--red-500) !important; } .text-red-600 { color: var(--red-600) !important; } .text-red-700 { color: var(--red-700) !important; } .text-red-800 { color: var(--red-800) !important; } .text-red-900 { color: var(--red-900) !important; } .hover\:bg-blue-500:hover { background-color: var(--blue-500) !important; } .hover\:bg-blue-600:hover { background-color: var(--blue-600) !important; } .hover\:bg-blue-700:hover { background-color: var(--blue-700) !important; } .hover\:bg-red-500:hover { background-color: var(--red-500) !important; } .hover\:bg-red-600:hover { background-color: var(--red-600) !important; } .hover\:bg-red-700:hover { background-color: var(--red-700) !important; } .border-blue-500 { border-color: var(--blue-500) !important; } .border-red-500 { border-color: var(--red-500) !important; } /* ===== Scrollbar CSS ===== */ /* Firefox */ * { scrollbar-width: thin; scrollbar-color: #e6007e #ffffff; } /* Chrome, Edge, and Safari */ *::-webkit-scrollbar { width: 5px; } *::-webkit-scrollbar-track { background: #ffffff; } *::-webkit-scrollbar-thumb { background-color: #e6007e; border-radius: 20px; border: 1px solid #ffffff; } .project-card img:hover { -o-object-position: bottom !important; object-position: bottom !important; animation: auto; } .project-card img{ -o-object-position: top; object-position: top; height: 300px; -o-object-fit: cover; object-fit: cover; -webkit-transition: 1.5 sease-in-out; -o-transition: 1.5s ease-in-out; transition: 1.5s ease-in-out; width: 100%; } @keyframes animRotate { 0%{ transform: rotate(0deg); } 100%{ transform: rotate(360deg); } } @keyframes animRotateCounter { 0%{ transform: rotate(360deg); } 100%{ transform: rotate(0deg); } } .animate-rotate{ animation: animRotate 5s linear infinite; } .animate-rotate-counter{ animation: animRotateCounter 5s linear infinite; } em, strong { color: var(--red-500) !important; font-style: normal; font-weight: 900; } .team-card .relative.overflow-hidden { isolation: isolate; } .team-card .bg-cover { transition: all 0.5s ease; } .team-card:hover .bg-cover { filter: blur(5px) brightness(0.8) saturate(1.3); transform: scale(1.2); } @keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0); } } @keyframes floatReverse { 0% { transform: translateY(0); } 50% { transform: translateY(15px); } 100% { transform: translateY(0); } } .floating-animation { animation: float 4s ease-in-out infinite; } .floating-animation-reverse { animation: floatReverse 4s ease-in-out infinite; } /* انیمیشن‌های متن هدر */ .hero-text-animation { animation: textGlow 3s ease-in-out infinite alternate; } @keyframes textGlow { from { text-shadow: 0 0 5px rgba(255,255,255,0.5); } to { text-shadow: 0 0 20px rgba(255,255,255,0.8); } } /* انیمیشن اسلاید آپ */ .slide-up-animate { animation: slideUp 0.8s ease-out forwards; opacity: 0; } .animation-delay-300 { animation-delay: 300ms; } .animation-delay-500 { animation-delay: 500ms; } @keyframes slideUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .aos-init div { overflow: hidden; } .overflow-visible { overflow: visible !important; } .overfkiw-hidden { overflow: hidden !important; } .blog-posts-swiper .swiper-slide { height: auto; display: flex; } .blog-posts-swiper .swiper-slide > * { flex: 1; } .blog-swiper-next, .blog-swiper-prev { background: linear-gradient(135deg, #3b82f6, #8b5cf6) !important; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all 0.3s ease; z-index: 10; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3); } .blog-swiper-next:hover, .blog-swiper-prev:hover { box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4); } .blog-swiper-pagination { text-align: center; position: relative; margin-top: 2rem; } .blog-pagination-bullet { width: 12px; height: 12px; display: inline-block; border-radius: 50%; background: #d1d5db; margin: 0 6px; cursor: pointer; transition: all 0.3s ease; } .blog-pagination-bullet.swiper-pagination-bullet-active { background: linear-gradient(135deg, #3b82f6, #8b5cf6); transform: scale(1.2); box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3); } .blog-pagination-bullet:hover { transform: scale(1.1); background: #9ca3af; } .blog-pagination-bullet.swiper-pagination-bullet-active:hover { background: linear-gradient(135deg, #2563eb, #7c3aed); } @media (max-width: 1024px) { .blog-swiper-next, .blog-swiper-prev { width: 40px; height: 40px; } } @media (max-width: 768px) { .blog-swiper-next, .blog-swiper-prev { width: 35px; height: 35px; } .blog-swiper-next { right: 5px; } .blog-swiper-prev { left: 5px; } } @media (max-width: 640px) { .blog-swiper-next, .blog-swiper-prev { display: none; } } .bg-white\/90 { background-color: rgba(255, 255, 255, 0.9); } .border-white\/90 { border-color: rgba(255, 255, 255, 0.2); } .bg-black\/10 { background-color: rgba(0, 0, 0, 0.1); } .bg-black\/50 { background-color: rgba(0, 0, 0, 0.5); } .bg-\[\#0077b5\] { background: #0077b5; } .bg-\[\#1da1f2\] { background: #1da1f2; } .bg-\[\#333\] { background: #333; } .from-blue-600\/5{ background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.05)); } .to-blue-600\/5{ background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), rgba(59, 130, 246, 0.05)); } .single h1 { font-size: 2.25rem !important; line-height: 2.5rem !important; font-weight: 800 !important; color: transparent !important; background-image: linear-gradient(to right, #06b6d4, #2563eb) !important; -webkit-background-clip: text !important; background-clip: text !important; border-bottom-width: 4px !important; border-color: #0078d4 !important; padding-bottom: 0.75rem !important; margin-bottom: 1.75rem !important; letter-spacing: -0.02em !important; } @media (min-width: 768px) { .single h1 { font-size: 2.25rem !important; line-height: 1.1 !important; } } .single h2, .description-container h2 { font-size: 1.75rem !important; line-height: 2rem !important; font-weight: 700 !important; color: #2834ca !important; margin-top: 3rem !important; margin-bottom: 1.25rem !important; position: relative !important; } @media (min-width: 768px) { .single h2 { font-size: 1.75rem !important; line-height: 2.5rem !important; } } .single h2::after { content: "" !important; position: absolute !important; bottom: 0 !important; left: 0 !important; width: 4.5rem !important; height: 0.3rem !important; border-radius: 9999px !important; background-image: linear-gradient(to right, #22d3ee, #2563eb) !important; } .single h3 { font-size: 1.3rem !important; line-height: 1.5rem !important; font-weight: 600 !important; color: #2834ba !important; margin-top: 2.75rem !important; margin-bottom: 1rem !important; } @media (min-width: 768px) { .single h3 { font-size: 1.3rem !important; line-height: 2rem !important; } } .single h4 { font-size: 1.2rem !important; line-height: 1.7rem !important; font-weight: 500 !important; color: #2834aa !important; margin-top: 2.25rem !important; margin-bottom: 0.75rem !important; } .single p { text-align: justify; } /* Simple & Fancy Unordered List */ .post ul:not(.toc_list) { list-style: none; padding: 0; margin: 20px 0; } .post ul:not(.toc_list) li { position: relative; padding: 12px 15px 12px 45px; margin: 8px 0; background: linear-gradient(to right, #f8f9fa, #ffffff); border-radius: 8px; transition: all 0.3s ease; } .post ul:not(.toc_list) li:hover,.post ul:not(.toc_list) ul li:hover { background: linear-gradient(to right, #e3f2fd, #f8f9fa); transform: translateX(5px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .post ul:not(.toc_list) li::before { content: '●'; position: absolute; left: 18px; color: #667eea; font-size: 20px; transition: color 0.3s ease; } .post ul:not(.toc_list) li:hover::before { color: #764ba2; } /* Simple & Fancy Ordered List */ .post ol{ list-style: none; counter-reset: fancy-counter; padding: 0; margin: 20px 0; } .post ol li, .description-container ol li { position: relative; padding: 12px 50px 12px 15px; margin: 8px 0; background: linear-gradient(to right, #f8f9fa, #ffffff); counter-increment: fancy-counter; transition: all 0.3s ease; } .post ol li:hover, .description-container ol li:hover { background: linear-gradient(to right, #e3f2fd, #f8f9fa); transform: translateX(5px); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); } .post ol li::before { content: counter(fancy-counter); position: absolute; right: 15px; width: 24px; height: 24px; background: #667eea; color: white; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: bold; transition: background 0.3s ease; } .post ol li:hover::before { background: #764ba2; } .toc_list ul li:before{ display:none !important; } .toc_list li { position: relative; padding: 0; margin: 8px 0; background: transparent; transition: none; } ul.special-list { list-style: none; padding: 0; margin: 20px 0; } ul.special-list li, .description-container ul li { position: relative; padding: 18px 20px 18px 60px; margin: 12px 0; background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } ul.special-list li:hover { transform: translateX(10px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); } ul.special-list li::before { content: '✦'; position: absolute; left: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #667eea; font-weight: bold; transition: all 0.3s ease; } ul.special-list li:hover::before { transform: translateY(-50%) rotate(180deg); color: #764ba2; } /* Modern Ordered List Styles */ ol.special-list { list-style: none; counter-reset: custom-counter; padding: 0; margin: 20px 0; } ol.special-list li { position: relative; padding: 18px 20px 18px 80px; margin: 12px 0; background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%); counter-increment: custom-counter; transition: all 0.3s ease; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } ol.special-list li:hover { transform: translateX(10px); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); } ol.special-list li::before { content: counter(custom-counter); position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 45px; height: 45px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); transition: all 0.3s ease; } ol.special-list li:hover::before { transform: translateY(-50%) scale(1.15); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); } /* Nested Lists */ ul.special-list ul, ol.special-list ol, ul.special-list ol.special-list, ol.special-list ul.special-list { margin: 10px 0 10px 20px; } ul.special-list ul li, ol.special-list ul.special-list li, .description-container ul ul li, .description-container ol ul li{ background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); font-size: 0.95em; } ol.special-list ol li { background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%); font-size: 0.95em; } .single header img.wp-post-image { /* opacity: 0.2; */ filter: blur(2px) brightness(0.5); } .single article a { color: #2834ca; font-weight: 600; } /* Global responsive form fixes for all input/button combinations */ .flex.gap-3 input, .flex.gap-2 input, .flex input[type="text"], .flex input[type="email"], .flex input[type="search"] { min-width: 0 !important;width:100% } /* Ensure buttons don't shrink */ .flex button[type="submit"], .flex .whitespace-nowrap { flex-shrink: 0 !important; } /* Mobile: Full width for inputs and buttons in flex containers */ @media (max-width: 639px) { .flex-col input, .flex-col button { width: 100% !important; } } /* Tablet: Proper flex behavior */ @media (min-width: 640px) and (max-width: 1024px) { .sm\:flex-row input[type="text"], .sm\:flex-row input[type="email"] { flex: 1 1 0% !important; min-width: 0 !important; } .sm\:flex-row button { flex-shrink: 0 !important; width: auto !important; } } /* Quantity Input Styling */ .woocommerce-cart-page .woocommerce .quantity { display: inline-flex; align-items: center; gap: 0.5rem; } .woocommerce-cart-page .woocommerce .quantity .qty { width: 80px !important; height: 44px !important; padding: 0.5rem 0.75rem !important; border: 2px solid #e5e7eb !important; border-radius: 0.5rem !important; text-align: center !important; font-size: 1rem !important; font-weight: 600 !important; color: #1f2937 !important; background: white !important; transition: all 0.2s ease !important; } .woocommerce-cart-page .woocommerce .quantity .qty:focus { outline: none !important; border-color: #3b82f6 !important; ring: 2px !important; ring-color: rgba(59, 130, 246, 0.3) !important; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important; } .woocommerce-cart-page .woocommerce .quantity .qty:hover { border-color: #3b82f6 !important; } /* Remove number input arrows for cleaner look */ .woocommerce-cart-page .woocommerce .quantity .qty::-webkit-inner-spin-button, .woocommerce-cart-page .woocommerce .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } .woocommerce-cart-page .woocommerce .quantity .qty[type=number] { -moz-appearance: textfield; } /* Cart table overflow fix */ .woocommerce-cart-page .woocommerce-cart-form { overflow: visible !important; } .woocommerce-cart-page .woocommerce-cart-form table { width: 100% !important; } /* Mobile responsive adjustments */ @media (max-width: 768px) { .woocommerce-cart-page .woocommerce .quantity .qty { width: 60px !important; height: 40px !important; padding: 0.375rem 0.5rem !important; font-size: 0.875rem !important; } } /* RTL Support */ [dir="rtl"] .woocommerce-cart-page .woocommerce .quantity { flex-direction: row-reverse; } /* Additional responsive input/button fixes */ @media (min-width: 640px) and (max-width: 1024px) { /* Tablet specific fixes */ .woocommerce-cart-page .woocommerce-cart .flex.gap-2 input[type="text"] { min-width: 0 !important; flex: 1 1 auto !important; } .woocommerce-cart-page .woocommerce-cart .flex.gap-2 button { flex-shrink: 0 !important; } }.description-container table td, .description-container table th {padding: 5px 0;border-bottom-color: black;border-bottom: solid #d6d3d3 1px;}input.w-5{width:1.25rem !important}.progress-step.active {z-index: 10;}article:not(.service-card) a:not(.flex,.block,.inline-flex,.text-white){text-decoration: underline;color: #26348b;}