/* ============================================================
   PREVENT CONTENT FROM GOING UNDER STICKY HEADERS
============================================================ */
/* ============================================================
   TOP BAR (Desktop sticky)
============================================================ */
.top-bar {
    background: #2B1392;
    color: white;
    padding: 6px 55px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-left span {
    margin-right: 12px;
}
.title-color {
    color: #2B1392;
    font-weight: 700;
}
.font-18 {
    font-size:18px;
}
/* Social icons */
.social-icons {
    display: flex;
    align-items: center;
}
.social-icons a {
    width: 28px;
    height: 28px;
    background: white;
    color: #2B1392;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-left: 6px;
    font-size: 13px;
    transition: .3s;
}
.social-icons a:hover {
    background: #ffcc00;
    color: #000;
}

/* Red vertical line before Follow Us */
.follow-wrap {
    display: flex;
    align-items: center;
}
.follow-wrap:before {
    content: "";
    width: 3px;
    height: 20px;
    background: red;
    margin-right: 8px;
}

/* ============================================================
   DESKTOP NAVBAR
============================================================ */
.main-nav .nav-link {
    font-weight: 600;
    padding: 18px 20px !important;
    font-size: 16px;
    color: #2B1392 !important;
}
.main-nav .nav-link:hover {
    background: #2B1392;
    color: #fff !important;
}

.dropdown:hover .dropdown-menu {
    display: block;
}
.dropdown-menu {
    background: #2B1392;
    border-radius: 0;
    border: none;
    padding: 0;
}
.dropdown-menu li {
    border-bottom: 1px solid #fff;
}
.dropdown-item {
    color: white !important;
    padding: 12px 20px;
}
.dropdown-item:hover {
    background: rgba(255,255,255,.2);
}

.desktop-header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 9998;
    border-bottom: 1px solid #ddd;
}

/* ============================================================
   MOBILE HEADER
============================================================ */
.mobile-header {
    display: none;
}

/* ============================================================
   RESPONSIVE CONTROL
============================================================ */
@media (min-width: 1196px) {
    .mobile-header,
    .mobile-menu { display: none !important; }
}

@media (max-width: 1195px) {

    /* Hide Desktop */
    .desktop-header { display: none !important; }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .follow-wrap {
        margin-top: 8px;
    }

    /* MOBILE HEADER - sticky */
    .mobile-header {
        position: sticky;
        top: 0;
        background: white;
        width: 100%;
        padding: 10px 15px;
        z-index: 9999;
        border-bottom: 1px solid #ddd;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
    }

    .menu-btn {
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
    }

    /* FIXED Mobile menu under sticky header */
    .mobile-menu {
        position: fixed;
        top: 65px; /* height of mobile-header */
        left: 0;
        width: 100%;
        background: white;
        max-height: 0;
        overflow: hidden;
        transition: max-height .4s ease;
        z-index: 9998;
    }
    .mobile-menu.open {
        max-height: 500px;
    }

    .mobile-link {
        background: #2B1392;
        color: white;
        padding: 15px;
        width: 100%;
        text-align: left;
        font-size: 17px;
        border: none;
        margin-top: 5px;
    }

    .submenu {
        display: none;
        background: #21077C;
    }
    .submenu a {
        color: white;
        padding: 12px 20px;
        display: block;
        font-size: 15px;
        border-bottom: 1px solid rgba(255,255,255,.25);
    }
}


/* ============================================================
   WHO WE ARE
============================================================ */

.who_we_are svg {
    display: block;
    left: 50%;
    position: relative;
    transform: translateX(-50%) rotate(180deg);;
}
.who_we_are svg .elementor-shape-fill {
    fill: #E1A8FF !important; 
}
.who_we_are {
    position: relative;
}

.who_we_are svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
}

/* Ensure content isn't hidden under SVG */
.who_we_are_content {
    background: #E1A8FF;
    padding-top: 80px; /* adjust to taste */
    padding-bottom: 190px;
}

/* Rounded Image look */
.rounded-img {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
}

/* Text styling */
.who-title {
    font-size: 35px;
    font-weight: 700;
    color: #3b22d8;
}

.who-subtitle {
    font-size: 22px;
    color: #2d0c76;
    margin-bottom: 15px;
    font-weight: 600;
}

.who-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #000;
}

/* List styling */
.features-list {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.features-list li {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: "•";
    color: #3b22d8;
    font-size: 22px;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Button Styling */
.learn-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    background: linear-gradient(90deg, #F597C3, #FF5E86);
    color: #fff !important;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0px 4px 15px rgba(255, 0, 100, 0.3);
    text-decoration: none;
    transition: all 0.3s ease;
}

.learn-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 18px rgba(255, 0, 100, 0.4);
}

/* Small decorative PNGs positions */
.who-img img.decor-top-left,
.who-img img.decor-bottom-right {
    width: 150px;
    height: auto;
    position: absolute;
    z-index: 2;
    pointer-events: none; /* no click */
}

/* Top Left */
.who-img img.decor-top-left {
    top: -55px;
    left: -30px;
}

/* Bottom Right */
.who-img img.decor-bottom-right {
    bottom: 25px;
    right: -70px;
}
.padding-30 {
    padding: 30px 30px 0px 30px;
}
.section-style {
    position: relative;
    margin-top: 0;
    z-index: 2;
}
/* Responsive adjust */
@media (max-width: 576px) {
    .who-img img.decor-top-left,
    .who-img img.decor-bottom-right {
        width: 55px;
    }
}
/* ============================================================
   OUR PROGRAMS CONTROL
============================================================ */
.our_programs svg .elementor-shape-fill {
    fill: #FBEDE0 !important; 
}
.our_programs {
    position: relative;
}

.our_programs_content {
    background-color: #FBEDE0;
    padding-bottom: 160px;
}

.our_programs svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
}

