/* ========== RESET & BASE ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;

    /* ✅ Global background for entire page */
   background: linear-gradient(to bottom, #7badd6 100%,#cce0ff 0%);
   
}

/* Add padding top to body so content not hidden behind fixed header */
body > section {
    padding-top: 100px;
}
/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px; /* compact height */
    background: linear-gradient(to bottom right, #ffffff, #d8ecff);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px; /* horizontal padding */
    font-family: 'Poppins', sans-serif;
    height: 100%;
}

.main-nav .logo a {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a2a3a;
}

/* ================= NAV LINKS ================= */
.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links li a {
    font-size: 0.85rem;
}

/* Soft blue button style for nav links */
.nav-button {
    border: 2px solid #fff;
    background: #5fa8d3;   /* soft blue */
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-button:hover {
    background: #468faf;   /* darker soft blue on hover */
    border-color: #468faf;
}

/* ================= COURSES SUBMENU ================= */
.has-submenu {
    position: relative;
}

.has-submenu .courses-toggle {
    cursor: pointer;
    margin-left: 3px;
    font-size: 0.8rem;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border-radius: 8px;
    min-width: 140px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 6px 0;
    list-style: none;
    z-index: 1000;
}

.submenu li a {
    padding: 5px 10px;
    font-size: 0.85rem;
}

/* ================= AUTH BUTTONS ================= */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-signup, .btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #fff;
    color: #fff;
    background: #0a3d91; /* keep darker blue for emphasis */
}

.btn-signup:hover,
.btn-logout:hover {
    background: #062a63;
    border-color: #062a63;
}

/* ================= HERO / PAGE OFFSET ================= */
section {
    padding: 50px 15px 30px;
    min-height: calc(100vh - 50px);
}

/* Home section centered content */
#home {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 50px);
    padding: 0 15px;
    text-align: center;
}

.hero-image {
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
}

/* Other sections */
section:not(#home) {
    padding: 50px 15px 30px;
}

/* ================= POPUP ================= */
#subscribePopup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    z-index: 1002;
}



/* ===== HOME SECTION (SIDE BY SIDE) ===== */
#home {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    /* Soft at top, bright at bottom */
    background: linear-gradient(to bottom, #cce0ff 0%, #7badd6 100%);
}


.home-hero {
    max-width: 1200px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    animation: fadeIn 1s ease-in-out;
}

/* Left Text Section */
.hero-left {
    flex: 1 1 500px;
}

/* Title */
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: "Poppins", sans-serif;
    color: #111;
}

.hero-title span {
    color: #007BFF;
}

/* Description */
.hero-description {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    max-width: 500px;
    font-family: "Inter", sans-serif;
    margin-bottom: 35px;
}

/* Button */
.hero-btn {
    display: inline-block;
    background: #000;
    color: white;
    padding: 15px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    transform: scale(1.05);
}

/* Right Image Section */
.hero-right {
    flex: 1 1 500px;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 500px;
    max-width: 100%;
    object-fit: contain;
    border: none;        /* ✔ no border */
    box-shadow: none;    /* ✔ no shadow */
    animation: none;     /* ✔ no animation */
    border-radius: 0;    /* ✔ natural look */
}

/* Simple fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}




/* ========== PRICING SECTION WRAPPER ========== */
.pricing-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 50px 40px;
    background: #f9fbff; /* very light subtle background for the section */
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); /* soft outer shadow for floating effect */
}

/* ========== PRICING SECTION WRAPPER ========== */
.pricing-wrapper {
    max-width: 1200px;
    margin: 80px auto;
    padding: 60px 40px;
    background: #f9fbff;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* ========== PRICING SECTION ========== */
.pricing-section {
    padding: 0;
    text-align: center;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0c1a2b;
}

.section-subtitle {
    max-width: 750px;
    margin: 0 auto 60px auto;
    color: #6b7a99;
    font-size: 1.25rem;
}

/* Container for cards */
.pricing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* Individual card */
.pricing-card {
    background: linear-gradient(135deg, #ffffff, #f0f7ff);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(58, 134, 255, 0.12);
    padding: 40px 30px 30px;
    width: 360px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 500px; /* ensures equal height */
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(58, 134, 255, 0.18);
}

/* Content above button grows */
.pricing-card .card-content {
    margin-bottom: auto; /* pushes button to bottom */
}

/* Title of the plan */
.pricing-card h3 {
    font-weight: 700;
    font-size: 1.6rem;
    margin-bottom: 14px;
    color: #0c1a2b;
}

/* Price */
.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a3d7c;
    margin-bottom: 8px;
}

/* Price unit */
.pricing-card .price-unit {
    font-weight: 400;
    font-size: 1rem;
    color: #6b7a99;
    margin-left: 6px;
}

/* Description text */
.pricing-card .description {
    font-size: 1rem;
    color: #4e5d78;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Features list */
.pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    width: 100%;
}

.pricing-card ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 16px;
    font-size: 1rem;
    color: #3b4664;
}

