/* Add this to reset default margins on body/html if not already done */
body, html {
    margin: 0;
    padding: 0;
    overflow-x:hidden;
}
/* Modal overlay: full screen, dark backdrop */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* semi-transparent dark */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Modal content box */
.modal-content {
  background-color: #ccc;
  color: var(--text-color-dark);
  padding: 40px 30px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-sizing: border-box;
  position: relative;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Close button */
.modal-content .close-button {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.8em;
  font-weight: bold;
  color: #aaa;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-content .close-button:hover {
  color: #e65c2a; /* Assuming --orange-button-color's hover state */
}

/* Modal heading */
.modal-content h2 {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-color-dark);
}

/* Form inputs */
.modal-content .form-group {
  margin-bottom: 20px;
  text-align: left;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.modal-content input[type="text"]:focus,
.modal-content input[type="email"]:focus,
.modal-content input[type="tel"]:focus {
  outline: none;
  border-color: #ff6633; /* Assuming --orange-button-color */
}

/* Checkbox group */
.modal-content .checkbox-group {
  display: flex;
  align-items: flex-start;
  font-size: 0.9em;
  color: #718096; /* Assuming --grey-text */
  margin-bottom: 20px;
  text-align: left;
}

.modal-content .checkbox-group input[type="checkbox"] {
  margin-right: 8px;
  margin-top: 4px; /* align with text */
}

/* Button inside modal */
.modal-content .access-button {
  background-color: #5350F2; /* Assuming --orange-button-color */
  color: #fff; /* Assuming --text-color-light */
  width: 100%;
  padding: 14px 0;
  font-size: 1.1em;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.modal-content .access-button:hover {
  background-color: #32308E;
}

/* --- Courses Section --- */
.courses {
    background: linear-gradient(135deg, #32308E, #5350F2); /* Logo colors for background */
    padding: 60px 0;
    color: #fff;
}

.container_course {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
}

.choose {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-align: left;
    color: #fff; /* Keep white for main heading */
    width: 100%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.section-header p {
    font-size: 1.1em;
    color: #ccc;
    text-align: right;
    max-width: 300px;
}

.course-list {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 20px;
}

.course-card {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    color: #333;
    border-radius: 10px;
    padding: 30px;
    width: 30%;
    min-width: 280px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.course-card h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 10px;
    color: #32308E; /* Darker blue from logo */
}

.course-card p {
    font-size: 1em;
    margin-bottom: 8px;
    color: #444;
}

.course-card .price {
    font-size: 1.5em;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    color: #32308E; /* Darker blue from logo */
}

.course-card .price small {
    font-size: 0.6em;
    font-weight: normal;
    color: #666;
}

.course-card ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.course-card ul li {
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
}

.save-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #5cb85c;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-weight: bold;
}

.vip-card {
    background-color: rgba(0, 0, 0, 0.85); /* Slightly transparent black */
    color: #fff;
    border-radius: 10px;
    padding: 30px;
    width: 100%;
    margin-top: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.vip-card-content {
    flex-grow: 1;
}

.vip-card h3 {
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 5px;
    color: #fff;
}

.vip-card p {
    font-size: 1em;
    margin-bottom: 5px;
    color: #ccc;
}

.vip-card .price {
    font-size: 2.2em;
    font-weight: bold;
    color: #ccc; /* Gold color for VIP price */
    text-align: right;
}

.vip-card .price small {
    font-size: 0.6em;
    font-weight: normal;
    color: #ccc;
}

.vip-card ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: flex;
    gap: 20px;
}

.vip-card ul li {
    margin-bottom: 5px;
    color: #fff;
    display: flex;
    align-items: center;
}

.vip-card ul li:before {
    content: '✔';
    color: #5cb85c;
    margin-right: 10px;
    font-size: 1.2em;
}

.vip-subnote {
    font-size: 0.9em;
    color: #ccc;
    text-align: center;
    margin-top: 20px;
    width: 100%;
}

@media (max-width: 900px) {
    .course-list {
        flex-direction: column;
        align-items: center;
    }

    .course-card {
        width: 80%;
    }

    .vip-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .vip-card .price {
        text-align: left;
        margin-top: 15px;
    }

    .vip-card ul {
        flex-direction: column;
        gap: 5px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-header p {
        text-align: left;
        margin-top: 10px;
    }
}

/* Updated styles for requested sections */

/* --- Problem Awareness Section --- */
.problem-awareness {
    background-color: #32308E; /* Dark blue from logo */
    color: #fff; /* Ensure text is readable */
    padding: 60px 20px;
    text-align: center;
}

.problem-awareness h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.problem-awareness ul {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px auto;
    max-width: 600px;
    color: #fff; /* Ensure list items are readable */
}

.problem-awareness li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.problem-awareness p {
    font-style: italic;
    font-size: 1em;
    color: #ccc; /* Slightly lighter for readability */
}

/* --- How It Works Section --- */
.how-it-works {
    background-color: #32308E; /* Dark blue from logo */
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}
.text{
  color: #ccc;
}
.how-it-works h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 40px;
}

.how-it-works .steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.how-it-works .step {
    flex: 1 1 280px; /* Allows flexibility but prevents too small */
    max-width: 300px;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05); /* Subtle background for steps */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.how-it-works .step img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
    filter: invert(1); /* Invert colors for white icons on dark background */
}

.how-it-works .step h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #fff;
}

.how-it-works .step p {
    font-size: 1em;
    color: #ccc;
}

/* --- Lead Capture Gate Section (Not ready yet?) --- */
.lead-capture {
    background-color: #32308E; /* Dark blue from logo */
    padding: 60px 20px;
    text-align: center;
}

.lead-capture h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ccc; /* Ensure text is readable */
}