.program-card {
    border-radius: 25px;
    border: 3px dashed #eab8ff;
    background: #ffffff;
    padding: 20px;
    transition: .3s;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
}
.program-title {
    font-size: 28px;
    font-weight: 700;
    color: #7b53c4;
    text-align: center;
}
.program-text {
    text-align: center;
    font-size: 15px;
}
.section-title {
    /* text-align: center; */
    font-size: 40px;
    font-weight: 700;
    color: #663399;
    margin-bottom: 40px;
}

/* ============================================================
   OUR PROGRAMS CONTROL
============================================================ */
.our_services svg .elementor-shape-fill {
    fill: #E1A8FF !important; 
}
.our_services {
    position: relative;
}

.our_services_content {
    background-color: #E1A8FF !important;
    padding-bottom: 160px;
}

.our_services svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 40px;
}
.feature-box{
    text-align:center;
    position:relative;
    padding:10px;
}

/* FIXED IMAGE SIZE */
.feature-img{
    width:100%;
    height:260px;
    object-fit:cover;
    border-radius:25px;
    transition:transform 0.4s ease;
}

/* Hover zoom effect */
.feature-img:hover{
    transform:scale(1.05);
}

/* Pink Title Strip */
.title-strip{
    background:#ff8ccb;
    color:#fff;
    padding:12px;
    font-size:1.1rem;
    font-weight:700;
    border-radius:8px;
    width:90%;
    margin:15px auto 0;
}

/* Vertical dotted divider */
.dotted-right{
    border-right:3px dotted #ffffff;
}

/* Responsive: remove dotted line on mobile */
@media (max-width:768px){
    .dotted-right{
        border-right:none !important;
    }
}

/* ============================================================
   SMART READER CONTROL
============================================================ */
.smart_reader svg .elementor-shape-fill {
    fill: #dedae78c !important; 
}
.smart_reader {
    position: relative;
}

.smart_reader svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 40px;
}

.section-bg {
    background: url('https://totproplayschool.in/wp-content/uploads/2025/06/totpro-3.jpg') center/cover no-repeat;
    padding-bottom: 160px;
    padding-top: 160px;
    position: relative;
}

/* Optional blur overlay like screenshot */
.section-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(6px);
}

.video-box {
    position: relative;
    z-index: 2;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid #30008a;
}

.text-box {
    position: relative;
    z-index: 2;
    background: #2B1392BA;
    padding: 50px;
    border-radius: 60px 0 60px 0;
    color: white;
    font-size: 1.2rem;
    line-height: 1.8;
}

.heading {
    text-align: center;
    font-size: 2.3rem;
    color: #1d0a84;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    z-index: 3;
}

/* Responsive settings */
@media(max-width: 768px){
    .text-box{
        padding: 30px;
        border-radius: 40px;
        margin-top: 30px;
    }
}

/* ============================================================
   OUR TESTIMONIALS CONTROL
============================================================ */
.testimonials svg .elementor-shape-fill {
    fill: #FBEDE0 !important; 
}
.testimonials {
    position: relative;
}

.testimonials_content {
    background-color: #FBEDE0 !important;
    padding-bottom: 160px;
}

.testimonials svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 40px;
}
.testimonial-section {
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
}

/* circular image */
.testimonial-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 25px;
    border: 6px solid #5f31e4;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* text styling */
.testimonial-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 34px;
    color: #444;
    font-style: italic;
    margin-bottom: 25px;
}

.testimonial-name {
    font-size: 24px;
    font-weight: 700;
    color: #572dd4;
    text-align: center;
}

.testimonial-city {
    font-size: 16px;
    color: #666;
    text-align: center;
}

/* EXACT arrows like screenshot */
.owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    font-size: 38px !important;
    color: #4b1eb7 !important; /* exact purple */
    font-weight: 700 !important;
    padding: 0 10px !important;
    transition: 0.3s ease;
}

.owl-nav .owl-prev {
    left: 20px;
}

.owl-nav .owl-next {
    right: 20px;
}

.owl-nav button:hover {
    color: #2e0f8a !important;
}

/* EXACT dots like screenshot */
.owl-dots {
    margin-top: 20px;
}

.owl-dots .owl-dot span {
    width: 8px;
    height: 8px;
    background: #bdbdbd !important; 
    border-radius: 50%;
    margin: 4px;
    transition: 0.3s ease;
}

