* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}
/* Global text selection */
::selection {
  background: #e10600; /* red highlight */
  color: #ffffff;      /* white text */
}

/* Firefox support */
::-moz-selection {
  background: #e10600;
  color: #ffffff;
}


body {
  background: #f2f2f2;
  color: #111;
}

/* NAVBAR */
.navbar {
  max-width: 1200px;
  margin: 18px auto;
  padding: 8px 18px;
  background: #fff;
  border-radius: 40px;
  border: 1px solid #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* DESKTOP LINKS */
.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links a {
  text-decoration: none;
  font-size: 13px;
  color: #000;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  font-size: 14px;
  font-weight: bold;
}

.menu-btn {
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  margin: 10px 20px;
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #ddd;
}

.mobile-menu a {
  padding: 10px 0;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 110px auto;
  text-align: center;
  padding: 50px;
}

.hero h1 {
  font-size: 64px;
}

.hero p {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

.buttons {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.btn {
  padding: 10px 28px;
  border-radius: 28px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .navbar {
    justify-content: flex-start;
  }

  .mobile-nav {
    display: flex;
  }

  .hero h1 {
    font-size: 38px;
  }

  .buttons {
    flex-direction: column;
    gap: 14px;
  }
}

/* NAV WRAPPER (centers content-width navbar) */
.nav-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

/* ACTUAL NAVBAR */
.navbar {
  display: inline-flex;        /* 👈 key fix */
  align-items: center;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 40px;
  gap: 18px;
}

/* DESKTOP LINKS */
.nav-links {
  display: flex;
  list-style: none;
  gap: 22px;
}

.nav-links a {
  font-size: 13px;
  text-decoration: none;
  color: #000;
}

/* MOBILE NAV */
.mobile-nav {
  display: none;
  align-items: center;
  gap: 12px;
}

.mobile-logo {
  font-size: 14px;
  font-weight: bold;
}

.menu-btn {
  font-size: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  margin: 10px auto;
  padding: 12px 18px;
  width: fit-content;          /* 👈 not full width */
  border-radius: 16px;
  border: 1px solid #ddd;
}

.mobile-menu a {
  padding: 8px 0;
  font-size: 14px;
  text-decoration: none;
  color: #000;
}

/* HERO BUTTON FIX */
.buttons {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 28px;
}

.btn {
  margin-top: 15px;
  display: inline-flex;        /* 👈 key fix */
  padding: 10px 28px;
  border-radius: 28px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: inline-flex;
  }

  .buttons {
    flex-direction: column;
    align-items: center;       /* 👈 keeps buttons small */
    gap: 14px;
  }
}

@media (max-width: 768px) {

  .nav-wrapper {
    padding: 0 14px;
  }

  .navbar {
    padding: 10px 22px;      /* 👈 makes pill wider */
    min-width: 90%;          /* 👈 NOT full width, but comfortable */
    justify-content: space-between;
  }

}

/* ============================= */
/* DESKTOP HOVER EFFECTS ONLY */
/* ============================= */

@media (hover: hover) {

  /* NAVBAR LINK HOVER */
  .nav-links a {
    position: relative;
    padding: 6px 10px;
    border-radius: 20px;
    transition: color 0.25s ease;
  }

  .nav-links a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #000;
    border-radius: 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.25s ease;
  }

  .nav-links a:hover {
    color: #ff0000;
  }

  .nav-links a:hover::after {
    opacity: 1;
  }

  /* BUTTON HOVER */
  .btn {
    background: linear-gradient(to right, #000 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.35s ease, color 0.35s ease;
  }

  .btn:hover {
    background-position: left bottom;
    color: #fff;
  }

}

/* DESKTOP BUTTON SPACING */
@media (min-width: 769px) {
  .buttons {
    gap: 192px;   /* was 28px — adjust if needed */
  }
}



.nav-links a.active {
  background: var(--accent-color);
  color: #ff0000;
  border-radius: 20px;
  padding: 6px 10px;
}


/* ============================= */
/* SERVICES PAGE */
/* ============================= */
.services {
  max-width: 1200px;
  margin: 120px auto;
  text-align: center;
  padding: 0 16px;
}

.services h1 {
  font-size: 32px;
  font-weight: 500;
}

.services p {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
}

/* COURSE CARDS TRACK */
.services-track {
  margin-top: 50px;
  display: flex;
  gap: 36px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  padding: 15px ;
}

/* Hide scrollbar cleanly */
.services-track::-webkit-scrollbar {
  display: none;
}
.services-track {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* COURSE CARD */
.service-card {
  flex: 0 0 360px;        /* width of each card on desktop */
  height: 200px;
  border-radius: 18px;
  overflow: hidden;
  border: 3px solid #000000;
  background: #d6d6d6;
  scroll-snap-align: start;
  transition: transform 0.25s ease;
}

/* Optional subtle hover effect on desktop */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  }
}

/* IMAGE FIT */
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* thumbnail style like YouTube */
  display: block;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
  .services-track {
    flex-direction: column;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 22px;
  }

  .service-card {
    width: 100%;
    height: 190px;
  }
}

