/* ==================================================
   Global CSS Variables (Theme Colors)
   ================================================== */
:root {
  /* Overriding Water’s variables so they match your desired colors */

  /* Background Colors */
  --background-body: #0A1119;		/* Main background color */
  --background-alt: #0C141C;		/* Header & footer background */

  /* Text Colors */
  --text-main: #FFFFFF;             /* Main text color */
  --links: #FFFFFF;                 /* Navigation/menu text color */

  /* Button Colors */
  --button-base: #00FF86;           /* Primary button background (if needed) */
  --button-hover: #00FF86;          /* Button hover background */

  /* Additional variables you used */
  --login-btn-bg: #1D2329;          /* Login button background */
  --login-btn-color: #F9F9F9;       /* Login button text color */
  --registr-btn-gradient: linear-gradient(270deg, #00FF86 100%, #AC20C9 0%);
  --registr-btn-color: #1D2329;     /* Registr button text color */
  --main-btn-gradient: linear-gradient(270deg, #00FF86 100%, #AC20C9 0%);
  --main-btn-color: #1D2329;        /* Main button text color */

  /* Transitions */
  --transition-speed: 0.3s;
}

/* ==================================================
   Global Reset & Base Styles
   ================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Now referencing the Water variables so your colors show up */
  background: var(--background-body);
  color: var(--text-main);
  font-family: Arial, sans-serif;
  line-height: 1.5;
}

h1 {
  margin-top: 80px;
}

a {
  text-decoration: none;
  cursor: pointer;
}

p {
  margin: 10px 0;
}

table, th, td {
	border: 1px solid var(--main-btn-gradient);
	margin: 50px 0;
	}

/* ==================================================
   HEADER – Desktop and Mobile
   ================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--background-alt);
  z-index: 1000;
  /* Default header height for desktop */
  height: 66px;
  padding: 0 20px;
}

/* The checkbox and burger are now direct children of header */
.menu-toggle {
  display: none;
}

/* Burger Icon */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  cursor: pointer;
  background: var(--login-btn-bg);
  padding: 8px;
  gap: 8px;
  border-radius: 6px;
  /* Position the burger in the top right corner */
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--login-btn-color);
  border-radius: 2px;
  transition: transform var(--transition-speed), opacity var(--transition-speed);
}

/* Header Inner – contains logo, desktop nav, header-buttons */
.header__inner {
  max-width: 1310px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* Extra right padding so that the burger (absolutely positioned) does not overlap content */
  padding-right: 80px;
}

/* Logo */
.logo img {
  max-height: 50px;
  width: auto;
}

/* Main Navigation – Desktop (centered) */
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-nav ul li a {
  color: var(--links);
  font-weight: 600;
  transition: color var(--transition-speed);
}

.main-nav ul li a:hover {
  text-decoration: underline;
}

/* Header Buttons (desktop) */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-buttons a {
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  transition: background var(--transition-speed);
  white-space: nowrap;
}

.login-btn {
  background: var(--login-btn-bg);
  color: var(--login-btn-color);
}

.login-btn:hover {
  opacity: 0.9;
}

.registr-btn {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  padding: 12px 24px;       /* Increased vertical/horizontal padding */
  font-size: 18px;          /* Larger font size */
  font-weight: 600;
  border-radius: 8px;       /* Slightly larger border radius */
  text-transform: uppercase;
  animation: pulse-main 2s infinite;
  transition: background var(--transition-speed);
}

.registr-btn:hover {
  background: var(--button-hover);
}

/* Pulse Animation for buttons (registr-btn & main-button) */
@keyframes pulse-main {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 var(--button-base);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 4px 24px 0 var(--button-hover);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 transparent;
  }
}

/* ==================================================
   Mobile & Tablet Styles (max-width: 1023px)
   ================================================== */