.lead-capture p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ccc;
}

/* --- Footer --- */
.main-footer {
  background-color: #32308E; /* Dark blue from logo */
  color: #fff; /* Ensure text is readable */
  padding: 40px 0;
  font-size: 0.95em;
}

.main-footer .container {
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 15px;
}

.footer-links a {
  color: #ccc; /* Lighter color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #5350F2; /* Light blue on hover */
}

.main-footer p {
  margin: 5px 0;
  color: #ccc;
}
.my-button {
        padding: 12px 24px;
        font-size: 16px;
        border: none;
        border-radius: 5px;
        background-color: #007BFF;
        color: white;
        cursor: pointer;
    }

/* CTA Button - Global change to light blue */
.cta-button {
    display: inline-block;
    background-color: #5350F2; /* Light blue from logo */
    color: #fff; /* White text for contrast */
    padding: 15px 15px ;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    min-width: 280px;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
}

.cta-button:hover {
    background-color: #403CD0; /* Slightly darker light blue on hover */
}

/* Secondary CTA - assuming this should also be light blue */
.secondary-cta {
    display: inline-block;
    background-color: transparent;
    color: #5350F2; /* Light blue from logo */
    border: 2px solid #5350F2; /* Light blue border */
    padding: 13px 40px; /* Adjust padding due to border */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 280px;
    box-sizing: border-box;
    cursor: pointer;
    margin-top: 15px; /* Space from primary CTA */
}

.secondary-cta:hover {
    background-color: #5350F2; /* Fill with light blue on hover */
    color: #fff; /* White text on hover */
}

/* WhatsApp Float Button */
.whatsapp-button{
    position:fixed;
    right:15px;
    buttom: 15px
}
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366; /* WhatsApp green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

.whatsapp-float i {
    margin-top: 0;
}


/* General Body and Container Styles (from funnel.css or omitted parts) */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: var(--primary-bg-color); /* assuming this var exists or is defined elsewhere */
    line-height: 1.6;
    color: #333; /* Assuming --text-color-dark */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}


/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    color: #333;
    background-color: #f7f7f7;
    padding: 20px 20px 0; /* Reduced top/bottom padding to give more control */
    text-align: center;
    min-height: 500px; /* Adjust this value if needed, or remove if content drives height */
    display: flex;
    flex-direction: column;
    justify-content: center; /* This centers content vertically */
    align-items: center;
}

/* Video background itself */
.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* video at back */
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Soft white overlay for readability */
.video-background::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* adjust opacity as needed */
    z-index: 1; /* overlay above video, behind text */
}

.hero-section .container {
    position: relative; /* Crucial to make z-index work for this element */
    z-index: 1; /* Make sure the container content is above the video */
}

.hero-section .logo-img {
    text-align: left;
    margin-bottom: 10px;
    padding-left: 20px;
}

.hero-section .logo-img img {
    height: 300px; /* Increased for bigger size */
    width: auto;
}

.hero-section h1 {
    font-size: 2.1em;
    font-weight: 700;
    color: #333; /* Assuming --text-color-dark */
    margin-bottom: 15px;
    line-height: 1.1;
}

.hero-section p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.hero-section .microcopy {
    font-size: 0.9em;
    color: #555;
    margin-top: 15px;
}

/* About OTAL Institution */
.about-otal {
    background-color: #f7f7f7; /* Assuming --primary-bg-color */
    color: #333; /* Assuming --text-color-dark */
    padding: 60px 20px;
    text-align: center;
}

.about-otal h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-otal .arrow-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px;
    text-align: left;
}

.about-otal .arrow-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    position: relative;
    padding-left: 25px;
}

*, *::brfore, *::after{
    box-sizing:border-box;
}
.about-otal .arrow-list li:before {
    content: '➜'; /* Unicode right arrow */
    position: absolute;
    left: 0;
    color: #5350F2; /* Light blue for arrows */
    font-weight: bold;
}

