/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/


/* Site header */
.site-header-row-container-inner {
    padding: 10px 0;
    background: #f9fafc;
}

/* Color Variables */
:root {
  --primary-color: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #5eead4;
  --secondary-color: #f59e0b;
  --secondary-dark: #d97706;
  --accent-color: #8b5cf6;
  --text-dark: #1e293b;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
}

/* Global Styles */
body.home .home-page.container {
    max-width: 100%;
    padding: 0;
}
body.home {
/*   font-family: 'Cairo', 'Tajawal', -apple-system, BlinkMacSystemFont, sans-serif; */
  color: var(--text-dark);
  line-height: 1.8;
  overflow-x: hidden;
}

body.home .entry-content {
  max-width: 100%;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Section Dividers */
.home .hero::after,
.home .levels-overview::before,
.home .call-to-action::before {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100px;
}

.home .hero::after {
  bottom: -1px;
  background: var(--bg-white);
  clip-path: polygon(0 40%, 10% 30%, 20% 35%, 30% 25%, 40% 30%, 50% 20%, 60% 30%, 70% 25%, 80% 35%, 90% 30%, 100% 40%, 100% 100%, 0 100%);
}

.home .levels-overview::before {
  top: -1px;
  height: 120px;
  background: var(--bg-light);
  clip-path: polygon(0 0, 0 50%, 10% 45%, 20% 40%, 30% 35%, 40% 30%, 50% 25%, 60% 30%, 70% 35%, 80% 40%, 90% 45%, 100% 50%, 100% 0);
}

.home .call-to-action::before {
  top: -1px;
  height: 120px;
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 25%, #ddd6fe 50%, #e0e7ff 75%, #f8fafc 100%);
  clip-path: polygon(0 60%, 10% 55%, 20% 50%, 30% 45%, 40% 40%, 50% 35%, 60% 40%, 70% 45%, 80% 50%, 90% 55%, 100% 60%, 100% 0, 0 0);
}

/* Common Section Styles */
.home .wp-block-group {
  position: relative;
  padding: 100px 20px;
  margin: 0;
}

.home .wp-block-group__inner-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.home .hero {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  padding-bottom: 150px;
  overflow: hidden;
		padding-top: 200px
}

.home .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px),
    repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255,255,255,0.03) 35px, rgba(255,255,255,0.03) 70px);
  opacity: 0.5;
}

.home .hero h4 {
  color: var(--secondary-color);
  animation: fadeInUp 0.8s ease-out;
}

.home .hero h1 {
  color: var(--bg-white);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.home .hero p {
  color: var(--primary-light);
  font-size: 1.25rem;
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.home .hero .wp-block-buttons {
  gap: 16px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.home .hero .wp-block-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: floatSoft 6s ease-in-out infinite;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

/* Introduction Section */
.home .introduction {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.02), var(--bg-white));
}

.home .introduction h2 {
  color: var(--primary-dark);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.3;
}

.home .introduction p {
  color: var(--text-gray);
  font-size: 1.25rem;
}

/* Core Features Section */
.home .core-features {
  background: var(--bg-light);
  padding-bottom: 120px;
}

.home .core-features::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--bg-white);
  clip-path: ellipse(70% 100% at 50% 0%);
}

.home .core-features .wp-block-columns {
  margin-bottom: 80px;
  gap: 60px;
  align-items: center;
}

.home .core-features .wp-block-columns:last-child {
  margin-bottom: 0;
}

.home .core-features h4 {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 800;
  padding: 12px 24px;
  display: inline-block;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  border-radius: 50px;
  border: 2px solid var(--secondary-color);
  margin-bottom: 16px;
  transition: all 0.4s ease;
}

.home .core-features h4:hover {
  transform: scale(1.1) rotate(3deg);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.home .core-features h2 {
  color: var(--text-dark);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  transition: color 0.3s;
}

.home .core-features .wp-block-column:hover h2 {
  color: var(--primary-color);
}

.home .core-features p {
  color: var(--text-gray);
  font-size: 1.1rem;
  line-height: 1.9;
}

.home .core-features .wp-block-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(13, 148, 136, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.home .core-features .wp-block-image:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 70px rgba(13, 148, 136, 0.25);
}

.home .core-features .wp-block-image img {
  width: 100%;
  transition: transform 0.5s;
}

.home .core-features .wp-block-image:hover img {
  transform: scale(1.08);
}

/* Levels Overview Section */
.home .levels-overview {
  background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 25%, #ddd6fe 50%, #e0e7ff 75%, #f8fafc 100%);
  background-size: 200% 200%;
  animation: gradientShift 15s ease infinite;
  overflow: hidden;
}

.home .levels-overview > .wp-block-group__inner-container > .wp-block-columns:first-child h2 {
  color: var(--primary-dark);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 70px;
  position: relative;
}

.home .levels-overview > .wp-block-group__inner-container > .wp-block-columns:first-child h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: 50%;
  transform: translateX(50%);
  width: 120px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
  border-radius: 3px;
}

