/* styles.css */

:root {
    --primary-color: #F5C74D; /* Orange accent color */
    --secondary-color: #333; /* Dark background color */
    --light-color: #F5C74D; /* Light background color */
    --text-color: #fff; /* White text color */
    --font-family: 'Arial', sans-serif; /* Use a more modern font stack if desired */
    --container-width: 1200px; /* Standard container width */
}

body {
    font-family: var(--font-family);
    margin: 0;
    line-height: 1.6; /* Improved readability */
    color: var(--secondary-color); /* Default text color */
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px; /* Consistent side padding */
}

/* Header */
header {
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
}

nav li a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav li a:hover {
    color: var(--primary-color);
}

/* Hamburger Menu for Mobile */
.menu-toggle {
    display: none; /* Initially hidden on larger screens */
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
    position: absolute;
    right: 20px; /* Aligns it to the right */
    top: 50%;
    transform: translateY(-50%); /* Centers vertically */
    z-index: 1001;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    .menu-toggle {
        display: block; /* Show only on mobile */
    }

    nav ul {
        display: none; /* Hide menu by default */
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: var(--secondary-color);
        border-radius: 5px;
        padding: 10px;
        box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    nav ul.show {
        display: flex; /* Show when toggled */
    }

    nav ul li {
        text-align: center;
        padding: 10px 0;
    }
}

.logo {
    height: 60px; /* Adjusted height */
    width: auto;
    transition: height 0.3s ease; /* Smooth transition for logo size */
}

.header-scrolled .logo {
    height: 50px; /* Smaller logo on scroll */
}

/* Hero Section */
#hero {
    background-image: url('bg.png');
    background-size: cover;
    background-position: center;
    color: var(--text-color);
    padding: 80px 0; /* Increased padding */
    text-align: center;
}

#hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    margin-left: 10%;
    font-weight: 700; /* Bolder heading */
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8; /* Improved readability */
    max-width: 800px; /* Limit paragraph width */
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block; /* Make button behave like a block element */
    background-color: var(--primary-color);
    color: var(--text-color);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Add transform for a slight scale effect */
}

.btn:hover {
    background-color: darken(var(--primary-color), 10%); /* Darken the color on hover */
    transform: scale(1.05); /* Scale up slightly on hover */
}

/* Benefits Section */
#benefits {
    padding: 6rem 0; /* Increased padding for more breathing room */
    background-color: var(--light-color); /* Optional: Add a light background */
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust minmax for larger screens */
    gap: 3rem; /* Increased gap between items */
}

.benefit {
    text-align: center;
    padding: 3rem; /* Increased padding */
    background-color: var(--text-color); /* Card Background color  */
    color: var(--secondary-color); /* Card Text color */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15); /* Softer, more modern shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoother transitions */
    overflow: hidden; /* Prevents icon from overflowing on hover */
    position: relative; /* For positioning pseudo-element */
}

.benefit:hover {
    transform: translateY(-8px); /* More pronounced hover effect */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

.benefit::before { /* Modern gradient overlay on hover */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 102, 0, 0), rgba(255, 102, 0, 0.2)); /* Adjust gradient colors */
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Allows hover effect on the card itself */
}

.benefit:hover::before {
    opacity: 1;
}


.benefit i { /* Style the icons */
    font-size: 3rem; /* Larger icons */
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease; /* Smooth icon transition */
}

.benefit:hover i {
    transform: scale(1.1); /* Slightly scale up icon on hover */
}

.benefit h3 { /* Improved heading styles */
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--secondary-color); /* Match the card text color */
    transition: color 0.3s ease;
}
.benefit:hover h3 {
  color: var(--primary-color); /* Match the card text color */
}


.benefit p { /* Improved paragraph styles */
    font-size: 1rem;
    line-height: 1.7;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
.benefit:hover p {
  color: var(--primary-color); /* Match the card text color */
}
/* About Section */
#about {
    background-color: var(--text-color); /* White background */
    padding: 4rem 0; /* Add padding for spacing */
}

#about .container {
    max-width: 1200px; /* Limit container width */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add side padding */
}

