/*
 * File: MultipleFiles/all.css
 * Description: This stylesheet contains global styles, utility classes,
 *              loader animations, default element styling, and responsive
 *              adjustments for the entire website.
 */

/*------------------------------------------------------------------------------
  # Global Reset & Base Styles
------------------------------------------------------------------------------*/

/* Universal box-sizing reset */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Text selection styling */
::selection {
  background-color: #ffefd8; /* Light peach background */
  color: var(--dark); /* Dark text color */
}

::-moz-selection {
  background-color: #ffefd8;
  color: var(--dark);
}

/* Root CSS variables for consistent theming */
:root {
  --primary: #29275b; /* Dark blue */
  --dark_primary: #11102a; /* Even darker blue */
  --secondary: #f3920c; /* Orange/Amber */
  --dark_secondary: #e88b09; /* Darker orange */
  --light: #fffffff6; /* Almost white */
  --footer_black: #192020; /* Dark grey for footer */
  --white: #ffffff; /* Pure white */
  --dark: #000000f6; /* Almost black */
  --black: #000000; /* Pure black */
  --green: #6da544; /* Green */
  /* Social media colors (assuming they will be defined here or elsewhere) */
  /* --facebook: #3b5998; */
  /* --instagram: #e1306c; */
  /* --linkedin: #0077b5; */
  /* --skype: #00aff0; */
  /* --dribbble: #ea4c89; */
  /* --dribbble_fill: #ffffff; */
  /* --ease_transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
}

/* HTML base styles */
html {
  scroll-behavior: smooth; /* Smooth scrolling for anchor links */
  overflow-x: hidden; /* Prevents horizontal scrollbar */
}

/* Body base styles */
body {
  overflow-x: hidden; /* Prevents horizontal scrollbar */
  background: url("../img/texture_bg.png"),
    linear-gradient(0deg, #fffcf7, #fffcf7); /* Background texture with gradient fallback */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; /* System font stack */
  cursor: auto; /* Default cursor */
}

/* Content wrapper to prevent horizontal overflow */
#content {
  overflow-x: hidden;
}

/*------------------------------------------------------------------------------
  # Loader Styles
------------------------------------------------------------------------------*/

.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    #fffcf7,
    #ffffff
  ); /* Light gradient background */
  z-index: 10000; /* Ensures loader is on top of everything */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-logo {
  width: 120px;
  height: auto;
  margin-bottom: 2rem;
  opacity: 0; /* Initially hidden, likely animated with JS */
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: rgba(243, 146, 12, 0.2); /* Light secondary color for track */
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.loader-bar {
  width: 0%; /* Initially zero width, animated with JS */
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--secondary),
    var(--dark_secondary)
  ); /* Gradient fill */
  border-radius: 10px;
}

.loader-text {
  color: var(--dark);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0; /* Initially hidden, likely animated with JS */
}

/* Material Icons specific styling */
.material-icons {
  font-size: 20px !important; /* Ensures consistent icon size */
}

/* Custom scrollbar styling for Webkit browsers */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1; /* Light grey track */
}

::-webkit-scrollbar-thumb {
  background: var(--secondary); /* Secondary color for thumb */
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark_secondary); /* Darker secondary on hover */
}

/*------------------------------------------------------------------------------
  # Default & Utility Styles
------------------------------------------------------------------------------*/

/* Wrapper for content max-width */
.wrapper {
  max-width: 1380px;
}

/* Line height utility */
.lh_sm {
  line-height: 1.1 !important;
}

/* Heading separator line */
.heading_separator {
  height: 4px;
  width: 80px;
  background: linear-gradient(90deg, var(--secondary), var(--dark_secondary));
  border-radius: 10px;
  margin: 1rem 0;
}

/* Link hover effect: secondary color */
.link_hover_secondary {
  color: #404040;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link_hover_secondary:hover {
  color: var(--secondary);
  transform: translateY(-1px); /* Slight lift effect */
}

