/* ==========================================================================
   Base Styles & Resets
   ========================================================================== */

html {
  scroll-behavior: smooth; /* Smooth scroll for anchor links */
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #ffffff !important; /* Force white background for the entire page */
  color: #000000; /* Default true black text */
  margin: 0; /* Remove default margin */
}

/* ==========================================================================
   Header Styles
   ========================================================================== */
.site-header {
  text-align: center;
  color: #ffffff; /* White text for header */
  /* Basic sticky header implementation */
  position: sticky;
  top: 0;
  z-index: 1000; /* Ensure it's above other content */
  /* section-shadow-darker is applied in HTML, consider adding its properties here if preferred */
}

/* Ensure header link is white and stays white, with no underline */
.site-header.gradient-tech-bg h1 a,
.site-header.gradient-tech-bg h1 a:hover {
  color: #ffffff !important; /* Force white color */
  text-decoration: none !important; /* Force no underline */
}

/* ==========================================================================
   Font Families
   ========================================================================== */

.font-bengali,
.font-bengali h1,
.font-bengali h2,
.font-bengali h3,
.font-bengali p,
.font-bengali a,
.font-bengali span,
.font-bengali div {
  font-family: "Hind Siliguri", sans-serif;
}

.font-english-dynamic {
  font-family: "Rubik", sans-serif !important;
}

/* ==========================================================================
   Layout & Background Styles
   ========================================================================== */

.gradient-tech-bg {
  background-image: linear-gradient(
    162deg,
    #0f172a 8%,
    #047857 50%,
    #06b6d4 100%
  );
  color: #ffffff; /* Default text: White */
}

/* NOTE: Replace Tailwind color classes in HTML with specific classes like .text-highlight-yellow */
.gradient-tech-bg h2,
.gradient-tech-bg h3,
.gradient-tech-bg .text-highlight-yellow { /* Example for highlighted text */
  color: #f8f804; /* Yellow */
}
/* NOTE: Add this if you use .text-highlight-cyan in your HTML */
.gradient-tech-bg .text-highlight-cyan {
  color: #06b6d4; /* Cyan color from your gradient */
}

.gradient-tech-bg p {
  color: #ffffff; /* White for paragraphs for readability on gradient */
}

.bg-white {
  background-color: #ffffff; /* Ensure white background */
  color: #000000; /* Default text color for elements within .bg-white is True Black */
}

/* ==========================================================================
   Typography
   ========================================================================== */

/* Headings on White Background */
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white .text-dark { /* NOTE: Use .text-dark in HTML instead of e.g. text-slate-800 */
  color: #1f2937; /* A common dark color, adjust as needed. Or inherit from .bg-white */
}

/* Specific Text Color Overrides */
/* NOTE: For prices, ensure they have specific classes if not covered by general rules */
.gradient-tech-bg .price-main { /* Example class for main price */
  color: #ffeb3b !important;
}
.gradient-tech-bg .price-strikethrough { /* Example class for strikethrough price */
  color: #ffffff;
  text-decoration: line-through;
}

/* ==========================================================================
   Buttons & Icons
   ========================================================================== */

