/* Home Page Specific Styles - Using Branding Variables from branding-variables.css */
/* Discover Section Overrides */
.web-home-page #discover-section .discover-card {
    background-color: var(--home-hero-bg);
    padding: 3rem 4rem;
    max-width: 100%;
    width: 100%;
    border-radius: var(--branding-radius-lg) !important;
    box-shadow: var(--branding-shadow-lg);
    transition: all var(--branding-transition-normal);
}

.web-home-page #discover-section .discover-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--branding-shadow-xl);
}

.web-home-page #discover-section .discover-title {
    color: var(--home-hero-text);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-family: var(--branding-font-heading);
    font-weight: 400 !important;
    font-size: 48px !important;
}

.web-home-page #discover-section .discover-subtitle {
    color: var(--home-hero-text);
    margin-bottom: 2.5rem;
    font-family: var(--branding-font-body);
}

.web-home-page #discover-section .discover-btn {
    background-color: var(--home-button-primary);
    color: var(--home-button-text);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-family: var(--branding-font-body);
    font-weight: 600;
    border-radius: var(--branding-radius-md);
    transition: all var(--branding-transition-normal);
    border: 2px solid var(--home-button-primary);
    cursor: pointer;
}

.web-home-page #discover-section .discover-btn:hover {
    background-color: var(--home-button-primary-hover);
    color: var(--home-button-text-hover);
    transform: translateY(-2px);
    box-shadow: var(--branding-shadow-lg);
}

/* Responsive Discover Section */
@media (max-width: 768px) {
    .discover-card {
        padding: 2rem 2.5rem;
        margin: 0 1rem;
    }
    
    .discover-title {
        font-size: 2rem;
        line-height: 1.4;
    }
    
    .discover-subtitle {
        font-size: 1.125rem;
    }
    
    .discover-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .discover-card {
        padding: 1.5rem 2rem;
    }
    
    .discover-title {
        font-size: 1.75rem;
    }
    
    .discover-subtitle {
        font-size: 1rem;
    }
}

/* Testimonials Section Styles */
#web-home-page #testimonials-section {
    background-color: var(--home-testimonials-bg);
    padding: 5rem 0;
}

#web-home-page #testimonials-section .section-header {
    text-align: left;
    margin-bottom: 3rem;
}

#web-home-page #testimonials-section .section-title {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--branding-font-heading);
    color: var(--branding-text-primary);
    margin-bottom: 0;
    /* line-height: 1.2; */

font-style: Bold;
line-height: 100%;
letter-spacing: 2px;
vertical-align: middle;

}

/* Testimonials Carousel */
#web-home-page #testimonials-section .testimonials-carousel-container {
    overflow: hidden;
    position: relative;
    width: 100%;
    /* padding: 0 0.5rem; Add padding to prevent edge cut-off */
}

#web-home-page #testimonials-section .testimonials-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    /* gap: 1.5rem; */
    width: 100%;
    align-items: stretch;
    /* padding: 0 0.5rem; Additional padding for slides */
    will-change: transform; /* Optimize for smooth transitions */
    backface-visibility: hidden; /* Prevent flickering */
}

#web-home-page #testimonials-section .testimonial-slide {
    flex: 0 0 auto;
    padding: 0 0.5rem; /* Reduced padding since container has padding */
    min-width: 0; /* Prevent flex items from overflowing */
}

/* Navigation Buttons */
#web-home-page #testimonials-section .testimonial-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--branding-primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#web-home-page #testimonials-section .testimonial-nav-btn:hover:not(:disabled) {
    background-color: var(--branding-primary);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

#web-home-page #testimonials-section .testimonial-nav-btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

/* Dots Indicator */
#web-home-page #testimonials-section .testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

#web-home-page #testimonials-section .testimonial-dot.active {
    background-color: var(--branding-primary);
    transform: scale(1.2);
}

#web-home-page #testimonials-section .testimonial-dot:hover {
    background-color: var(--branding-primary);
    opacity: 0.8;
}

#web-home-page #testimonials-section .testimonial-card {
    background-color: var(--home-testimonials-card-bg);
    border-radius: var(--branding-radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: all var(--branding-transition-normal);
    box-shadow: var(--branding-shadow-md);
    overflow: hidden;
    border: 1px solid var(--home-testimonials-card-border);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#web-home-page #testimonials-section .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--branding-primary), var(--branding-accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

#web-home-page #testimonials-section .testimonial-card:hover::before {
    opacity: 1;
}