.course-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap; /* mobile wraps */
}


/* ============================= */
/* COURSE PAGE */
/* ============================= */
.course-page {
  max-width: 900px;
  margin: 120px auto;
  text-align: center;
  padding: 0 16px;
}

.course-page h1 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 12px;
}

.course-page p {
  font-size: 16px;
  color: #555;
  margin-bottom: 36px;
  line-height: 1.5;
}


/* ============================= */
/* CONTACT PAGE */
/* ============================= */
.contact-page {
  max-width: 700px;
  margin: 120px auto;
  text-align: center;
  padding: 0 16px;
}

.contact-page h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 12px;
}

.contact-page p {
  font-size: 16px;
  color: #555;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* FORM FIELDS */
.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 14px;
  resize: none;
}

/* SUBMIT BUTTON */
.contact-form .btn {
  align-self: center;
  max-width: 200px;
  margin-top: 12px;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .contact-page h1 {
    font-size: 28px;
  }
  .contact-page p {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 13px;
    padding: 10px 14px;
  }
}



/* ============================= */
/* MESSAGE SENT POPUP */
/* ============================= */
#messageSentPopup {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4BB543; /* green */
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 500;
  display: none; /* hidden by default */
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}



/* ============================= */
/* ABOUT US PAGE */
/* ============================= */
.about-page {
  max-width: 1000px;
  margin: 120px auto;
  text-align: center;
  padding: 0 16px;
}

.about-page h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 36px;
}

/* ABOUT CONTENT FLEX */
/* ABOUT CONTENT FLEX */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap; /* wraps on mobile */
  flex-direction: row-reverse; /* swap: image left, text right */
}

/* TEXT SECTION */
.about-text {
  flex: 1;
  min-width: 280px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* IMAGE SECTION */
.about-image {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.about-image img {
  width: 220px;
  height: 220px;
  border-radius: 20px;
  object-fit: cover;
  border: 2px solid #ccc;
}

/* MOBILE ADJUSTMENTS */
@media (max-width: 768px) {
  .about-page h1 {
    font-size: 28px;
    text-align: center;
  }

  .about-text {
    text-align: center;
    font-size: 14px;
  }

  .about-image img {
    width: 180px;
    height: 180px;
  }

  .about-content {
    gap: 24px;
    flex-direction: column; /* stack vertically on mobile */
  }
}

.home-cta {
    text-align: center;
    padding: 80px 20px;
    background-color: #f2f2f2;
}

.home-cta h1 {
    font-size: 42px;
    margin-bottom: 15px;
    color: #111;
}

.home-cta p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
    color: #111;
}



@media (max-width: 768px) {
    .home-cta h1 { font-size: 28px; }
    .home-cta p { font-size: 16px; }
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 60px 40px;
    background-color: #363636;
}

.feature-card {
    background: rgba(255,255,255,0.15);
    padding: 30px;
    border-radius: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    color: whitesmoke;
}

.feature-card p {
  color: white;
}

@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }
}