/* Glowing Gradient Icons for Buttons */
.btn-icon-dollar:before,
.btn-icon-cart:before,
.btn-icon-scroll:after {
  margin-right: 0.5em;
  display: inline-block;
  background-image: linear-gradient(70deg, #ffd700, #ff8c00); /* Gold to DarkOrange */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.8), 0 0 5px rgba(255, 223, 0, 0.7), 0 0 8px rgba(255, 165, 0, 0.5);
}
.btn-icon-dollar:before { content: "$"; }
.btn-icon-cart:before { content: "🛒"; }
.btn-icon-scroll:after { content: "▼"; margin-left: 0.5em; margin-right: 0; }


.button-unified {
  display: inline-block;
  background-color: #1f2937; /* Dark Gray */
  color: #ffeb3b; /* Yellow text */
  padding: 0.85rem 1.7rem; /* Explicit padding */
  text-decoration: none;
  border-radius: 49px;
  font-weight: 700; /* Bold */
  font-size: 1rem; /* Explicit font size */
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  text-align: center;
}

.button-unified:hover {
  background-color: #000000; /* Black on hover */
  color: #fbc02d; /* Darker yellow on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.4);
}

/* Combined .button-custom-cyan and .button-custom-sky as they were identical */
/* NOTE: Use this class in HTML for those buttons */
.button-custom-dark-gradient {
  display: inline-block; /* Ensure it behaves like a button if it's an anchor */
  padding: 0.85rem 1.7rem; /* Match .button-unified or define as needed */
  text-decoration: none; /* Remove underline from anchor */
  background-image: linear-gradient(120deg, #374151 0%, #111827 100%);
  color: #ffeb3b;
  font-weight: 700;
  border-radius: 49px;
  transition: background-image 0.4s ease, transform 0.2s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  text-align: center;
}
.button-custom-dark-gradient:hover {
  background-image: linear-gradient(120deg, #1f2937 0%, #000000 100%);
  color: #fbc02d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.5);
}

.button-custom-whatsapp {
  display: inline-block; /* Ensure it behaves like a button if it's an anchor */
  padding: 0.85rem 1.7rem; /* Consistent padding */
  text-decoration: none; /* Remove underline from anchor */
  background-image: linear-gradient(120deg, #374151 0%, #111827 100%);
  color: #ffeb3b;
  font-weight: 700;
  border-radius: 39px; /* Different radius for WhatsApp */
  transition: background-image 0.4s ease, transform 0.2s ease, color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.2); /* Added subtle shadow */
  border: none;
  cursor: pointer;
  text-align: center;
}
.button-custom-whatsapp:hover {
  background-image: linear-gradient(120deg, #1f2937 0%, #000000 100%);
  color: #fbc02d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.4); /* Added hover shadow */
}
.button-custom-whatsapp svg {
  fill: #5DC003;
  vertical-align: middle; /* Better alignment with text */
}


/* ==========================================================================
   END Countdown Timer Section
   ========================================================================== */

/* ==========================================================================
   Utility Classes (Examples - expand as needed)
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

/* Shadow Utilities */
.section-shadow {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.section-shadow-darker {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.25),
    0 10px 10px -5px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   Specific Section Overrides
   ========================================================================== */

/* NOTE: In HTML, replace class="bg-red-700" with class="section-warning" on the et_pb_section */
.et_pb_section.section-warning {
  background-color: #000000 !important; /* True Black background */
  border: 2px solid #ffeb3b !important; /* Yellow border, ensure it's visible */
  padding: 1.5rem; /* Add some padding */
}
.et_pb_section.section-warning h1 {
  color: #ffeb3b !important; /* Yellow heading */
}
.et_pb_section.section-warning p {
  color: #ffffff !important; /* White text */
}

/* Footer Text */
/* NOTE: In HTML, for the specific footer paragraph, use class="footer-text-dark" */
.et_pb_section .footer-text-dark {
  color: #000000 !important; /* True Black */
}

/* ==========================================================================
   Links
   ========================================================================== */

.gradient-tech-bg a {
  color: #ffeb3b;
  text-decoration: underline; /* Add underline for non-button links */
}
.gradient-tech-bg a:hover {
  color: #fbc02d;
  text-decoration: none; /* Optionally remove underline on hover */
}

/* Links on White Background / Default Body Links */
.bg-white a:not(.button-unified):not(.button-custom-dark-gradient):not(.button-custom-whatsapp),
body a:not(.button-unified):not(.button-custom-dark-gradient):not(.button-custom-whatsapp) {
  color: #0056b3; /* A standard link blue, or choose your own */
  text-decoration: underline;
}

.bg-white a:not(.button-unified):not(.button-custom-dark-gradient):not(.button-custom-whatsapp):hover,
body a:not(.button-unified):not(.button-custom-dark-gradient):not(.button-custom-whatsapp):hover {
  color: #000000; /* Black on hover */
  text-decoration: none;
}

/* ==========================================================================
   Custom List Styles for Centered Section with Left-Aligned Items
   ========================================================================== */

.centered-list-section {
  text-align: center;
}
.centered-list-section .custom-list-wrapper { /* New wrapper for inline-block centering */
  display: inline-block;
  text-align: left;
}
.centered-list-section .custom-list {
  list-style-type: none;
  padding-left: 0;
  margin-top: 0;
  margin-bottom: 0;
}
.centered-list-section .custom-list li {
  margin-bottom: 8px;
  /* Example: if you want icons and text aligned */
  /* display: flex; */
  /* align-items: flex-start; */
}
/* .centered-list-section .custom-list li .icon { margin-right: 0.5em; } */


/* Generic centered block with left-aligned content */
.centered-content-block-container { /* Parent needs text-align: center */
    text-align: center;
}
.centered-content-block {
  display: inline-block;
  text-align: left;
  max-width: 100%; /* Ensure it doesn't overflow parent */
}

/* ==========================================================================
   Contact Page Specific Styles
   ========================================================================== */

#contact-form-section.gradient-tech-bg {
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
  padding-right: 1rem;
  text-align: center;
  width: 98%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 15px;
  /* margin-top: 1.5rem; /* Removed to eliminate space below sticky header */
}

.contact-page-header {
  margin-bottom: 2.5rem;
}

#contact-form-section.gradient-tech-bg h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 2.8rem;
  color: #FFD700;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

#contact-form-section.gradient-tech-bg p.section-subheading { /* Added .section-subheading for clarity */
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  color: #E0E0E0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  margin-bottom: 2rem; /* Added margin below subheading */
}

.contact-form-wrapper {
  /* This wrapper might not be strictly necessary if .contact-form handles its own centering */
  /* display: flex;
  justify-content: center;
  align-items: center; */
  margin-top: 1rem;
}

.contact-form {
  max-width: 440px;
  width: 90%;
  margin: 0 auto; /* Centers the form */
  padding: 28px 32px;
  background: #1f2937;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  color: #FFD700;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  font-family: "Inter", sans-serif;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #374151;
  background: #0f172a;
  color: #E0E0E0;
  font-size: 1em;
  font-family: "Inter", sans-serif;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%; /* Ensure inputs take full width of form-group */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form select:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23CBD5E1'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 1.3em;
  padding-right: 40px; /* Make space for the arrow */
}

.contact-form .cta-button-submit.button-unified {
  width: 100%;
  font-size: 1.1em;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 10px;
  font-family: "Orbitron", sans-serif;
}

/* Payment Method Details */
.payment-method-details {
  background: #0f172a;
  color: #E0E0E0;
  padding: 20px;
  margin: 25px auto; /* Increased top/bottom margin */
  border-radius: 8px;
  border: 1px solid #374151;
  max-width: 500px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.15);
}

.payment-method-details:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.35), 0 0 12px rgba(255, 223, 0, 0.25);
}