.pricing-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #3a86ff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
}

/* Buttons */
.btn-pricing {
    margin-top: 20px;
    background-color: #3a86ff;
    color: white;
    font-weight: 700;
    padding: 16px 0;
    border-radius: 12px;
    text-decoration: none;
    text-align: center;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-pricing:hover {
    background-color: #265fbb;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-cards {
        gap: 20px;
    }

    .pricing-card {
        width: 320px;
        min-height: 480px;
    }
}

@media (max-width: 780px) {
    .pricing-cards {
        flex-direction: column;
        align-items: center;
    }

    .pricing-card {
        width: 90%;
        max-width: 400px;
        min-height: 500px; /* maintain button alignment */
    }
}


/* ========== BENEFITS SECTION ========== */
.benefits-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f0f7ff, #e6f0ff); /* full-width gradient background */
    text-align: center;

/* Rounded rectangle style */
    border-radius: 40px;         /* soft rounded corners */
    max-width: 1500px;           /* restrict width so the rounding is visible */
    margin: 40px auto;           /* center the section with some top/bottom spacing */
    box-shadow: 0 12px 35px rgba(0,0,0,0.08); /* subtle shadow for floating effect */
}


.benefits-section .section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #0c1a2b;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto; /* center the cards inside the full-width section */
}

/* Individual benefit card */
.benefit-card {
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* soft floating shadow */
    background: #ffffff;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.benefit-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0c1a2b;
}

.benefit-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #4e5d78;
}