/* Social Proof / Testimonials */
.testimonials-section {
    background-color: #f7f7f7; /* Assuming --primary-bg-color */
    padding: 60px 0;
    text-align: center;
    color: #333; /* Ensure text is readable */
}

.testimonials-section h2 {
    font-size: 2em;
    font-weight: 700;
    color: #333; /* Assuming --text-color-dark */
    margin-bottom: 40px;
}

.success-metrics {
    padding: 40px 20px;
    text-align: center;
    background-color: #f0f0f0; /* A subtle background for this section */
    margin-bottom: 40px;
}

.metrics-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.metric-item {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    text-align: center;
}

.metric-item h3 {
    font-size: 2.2em;
    color: #32308E; /* Dark blue from logo for numbers */
    margin-bottom: 5px;
    font-weight: 700;
}

.metric-item p {
    font-size: 1em;
    color: #555;
    margin: 0;
}

.screenshots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.screenshots img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out;
}

.screenshots img:hover {
    transform: scale(1.03);
}

/* VIP Signal Service Spotlight */
.vip-service {
    background-color: #ffff;
    color: #fff;
    padding: 60px 20px;
    text-align: center;
}

.vip-service h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 15px;
}

.vip-service p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #999999;
}

.vip-service button {
    background-color: #5350F2; /* Light blue from logo */
    color: #fff;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 20px;
    text-align: center;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    min-width: 280px;
    box-sizing: border-box;
    cursor: pointer;
    border: none;
}

.vip-service button:hover {
    background-color: #403CD0; /* Slightly darker light blue on hover */
}

/* FAQ Section */
.faq {
    background-color: #f7f7f7; /* Assuming --primary-bg-color */
    color: #333; /* Assuming --text-color-dark */
    padding: 60px 20px;
    text-align: center;
}

.faq h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 40px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
}

.faq-item strong {
    color: #32308E; /* Dark blue for question */
    font-size: 1.1em;
}

/* Media Queries for Responsiveness */
@media (min-width: 640px) { /* Small screens, like larger phones/small tablets */
    .testimonial-cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* 1 or 2 columns */
    }
}

@media (min-width: 768px) {
    .hero-section h1 {
        font-size: 3.5em;
    }

    .ad-script-for-section .cards-wrapper {
        flex-direction: row;
        justify-content: center;
    }

    .ad-script-for-section .card {
        max-width: 30%;
    }

    .as-seen-in-section .logos-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .main-footer .footer-links {
        display: flex;
        justify-content: center;
        gap: 30px;
    }

    .testimonial-cards-grid {
        grid-template-columns: repeat(2, minmax(300px, 1fr)); /* 2 columns for tablets */
    }

    .cta-button {
        padding: 15px 40px; /* Keep consistent with base for now, adjust if needed specific for larger screens */
    }
    .secondary-cta {
        padding: 13px 15px; /* Keep consistent with base for now */
    }

    .how-it-works .steps {
        flex-wrap: nowrap; /* Prevent wrapping on larger screens */
    }
    
}


@media (min-width: 1024px) {
    .hero-section h1 {
        font-size: 4em;
    }
    .testimonial-cards-grid {
        grid-template-columns: repeat(3, minmax(300px, 1fr)); /* 3 columns for desktops */
    }
}

.screenshots img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Slightly rounded corners for a softer look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* A subtle shadow for depth */
    transition: transform 0.2s ease-in-out; /* Smooth hover effect */
    object-fit: cover; /* Ensures images cover their area without distortion */
}

.screenshots img:hover {
    transform: scale(1.03); /* Slightly enlarge image on hover */
}

.screenshots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows images to wrap on smaller screens */
    gap: 20px; /* Space between images */
    padding: 20px; /* Add some padding around the image container */
}

/* Optional: If you want a specific height for the images to be uniform */
.screenshots img {
    width: 300px; /* Example fixed width */
    height: 200px; /* Example fixed height */
    object-fit: cover; /* Ensures images cover the fixed dimensions */
}

/* For responsiveness on smaller screens */
@media (max-width: 768px) {
    .screenshots img {
        width: 100%; /* Make images full width on smaller screens */
        height: auto; /* Let height adjust naturally */
    }
     .vip-service .container button {
            padding: 8px 16px;   /* Smaller padding */
            font-size: 15px;     /* Smaller text */
        }
}


.hero-section .logo-img {
    text-align: left;
    margin-bottom: 0px; /* Ensure no extra margin below the logo */
    padding-left: 0px;
    /* Consider adding a specific width to this div if the image itself is smaller than its max-height allows */
    /* width: fit-content; */ /* or a fixed width */
}

.hero-section .logo-img img {
    max-height: 180px; /* Keep this as desired */
    width: auto;
    display: block; /* Remove any inline-block spacing */
    
}