.payment-method-details h3 {
  color: #FFD700;
  font-family: "Orbitron", sans-serif;
  font-size: 1.4em;
  margin-top: 0;
  margin-bottom: 15px;
  border-bottom: 1px solid #374151;
  padding-bottom: 10px;
  text-align: center;
}

.payment-method-details p,
.payment-method-details li {
  font-family: "Inter", sans-serif;
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 0.75em;
}
.payment-method-details strong {
  color: #FFD700;
  font-weight: bold; /* Ensure strong is bold */
}
.payment-method-details ul { /* Style for lists within payment details */
    list-style-position: inside;
    padding-left: 0;
}


.copy-button {
  background-color: #FFD700; color: #0f172a; border: none; padding: 3px 8px; font-size: 0.8em; border-radius: 4px; cursor: pointer; margin-left: 8px; font-weight: bold;
}
.copy-button:hover { background-color: #fbc02d; }

/* Success and Error Messages */
.contact-success-message,
.contact-error-message {
  max-width: 400px;
  width: 90%;
  margin: 32px auto 0 auto;
  border-radius: 10px;
  text-align: center;
  padding: 22px 20px;
  font-family: "Inter", sans-serif;
}

.contact-success-message {
  background: #047857;
  box-shadow: 0 4px 20px rgba(4, 120, 87, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}
.contact-success-message svg {
  width: 48px; /* Example size, adjust as needed */
  height: 48px;
  fill: #FFD700; /* Or #ffffff */
}
.contact-success-message .success-title {
  color: #FFD700;
  font-size: 1.3em;
  font-weight: 700;
}
.contact-success-message .success-details {
  color: #ffffff;
  font-size: 1.05em;
  line-height: 1.5;
}

/* Animated Success Icon Styles */
.animated-check {
    width: 48px;
    height: 48px;
}

.animated-check-circle,
.animated-check-path {
    /* Set initial state for animation: path is not drawn */
    stroke-dasharray: 139; /* Circumference of circle with r=22 is ~138.2 */
    stroke-dashoffset: 139;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.65, 0, 0.45, 1); /* Smooth animation */
}

.animated-check-path {
    stroke-dasharray: 26; /* Approximate length of the checkmark path */
    stroke-dashoffset: 26;
    transition-delay: 0.3s; /* Start drawing checkmark after circle is partially drawn */
}

/* Animation trigger class added by JS */
.contact-success-message.animate .animated-check-circle,
.contact-success-message.animate .animated-check-path {
    stroke-dashoffset: 0; /* Animate to the fully drawn state */
}

.contact-error-message {
  background: #b91c1c;
  box-shadow: 0 2px 10px rgba(185, 28, 28, 0.3);
  color: #ffffff;
  font-size: 1.05em;
  font-weight: 500;
}

/* ==========================================================================
   Footer Styles
   ========================================================================== */

.site-footer .et_pb_text a {
  text-decoration: none; /* Remove default underline */
}

.site-footer .et_pb_text a:hover {
  text-decoration: underline; /* Add underline on hover, as intended by hover:underline class */
}


/* Responsive adjustments for contact page */
@media (min-width: 640px) { /* sm breakpoint */
  #contact-form-section.gradient-tech-bg {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  #contact-form-section.gradient-tech-bg h1 {
    font-size: 2.2rem; /* Adjusted from 2.8rem for smaller screens */
  }
  #contact-form-section.gradient-tech-bg p.section-subheading {
    font-size: 1rem; /* Adjusted from 1.15rem */
  }
  .contact-form {
    padding: 20px 25px; /* Slightly reduced padding */
    gap: 15px; /* Slightly reduced gap */
  }
  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form select {
    padding: 10px 12px;
    font-size: 0.95em;
  }
  .contact-form .cta-button-submit.button-unified {
    font-size: 1em;
    padding-top: 10px;
    padding-bottom: 10px;
  }
} /* End of @media (min-width: 640px) */