@media (max-width: 1023px) {
  /* Reduce header inner right padding */
  .header__inner {
    justify-content: space-between;
    padding-right: 40px;  /* Reduced from 80px */
  }
  /* Hide desktop navigation */
  .main-nav {
    display: none;
  }
  /* Show burger icon */
  .burger {
    display: flex;
  }
  /* Mobile Navigation Curtain */
  .mobile-nav {
    display: none;
    position: fixed;
    top: 0;             /* Cover full viewport height */
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--background-alt);
    flex-direction: column;
    padding-top: 60px;  /* Leave room for the close button */
    transition: transform 0.3s ease;
    z-index: 999;
  }
  .mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }
  .mobile-nav ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
  /* Increase menu item text and padding */
  .mobile-nav ul li a {
    padding: 18px 20px;
    font-size: 18px;
    color: var(--links);
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-nav ul li a::after {
    content: "";
    border: 5px solid transparent;
    border-left: 5px solid var(--links);
  }
  /* Display mobile nav when checkbox is checked */
  .menu-toggle:checked ~ .mobile-nav {
    display: flex;
  }
  /* Animate burger icon when toggled */
  .menu-toggle:checked + .burger span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 4px);
  }
  .menu-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle:checked + .burger span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}

/* ==================================================
   Desktop Styles (min-width: 1024px)
   ================================================== */
@media (min-width: 1024px) {
  .main-nav {
    display: flex !important;
    position: static;
    height: auto;
    background: none;
    padding: 0;
  }
  .mobile-nav {
    display: none !important;
  }
  .burger {
    display: none;
  }
}

/* ==================================================
   Small Device Adjustments (max-width: 767px)
   ================================================== */
@media (max-width: 767px) {
  header {
    height: 54px;
  }
  .logo img {
    max-height: 40px;
  }
  .header-buttons a {
    padding: 6px 12px;
    font-size: 14px;
  }
}

/* ==================================================
   Mobile Nav Close Button
   ================================================== */
@media (max-width: 1023px) {
  .mobile-nav__close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    color: var(--links);
    cursor: pointer;
    z-index: 1001;
  }
}

/* ==================================================
   Main Content Padding (to account for fixed header)
   ================================================== */
main {
  padding-top: 80px;
}

/* ==================================================
   Content HeaderLogo Override (if used in content)
   ================================================== */
.headerLogo {
  display: block !important;
  position: relative;
  z-index: 2;
  margin-top: 80px;
  text-align: center;
  font-size: 2.5em;
  color: var(--text-main);
}

/* ---------- Bonus Button (Main Button) ---------- */
.main-button {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;       /* Slightly larger width */
  width: 100%;
  height: 70px;           /* Increased height */
  margin: 20px auto;      /* Vertical margin for spacing */
  border-radius: 10px;    /* More rounded corners */
  background: var(--main-btn-gradient);  /* Uses your gradient */
  color: var(--main-btn-color);
  font-size: 20px;        /* Larger text */
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: pulse-main 2s infinite;
}

.main-button:hover {
  transform: scale(1.02);
}

/* Indent the first paragraph in .main-section */
.main-section p:first-of-type {
  text-indent: 2em;
  margin-left: 20px;
  margin-right: 20px;
}

/* ==================================================
   Cards Block and Grid
   ================================================== */
.cards-block {
  margin: 2rem 0;
  padding: 0 1rem;
}

.cards-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Each card occupies roughly one-fourth of the container (desktop) */
.card-item {
  position: relative;
  flex: 1 1 calc(25% - 1rem);
  background: #161616; /* Or var(--background-alt) if you prefer */
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

/* On mobile devices: 2 per row */
@media (max-width: 767px) {
  .card-item {
    flex: 1 1 calc(50% - 1rem);
  }
}

/* Scale up slightly on hover */
.card-item:hover {
  transform: scale(1.05);
}

/* Card image styles */
.card-image {
  position: relative;
}

.card-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Overlay on hover */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22, 22, 22, 0.7);
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-item:hover .card-overlay {
  opacity: 1;
}

/* Container for buttons inside card overlay */
.card-buttons {
  display: flex;
  gap: 1rem;
}

/* Button styles within cards */
.card-buttons a {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: #e45809;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.card-buttons a:hover {
  background: #c34707;
}

