/* style.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ad6903;
    color: #fff;
}

.header-top {
    background: #1a1a2e;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.header-top img {
    height: 100px;
    border-radius: 8px;
    margin: auto;
}

.hero {
    padding: 40px 20px;
    animation: fadeIn 1.5s ease-out;
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    text-align: center;
    min-width: 300px;
}

.main-heading {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
}

.highlight {
    color: #fa7000;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.teacher-img {
    max-width: 100%;
    height: auto;
    display: center;
}

.teacher-img-group {
    max-width: 92%;
    height: auto;
    display: block;         /* Valid display value */
    margin: 0 auto;         /* Centers the image horizontally */
    border: 5px solid #1a1a2e; /* Adds a border with the specified color */
    border-radius: 15px;     /* Optional: rounds the corners a bit */
}

.highlight1 {
    color: #fa7000;
    font-size: 2.5rem;
}

.highlight2 {
    color: #fa7000;
    font-size: 1.5rem;
}

.point-box-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 60px;
}

.point-box {
    background: linear-gradient(145deg, #0056b3, #003366);
    color: white;
    padding: 30px 25px;
    border-radius: 15px;
    width: 320px; /* Increased from 280px to 320px */
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.point-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    filter: brightness(1.2);
}

.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Center vertically within the viewport */
}

.cta-btn {
    background: #fbc531;
    color: #000;
    font-weight: 700;
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    margin-top: 30px;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.3s ease;
}

.cta-btn:hover {
    background: #f1c40f;
    color: #000;
    transform: scale(1.1);
}

.info-section,
.about-section,
.why-franchise,
.testimonial-section,
.work-part-time-section,
.faq-container {
    background-color: #f0e8e8 !important;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.info-section {
    padding: 30px 0px;
    border-radius: 20px;
    margin: 50px 0px;
    text-align: center;
}

.info-text h3 {
    color: #fa7000;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.info-text p {
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 25px;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.carousel-item img {
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
}

.carousel-item h5 {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 700;
    margin-top: 15px;
}

.carousel-item p {
    font-size: 1rem;
    color: #ccc;
}

.badge {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    background-color: #fa7000;
    padding: 5px 10px;
    border-radius: 20px;
    margin-top: 10px;
}

.why-franchise {
    padding: 50px 0px;
    border-radius: 20px;
    margin: 80px 0;
}

.why-franchise h1 {
    text-align: center;
    color: #fa7000;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
	margin-top: auto;
	margin-bottom: auto;
}

.why-card {
    background: #1a1e2e;
    border-radius: 20px;
    padding: 0px 50px;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

.why-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

.why-card .icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #007bff;
}

.why-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.why-card p {
    font-size: 1rem;
    color: #ccc;
}

footer {
    background-color: #1a1a2e;
    color: white;
    text-align: center;
    padding: 25px;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        align-items: flex-start !important;
        text-align: center;
    }
    .point-box-container {
        flex-direction: column;
        align-items: center;
    }
    .hero img.teacher-img {
        width: 300px;
        height: 300px;
    }
}

.work-part-time-section {
    padding: 80px 20px;
    border-radius: 20px;
	margin-top: 80px;
    text-align: center;
}

.work-part-time-section h2 {
    color: #fa7000;
    font-size: 2rem;
    margin-bottom: 40px;
}

.work-part-time-section p {
    font-size: 1.5rem;
    color: #000000;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.testimonial-section h2 {
    color: #1a1e2e;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.faq-container {
    background-color: #003366;
    max-width: 10000px;
    margin: 60px auto 0 auto;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
    padding: 50px 40px;
    color: #fff;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h1 {
    font-size: 2.8rem;
    color: #fa7000;
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #000000;
}

.faq-item {
    border-bottom: 1px solid #444;
    padding: 20px 0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-item:hover {
    background: #b2ceeb;
    border-radius: 10px;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    position: relative;
    padding-right: 35px;
    color: #000000;
}

.faq-question::after {
    content: "▼";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1rem;
    color: #f39c12;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(-180deg);
    color: #f1c40f;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, transform 0.3s ease;
    opacity: 0;
    margin-top: 10px;
    font-size: 1.05rem;
    color: #1a1e2e;
    line-height: 1.6;
    padding-left: 10px;
    transform: translateY(-20px);
}

.faq-question.active+.faq-answer {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 600px) {
    .faq-header h1 {
        font-size: 2rem;
    }
    .faq-header p,
    .faq-question,
    .faq-answer {
        font-size: 1rem;
    }
    .faq-container {
        padding: 35px 25px;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}