/* TutorGo Hero Section dengan DISHA Color Palette */

/* Hero Section Main Styling */
.tp-hero__section {
    background: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark-color) 100%);
    position: relative;
    overflow: hidden;
    margin-bottom: -100px;
    padding-top: 130px;
    padding-bottom: 80px;
}

/* Hero Content */
.tp-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 120px;
}

@media (max-width: 575px), only screen and (min-width: 576px) and (max-width: 767px) {
    .tp-hero__content {
        padding-top: 0;
    }
}

/* Decorative Shapes Animations */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-10px) translateX(5px);
  }
  50% {
    transform: translateY(-5px) translateX(-5px);
  }
  75% {
    transform: translateY(-15px) translateX(3px);
  }
}

@keyframes float-medium {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  33% {
    transform: translateY(-8px) translateX(8px);
  }
  66% {
    transform: translateY(-12px) translateX(-4px);
  }
}

@keyframes float-fast {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
  }
  50% {
    transform: translateY(-6px) translateX(6px);
  }
}

@keyframes rotate-slow {
  0% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(405deg);
  }
}

@keyframes rotate-reverse {
  0% {
    transform: rotate(45deg);
  }
  100% {
    transform: rotate(-315deg);
  }
}

@keyframes pulse-slow {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.05);
  }
}