/* Card title and provider text */
.card-title,
.card-provider {
  display: block;
  text-align: center;
  margin: 0.5rem 0;
  font-size: 1.2rem;
  color: #a2a5af;
}

/* ==================================================
   Footer Styles
   ================================================== */
.new-footer {
  background: var(--background-alt);
  color: #fff;
  padding: 20px 0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  margin-top: 30px;
}

.new-footer .social-links {
  margin-bottom: 20px;
}

.new-footer .social-links a {
  margin: 0 10px;
  font-size: 2rem;
  color: #fff;
  transition: color 0.3s;
}

.new-footer .social-links a:hover {
  color: #e45809;
}

.new-footer .footer-images-box {
  margin-bottom: 20px;
}

.new-footer .footer-images-box .images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.new-footer .footer-images-box .images .image-link img {
  max-width: 120px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.new-footer .footer-images-box .images .image-link img:hover {
  transform: scale(1.05);
}

.new-footer .container {
  font-size: 0.9rem;
}

ul, ol {
  margin:20px 30px;
}

/* Footer Menu Styles */
.new-footer .footer-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 0 15px;
}

.new-footer .footer-menu a {
  color: var(--links);
  padding: 8px 15px;
  transition: color var(--transition-speed);
  font-size: 0.9rem;
  position: relative;
}

.new-footer .footer-menu a:hover {
  color: var(--button-base);
  text-decoration: underline;
}

/* Separator between links on desktop */
.new-footer .footer-menu a:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -3px;
  color: rgba(var(--text-main), 0.4);
}

/* Mobile Styles */
@media (max-width: 767px) {
  .new-footer .footer-menu {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .new-footer .footer-menu a {
    padding: 6px 10px;
  }
  
/* Remove separators on mobile */
  .new-footer .footer-menu a:not(:last-child)::after {
    display: none;
  }
}

/* Contact Form Styles */
.contact-section {
  max-width: 800px;
  margin: 120px auto 60px;
  padding: 0 20px;
}

.contact-container {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.contact-title {
  font-size: 2.2em;
  margin-bottom: 15px;
  text-align: center;
  color: var(--text-main);
}

.contact-description {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text-main);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--background-body);
  color: var(--text-main);
  font-size: 16px;
  transition: border-color var(--transition-speed);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--button-base);
  box-shadow: 0 0 0 2px rgba(42, 183, 101, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-submit-btn {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-align: center;
  margin-top: 10px;
  animation: pulse-main 2s infinite;
}

.contact-submit-btn:hover {
  transform: scale(1.05);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Success message styles */
.success-message {
  text-align: center;
  background: rgba(42, 183, 101, 0.1);
  border: 1px solid var(--button-base);
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
}

.success-message p {
  color: #2AB765;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .contact-section {
    margin-top: 80px;
  }
  
  .contact-container {
    padding: 20px;
  }
  
  .contact-title {
    font-size: 1.8em;
  }
}

/* ==================================================
   Breadcrumb Navigation Styles
   ================================================== */
.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 70px 0 20px 0;
  padding: 10px 20px;
  background: var(--background-alt);
  border-radius: 8px;
  font-size: 14px;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.breadcrumbs li a {
  color: var(--text-main);
  opacity: 0.8;
  transition: opacity var(--transition-speed);
  text-decoration: none;
}

.breadcrumbs li a:hover {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumbs li:not(:last-child)::after {
  content: ">";
  margin: 0 8px;
  color: var(--text-main);
  opacity: 0.6;
}

.breadcrumbs li:last-child a {
  color: #ffe71d;
  opacity: 1;
  pointer-events: none;
}

/* Mobile responsiveness */
@media (max-width: 767px) {
  .breadcrumbs {
    padding: 8px 12px;
    font-size: 12px;
  }
  
  .breadcrumbs li:not(:last-child)::after {
    margin: 0 5px;
  }
}

/* ==================================================
   Customer Reviews Section Styles
   ================================================== */
.reviews-section {
  max-width: 1110px;
  margin: 60px auto;
  padding: 0 20px;
}

.reviews-section h2 {
  font-size: 2.2em;
  margin-bottom: 30px;
  text-align: center;
  color: var(--text-main);
}

/* Reviews Header */
.reviews-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--background-alt);
  border-radius: 15px;
  padding: 25px 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.reviews-header-content {
  display: flex;
  align-items: center;
  gap: 30px;
}

.reviews-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
}

