/* Google Translate Styles - Hide all Google UI and prevent shifts */
.goog-te-banner-frame.skiptranslate {
  display: none !important;
}
body {
  top: 0px !important;
  position: static !important;
}
.goog-te-gadget-icon {
  display: none !important;
}
.goog-te-gadget-simple {
  display: none !important;
}
.goog-te-gadget-simple .goog-te-menu-value {
  color: #333 !important;
}
.goog-te-menu2 {
  max-width: 100% !important;
}
.goog-te-menu2-item div,
.goog-te-menu2-item:link div,
.goog-te-menu2-item:visited div,
.goog-te-menu2-item:active div {
  color: #333 !important;
}

.secndary-background {
  background-color: var(--color-secondary-200);
}

/* Prevent Google Translate from causing layout shifts */
.goog-te-banner-frame {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
}

/* Hide Google Translate widget completely */
#google_translate_element {
  display: none !important;
}

/* Prevent any Google Translate UI from showing */
.goog-te-gadget {
  display: none !important;
}

/* Smooth translation without visual shifts */
body.translated {
  transition: none !important;
}

/* Prevent shifts during translation */
body.translating {
  transition: none !important;
  transform: none !important;
}

/* Hide Google Translate select dropdown */
select.goog-te-combo {
  display: none !important;
}

/* Prevent Google Translate from translating hover states and tooltips */
.dropdown:hover,
.dropdown-toggle:hover,
.dropdown-item:hover,
.nav-link:hover,
button:hover,
.btn-primary:hover,
.btn-secondary:hover,
.scroll-to-top-btn:hover {
  -webkit-transform: none !important;
  transform: none !important;
  transition: none !important;
}

/* Prevent translation of hover text content */
.dropdown:hover *,
.dropdown-toggle:hover *,
.dropdown-item:hover * {
  -webkit-transform: none !important;
  transform: none !important;
}

/* Exclude specific elements from Google Translate */
.notranslate {
  -webkit-transform: none !important;
  transform: none !important;
}

/* Prevent any layout shifts from Google Translate */
.goog-te-banner-frame,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-gadget-icon {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
  display: none !important;
}

/* Custom language dropdown styles */
.language-dropdown-container {
  position: relative;
  display: inline-block;
}
.VIpgJd-yAWNEb-L7lbkb > div {
  display: none !important;
}
.language-dropdown-container .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.language-dropdown-container .dropdown-menu.show {
  display: block;
}

.language-dropdown-container .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out;
}

.language-dropdown-container .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #16181b;
}

.language-dropdown-container .flag-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  border-radius: 2px;
}