#about h2 {
    text-align: center; /* Center the heading */
    font-size: 2.5rem; /* Larger font size */
    margin-bottom: 2rem; /* Add space below the heading */
    color: var(--secondary-color); /* Dark text color */
}

.teacher-info {
    display: flex;
    align-items: center;
    gap: 2rem; /* Space between image and text */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center; /* Center content */
}

.teacher-info img {
    width: 150px;
    height: 150px;
    border-radius: 50%; /* Circular image */
    object-fit: cover; /* Ensure image covers the circle */
    border: 4px solid var(--primary-color); /* Add a border with primary color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
}

.teacher-info p {
    font-size: 1.1rem; /* Slightly larger font size */
    line-height: 1.8; /* Improve readability */
    color: var(--secondary-color); /* Dark text color */
    max-width: 600px; /* Limit paragraph width */
    text-align: justify; /* Justify text for better alignment */
}

.teacher-info iframe {
    border-radius: 12px; /* Rounded corners for the video */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow */
    max-width: 100%; /* Ensure it doesn't overflow */
    height: 315px; /* Maintain aspect ratio */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .teacher-info {
        flex-direction: column; /* Stack elements vertically */
        text-align: center; /* Center-align text */
    }

    .teacher-info img {
        margin-bottom: 1.5rem; /* Add space below the image */
    }

    .teacher-info p {
        text-align: center; /* Center-align text on smaller screens */
    }

    .teacher-info iframe {
        width: 100%; /* Full width for smaller screens */
        height: 600px; /* Adjust height for smaller screens */
    }
}
/* Why Section */
#why {

}

/* Offers Section */
#offers {
    background-color: rgb(178, 178, 224);
    color: var(--text-color);
    padding: 4rem 0;
    position: center;
    text-align: center;
}




/* Purchase Section */
#purchase {
    padding: 6rem 0; /* Increased padding */
    background-color: var(--light-color);
}
.container.h2{
    color: var(--text-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700; /* Bolder heading */
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Adjusted minmax */
    gap: 4rem; /* Increased gap */
}

.pricing-card {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 3rem; /* Increased padding */
    border-radius: 12px; /* More rounded corners */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); /* Modernized shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smoother transitions */
    overflow: hidden; /* For positioning pseudo-element */
    position: relative; /* For positioning pseudo-element */
}

.pricing-card:hover {
    transform: translateY(-8px); /* More pronounced hover effect */
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.2); /* More prominent shadow on hover */
}

.pricing-card::before { /* Modern gradient overlay on hover */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1)); /* Adjust gradient */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none; /* Allows hover effect on card */
}

.pricing-card:hover::before {
  opacity: 1;
}


.pricing-card h3 {
    font-size: 2rem; /* Larger heading */
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color); /* Ensure good contrast */
    transition: color 0.3s ease;
}
.pricing-card:hover h3 {
  color: var(--primary-color); /* Ensure good contrast */
}


.pricing-card .price {
    font-size: 2.5rem; /* Larger price */
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary-color); /* Highlight the price */
    transition: color 0.3s ease;
}
.pricing-card:hover .price {
  color: darken(var(--primary-color), 10%); /* Ensure good contrast */
}

.pricing-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.pricing-card li {
    margin-bottom: 1rem;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}
.pricing-card:hover li {
  color: var(--primary-color); /* Ensure good contrast */
}

.pricing-card .btn {
    background-color: var(--primary-color);
    color: var(--text-color);
    border: none;
    padding: 1.2rem 2.5rem; /* Adjusted padding */
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px; /* Rounded button */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transform */
}

.pricing-card .btn:hover {
    background-color: darken(var(--primary-color), 10%); /* Darken on hover */
    transform: scale(1.05); /* Scale up slightly */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add a subtle shadow on hover */
}
/* Footer */
footer { /* Footer block is now correctly placed */
    background-color: var(--secondary-color);
    color: var(--text-color);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.social-links {
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-color);
    margin: 0 1rem;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
    display: inline-block; /* Makes social icons behave consistently */
}

.social-links a:hover {
    color: var(--primary-color);
}

footer p {
    margin: 0;
}