@keyframes ping-slow {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Animation Classes */
.animate-float-slow {
  animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
  animation: float-medium 4s ease-in-out infinite;
}

.animate-float-fast {
  animation: float-fast 3s ease-in-out infinite;
}

.animate-rotate-slow {
  animation: rotate-slow 8s linear infinite;
}

.animate-rotate-reverse {
  animation: rotate-reverse 10s linear infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s ease-in-out infinite;
}

.animate-ping-slow {
  animation: ping-slow 3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@media (max-width: 575px), (min-width: 576px) and (max-width: 767px) {
    .tp-hero__content {
        padding-top: 50px;
    }
}

.tp-hero__subtitle {
    font-size: 20px;
    display: inline-block;
    color: var(--primary-soft-color);
    font-weight: 500;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tp-hero__title {
    font-size: 70px;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 15px;
}

@media (max-width: 575px) {
    .tp-hero__title {
        font-size: 48px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    .tp-hero__title {
        font-size: 56px;
    }
}

.tp-hero__content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 45px;
    max-width: 500px;
}

/* Hero Buttons */
.tp-hero__btn-wrappper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn-1 {
    margin-right: 20px;
    position: relative;
    z-index: 1;
}

.hero-btn-1 .tp-btn {
    background: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid white;
    position: relative;
    overflow: hidden;
}

.hero-btn-1 .tp-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-btn-1 .tp-btn .transition {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.hero-btn-1 .tp-btn:hover .transition {
    left: 0;
}

.hero-btn-2 {
    margin-bottom: 10px;
}

.hero-btn-2 .tp-play-btn {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero-btn-2 .tp-play-btn:hover {
    color: var(--primary-soft-color);
}

.hero-btn-2 .tp-play-btn i {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.hero-btn-2 .tp-play-btn:hover i {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Hero Image */
.tp-hero__img {
    margin-top: 60px;
    position: relative;
    z-index: 9;
}

@media (max-width: 575px), only screen and (min-width: 576px) and (max-width: 767px), only screen and (min-width: 768px) and (max-width: 991px) {
    .tp-hero__img img {
        width: 100%;
    }
}

/* Hero Shapes */
.tp-hero__shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.tp-hero__shapes-1 {
    position: absolute;
    top: 110px;
    left: 50%;
    animation: tp-float-1 3s infinite alternate;
}

.tp-hero__shapes-2 {
    position: absolute;
    top: 310px;
    right: 5%;
    animation: tp-float-2 4s infinite alternate;
}

.tp-hero__shapes-3 {
    position: absolute;
    bottom: 100px;
    left: 5%;
    animation: tp-float-1 2.5s infinite alternate;
}

.tp-hero__shapes-4 {
    position: absolute;
    top: 0;
    right: 0;
}

.tp-hero__shapes-5 {
    position: absolute;
    bottom: 270px;
    right: 0;
    animation: tpswing 1s ease-in-out 1s forwards infinite alternate;
    transform-origin: top bottom;
}

.tp-hero__shapes-6 {
    position: absolute;
    top: 240px;
    left: 13%;
    animation: tp-float-2 3.5s infinite alternate;
}

/* Animations */
@keyframes tp-float-1 {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-20px);
    }
}

@keyframes tp-float-2 {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    100% {
        transform: translateY(-15px) translateX(10px);
    }
}

@keyframes tpswing {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(5deg);
    }
}

/* Responsive Design */
@media (max-width: 991px) {
    .tp-hero__section {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .tp-hero__btn-wrappper {
        justify-content: center;
        text-align: center;
    }
    
    .hero-btn-1 {
        margin-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .tp-hero__title {
        font-size: 42px;
        text-align: center;
    }
    
    .tp-hero__subtitle {
        text-align: center;
        display: block;
    }
    
    .tp-hero__content p {
        text-align: center;
        margin: 0 auto 30px;
    }
}

/* Brand Section Styles */
.tp-brand__section {
    padding: 0 0 60px 0;
    background-color: transparent;
    position: relative;
    z-index: 10;
}

.tp-brand__box {
    background: #fff;
    border-radius: 15px;
    padding: 40px 60px;
    box-shadow: 0px 30px 40px 0px rgba(1, 16, 37, 0.1);
    margin-bottom: 30px;
    position: relative;
    z-index: 10;
}

.tp-brand__box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.tp-brand__box p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.tp-brand__box span {
    display: block;
    margin-bottom: 10px;
}

.tp-brand__box span i {
    color: #ffc107;
    font-size: 18px;
    margin-right: 3px;
}

.tp-brand_slider {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.tp-brand__item {
    flex: 0 0 auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.tp-brand__item:hover {
    opacity: 1;
}

.tp-brand__item img {
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.tp-brand__item:hover img {
    filter: grayscale(0%);
}

/* Responsive Design for Brand Section */
@media (max-width: 991px) {
    .tp-brand__section {
        padding: 0 0 40px 0;
    }
    
    .tp-brand__box {
        padding: 30px;
    }
    
    .tp-brand__box h3 {
        font-size: 24px;
        text-align: center;
    }
    
    .tp-brand__box p {
        text-align: center;
    }
    
    .tp-brand_slider {
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .tp-brand__section {
        padding: 0 0 30px 0;
    }
    
    .tp-brand__box {
        padding: 25px 30px;
    }
    
    .tp-brand__box h3 {
        font-size: 22px;
    }
    
    .tp-brand_slider {
        gap: 15px;
        flex-direction: column;
    }
    
    .tp-brand__item img {
        max-height: 50px;
    }
}

/* ===== SECTION-SPECIFIC CSS RULES WITH UNIQUE IDs ===== */

/* Reset default padding for all main sections to ensure full width */
#silabus-section,
#search-section,
#testimonial-section,
#faq-section,
#contact {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure containers within sections are properly sized */
#silabus-section .container,
#search-section .container,
#testimonial-section .container,
#faq-section .container,
#contact .container {
    max-width: 100% !important;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Responsive padding for larger screens */
@media (min-width: 768px) {
    #silabus-section .container,
    #search-section .container,
    #testimonial-section .container,
    #faq-section .container,
    #contact .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    #silabus-section .container,
    #search-section .container,
    #testimonial-section .container,
    #faq-section .container,
    #contact .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    #silabus-section .container,
    #search-section .container,
    #testimonial-section .container,
    #faq-section .container,
    #contact .container {
        max-width: 1280px !important;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Section-specific styling for visual separation and proper spacing */

/* Silabus Section */
#silabus-section {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

/* Search Section */
#search-section {
    background-color: #fff;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

/* Testimonial Section */
#testimonial-section {
    background-color: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

/* FAQ Section */
#faq-section {
    background-color: #fff;
    /* border-bottom: 1px solid #e5e7eb; */
    margin-bottom: 0;
}

/* Contact Section */
#contact {
    background: #ffffff;
    margin-bottom: 0;
}

/* Ensure proper section separation */
#silabus-section,
#search-section,
#testimonial-section,
#faq-section,
#contact {
    position: relative;
    isolation: isolate;
}

/* Add subtle shadows for depth (optional) */
#silabus-section,
#testimonial-section {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

/* Fix for CTA Button Underlines - Higher Specificity */
.group\/btn.no-underline,
.group\/btn.no-underline:hover,
.group\/btn.no-underline:focus,
.group\/btn.no-underline:active,
.group\/btn.no-underline:visited {
    text-decoration: none !important;
}

.group\/btn.no-underline span,
.group\/btn.no-underline:hover span,
.group\/btn.no-underline:focus span,
.group\/btn.no-underline:active span,
.group\/btn.no-underline:visited span {
    text-decoration: none !important;
}

/* Additional specificity for program cards CTA buttons */
.bg-white .group\/btn.no-underline,
.bg-white .group\/btn.no-underline:hover,
.bg-white .group\/btn.no-underline:focus,
.bg-white .group\/btn.no-underline:active,
.bg-white .group\/btn.no-underline:visited {
    text-decoration: none !important;
}

.bg-white .group\/btn.no-underline span,
.bg-white .group\/btn.no-underline:hover span,
.bg-white .group\/btn.no-underline:focus span,
.bg-white .group\/btn.no-underline:active span,
.bg-white .group\/btn.no-underline:visited span {
    text-decoration: none !important;
}