:root {
  /* ======================= */
  /*      Color Variables    */
  /* ======================= */
  --color-primary-400: #5262da;
  --color-primary-500: #495ad8;
  --color-primary-600: #3346d3;
  --color-secondary-100: #f9f9f9;
  --color-secondary-200: #fafafa;
  --color-secondary-300: #cccccc;
  --color-secondary-400: #dddddd;
  --color-secondary-500: #646464;
  --color-dark: #242424;
  --color-white: #ffffff;
  --color-light: #dddddd;
  --color-gray-100: #eeeeee;

  /* ======================= */
  /*    Gradient Variables   */
  /* ======================= */
  --gradient-primary: linear-gradient(
    180deg,
    var(--color-primary-400) 0%,
    var(--color-primary-500) 100%
  );
  --gradient-active: linear-gradient(
    180deg,
    var(--color-primary-400) 0%,
    var(--color-primary-600) 100%
  );
  --gradient-button: linear-gradient(
      0deg,
      var(--color-gray-100),
      var(--color-gray-100)
    ),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15) 23.96%,
      rgba(255, 255, 255, 0) 100%
    );

  /* ======================= */
  /*    Typography Variables */
  /* ======================= */
  --font-sans: "Inter";

  /* Font Sizes */
  --font-size-xs: 12px;
  --font-size-sm: 14px;
  --font-size-base: 16px;
  --font-size-lg: 20px;
  --font-size-xl: 24px;
  --font-size-2xl: 36px;
  --font-size-3xl: 44px;

  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Line Heights */
  --line-height-tight: 120%;
  --line-height-snug: 130%;
  --line-height-normal: 150%;
  --line-height-relaxed: 160%;
  --line-height-loose: 180%;

  /* Letter Spacing */
  --letter-spacing-normal: 0%;
  --letter-spacing-wide: 1%;
  --letter-spacing-wider: 0.05em;

  /* ======================= */
  /*     Layout Variables    */
  /* ======================= */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 20px;
  --spacing-2xl: 24px;
  --spacing-3xl: 32px;
  --spacing-4xl: 48px;
  --spacing-5xl: 64px;
  --spacing-6xl: 96px;

  /* ======================= */
  /*      Card Variables     */
  /* ======================= */
  --card-width: auto;
  --card-radius: 14px;
  --card-radius-lg: 16px;
  --card-border-width: 1px;
  --card-border-color: var(--color-secondary-400);
  --card-padding: var(--spacing-2xl);
  --card-padding-lg: var(--spacing-3xl);
  --card-gap: var(--spacing-lg);

  /* ======================= */
  /*     Button Variables    */
  /* ======================= */
  --button-radius: 10px;
  --button-padding-block: 10px;
  --button-bg: linear-gradient(0deg, #eeeeee, #eeeeee),
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.15) 23.96%,
      rgba(255, 255, 255, 0) 100%
    );

  /* ======================= */
  /*    Font Color Variables */
  /* ======================= */
  --font-color-primary: #242424;
  --font-color-secondary: #646464;

  /* ======================= */
  /*  Specific Font Sizes    */
  /* ======================= */
  --font-size-title: 20px;
  --font-size-price: 36px;
  --font-size-date: 36px;
  --font-size-list: 16px;
  --font-size-button: 20px;

  /* ======================= */
  /*    Active State Colors  */
  /* ======================= */
  --active-font-color-primary: var(--color-white);
  --active-background: var(--gradient-active);

  /* ======================= */
  /*      Breakpoints        */
  /* ======================= */
  --breakpoint-mobile: 767px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
}

/* ======================= */
/*      Base Styles        */
/* ======================= */
/* Google Translate Styles */

.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}

/* Hide Google Translate UI completely */
.goog-te-banner-frame.skiptranslate {
  visibility: hidden !important;
}
body {
  top: 0px !important;
}
.goog-te-gadget-icon {
  visibility: hidden !important;
}
.goog-te-gadget-simple {
  visibility: hidden !important;
}
.goog-te-gadget-simple .goog-te-menu-value {
  color: #333 !important;
}
.goog-te-menu2 {
  max-width: 100% !important;
}
.goog-te-menu2-item div,
.goog-te-menu2-item:link div,
.goog-te-menu2-item:visited div,
.goog-te-menu2-item:active div {
  color: #333 !important;
}

/* Custom language dropdown styles */
.language-dropdown-container {
  position: relative;
  display: inline-block;
}

.language-dropdown-container .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  min-width: 200px;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.375rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.175);
}

.language-dropdown-container .dropdown-menu.show {
  display: block;
}

.language-dropdown-container .dropdown-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  color: #212529;
  text-decoration: none;
  transition: background-color 0.15s ease-in-out;
}

.language-dropdown-container .dropdown-item:hover {
  background-color: #f8f9fa;
  color: #16181b;
}

.language-dropdown-container .flag-icon {
  width: 20px;
  height: 20px;
  margin-right: 0.5rem;
  border-radius: 2px;
}
* {
  margin: 0;
  padding: 0;
}
body,
html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}
ul,
li {
  list-style-type: none;
}

button {
  border: none;
  transition: transform 0.3s;
  display: inline-block;
  cursor: pointer;
  background-color: transparent;
}
button.btn-primary,
a.btn-primary {
  background: var(--gradient-primary); /* Define this in your CSS */
  font-size: 1rem;
  border-radius: 0.5rem;
  color: white;
  padding: 1rem 45px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
  display: inline-block;
  cursor: pointer;
}
button.btn-secondary,
a.btn-secondary {
  background: white; /* Define this in your CSS */
  font-size: 1rem;
  border-radius: 0.5rem;
  color: rgb(0, 0, 0);
  border: 1px solid #cccccc;
  padding: 1rem 45px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.3s;
  display: inline-block;
  cursor: pointer;
}
button:hover {
  transform: scale(1.03);
}
/* ======================= */
/*      Typography         */
/* ======================= */
h2 span,
h2.section-title span {
  color: var(--color-primary-500);
}

