/* Custom styles for Inter font and general body */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8f8f8; /* Light background for the page */
    color: #333; /* Default text color */
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
    box-sizing: border-box;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.mobile-menu-hidden {
    display: none;
}
.container-padding {
    padding-left: 1rem;
    padding-right: 1rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Dark Mode Styles --- */
html.dark-mode body {
    background-color: #111827; /* Dark background */
    color: #d1d5db; /* Light gray text */
}
html.dark-mode .bg-white { background-color: #1f2937 !important; } /* Added !important to override Bootstrap */
html.dark-mode .bg-gray-50 { background-color: #374151; }
html.dark-mode .bg-gray-100 { background-color: #111827; }

html.dark-mode .text-gray-900 { color: #f9fafb; }
html.dark-mode .text-gray-800 { color: #e5e7eb; }
html.dark-mode .text-gray-700 { color: #d1d5db; }
html.dark-mode .text-gray-600 { color: #9ca3af; }
html.dark-mode .text-gray-500 { color: #6b7280; }

html.dark-mode .border-gray-200 { border-color: #374151; }
html.dark-mode .border-gray-300 { border-color: #4b5563; }
html.dark-mode .border-gray-700 { border-color: #4b5563; }

/* Dark Mode for Form Inputs */
html.dark-mode input,
html.dark-mode textarea {
    background-color: #374151;
    border-color: #4b5563;
    color: #f9fafb;
}
html.dark-mode input::placeholder,
html.dark-mode textarea::placeholder {
    color: #9ca3af;
}
html.dark-mode input:focus,
html.dark-mode textarea:focus {
    --tw-ring-color: rgba(251, 146, 60, 0.5); /* Orange ring */
}

/* Dark Mode for Accordions / FAQs */
html.dark-mode .accordion-header {
    background-color: #374151;
    color: #f9fafb;
}
html.dark-mode .accordion-header:hover {
    background-color: #4b5563;
}
html.dark-mode .accordion-content {
    background-color: #1f2937;
}

/* Dark Mode for Footer */
html.dark-mode .bg-gray-900 {
    background-color: #000000;
}
html.dark-mode .social-icon-circle {
    background-color: #374151;
    color: #d1d5db;
}
html.dark-mode .social-icon-circle:hover {
    background-color: #4b5563;
}
html.dark-mode .header-section {
    background: black;
}
/*html.dark-mode .header-nav {*/
/*    background: #101828;*/
/*}*/
/* --- End of Dark Mode Styles --- */


.header-nav {
    /*position: fixed;*/
    /*top: 0;*/
    /*width: 100%;*/
    /*height: 60px;*/
    /*display: flex;*/
    /*align-items: center;*/
    /*justify-content: space-between;*/
    /*padding: 0 20px;*/
    background: rgba(255, 255, 255, 0.2); /* Semi-transparent */
    backdrop-filter: blur(20px);           /* Apple-style blur */
    -webkit-backdrop-filter: blur(20px);   /* Safari support */
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.3);*/
    /*z-index: 999;*/
}











/* Hero Section Styling */



.header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;          /* optional: adjust stacking order */
    display: block;     /* ensures pseudo-element occupies space (usually fine with absolute) */
    pointer-events: none; /* so it doesn't block clicks */
}


.header-section {
    background: linear-gradient(35deg, rgb(6, 0, 151) 0%, rgb(130, 4, 255) 73%, rgb(193, 15, 255) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 20px;
    padding-bottom: 0%;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* ... (rest of your existing CSS styles) ... */

.hero-content-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    padding: 0 40px;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
}

.hero-text-new {
    flex: 1;
    max-width: 600px;
    z-index: 2;
    margin-right: 50px;
    margin-top: -100px;
}

.hero-text-new h1 {
    /*font-family: "Teko", sans-serif;*/
    font-family: "Fugaz One", sans-serif;
    font-size: 6em;
    font-weight: 500;
    color: #FFFFFF;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text-new h2 {
    /*font-family: "Truculenta", sans-serif;*/
    font-family: "Sriracha", cursive;
    font-size: 2em;
    /*font-weight: 700;*/
    font-weight: 400;
    color: white;
    /*color: #FFD700;*/
    /*line-height: 1.1;*/
    margin-bottom: 20px;
    font-style: normal;
}


.hero-text-new .learn {
    font-family: "Fugaz One", sans-serif;
    /*font-family: "Oregano", cursive;*/
    font-weight: 400;
    font-style: normal;
    font-size: 2em;
    color: #FFD700;
}


/*h1.threedsm {*/
/*    font-family: "Fugaz One", sans-serif;*/
    /*font-family: "Square Peg", cursive;*/
    /*font-family: "Sriracha", cursive;*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*}*/

/*h1.vrayy {*/
/*    font-family: "Fugaz One", sans-serif;*/
    /*font-family: "Square Peg", cursive;*/
    /*font-family: "Sriracha", cursive;*/
/*    font-weight: 400;*/
/*    font-style: normal;*/
/*}*/


h2.sriracha-regular {
    font-family: "Square Peg", cursive;
    /*font-family: "Sriracha", cursive;*/
    font-weight: 400;
    font-style: normal;
    font-size: 4em;

}


.hero-text-new p {
    display: flex;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.enroll-button-hero {
    display: inline-block;
    background-color: #FFD700;
    color: #000000;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.enroll-button-hero:hover {
    background-color: #FFEA00;
    transform: translateY(-3px);
}


.hero-image-container-new {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 600px;
    min-width: 300px;
}

.hero-image-new {
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 10rem white);
    /*filter: drop-shadow(0 10px 20px rgba(255, 255, 255, 0.9));*/
}

.icon {
    position: absolute;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    z-index: 0;
    opacity: 1;
}

.icon-3dsmax-1 { background-image: url('../images/ACAD_ICON_1.svg'); width: 80px; height: 80px; top: 10%; left: 5%; animation: float 6s ease-in-out infinite alternate; }
.icon-3dsmax-2 { background-image: url('../images/3DSMAX_ICON.svg'); width: 120px; height: 120px; top: 60%; right: 10%; animation: float 7s ease-in-out infinite reverse; z-index: 12; opacity: 1; }
.icon-3dsmax-3 { background-image: url('../images/3DSMAX_ICON.svg'); width: 60px; height: 60px; bottom: 5%; left: 40%; animation: float 5s ease-in-out infinite alternate-reverse; }
.icon-corona-1 { background-image: url('../images/CORONA_ICON.svg'); width: 90px; height: 90px; top: 40%; left: -2%; animation: rotateAndFloat 8s linear infinite alternate; z-index: 12; opacity: 1; }
.icon-corona-2 { background-image: url('../images/CORONA_ICON.svg'); width: 70px; height: 70px; bottom: 20%; right: 20%; animation: float 6s ease-in-out infinite reverse; }
.icon-corona-3 { background-image: url('../images/CORONA_ICON.svg'); width: 100px; height: 100px; top: 5%; right: 25%; animation: rotateAndFloat 9s linear infinite; }
.icon-vray-1 { background-image: url('../images/VRAY_ICON_2.svg'); width: 75px; height: 75px; top: 25%; right: 5%; animation: float 5.5s ease-in-out infinite alternate; z-index: 12; opacity: 1; }
.icon-vray-2 { background-image: url('../images/VRAY_ICON_2.svg'); width: 110px; height: 110px; bottom: 10%; left: 10%; animation: rotateAndFloat 7.5s linear infinite reverse; }
.icon-vray-3 { background-image: url('../images/VRAY_ICON_2.svg'); width: 65px; height: 65px; top: 70%; left: 30%; animation: float 6.5s ease-in-out infinite alternate-reverse; }

@keyframes float { 0% { transform: translateY(0px) rotate(0deg); } 50% { transform: translateY(-15px) rotate(5deg); } 100% { transform: translateY(0px) rotate(0deg); } }
@keyframes rotateAndFloat { 0% { transform: translateY(0px) rotate(0deg); } 25% { transform: translateY(-10px) rotate(90deg); } 50% { transform: translateY(0px) rotate(180deg); } 75% { transform: translateY(10px) rotate(270deg); } 100% { transform: translateY(0px) rotate(360deg); } }

.offer-strip-container {
    width: 100%;
    background-color: deeppink;
    padding: 0.75rem 0;
    overflow: hidden;
    white-space: nowrap;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 20;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.offer-strip-outer {
    width: 100%;
    background: deeppink;
    position: relative;
    overflow: hidden;
    z-index: 30;
}

.offer-strip-inner {
    padding: 0.5rem 0;
    white-space: nowrap;
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 10%, rgba(0,0,0,1) 90%, rgba(0,0,0,0) 100%);
}

.offer-strip-text {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    padding-left: 100%;
    line-height: 1;
}

@keyframes marquee {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-100%); }
}

#mobile-menu {
    position: absolute;
    top: 100%; 
    left: 0;
    width: 100%;
    background-color: darkblue;
    z-index: 40;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
#mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    text-align: center;
}
#mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.social-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    color: #1a202c;
    transition: transform 0.2s ease-in-out;
}
.social-icon-circle:hover {
    transform: scale(1.1);
}

.accordion-item { border-bottom: 1px solid #e0e0e0; border-radius: 0.5rem; overflow: hidden; margin-bottom: 1rem; }
html.dark-mode .accordion-item { border-color: #4a5568; }
.accordion-header { background-color: #f0f0f0; padding: 1rem 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: space-between; font-weight: 600; color: #333; transition: background-color 0.2s ease, color 0.3s ease; }
html.dark-mode .accordion-header { background-color: #3f4a5b; color: #e2e8f0; }
html.dark-mode .accordion-header:hover { background-color: #4a5568; }
.accordion-header span { display: flex; align-items: center; flex-grow: 1; flex-wrap: nowrap; min-width: 0; }
.accordion-header span i { flex-shrink: 0; margin-right: 0.75rem; }
.accordion-content { padding: 0; background-color: #ffffff; overflow: hidden; max-height: 0; will-change: max-height; transition: max-height 0.5s ease-in-out; }
html.dark-mode .accordion-content { background-color: #4a5568; }
.accordion-item.active .accordion-content {
    max-height: 1000px; /* Large enough to show content */
}
.accordion-content .accordion-inner {
     padding: 1rem 1.5rem;
}
.accordion-content p:last-child { margin-bottom: 0; }
.accordion-icon { transition: transform 0.3s ease; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }

.cta-button-fixed { background-color: #FFFFFF !important; }
.bg-gradient-to-r.from-teal-500.to-blue-600 a.cta-button-fixed { color: #1a202c !important; }
.bg-gradient-to-r.from-orange-500.to-red-500 a.cta-button-fixed { color: #ea580c !important; }

@media (max-width: 992px) {
    .hero-content-new { flex-direction: column; text-align: center; padding: 0 20px; }
    .hero-text-new { margin-top: auto; margin-right: 0; margin-bottom: 50px; max-width: 100%; }
    .hero-text-new h1 { font-size: 2.8em; }
    .hero-text-new p { font-size: 1em; }
    .hero-image-container-new { width: 80%; margin-bottom: 50px; }
    .icon-3dsmax-2, .icon-corona-1, .icon-vray-1 { width: 90px; height: 90px; }
}

@media (max-width: 768px) {
    .hamburger-hero { display: flex; }
    .hero-text-new h1 { font-size: 4em; }
    .hero-text-new p { font-size: 0.9em; }
    .enroll-button-hero { padding: 12px 25px; font-size: 1em; }
    .icon { width: 50px; height: 50px; opacity: 1; }
    .icon-3dsmax-2, .icon-corona-1, .icon-vray-1 { width: 70px; height: 70px; }
    .icon-3dsmax-1 { top: 5%; left: 2%; }
    .icon-corona-2 { bottom: 10%; right: 5%; }
    .icon-vray-3 { top: 60%; left: 15%; }
}

@media (max-width: 480px) {
    .hero-text-new h1 { font-size: 3em; }
    .hero-text-new h2 { font-size: 1.5em; }
    .hero-text-new p { font-size: 0.85em; }
    .hero-text-new learn { font-size: 1em; }
}


/* --- Testimonial Section --- */
.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
    text-align: center;
    height: 100%;
}

html.dark-mode .testimonial-card {
    background-color: #374151;
}

.testimonial-card img:first-of-type {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
    object-fit: cover;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-style: italic;
    margin: 1rem 0;
    flex-grow: 1;
}

.testimonial-card cite {
    font-weight: 600;
    color: #F97316;
    font-style: normal;
}

.testimonial-card img:last-of-type {
    width: 100%;
    height: 10rem;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

/* Desktop Testimonial Grid */
@media (min-width: 769px) {
    .testimonial-slider-container {
        max-width: 1200px;
    }
    .testimonial-slides {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        cursor: default;
        transform: none !important; /* Override JS transform */
    }
    .testimonial-slide {
        padding: 0;
    }
    .slider-dots {
        display: none;
    }
}

/* Mobile Testimonial Slider */
@media (max-width: 768px) {
    .testimonial-slider-container {
        position: relative;
        max-width: 400px; /* Adjust as needed */
        margin: 0 auto;
        overflow: hidden;
    }

    .testimonial-slides {
        display: flex;
        transition: transform 0.5s ease-in-out;
        cursor: grab;
    }

    .testimonial-slide {
        min-width: 100%;
        box-sizing: border-box;
        padding: 0 20px; /* Provides spacing if cards are partially visible */
    }

    .slider-dots {
        text-align: center;
        margin-top: 20px;
    }

    .slider-dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        background-color: #ccc;
        border-radius: 50%;
        margin: 0 5px;
        cursor: pointer;
        border: none;
        padding: 0;
    }

    .slider-dot.active {
        background-color: #F97316;
    }
}


/* --- Gallery Scroller --- */
.gallery-scroller {
    max-width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    -webkit-mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
    mask: linear-gradient(90deg, transparent, white 5%, white 95%, transparent);
}

.gallery-row {
    display: flex;
    gap: 1.5rem; /* space between images */
    width: max-content;
}
.gallery-row:first-child {
    margin-bottom: 1.5rem;
}

.gallery-row-1 {
    animation: gallery-scroll-ltr 90s linear infinite;
}
.gallery-row-2 {
    animation: gallery-scroll-rtl 90s linear infinite;
}


.gallery-scroller:hover .gallery-row {
    animation-play-state: paused;
}

.gallery-row img {
    height: 200px; 
    width: auto;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}
.gallery-row img:hover {
    transform: scale(1.05);
}

@media (min-width: 769px) {
    .gallery-row img {
        height: 250px; /* Larger images on desktop */
    }
}

@keyframes gallery-scroll-rtl {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes gallery-scroll-ltr {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* --- Fullscreen Modal --- */
.fullscreen-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    justify-content: center;
    align-items: center;
}

.fullscreen-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
}

.close-modal-btn {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: #bbb;
    text-decoration: none;
}