@media (min-width: 1024px) { /* lg breakpoint */
  #contact-form-section.gradient-tech-bg {
    padding-left: 2rem;
    padding-right: 2rem;
  }
  /* Restore larger font sizes for larger screens if desired */
  #contact-form-section.gradient-tech-bg h1 {
    font-size: 2.8rem;
  }
  #contact-form-section.gradient-tech-bg p.section-subheading {
    font-size: 1.15rem;
  }
}

/* Style for the "Data Fields" title text */
.et_pb_text .font-bengali .data-fields-title-text {
  font-weight: bold !important;
  color: #ffeb3b !important;
}

/* ==========================================================================
   Mobile Specific Styles for Data Fields List
   ========================================================================== */
@media (max-width: 767px) {
  .et_pb_column .et_pb_text > .font-bengali.data-fields-container { /* Add .data-fields-container class to this parent in HTML */
    text-align: center;
  }

  .et_pb_column .et_pb_text > .font-bengali .data-fields-list {
    display: inline-block;
    padding-left: 0;
    list-style-type: none;
    margin: 0; /* Reset margin */
  }

  .et_pb_column .et_pb_text > .font-bengali .data-fields-list li {
    display: flex;
    align-items: flex-start;
    text-align: left;
    margin-bottom: 5px;
  }

  /* NOTE: In HTML, the icon span should have class="list-icon-highlight" instead of text-yellow-400 */
  .et_pb_column .et_pb_text > .font-bengali .data-fields-list li .list-icon-highlight {
    margin-right: 0.5em;
    flex-shrink: 0;
    color: #ffeb3b; /* Assuming the icon should be yellow */
    /* Add any other icon-specific styles here, like font-size if it's a font icon */
  }
  .et_pb_column .et_pb_text > .font-bengali .data-fields-list li .list-text-content {
    /* Class for the text part of the list item, if needed for specific styling */
  }
}