#web-home-page #testimonials-section .testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

#web-home-page #testimonials-section .testimonial-card-blue {
    background-color: rgba(173, 231, 235, 1);
}

#web-home-page #testimonials-section .testimonial-card-cream {
    background-color: rgba(245, 243, 231, 1);
}

#web-home-page #testimonials-section .quote-icon {
    font-size: 1rem;
    font-weight: 700;
    color: var(--branding-text-primary);
    /* margin-bottom: 1.5rem; */
    opacity: 0.8;
    /* transition: all 0.3s ease; */
}

#web-home-page #testimonials-section .testimonial-card:hover .quote-icon {
   /* transform: scale(1.1); */
    opacity: 1;
}

#web-home-page #testimonials-section .testimonial-text {
    font-size: 28px;
    color: var(--branding-text-primary);
    line-height: 1.2;
    margin-bottom: 2rem;
    font-style: normal;
    font-weight: 400;
    transition: color 0.3s ease;
    letter-spacing: 0px;
    flex-grow: 1; /* Take up available space */
}

#web-home-page #testimonials-section .testimonial-card:hover .testimonial-text {
    color: var(--branding-text-primary);
}

#web-home-page #testimonials-section .testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(24, 24, 24, 1);
    border-radius: 0.5rem;
    background-color: transparent;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: auto; /* Push to bottom of flex container */
}

#web-home-page #testimonials-section .testimonial-card-blue .testimonial-author {
    border-color: rgba(24, 24, 24, 1);
    background-color: rgba(144, 202, 249, 0.1);
}

#web-home-page #testimonials-section .testimonial-card-cream .testimonial-author {
    border-color: rgba(24, 24, 24, 1);
    background-color: rgba(245, 243, 231, 1);
}

#web-home-page #testimonials-section .testimonial-author:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#web-home-page #testimonials-section .author-name {
    color: var(--branding-text-primary);
    margin-bottom: 0.25rem;
    font-family: var(--branding-font-body);
    font-weight: 500;
    font-style: Medium;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 0px;
    text-align: center;
    vertical-align: middle;

}

#web-home-page #testimonials-section .author-location {
    font-size: 0.875rem;
    color: var(--branding-text-secondary);
    font-weight: 500;
}

/* Responsive Testimonials */
@media (max-width: 1024px) {
    #web-home-page #testimonials-section .testimonials-carousel-container {
        overflow: hidden;
    }
    
    #web-home-page #testimonials-section .testimonials-carousel {
        /* gap: 1rem; */
    }
    
    #web-home-page #testimonials-section .testimonial-slide {
        padding: 0 0.5rem;
    }
    
    #web-home-page #testimonials-section .testimonial-card {
        padding: 2rem;
    }
    
    #web-home-page #testimonials-section .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    #web-home-page #testimonials-section .testimonials-carousel-container {
        padding: 0 0.5rem;
    }
    
    #web-home-page #testimonials-section .testimonials-carousel {
        /* gap: 0.75rem; */
        padding: 0 0.5rem;
    }
    
    #web-home-page #testimonials-section .testimonial-slide {
        padding: 0 0.25rem;
    }
    
    #web-home-page #testimonials-section .testimonial-card {
        padding: 1.75rem;
    }
    
    #web-home-page #testimonials-section .quote-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    #web-home-page #testimonials-section .testimonial-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    #web-home-page #testimonials-section .section-title {
        font-size: 2rem;
    }
    
    #web-home-page #testimonials-section {
        padding: 3rem 0;
    }
    
    #web-home-page #testimonials-section .testimonial-nav-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    #web-home-page #testimonials-section .testimonial-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    #web-home-page #testimonials-section .quote-icon {
        font-size: 2.5rem;
    }
    
    #web-home-page #testimonials-section .testimonial-text {
        font-size: 0.875rem;
        margin-bottom: 1.25rem;
    }
    
    #web-home-page #testimonials-section .testimonial-author {
        padding: 0.75rem 1rem;
    }
    
    #web-home-page #testimonials-section .author-name {
        font-size: 0.875rem;
    }
    
    #web-home-page #testimonials-section .author-location {
        font-size: 0.75rem;
    }
    
    #web-home-page #testimonials-section .section-title {
        font-size: 1.75rem;
    }
    
    #web-home-page #testimonials-section .testimonial-nav-btn {
        width: 36px;
        height: 36px;
    }
    
    #web-home-page #testimonials-section .testimonial-nav-btn svg {
        width: 18px;
        height: 18px;
    }
}