.home .levels-overview .wp-block-columns:last-child {
  gap: 35px;
}

.home .levels-overview .wp-block-column {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(10px);
  border-radius: 28px;
  padding: 45px 35px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 60px rgba(13, 148, 136, 0.12);
  border: 2px solid rgba(13, 148, 136, 0.1);
  position: relative;
}

.home .levels-overview .wp-block-column:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 30px 80px rgba(13, 148, 136, 0.2);
}

.home .levels-overview .wp-block-image {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.15);
}

.home .levels-overview .wp-block-image img {
  width: 100%;
  transition: transform 0.6s;
}

.home .levels-overview .wp-block-column:hover .wp-block-image img {
  transform: scale(1.1) rotate(2deg);
}

.home .levels-overview h4 {
  color: var(--primary-color);
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.home .levels-overview p {
  color: var(--text-gray);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

/* Call to Action Section */
.home .call-to-action {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 25%, #115e59 50%, var(--primary-dark) 75%, var(--primary-color) 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  overflow: hidden;
}

.home .call-to-action::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.03) 60px, rgba(255, 255, 255, 0.03) 120px),
    repeating-linear-gradient(-45deg, transparent, transparent 60px, rgba(255, 255, 255, 0.03) 60px, rgba(255, 255, 255, 0.03) 120px);
  pointer-events: none;
}

.home .call-to-action .wp-block-group__inner-container {
  max-width: 900px;
}

.home .call-to-action h2 {
  color: var(--bg-white);
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 24px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.home .call-to-action p {
  color: var(--primary-light);
  font-size: 1.3rem;
  margin-bottom: 40px;
  font-weight: 500;
}

/* Buttons */
.home .wp-block-button__link {
  padding: 16px 32px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  display: inline-block;
}

.home .hero .wp-block-button__link,
.home .call-to-action .wp-block-button__link {
  background: var(--secondary-color);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.home .hero .wp-block-button__link:hover,
.home .call-to-action .wp-block-button__link:hover {
  background: var(--secondary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.5);
}

.home .hero .wp-block-button:nth-child(2) .wp-block-button__link {
  background: transparent;
  border: 2px solid var(--bg-white);
  color: var(--bg-white);
  box-shadow: none;
}

.home .hero .wp-block-button:nth-child(2) .wp-block-button__link:hover {
  background: var(--bg-white);
  color: var(--primary-color);
}

.home .levels-overview .wp-block-button__link {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--bg-white);
  padding: 14px 36px;
  box-shadow: 0 8px 24px rgba(13, 148, 136, 0.3);
}

.home .levels-overview .wp-block-button__link:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13, 148, 136, 0.4);
}

/* Images */
.home .wp-block-image {
  display: block;
}

.home .wp-block-image img {
  display: block;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .home .wp-block-group {
    padding: 60px 20px;
  }
  
  .home .hero {
    padding-bottom: 120px;
			padding-top: 160px;
  }
  
  .home .hero h1,
  .home .introduction h2,
  .home .levels-overview h2,
  .home .call-to-action h2 {
    font-size: 2rem;
  }
  
  .home .core-features .wp-block-columns {
    margin-bottom: 50px;
    gap: 30px;
  }
  
  .home .levels-overview .wp-block-column {
    padding: 35px 25px;
    margin-bottom: 25px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Single Video Page */
.single-aiovg_videos .thim-about-author,
.single-aiovg_videos .entry-navigation-post{
    display: none;
}

/* Top menu */
.navbar-nav>li>.tc-menu-inner span.tc-icon{
    margin-right: 0 !important;
    margin-left: 7px
}

.navigation .navbar-nav>li>a, .navigation .navbar-nav>li>span{
    padding: 10px
}

/* Courses/Video Grid Cards */
.thim-course-grid .course-item,
div#tab-overview,
div#tab-curriculum,
div#tab-instructor,
div#tab-students-list,
.course_right{
    background: #fff !important;
}
.aiovg-section-videos.aiovg-grid.aiovg-row {
    gap: 20px;
}

.aiovg-item-video {
    background: #fff;
    border-radius: 7px;
    box-shadow: 0 0 10px #eee;
}

body.page .aiovg-item-video {
	  width: calc(33.33% - 20px) !important;
}

@media only screen and (max-width: 768px) {
    body.page .aiovg-item-video {
        width: calc(50% - 20px) !important
    }
	.aiovg-section-videos {
        padding: 20px
    }
}

@media only screen and (max-width: 600px) {
    body.page .aiovg-item-video {
        width: 100% !important
    }
}

/* Pages */
body.page main#main {
    width: 100% !important;
}
/* المناهج الدراسية page */
.page-id-3495 .wp-block-columns,
.page-id-3495 .wp-block-image{
	margin-bottom: 25px
}

/* Login Menu Item */
body.logged-in .menu-item-2432 {
    display: none;
}