.reviews-rating {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rating-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-main);
}

.rating-stars {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.rating-stars svg {
  width: 120px;
  height: 22px;
}

.rating-stars .star {
  fill: #ddd;
}

.rating-stars .star.filled {
  fill: #FFD700;
}

.rating-stars .star.half {
  fill: url(#star-gradient);
}

.rating-stars small {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

/* Write Review Button */
.write-review-btn {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
  white-space: nowrap;
}

.write-review-btn:hover {
  transform: scale(1.05);
}

/* Review Modal */
.review-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.review-modal.active {
  display: flex;
}

.review-modal-content {
  background: var(--background-alt);
  border-radius: 15px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
}

.review-modal-content h3 {
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-input,
.review-textarea {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--background-body);
  color: var(--text-main);
  font-size: 16px;
  transition: border-color 0.3s;
}

.review-input:focus,
.review-textarea:focus {
  outline: none;
  border-color: var(--button-base);
}

.review-textarea {
  resize: vertical;
  min-height: 100px;
}

/* Star Rating Selection */
.review-stars-select {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
}

.star-select {
  color: #ddd;
  cursor: pointer;
  transition: color 0.2s;
}

.star-select:hover,
.star-select.active {
  color: #FFD700;
}

.review-modal-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 10px;
}

.cancel-review,
.submit-review {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
}

.cancel-review {
  background: var(--login-btn-bg);
  color: var(--login-btn-color);
}

.submit-review {
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
}

.cancel-review:hover,
.submit-review:hover {
  opacity: 0.9;
}

/* Reviews List */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.review-item {
  background: var(--background-alt);
  border-radius: 12px;
  padding: 25px;
  display: none;
  transition: all 0.3s ease;
}

.review-item.show {
  display: block;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--registr-btn-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  color: var(--registr-btn-color);
  position: relative;
}

.google-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  padding: 2px;
}

.review-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
}

.review-date {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.review-rating {
  margin-bottom: 15px;
}

.review-rating svg {
  width: 100px;
  height: 20px;
}

.review-rating .star {
  fill: #ddd;
}

.review-rating .star.filled {
  fill: #FFD700;
}

.review-rating .star.empty {
  fill: #444;
}

.review-text {
  color: var(--text-main);
  line-height: 1.6;
  font-size: 15px;
}

.review-text p {
  margin: 0;
}

/* Load More Button */
.load-more-reviews {
  display: block;
  margin: 0 auto;
  background: var(--registr-btn-gradient);
  color: var(--registr-btn-color);
  padding: 12px 32px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: pulse-main 2s infinite;
}

.load-more-reviews:hover {
  transform: scale(1.05);
}

/* Responsive Styles */
@media (max-width: 767px) {
  .reviews-section {
    margin: 40px auto;
    padding: 0 15px;
  }
  
  .reviews-section h2 {
    font-size: 1.8em;
    margin-bottom: 20px;
  }
  
  .reviews-header {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    text-align: center;
  }
  
  .reviews-header-content {
    flex-direction: column;
    gap: 15px;
  }
  
  .rating-number {
    font-size: 28px;
  }
  
  .write-review-btn {
    width: 100%;
  }
  
  .review-item {
    padding: 20px;
  }
  
  .review-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .google-icon {
    width: 16px;
    height: 16px;
  }
  
  .review-modal-content {
    padding: 20px;
  }
  
  .review-stars-select {
    font-size: 28px;
    gap: 8px;
  }
  
  .review-modal-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .cancel-review,
  .submit-review {
    width: 100%;
  }
}

.signup-img {
    display: block;
	margin: 30px auto;
	max-width: 100%;
	height: auto;
  }