/* Link hover effect: light color */
.link_hover_light {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.link_hover_light:hover {
  color: var(--white);
  transform: translateY(-1px); /* Slight lift effect */
}

/* Pointer cursor utility */
.pointer {
  cursor: pointer !important;
}

/* Transition utility for 0.25s duration */
.trans_25 {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Dropdown item styling */
a.dropdown-item {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  margin: 2px 0;
}

a.dropdown-item:hover {
  background: linear-gradient(
    135deg,
    #ffefd8,
    #fff5e6
  ); /* Light peach gradient */
  color: var(--dark);
  transform: translateX(4px); /* Slide effect */
}

/*------------------------------------------------------------------------------
  # Text Styles
------------------------------------------------------------------------------*/

.text_light {
  color: var(--light) !important;
}

.text_lighter {
  color: rgba(255, 255, 255, 0.7);
}

.text_dark {
  color: var(--dark) !important;
}

/*------------------------------------------------------------------------------
  # Font Sizes
------------------------------------------------------------------------------*/

.fs_5 {
  font-size: 1.1rem !important;
}

.fs_6 {
  font-size: 0.95rem !important;
}

.fs_7 {
  font-size: 0.9rem !important;
}

.fs_xs {
  font-size: 0.85rem !important;
}

/*------------------------------------------------------------------------------
  # Enhanced Button Styles
------------------------------------------------------------------------------*/

/* Secondary button */
.btn_secondary {
  user-select: none; /* Prevents text selection */
  padding: 0.75rem 1.5rem !important;
  background: linear-gradient(
    135deg,
    var(--secondary),
    var(--dark_secondary)
  ) !important;
  border: none;
  color: var(--white) !important;
  fill: var(--white) !important; /* For SVG icons */
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px; /* Pill shape */
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden; /* Hides pseudo-element overflow */
}

/* Shine effect for secondary button */
.btn_secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%; /* Starts off-screen to the left */
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  ); /* White transparent gradient */
  transition: left 0.5s;
}

.btn_secondary:hover::before {
  left: 100%; /* Moves across the button on hover */
}

.btn_secondary:hover {
  transform: translateY(-2px); /* Slight lift effect */
  box-shadow: 0 8px 25px rgba(243, 146, 12, 0.4); /* Shadow with secondary color */
}

/* Transparent button */
.btn_transparent {
  user-select: none;
  padding: 0.75rem 1.5rem !important;
  background: transparent !important;
  border: 2px solid rgba(255, 255, 255, 0.3); /* Semi-transparent white border */
  color: var(--white) !important;
  fill: var(--white) !important;
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 500;
  backdrop-filter: blur(10px); /* Blurs content behind the button */
}

.btn_transparent:hover {
  background: rgba(
    255,
    255,
    255,
    0.1
  ) !important; /* Slightly more opaque background */
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Dark button */
.btn_dark {
  user-select: none;
  padding: 0.75rem 1.5rem !important;
  background: var(--dark) !important;
  border: none;
  color: var(--white) !important;
  fill: var(--white) !important;
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 600;
}

.btn_dark:hover {
  background: var(--black) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Submit button (dark gradient) */
.btn_submit {
  user-select: none;
  padding: 0.75rem 1.5rem !important;
  background: linear-gradient(
    135deg,
    #232521,
    #1a1a1a
  ) !important; /* Dark grey gradient */
  border: none;
  color: var(--white) !important;
  fill: var(--white) !important;
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 600;
}

.btn_submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(35, 37, 33, 0.4);
}

/* Primary button */
.btn_primary {
  user-select: none;
  padding: 0.75rem 1.5rem !important;
  background: linear-gradient(
    135deg,
    var(--primary),
    var(--dark_primary)
  ) !important;
  border: none;
  color: var(--white) !important;
  fill: var(--white) !important;
  text-decoration: none !important;
  outline: none !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  font-weight: 600;
}

.btn_primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(41, 39, 91, 0.4);
}

/*------------------------------------------------------------------------------
  # Navbar - Clean Layout and Transitions
------------------------------------------------------------------------------*/

.navbar {
  position: fixed !important; /* Fixed position at the top */
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; /* Ensures navbar is above other content */
  background: transparent; /* Transparent by default */
  backdrop-filter: blur(0px); /* No blur by default */
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
  padding: 1rem 0;
}

