/* style.css - main entry point */
/* Import Google Fonts - Elegant and Professional */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* Import sections */
@import url('navbar.css');
@import url('before-after.css');
@import url('feedback.css');
@import url('solution.css');
@import url('why-us.css');
@import url('process.css');
@import url('faq.css');
@import url('contact-form.css');
@import url('testimonials.css');


/* Set box-sizing globally for predictable layout */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Global styles with elegant typography */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #2d3748;
  background-color: #fff;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Elegant headings using Playfair Display */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #1a202c;
  margin-top: 0;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

h4 {
  font-size: 1.5rem;
  font-weight: 600;
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1rem;
  font-weight: 500;
}

/* Elegant paragraph styling */
p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 1rem;
  font-weight: 400;
}

/* Links */
a {
  color: #2E8B57;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #26734d;
}

/* Buttons - elegant styling */
button, .btn {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Lists */
ul, ol {
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #2E8B57;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-to-top:hover {
  background: #26734d;
  transform: translateY(-2px);
}

/* Mobile Styles */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .scroll-to-top {
    width: 44px !important;
    height: 44px !important;
    bottom: 20px !important;
    right: 20px !important;
  }
  
  .scroll-to-top svg {
    width: 20px !important;
    height: 20px !important;
  }
}

/* Small Mobile Styles */
@media (max-width: 480px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .scroll-to-top {
    width: 40px !important;
    height: 40px !important;
    bottom: 15px !important;
    right: 15px !important;
  }
  
  .scroll-to-top svg {
    width: 18px !important;
    height: 18px !important;
  }
}


/* TEMPORARY: Force button to be visible for debugging */
#scrollToTopBtn {
    display: flex !important;
    opacity: 1 !important;
    background: rgb(16, 141, 68) !important;
    bottom: 30px !important;
    right: 30px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 9999 !important;
}






/* =============================================
   COOKIES POPUP STYLES
   ============================================= */

/* Cookies Popup Overlay */
.cookies-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cookies-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Cookies Popup Container */
.cookies-popup {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  width: 90%;
  max-width: 420px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  padding: 24px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.cookies-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Close Button */
.cookies-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: #f8f9fa;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #666;
  font-size: 18px;
}

.cookies-close:hover {
  background: #e9ecef;
  color: #333;
  transform: rotate(90deg);
}

/* Cookies Content */
.cookies-content {
  text-align: center;
  padding-right: 8px;
}

.cookies-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  background: #2E8B57;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

.cookies-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cookies-text {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
  margin-bottom: 24px;
}

.cookies-text a {
  color: #2E8B57;
  text-decoration: underline;
}

/* Cookies Buttons */
.cookies-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cookies-btn {
  font-family: 'Inter', sans-serif;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  max-width: 140px;
}

.cookies-btn.accept {
  background: #2E8B57;
  color: white;
}

.cookies-btn.accept:hover {
  background: #26734d;
  transform: translateY(-1px);
}

.cookies-btn.settings {
  background: #f8f9fa;
  color: #666;
  border: 1px solid #e9ecef;
}

.cookies-btn.settings:hover {
  background: #e9ecef;
  border-color: #dee2e6;
}

/* Laptop/Desktop Styles - Wider Box */
@media (min-width: 1024px) {
  .cookies-popup {
    max-width: 520px;
    padding: 28px;
  }
  
  .cookies-content {
    padding-right: 12px;
  }
  
  .cookies-title {
    font-size: 22px;
  }
  
  .cookies-text {
    font-size: 15px;
    margin-bottom: 28px;
  }
  
  .cookies-buttons {
    gap: 16px;
  }
  
  .cookies-btn {
    padding: 14px 28px;
    max-width: 160px;
    font-size: 15px;
  }
}

/* Large Desktop Styles */
@media (min-width: 1440px) {
  .cookies-popup {
    max-width: 560px;
  }
}

/* Tablet Styles */
@media (max-width: 1023px) and (min-width: 769px) {
  .cookies-popup {
    max-width: 480px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookies-popup {
    bottom: 20px;
    padding: 20px;
    max-width: 90%;
  }
  
  .cookies-close {
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .cookies-content {
    padding-right: 4px;
  }
  
  .cookies-title {
    font-size: 18px;
  }
  
  .cookies-text {
    font-size: 13px;
    margin-bottom: 20px;
  }
  
  .cookies-buttons {
    flex-direction: column;
    gap: 8px;
  }
  
  .cookies-btn {
    max-width: 100%;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .cookies-popup {
    bottom: 15px;
    padding: 16px;
    border-radius: 12px;
  }
  
  .cookies-close {
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  
  .cookies-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .cookies-title {
    font-size: 16px;
  }
  
  .cookies-text {
    font-size: 12px;
  }
}

/* Cookies Settings (Advanced) */
.cookies-settings {
  display: none;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  text-align: left;
}

.cookies-settings.active {
  display: block;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f8f9fa;
}

.setting-item:last-child {
  border-bottom: none;
}

.setting-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .3s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #2E8B57;
}

input:checked + .toggle-slider:before {
  transform: translateX(20px);
}

/* Laptop settings adjustments */
@media (min-width: 1024px) {
  .cookies-settings {
    margin-top: 24px;
    padding-top: 24px;
  }
  
  .setting-item {
    padding: 14px 0;
  }
  
  .setting-label {
    font-size: 15px;
  }
}


/* --- Active Nav Link Styling --- */
.nav-link.active-link {
    color: var(--primary-color, #709395) !important; 
    font-weight: 700;
    border-bottom: 3px solid var(--primary-color, #709395);
    padding-bottom: 5px;
}

.nav-link:not(.active-link) {
    opacity: 0.7; 
    transition: opacity 0.3s ease;
}