.why-us {
    text-align: center;
    padding: 70px 20px;
    margin: auto;
    background-color: #f2f2f2;
}

.why-us h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: #111;
}

.why-us p {
    font-size: 18px;
    opacity: 0.9;
    color: #111;
}

@media (max-width: 768px) {
    .why-us h2 { font-size: 24px; }
    .why-us p { font-size: 16px; }
}

.final-cta {
    text-align: center;
    padding: 50px 20px;
    background-color: #363636;
    color: #ffffff;
}

.btn-custom {
  margin-top: 15px;
    display: inline-flex;        /* 👈 key fix */
  padding: 10px 28px;
  border-radius: 28px;
  border: 2px solid #f2f2f2;
  text-decoration: none;
  color: #f2f2f2;
}

.btn-custom {
    background: linear-gradient(to right, #f2f2f2 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    transition: background-position 0.35s ease, color 0.35s ease;
  }

  .btn-custom:hover {
    background-position: left bottom;
    color: #111;
  }

/* ===================== */
/* SLIM FOOTER */
/* ===================== */
.site-footer {
    width: 100%;
    padding: 2px 10px;
    text-align: left;
    font-size: 14px;
    opacity: 0.85;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .site-footer {
        font-size: 13px;
    }
}

/* ============================= */
/* PRODUCT PAGE (DAVINCI / BLENDER) */
/* ============================= */

.product-page {
    padding: 80px 20px;
}

/* Container */
.product-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

/* LEFT IMAGE BOX (Amazon style) */
.product-image-box {
    flex: 1;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid white;
    background: rgba(255,255,255,0.08);
}

.product-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* RIGHT CONTENT */
.product-content {
    flex: 1;
}

.product-content h1 {
    font-size: 36px;
    margin-bottom: 12px;
}

.product-subtitle {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.product-description {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 30px;
}

/* Buttons */
.product-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* ============================= */
/* MOBILE RESPONSIVE */
/* ============================= */

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
        gap: 30px;
    }

    .product-content h1 {
        font-size: 26px;
    }

    .product-subtitle {
        font-size: 16px;
    }

    .product-description {
        font-size: 15px;
    }
}


/* =========================
   PREMIUM FOOTER
========================= */

.site-footer {
    position: relative;
    padding: 5px 16px;
    text-align: center;

    /* Premium dark gradient */
    background: linear-gradient(
        135deg,
        #ffffff,
        #ffffff,
        #ffffff
    );

    color: #111;
    font-size: 0.9rem;
    letter-spacing: 0.4px;

    /* Subtle separation */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Soft glow line on top */
.site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 120px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(
        90deg,
        transparent,
        #ff0000,
        transparent
    );
    opacity: 0.6;
}

.site-footer p {
    margin: 0;
    font-weight: 500;
}

/* Brand highlight */
.site-footer p span {
    color: #483e3e;
    font-weight: 600;
}

/* Mobile polish */
@media (max-width: 600px) {
    .site-footer {
        font-size: 0.85rem;
        padding: 20px 12px;
    }
}



/* =============================
   LOGIN BUTTON (TOP RIGHT)
============================= */

.login-btn {
  position: absolute;
  right: -55px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.login-btn:hover {
  background: #000;
  color: #fff;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .login-btn {
    right: 10px;
    top: 6px;
  }
}

/* =============================
   LOGIN POPUP OVERLAY
============================= */

.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