.owl-dots .owl-dot.active span {
    background: #572dd4 !important;
}

/* ============================================================
   FRANCHISE SPEAK CONTROL
============================================================ */
.franchise_speak svg .elementor-shape-fill {
    fill: #E1A8FF !important; 
}
.franchise_speak {
    position: relative;
}

.franchise_speak_content {
    background-color: #E1A8FF !important;
    padding-bottom: 160px;
    padding-top: 100px;
}

.franchise_speak svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 40px;
}
.testimonial-section {
    background:#e2b3ff; 
    padding:50px 0;
}

.franchise_testimonial_carousel .testimonial-card {
    background:#fff5e9;
    border:2px solid #3e3e9f;
    border-radius:10px;
    padding:30px;
    position:relative;
    text-align:center;
    font-style:italic;
    max-width:75%;
    margin:auto;
}

.franchise_testimonial_carousel .testimonial-card:before {
    content:"";
    width:20px;
    height:20px;
    background:#fff5e9;
    border-left:2px solid #3e3e9f;
    border-top:2px solid #3e3e9f;
    position:absolute;
    top:-10px;
    left:50%;
    transform:translateX(-50%) rotate(45deg);
}

.profile-img {
    width:90px!important;
    height:90px;
    border-radius:50%;
    object-fit:cover;
    margin:auto;
    margin-bottom:10px;
}

.name {
    font-weight:bold;
    font-size:20px;
    color:#222;
}

.location {
    color:#444;
    margin-bottom:15px;
}

.owl-dots {
    margin-top:20px;
}
.owl-dots .owl-dot span {
    width:12px;
    height:12px;
}
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border: 3px dashed #4d4dff;
    padding: 5px;
    background: white;
}
.gallery-wrapper {
    background: #ffeedd;   /* same background as sample */
    padding: 40px 0;
}

/* ============================================================
   CONTACT US CONTROL
============================================================ */
.contact_us svg .elementor-shape-fill {
    fill: #FBEDE0 !important; 
}
.contact_us {
    position: relative;
}

.contact_us_content {
    background-color: #FBEDE0;
    padding: 100px 100px 120px 100px;
}

.contact_us svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 40px;
}

.contact-btn {
    background-color: transparent;
    margin: 0px 0px 0px 0px;
    padding: 20px 140px 20px;
    background-image: linear-gradient(180deg, #2B1392 52%, #2B1392 100%);
    border-radius: 100px 100px 0px 0px;
    font-size: 28px;
    font-weight: 500;
    position: relative;
    bottom: -10%; 
    left: -20rem;
    animation: slideDown 1s ease forwards;
}

@keyframes slideDown {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
/* ============================================================
   Admission CONTROL
============================================================ */
.apply_admission svg .elementor-shape-fill {
    fill: #FBEDE0 !important; 
}
.apply_admission {
    position: relative;
}

.apply_admission_content {
    background-color: #FBEDE0;
    padding: 100px 100px 120px 100px;
}

.apply_admission svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
    height: 40px;
}

.footer-head svg .elementor-shape-fill {
    fill: #E1A8FF !important; 
}
.footer-head {
    position: relative;
}

.footer-head svg {
    display: block;
    position: absolute;
    bottom: 0; /* Overlaps carousel */
    left: 0;
    width: 100%;
    transform: rotate(180deg);
        height: 80px;
}

/* ============================================================
   APPLY FRANCHISE CONTROL
============================================================ */
.apply_franchise_content {
    background-color: #FBEDE0;
    padding: 100px 100px 120px 100px;
}

/* ============================================================
   FOOTER CONTROL
============================================================ */
.upper_head svg {
    display: block;
    left: 50%;
    position: relative;
    transform: translateX(-50%) rotate(180deg);;
}
.upper_head svg .elementor-shape-fill {
    fill: #E1A8FF !important; 
}
.footer-content {
    background-color: #E1A8FF; 
    position: relative;
    color: #1b007f;
    padding: 100px;
    margin-top: -10px;
}
.footer a {
    color: #1b007f;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background-color: #1b007f;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    margin-right: 10px;
    transition: 0.3s;
}
.social-icons a:hover {
    background-color: #000066;
}
.newsletter input {
    margin-bottom: 10px;
}
.newsletter .btn {
    background-color: #1b007f;
    border: none;
    width: 100%;
}
.footer-bottom {
    background-color: #eaeaea;
    text-align: center;
    padding: 15px 0;
    font-weight: 500;
    color: #1b007f;
}

/* ============================================================
   RESPONSIVE CONTROL
============================================================ */

/*===========================================================
    FOOTER CONTROL
============================================================*/
@media (max-width: 500px) {
    .footer-content {
        padding: 20px;
    }
    p {
        font-size: 12px;
    }
    .footer-bottom {
        font-size: 12px;
    }
    .top-left span {
        font-size: 12px;
    }
    .follow-wrap {
        font-size: 12px;
    }
    .social-icons a {
        width: 30px;
        height: 30px;
        line-height: 30px;
    }
    .who-img img.decor-bottom-right{
        right: -25px;
    }
}