/* Learning Anywhere Section Styles */
#web-home-page .learning-hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

#web-home-page .learning-hero-content {
    width: 100%;
    max-width: 1200px;
}

#web-home-page .learning-hero-image-container {
    position: relative;
    width: 100%;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#web-home-page .learning-hero-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

#web-home-page .hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

#web-home-page .play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

#web-home-page .play-button {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

#web-home-page .play-button:hover {
    transform: scale(1.1);
}

#web-home-page .play-button-inner {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

#web-home-page .play-button-inner i {
    font-size: 2rem;
    color: var(--branding-text-primary);
    margin-left: 4px;
}

#web-home-page .play-button-ripple {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: ripple 2s infinite;
}

#web-home-page .play-button-ripple:nth-child(3) {
    animation-delay: 0.5s;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

#web-home-page .text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    padding: 1rem;
    color: white;
    text-align: center;
}

#web-home-page .hero-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#web-home-page .hero-subtitle {
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (min-width: 1280px) and (max-width: 3200px) {
    #web-home-page .about-us-mentor {
        margin-left: 50%;
    }
}

/* Responsive Learning Hero */
@media (max-width: 1024px) {
    #web-home-page .learning-hero-image {
        height: 450px;
    }
    
    #web-home-page .hero-main-title {
        font-size: 2.25rem;
    }
    
    #web-home-page .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    #web-home-page .learning-hero-image {
        height: 400px;
    }
    
    #web-home-page .play-button-inner {
        width: 70px;
        height: 70px;
    }
    
    #web-home-page .play-button-inner i {
        font-size: 1.75rem;
    }
    
    #web-home-page .play-button-ripple {
        width: 100px;
        height: 100px;
        top: -15px;
        left: -15px;
    }
    
    #web-home-page .hero-main-title {
        font-size: 2rem;
    }
    
    #web-home-page .hero-subtitle {
        font-size: 0.95rem;
    }
    
    #web-home-page .text-overlay {
        padding: 2rem 1.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    #web-home-page .learning-hero-image {
        height: 350px;
    }
    
    #web-home-page .play-button-inner {
        width: 60px;
        height: 60px;
    }
    
    #web-home-page .play-button-inner i {
        font-size: 1.5rem;
    }
    
    #web-home-page .play-button-ripple {
        width: 80px;
        height: 80px;
        top: -10px;
        left: -10px;
    }
    
    #web-home-page .hero-main-title {
        font-size: 1.75rem;
    }
    
    #web-home-page .hero-subtitle {
        font-size: 0.875rem;
    }
    
    #web-home-page .text-overlay {
        padding: 1.5rem 1rem 1rem;
    }
}


/* Benefits Section Styles */
.benefits-section {
    background-color: none;
}

.benefits-title {
    color: #1f2937;
}

/* Responsive Benefits Section */
@media (max-width: 1024px) {
    .benefits-section .benefit-card {
        min-height: auto;
    }
    
    .benefits-section .benefit-card svg {
        width: 100%;
        height: auto;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .benefits-section .w-full {
        padding-left: 0;
        padding-right: 0;
        border-radius: 0;
    }
    
    .benefits-section .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .benefits-section .benefit-card-title {
        font-size: 1.125rem;
    }
    
    .benefits-section .benefit-card-description {
        font-size: 0.875rem;
    }
    
    .benefits-section .benefit-card svg {
        max-width: 150px;
    }
}

@media (max-width: 640px) {
    .benefits-section .benefit-card {
        padding: 1rem;
    }
    
    .benefits-section .benefit-card-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .benefits-section .benefit-card-description {
        font-size: 0.75rem;
    }
}

.benefits-subtitle {
    color: #181818;
}

.benefit-card {
    background-color: rgba(146, 195, 114, 0.4);
    transition: all var(--branding-transition-normal, 0.3s ease);
    box-shadow: 0px 4px 4.5px 0px #00000059;
}

.benefit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--branding-shadow-md, 0 4px 6px rgba(0, 0, 0, 0.1));
}