/* POPUP CARD */
.login-popup {
  background: #fff;
  width: 320px;
  padding: 26px;
  border-radius: 22px;
  text-align: center;
  animation: popupFade 0.3s ease;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.login-popup h3 {
  font-size: 18px;
  margin-bottom: 20px;
}

/* LOGIN OPTIONS */
.login-option {
  width: 100%;
  padding: 12px;
  border-radius: 14px;
  border: 1px solid #ddd;
  background: #fff;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.25s ease;
}

.login-option:hover {
  background: #000;
  color: #fff;
}



/* =============================
   LOGIN BUTTON – TOP RIGHT
============================= */

.login-btn {
  position: fixed;
  top: 30px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 1500;
  transition: all 0.25s ease;
}

.login-btn svg {
  color: #111;
}

.login-btn:hover {
  background: #ffffff;
}

.login-btn:hover svg {
  color: #ff0000;
  transition: color 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;

}

/* MOBILE POLISH */
@media (max-width: 768px) {
  .login-btn {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}


.login-input {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid #ccc;
  font-size: 14px;
}


/* =============================
   USER AVATAR (AFTER LOGIN)
============================= */

.avatar-btn {
  position: fixed;
  top: 22px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  z-index: 1500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.avatar-btn:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.avatar-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile */
@media (max-width: 768px) {
  .avatar-btn {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
  }
}


/* =============================
   AVATAR DROPDOWN MENU
============================= */

.avatar-menu {
  position: fixed;
  top: 76px;
  right: 24px;
  width: 190px;
  background: #fff;
  border-radius: 16px;
  border: 2px solid #ddd;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);

  display: none;
  flex-direction: column;
  padding: 10px;

  animation: slideDown 0.25s ease;
  z-index: 1600;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.avatar-menu a {
  padding: 10px 12px;
  text-decoration: none;
  color: #111;
  font-size: 14px;
  border-radius: 10px;
  transition: background 0.25s ease;
}

.avatar-menu a:hover {
  background: #f2f2f2;
}

.menu-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 8px 0;
}

/* LOGOUT */
.logout-btn {
  background: none;
  border: none;
  text-align: left;
  padding: 10px 12px;
  color: #e10600;
  font-size: 14px;
  cursor: pointer;
  border-radius: 10px;
  transition: background 0.25s ease;
}

.logout-btn:hover {
  background: rgba(225,6,0,0.08);
}

/* =============================
   LOGOUT CONFIRMATION
============================= */

.logout-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.logout-box {
  background: #fff;
  padding: 22px;
  border-radius: 18px;
  width: 280px;
  text-align: center;
  animation: scaleIn 0.25s ease;
}

@keyframes scaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.logout-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
}

.cancel-btn {
  padding: 8px 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.confirm-btn {
  padding: 8px 16px;
  border-radius: 12px;
  border: none;
  background: #e10600;
  color: #fff;
  cursor: pointer;
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}



/* =============================
   PRIVACY POLICY PAGE
============================= */

.privacy-page {
  max-width: 900px;
  margin: 120px auto;
  padding: 0 16px;
}

.privacy-page h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 10px;
}

.privacy-date {
  text-align: center;
  font-size: 14px;
  color: #555;
  margin-bottom: 40px;
}

/* Card container */
.privacy-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px;
  border: 1px solid #ddd;
  line-height: 1.7;
  font-size: 15px;
  color: #222;
}

/* Headings */
.privacy-card h2 {
  font-size: 20px;
  margin-top: 28px;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Paragraphs */
.privacy-card p {
  margin-bottom: 14px;
  color: #333;
}

/* Lists */
.privacy-card ul {
  margin-left: 18px;
  margin-bottom: 16px;
}

.privacy-card li {
  margin-bottom: 6px;
}

/* Links */
.privacy-card a {
  color: #e10600;
  text-decoration: none;
}

.privacy-card a:hover {
  text-decoration: underline;
}

.privacy-contact {
  margin-top: 30px;
  font-weight: 500;
}

/* Mobile */
@media (max-width: 768px) {
  .privacy-page h1 {
    font-size: 28px;
  }

  .privacy-card {
    padding: 24px;
    font-size: 14px;
  }
}


/* Footer policy link */
.footer-links {
  margin-top: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #666;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer-links a:hover {
  color: #e10600;
  transform: translateY(-1px);
}


.site-footer {
  padding: 5px 16px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Right aligned link */
.footer-links {
  margin-top: 0;
}

/* Mobile: stack nicely */
@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    gap: 6px;
  }
}