/* Navbar scrolled state */
.navbar.scrolled {
  background: rgba(
    255,
    255,
    255,
    0.95
  ) !important; /* Semi-transparent white background */
  backdrop-filter: blur(20px); /* Blurs content behind */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 0.7rem 0; /* Reduced padding */
}

/* Navbar state when past video (similar to scrolled) */
.navbar.past-video {
  background: transparent !important; /* Can be transparent or semi-transparent */
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  padding: 0.7rem 0;
}

/* Navbar brand styling */
.navbar-brand {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .navbar-brand,
.navbar.past-video .navbar-brand {
  transform: scale(0.9); /* Slightly shrinks brand on scroll */
}

/* Navbar links - transparent state */
.navbar .nav-link {
  color: rgba(
    255,
    255,
    255,
    0.95
  ) !important; /* Light color for transparent state */
  position: relative;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Text shadow for contrast */
  margin: 0 0.5rem;
}

.navbar .nav-link:hover {
  color: var(--secondary) !important;
  text-shadow: 0 0 10px rgba(243, 146, 12, 0.5); /* Glow effect on hover */
}

/* Navbar links - scrolled state */
.navbar.scrolled .nav-link,
.navbar.past-video .nav-link {
  color: var(--dark) !important; /* Dark color for scrolled state */
  text-shadow: none; /* Removes text shadow */
}

.navbar.scrolled .nav-link:hover,
.navbar.past-video .nav-link:hover {
  color: var(--secondary) !important;
  text-shadow: none;
}

/* Navbar link underline effect */
.navbar .nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0; /* Initially zero width */
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--dark_secondary));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.navbar .nav-link:hover::after {
  width: 80%; /* Expands to 80% width on hover */
}

/* Dropdown menu styling */
.navbar .dropdown-menu {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  padding: 0.6rem;
  margin-top: 0.5rem;
}

/* Mobile navbar toggler */
.navbar-toggler {
  border: none;
  color: rgba(255, 255, 255, 0.9); /* Light color for transparent state */
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.navbar.scrolled .navbar-toggler,
.navbar.past-video .navbar-toggler {
  color: var(--dark); /* Dark color for scrolled state */
}

.navbar-toggler:focus {
  box-shadow: none; /* Removes outline on focus */
}
/* Language Buuton */
/* Language Button */
.lang-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.95); /* Matches .nav-link default */
  font-weight: 500;
  font-size: 0.85rem;
  padding: 6px 12px;
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled .lang-btn,
.navbar.past-video .lang-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--dark);
  text-shadow: none;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Dropdown Menu */
.lang-dropdown {
  min-width: 140px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.lang-dropdown .dropdown-item {
  font-size: 0.85rem;
  color: #333;
  /* padding: 8px 14px; */
  transition: 0.2s ease-in-out;
}

.lang-dropdown .dropdown-item:hover {
  background-color: #f2f2f2;
  color: #000;
}

/* Responsive adjustments for mobile navbar */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  }

  .navbar .nav-link {
    color: var(--dark) !important; /* Dark links in mobile menu */
    text-shadow: none;
    padding: 0.75rem 0;
  }
}

@media (max-width: 991px) {
  .dropdown .btn-secondary {
    padding: 4px 10px;
    font-size: 0.8rem;
  }
}

/*------------------------------------------------------------------------------
  # Form Styles
------------------------------------------------------------------------------*/

.inputPadding {
  padding: 0.75rem 1rem !important;
}

.inputField {
  background: #fafafa !important; /* Light grey background */
  border: 2px solid #e0e0e0 !important; /* Light grey border */
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.inputField::placeholder {
  color: #999; /* Grey placeholder text */
}

.inputField:focus {
  border-color: var(--secondary); /* Secondary color border on focus */
  box-shadow: 0 0 0 3px rgba(243, 146, 12, 0.1); /* Light shadow with secondary color */
  background: #ffffff !important; /* White background on focus */
}

/* Specific styling for dropdown items within navbarDropdown */
.navbarDropdown a.dropdown-item {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  position: relative;
  z-index: 9999; /* Ensures dropdown items are above other content */
}

/*------------------------------------------------------------------------------
  # Smooth Scroll Offset
------------------------------------------------------------------------------*/

/* Adjusts scroll position for anchor links to account for fixed header */
html {
  scroll-padding-top: 120px; /* Offset for fixed navbar */
}

/*------------------------------------------------------------------------------
  # Animation Classes (for AOS or custom JS animations)
------------------------------------------------------------------------------*/

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
}