h2.section-title {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-3xl);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-normal);
  margin: 0;
}

h3.small-title {
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-primary-500);
  margin: 0;
}

h4.cart-title {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-lg);
  line-height: var(--line-height-normal);
  letter-spacing: var(--letter-spacing-normal);
  color: var(--color-dark);
  margin: 0;
}

p.p-section {
  font-weight: var(--font-weight-normal);
  font-size: 20px;
  line-height: var(--line-height-relaxed);
  letter-spacing: var(--letter-spacing-wide);
  color: var(--color-secondary-500);
  padding-block: 48px;
}
@media (max-width: 767px) {
  h3.small-title {
    font-size: 12px;
  }

  h2.section-title {
    font-size: 20px;
  }

  p.p-section {
    font-size: 12px;
    padding-block: 16px;
  }
}

p.cart-text {
  font-weight: var(--font-weight-normal);
  font-size: var(--font-size-base);
  line-height: var(--line-height-loose);
  letter-spacing: var(--letter-spacing-normal);
  color: #646464;
}

/* ======================= */
/*      Layout & Grid      */
/* ======================= */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.col-span-3 {
  grid-column: span 3;
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-3 {
  gap: var(--spacing-md);
}

@media (max-width: 767px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ======================= */
/*      Spacing Utils      */
/* ======================= */
.space-y-1 > * + * {
  margin-top: var(--spacing-xs);
}

.space-y-2 > * + * {
  margin-top: var(--spacing-sm);
}

.space-y-3 > * + * {
  margin-top: var(--spacing-md);
}

.space-y-4 > * + * {
  margin-top: var(--spacing-lg);
}

.space-y-6 > * + * {
  margin-top: var(--spacing-2xl);
}

.my-24px {
  margin-top: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
  .md\:mt-8px {
    margin-top: 8px;
  }
}

/* ======================= */
/*      Container Utils    */
/* ======================= */
.container-x {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-container {
  padding: 88px 7%;
}

@media (max-width: 767px) {
  .section-container {
    padding: 36px 12px;
  }
}

@media (min-width: 1441px) {
  .section-container {
    padding: 88px 2%;
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* ======================= */
/*     Utility Classes     */
/* ======================= */
.d-none {
  display: none !important;
}
.text-white {
  color: #fff;
}

.text-light {
  color: #dddddd;
}

.text-center {
  text-align: center;
}

.plan-side-by-side-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

.plan-content-text {
  padding-right: 24px;
}

.plan-content-text h2 {
  padding-bottom: 31px;
  text-align: start;
}

.plan-content-text p {
  font-size: 18px;
  line-height: 1.6;
  color: #646464;
  text-align: start;
}

.plan-card-wrapper {
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .plan-side-by-side-container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .plan-content-text {
    padding-right: 0;
    order: 1;
    text-align: center;
  }
  .plan-content-text h2 {
    text-align: center;
    padding-bottom: 16px;
  }
  .plan-content-text p {
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 1%;
    padding-bottom: 0;
  }

  .plan-card-wrapper {
    order: 2;
  }
}

.fade-section {
  opacity: 0;
  transform: translateY(150px);
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-section.show {
  opacity: 1;
  transform: translateY(0);
}
.navbar-brand,
.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: #212529;
  display: block;
}

a.navbar-brand:hover,
.footer-logo:hover {
  color: #242424;
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  text-align: center;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--color-primary-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-spinner p {
  color: #333;
  font-size: 16px;
  margin: 0;
}

/* ======================= */
/*      Portfolio Grid     */
/* ======================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.portfolio-item {
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .portfolio-grid {
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-inline: 20px;
  }

  .portfolio-item {
    height: 400px;
    cursor: pointer;
  }
}

/* ======================= */
/*      Image Modal        */
/* ======================= */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

.image-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10001;
  transition: background-color 0.3s ease;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.7);
}

.modal-content img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 767px) {
  .modal-content {
    max-width: 95%;
    max-height: 85%;
  }

  .modal-close {
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
  }
}