.benefit-card-title {
    color: #181818;
    font-family: var(--branding-font-heading, 'Inter', sans-serif);
}

.benefit-card-description {
    color: #181818;
    font-family: var(--branding-font-body, 'Inter', sans-serif);
}

@media (min-width: 601px) {
    .outlet-for-emotions {
        width: 300px !important;
        max-width: 300px;
        box-sizing: border-box;
    }

    .encourages-self-expression {
        width: 400px !important;
        max-width: 400px;
        margin-left: 70px !important;
        margin-left: 0;
        box-sizing: border-box;
    }
}

@media (min-width: 200px) and (max-width: 600px) {
    .encourages-self-expression {
        width: 100% !important;
        max-width: 100%;
        margin-left: 0 !important;
        box-sizing: border-box;
    }
}

@media (min-width: 200px) and (max-width: 600px) {
    .outlet-for-emotions {
        width: 100%;
        max-width: 100%;
    }
    .encourages-self-expression {
        width: 100%;
        margin-left: 0;
    }
}

/* Discover Section Styles */
.discover-escape-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.discover-card {
    background: var(--discover-bg);
    padding: 3rem;
    border-radius: 1rem;
    text-align: center;
    max-width: 600px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.discover-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--discover-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.discover-subtitle {
    font-size: 1.25rem;
    color: var(--home-hero-text);
    margin-bottom: 2rem;
}

.discover-btn {
    display: inline-block;
    background-color: var(--text-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.discover-btn:hover {
    background-color: var(--daw-gray-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}


#home-courses .course-custom-btn {
    padding: 0.5rem 1.1rem;
    width: 160px;
}

#home-upcoming-courses .course-custom-btn {
    padding: 0.5rem 1.1rem;
    width: 160px;
}

/* Responsive Course Cards */
@media (max-width: 640px) {
    #home-courses .card-custom,
    #home-upcoming-courses .card-custom {
        margin-bottom: 1.5rem;
    }
    
    #home-courses .course-custom-btn,
    #home-upcoming-courses .course-custom-btn {
        width: 100%;
        max-width: 200px;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    #home-courses .card-title,
    #home-upcoming-courses .card-title {
        font-size: 1.25rem;
    }
}

/* Responsive Hero Section */
@media (max-width: 1024px) {
    .web-home-page .hero-section h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .web-home-page .hero-section {
        padding: 2rem 0;
    }
    
    .web-home-page .hero-section h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .web-home-page .hero-section .website-button-primary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .web-home-page .hero-section h1 {
        font-size: 1.75rem;
    }
}

/* Responsive About Us Section */
@media (max-width: 768px) {
    .web-home-page .about-us-mentor {
        margin-left: 0 !important;
        margin: 0 auto;
    }
}

/* Responsive Section Headers */
@media (max-width: 768px) {
    .section-header h2,
    .section-header .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .section-header .section-subtitle {
        font-size: 0.875rem;
        text-align: center;
    }
}

/* Responsive Discover Sections */
@media (max-width: 1024px) {
    .discover-card {
        padding: 2rem;
    }
    
    .discover-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .discover-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .discover-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .discover-subtitle {
        font-size: 1rem;
    }
    
    .discover-card .website-button-primary {
        width: 100% !important;
        max-width: 300px;
    }
}

@media (max-width: 640px) {
    .discover-card {
        padding: 1.25rem;
    }
    
    .discover-title {
        font-size: 1.25rem;
    }
    
    .discover-subtitle {
        font-size: 0.875rem;
    }
}

/* Responsive Workshop Cards */
@media (max-width: 640px) {
    .web-home-page .workshop-card .card-content {
        padding: 1rem;
    }
    
    .web-home-page .workshop-card .card-title {
        font-size: 1.125rem;
    }
}

/* Responsive Grid Adjustments */
@media (max-width: 1024px) {
    .web-home-page .grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .web-home-page .grid {
        gap: 1rem;
    }
}

/* Responsive Button Sizes */
@media (max-width: 640px) {
    .website-button-primary {
        font-size: 0.875rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-custom {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Responsive Image Sizes */
@media (max-width: 768px) {
    .web-home-page img {
        max-width: 100%;
        height: auto;
    }
    
    .card-custom img {
        height: 200px;
        object-fit: cover;
    }
}

@media (max-width: 640px) {
    .card-custom img {
        height: 180px;
    }
}