/*------------------------------------------------------------------------------
  # Footer Styles
------------------------------------------------------------------------------*/
/* Footer Section */
/* Bridge Section Styling */
.footer-bridge-section {
  background: linear-gradient(to right, #f1f3f6, #f7f9fb);
  border-top: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  overflow: hidden;
}

.footer-bridge-section::before {
  content: "";
  position: absolute;
  top: -60px;
  left: -60px;
  width: 200px;
  height: 200px;
  background: rgba(255, 165, 0, 0.1); /* soft orange shape */
  border-radius: 50%;
  z-index: 0;
}

.footer-bridge-section h3 {
  position: relative;
  font-size: 2rem;
  color: #1b1b1b;
  z-index: 1;
}

.footer-bridge-section .footer-bridge-desc {
  max-width: 620px;
  font-size: 1rem;
  color: #444;
  z-index: 1;
  position: relative;
}

.footer-bridge-section .btn {
  z-index: 1;
  position: relative;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-bridge-section .btn:hover {
  background: #1b3b6f;
  color: #fff;
  border-color: #1b3b6f;
}

/* Optional responsive tweaks */
@media (max-width: 768px) {
  .footer-bridge-section h3 {
    font-size: 1.5rem;
  }

  .footer-bridge-section .footer-bridge-desc {
    font-size: 0.95rem;
  }
}

/* Footer Base */
footer {
  background: #f9f9f9; /* Light background to contrast the dark logo */
  color: #222;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
}

/* Footer Title */
footer h2 {
  color: #1a1a1a;
  font-weight: 500;
}

/* Footer Paragraph */
footer p {
  color: #666;
}

/* Footer Legal Links */
footer ul {
  padding-left: 0;
  margin: 0;
}

footer ul li {
  margin-bottom: 6px;
}

footer ul li a {
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer ul li a:hover {
  color: #000;
  text-decoration: underline;
}

/* Footer Bottom Bar */
footer hr {
  border-color: #ddd;
  opacity: 0.6;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

footer .text-muted {
  color: #999 !important;
}

/* Footer Logo (optional enhancement if it's too dark) */
footer img {
  max-height: 50px;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.2));
}

/* Responsive Alignment */
@media (max-width: 768px) {
  footer .text-md-end {
    text-align: left !important;
    margin-top: 1rem;
  }

  footer .d-flex.justify-content-between.flex-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Cookie Card */
.cookie-card {
  max-width: 320px;
  padding: 1rem;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.05);

  /* Added for animation */
  position: fixed;
  bottom: -150px; /* hidden initially */
  right: 20px;
  opacity: 0;
  z-index: 9999;
}

.title {
  font-weight: 600;
  color: rgb(31 41 55);
}

.description {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgb(75 85 99);
}

.description a {
  --tw-text-opacity: 1;
  color: rgb(59 130 246);
}

.description a:hover {
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
}

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  -moz-column-gap: 1rem;
  column-gap: 1rem;
  flex-shrink: 0;
}

.pref {
  font-size: 0.75rem;
  line-height: 1rem;
  color: rgb(31 41 55);
  -webkit-text-decoration-line: underline;
  text-decoration-line: underline;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  background-color: transparent;
}

.pref:hover {
  color: rgb(156 163 175);
}

.pref:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.accept {
  font-size: 0.75rem;
  line-height: 1rem;
  background-color: rgb(17 24 39);
  font-weight: 500;
  border-radius: 0.5rem;
  color: #fff;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  border: none;
  transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.accept:hover {
  background-color: rgb(55 65 81);
}

.accept:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