/* Gradient backgrounds for cards */
.gradient1 { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.gradient2 { background: linear-gradient(135deg, #d4fc79, #96e6a1); }
.gradient3 { background: linear-gradient(135deg, #a1c4fd, #c2e9fb); }
.gradient4 { background: linear-gradient(135deg, #fbc2eb, #a6c1ee); }
.gradient5 { background: linear-gradient(135deg, #fddb92, #d1fdff); }
.gradient6 { background: linear-gradient(135deg, #84fab0, #8fd3f4); }

/* Responsive */
@media (max-width: 980px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== COURSES SECTION ========== */
.courses-section {
    position: relative;
    padding: 80px 20px;
    background: #f0f7ff; /* soft blue-white for section background */
    text-align: center;
    box-shadow: 
        0 -2px 10px rgba(0,0,0,0.05), /* top shadow */
        0 2px 10px rgba(0,0,0,0.05);  /* bottom shadow */
    overflow: hidden;
    margin-bottom: 60px;
    /* Rounded rectangle style */
    border-radius: 40px;         /* soft rounded corners */
    max-width: 1500px;           /* restrict width so the rounding is visible */
    margin: 40px auto;           /* center the section with some top/bottom spacing */
    box-shadow: 0 12px 35px rgba(0,0,0,0.08); /* subtle shadow for floating effect */
}


/* Decorative floating blobs */
.courses-section::before,
.courses-section::after {
    content: "";
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    opacity: 0.2;
}

/* Top-left blob */
.courses-section::before {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #3a86ff, #00c6ff);
    top: -80px;
    left: -100px;
    transform: rotate(25deg);
    filter: blur(80px);
}

/* Bottom-right blob */
.courses-section::after {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #00c6ff, #3a86ff);
    bottom: -100px;
    right: -120px;
    transform: rotate(-25deg);
    filter: blur(80px);
}

/* Section Title */
.courses-section .section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #0c1a2b; /* dark text for readability */
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Individual course cards */
.course-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background: #ffffff; /* soft card background */
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    text-align: center;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* Card image top center */
.course-card img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
}

/* Card content */
.course-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0c1a2b;
}

.course-card p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    color: #4e5d78;
}

/* Button styling */
.btn-course {
    margin-top: auto;
    padding: 12px 25px;
    border-radius: 10px;
    background: #3a86ff;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
    text-align: center;
}

.btn-course:hover {
    background: #265fbb;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 800px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== ABOUT SECTION (Soft Lavender Variant) ========== */

.about-section {
    display: flex;
    align-items: center;
    padding: 70px 20px;
    max-width: 2000px;
    margin: 0 auto;
    gap: 50px;
    font-family: 'Poppins', sans-serif;
    background: transparent;

    /* Soft lavender top shadow */
    border-top: 1px solid rgba(160, 140, 220, 0.25);
    box-shadow: 0 -12px 28px -6px rgba(180, 160, 230, 0.25);

    /* Bottom line in lavender */
    border-bottom: 1px solid rgba(160, 140, 220, 0.30);
}

/* Left side image */
.about-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-img.big {
    max-width: 75%;
    height: auto;
    opacity: 0;
    transform: translateY(25px);

    animation: fadeSlide 0.8s forwards,
               floatUpDown 3s ease-in-out infinite;
}

/* Right text */
.about-right {
    flex: 1;
    text-align: left;
}

.about-right h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: #2b2342; /* deep purple-grey title */
}

.about-right p {
    font-size: 1.05rem;
    line-height: 1.55;
    color: #5b5670; /* soft muted text */
    max-width: 550px;
}

/* Fade + slide animation */
@keyframes fadeSlide {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating animation */
@keyframes floatUpDown {
    0% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 900px) {
    .about-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 15px;
    }

    .about-img.big {
        max-width: 65%;
        margin-bottom: 20px;
    }

    .about-right h2 {
        font-size: 1.9rem;
    }

    .about-right p {
        font-size: 1rem;
    }
}


/* ========== FOOTER ========== */
/* Footer Base */
footer {
  font-family: 'Poppins', sans-serif;
  color: #fff;
  overflow: hidden;
  position: relative;
}

/* Contact Section (interactive) */
.footer-contact {
  padding: 80px 20px;
  text-align: center;
  background: linear-gradient(#0c1a2b);
  position: relative;
}

.footer-contact h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-contact p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* Contact Buttons with gradient hover */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-contact {
  padding: 12px 25px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.btn-contact::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: rgba(255,255,255,0.15);
  transform: rotate(45deg) scale(0);
  transition: transform 0.5s ease;
  border-radius: 50%;
}

.btn-contact:hover::after {
  transform: rotate(45deg) scale(1);
}

.btn-contact:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-contact.facebook { background: #3b5998; }
.btn-contact.instagram { background: #e1306c; }
.btn-contact.twitter { background: #1da1f2; }

/* Decorative floating blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.2;
  filter: blur(80px);
  animation: floatBlob 6s ease-in-out infinite;
  z-index: 0;
}

.blob1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ffecd2, #fcb69f);
  top: -50px;
  left: -60px;
}

.blob2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #a1c4fd, #c2e9fb);
  bottom: -80px;
  right: -70px;
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(15deg); }
}

/* Footer Main Content */
.footer-main {
  background: #0c1a2b;
  padding: 40px 50px 20px;
  text-align: left;
  position: relative;
  z-index: 1;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-left, .footer-right {
  flex: 1 1 300px;
}

.footer-left p, .footer-right p {
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Search input */
.footer-search {
  display: flex;
  transition: all 0.3s ease;
}

.footer-search input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  transition: all 0.3s ease;
}

.footer-search input:focus {
  outline: none;
  box-shadow: 0 0 10px #3a86ff80;
}

.footer-search button {
  padding: 10px 15px;
  border: none;
  background: #3a86ff;
  color: #fff;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.footer-search button:hover {
  background: #265fbb;
}

/* Social Links */
.social-links a {
  margin-right: 15px;
  color: #3a86ff;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
  color: #a6c1ee;
  transform: translateY(-5px) scale(1.1);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #bbb;
}

/* Responsive */
@media (max-width: 780px) {
  .contact-links { flex-direction: column; }
  .footer-container { flex-direction: column; text-align: center; }
  .footer-left, .footer-right { flex: 1 1 100%; }
}

