@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
  box-sizing: border-box;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: #0c0c0c;
  background-color: #ffffff;
  overflow-x: hidden;
}


h1,
h2 {
  font-family: 'Playfair Display', serif;
}

/*header section*/

:root {
  --c1: #fff;
  --c2: #42a5f5;
  --c3: #a8dadc;
  --c4: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
  /*   
  --bg: #112;
  --c1: blue;
  --c2: white;
  --c3: #eef; 
  */
}
header {
  height: 70vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  background:linear-gradient(270deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
}

@keyframes showBars {
  0% {
    opacity: 0;
    background-position: -400% 7%, 500% 21%, -400% 35%, 500% 49%, -400% 63%,
      500% 77%, -400% 91%;
  }
  14% {
    background-position: 0% 7%, 500% 21%, -400% 35%, 500% 49%, -400% 63%,
      500% 77%, -400% 91%;
  }
  28% {
    background-position: 0% 7%, 100% 21%, -400% 35%, 500% 49%, -400% 63%,
      500% 77%, -400% 91%;
  }
  42% {
    background-position: 0% 7%, 100% 21%, 0% 35%, 500% 49%, -400% 63%, 500% 77%,
      -400% 91%;
  }
  56% {
    background-position: 0% 7%, 100% 21%, 0% 35%, 100% 49%, -400% 63%, 500% 77%,
      -400% 91%;
  }
  70% {
    background-position: 0% 7%, 100% 21%, 0% 35%, 100% 49%, 0% 63%, 500% 77%,
      -400% 91%;
  }
  84% {
    background-position: 0% 7%, 100% 21%, 0% 35%, 100% 49%, 0% 63%, 100% 77%,
      -400% 91%;
  }
  98%,
  100% {
    opacity: 1;
    background-position: 0% 7%, 100% 21%, 0% 35%, 100% 49%, 0% 63%, 100% 77%,
      0% 91%;
  }
}

header::after {
  content: "";
  width: 100%;
  height: 20vh;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(270deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
  background-repeat: no-repeat;
  background-size: 70% 7%;
  background-image: linear-gradient(var(--c1), var(--c1)),
    linear-gradient(var(--c2), var(--c2)), linear-gradient(var(--c1), var(--c1)),
    linear-gradient(var(--c2), var(--c2)), linear-gradient(var(--c1), var(--c1)),
    linear-gradient(var(--c2), var(--c2)), linear-gradient(var(--c1), var(--c1));
  background-position: 0% 7%, 100% 21%, 0% 35%, 100% 49%, 0% 63%, 100% 77%,
    0% 91%;
  animation: showBars 3.5s;
}

@keyframes showText {
  0% {
    opacity: 0;
    transform: translate(0, -100%);
  }
  20% {
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: translate(0, 0);
  }
}

header > div {
  position: relative;
  transform: translate(-100%, 0);
  opacity: 0;
  animation: showText 2s 1;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
  text-align: center;
}

@media all and (min-width: 768px) {
  @keyframes showBarsBig {
    0% {
      opacity: 0;
      background-position: 7% -400%, 21% 500%, 35% -400%, 49% 500%, 63% -400%,
        77% 500%, 91% -400%;
    }
    14% {
      background-position: 7% 0%, 21% 500%, 35% -400%, 49% 500%, 63% -400%,
        77% 500%, 91% -400%;
    }
    28% {
      background-position: 7% 0%, 21% 100%, 35% -400%, 49% 500%, 63% -400%,
        77% 500%, 91% -400%;
    }
    42% {
      background-position: 7% 0%, 21% 100%, 35% 0%, 49% 500%, 63% -400%,
        77% 500%, 91% -400%;
    }
    56% {
      background-position: 7% 0%, 21% 100%, 35% 0%, 49% 100%, 63% -400%,
        77% 500%, 91% -400%;
    }
    70% {
      background-position: 7% 0%, 21% 100%, 35% 0%, 49% 100%, 63% 0%, 77% 500%,
        91% -400%;
    }
    84% {
      background-position: 7% 0%, 21% 100%, 35% 0%, 49% 100%, 63% 0%, 77% 100%,
        91% -400%;
    }
    98%,
    100% {
      opacity: 1;
      background-position: 7% 0%, 21% 100%, 35% 0%, 49% 100%, 63% 0%, 77% 100%,
        91% 0%;
    }
  }

  @keyframes showTextBig {
    0% {
      opacity: 0;
      transform: translate(-100%, 0);
    }
    20% {
      opacity: 0;
    }
    100% {
      opacity: 1;
      transform: translate(0vw, 0);
    }
  }

  header {
    height: 30vh;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background:linear-gradient(270deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
  }

  header::after {
    width: 20vw;
    height: 100%;
    background-size: 7% 70%;
    background-position: 7% 0%, 21% 100%, 35% 0%, 49% 100%, 63% 0%, 77% 100%,
      91% 0%;
    animation-name: showBarsBig;
  }

  header > div {
    animation-name: showTextBig;
    margin-left: 22vw;
    text-align: left;
  }

  h1 {
    font-size: 8vw;
  }

  p {
    font-size: 4vw;
    margin-bottom: 0;
  }
}

@media (prefers-reduced-motion) {
  header::after {
    animation: none !important;
  }

  @keyframes showTextReduced {
    0% {
      opacity: 0;
    }
    100% {
      opacity: 1;
    }
  }

  header > div {
    transform: translate(0, 0);
    animation-name: showTextReduced;
    animation-delay: 0.5s !important;
  }
}
.header_section {
    padding: 15px 0;
}

.header_section .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  padding-left: 140px;
}

.navbar-brand span {
  font-weight: bold;
  font-size: 32px;
  color: #000000;
}

.custom_nav-container {
  padding: 0;
}

.custom_nav-container .navbar-nav {
  margin-left: auto;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
    padding: 5px 20px;
    color: #131313;
    text-align: center;
    text-transform: uppercase;
    border-radius: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: 700;
}

.custom_nav-container .navbar-nav .nav-item .nav-link svg {
  width: 17px;
  height: auto;
  fill: #000000;
  margin-bottom: 2px;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link, .custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: #8acf8d;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link svg, .custom_nav-container .navbar-nav .nav-item.active .nav-link svg {
  fill: #8acf8d;
}

.custom_nav-container .navbar-toggler {
  outline: none;
}

.custom_nav-container .navbar-toggler {
  padding: 0;
  width: 37px;
  height: 42px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span {
  display: block;
  width: 35px;
  height: 4px;
  background-color: #000000;
  margin: 7px 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  position: relative;
  border-radius: 5px;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::before, .custom_nav-container .navbar-toggler span::after {
  content: "";
  position: absolute;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000000;
  top: -10px;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.custom_nav-container .navbar-toggler span::after {
  top: 10px;
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] {
  -webkit-transform: rotate(360deg);
          transform: rotate(360deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

.custom_nav-container .navbar-toggler[aria-expanded="true"] span::before, .custom_nav-container .navbar-toggler[aria-expanded="true"] span::after {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
  top: 0;
}

/*end header section*/

/*About Us Section */
/* About Section */
.about-section {
    padding: 60px 20px;
    background-color: none;
}

.about-heading {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #aad69b;
}

/* Two-column Layout */
.about-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1100px;
    margin: auto;
    flex-wrap: wrap;
}

.about-col {
    flex: 1 1 45%;
    min-width: 300px;
    padding-left: 10px;
}

.about-image {
    width: 100%;
    border-radius: 10px;
}

.about-col h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #42a5f5;
}

.about-col p {
    font-size: 1rem;
    line-height: 1.7;
    color: #42a5f5;
}

/* ---------- Fade Animations ---------- */

/* Initial state (hidden) */
.fade-in,
.fade-left,
.fade-right {
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
}

/* Left animation */
.fade-left {
    transform: translateX(-40px);
}

/* Right animation */
.fade-right {
    transform: translateX(40px);
}

/* When visible */
.show {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .about-row {
        flex-direction: column;
        text-align: center;
    }
}


/*End About Us Section */

/*Footer Section */
.footer {
	padding: 30px 30px 30px;
	background: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
	border-top: 1px solid var(--metal-dark);
	position: relative;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 1fr 1fr;
	gap: 20px;
	margin-bottom: 40px;
}

.footer-brand {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.footer-logo {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.footer-description {
	color: var(--text-secondary);
	line-height: 1.6;
	font-size: 14px;
}

.footer-social a {
    display: inline-block;
    margin: 0 10px;
    font-size: 24px;
    color: #fff;       /* icon color */
    background: none;  /* circle background */
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    transition: 0.3s ease;
}

.footer-social a:hover {
    background: #7fb153;
    color: #fff;
}

.footer-section h4 {
	color: var(--text-primary);
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 16px;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer-links a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 14px;
}

.footer-links a:hover {
	color: var(--accent-purple);
	padding-left: 10px;
}

.footer-bottom {
	padding-top: 10px;
	border-top: 1px solid var(--metal-dark);
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 0;
}

.copyright {
	color: var(--text-dim);
	font-size: 14px;
}

.footer-credits {
	color: var(--text-dim);
	font-size: 14px;
}

.footer-credits a {
	color: var(--accent-purple);
	text-decoration: none;
}

.footer-credits a:hover {
	text-decoration: underline;
}

/* responsive tweaks */
@media (max-width:767px) {
  .footer_section {
    padding: 30px 0;
  }

  .footer_section .social_box a {
    margin-bottom: 8px;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
	.contact-container {
		grid-template-columns: 1fr;
	}

	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}

  
  .footer-brand{
    padding-left: 10%;
  }
  
  .footer-social{
    padding-left: 26px;
  }
}

@media (max-width: 768px) {
	.footer-content {
		grid-template-columns: 1fr;
		text-align: center;
	}

  .footer-brand{
    padding-left: 10%;
  }
  
  .footer-social{
    padding-left: 26px;
  }

	.footer-bottom {
		flex-direction: column;
		gap: 20px;
		text-align: center;
	}
}

/* Footer ends */

/* Section Style */
:root{
  --primary: #98ca6d;
  --primary-600: #7fb153;
  --muted: #f5f6f7;
  --text: #0c0c0c;
  --accent: #42a5f5;
  --container-max: 1200px;
}

/* Generic section wrapper */
.section {
  padding: 80px 0;
  background-color: #ffffff;
  color: var(--text);
  width: 100%;
}

/* Alternate background variant */
.section--alt {
  background-color: var(--muted);
}

/* Constrain inner content */
.section .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

/* Section titles */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--text);
  font-weight: 700;
  text-transform: none;
}

.section-subtitle {
  color: rgba(0,0,0,0.6);
  font-size: 15px;
  margin-bottom: 28px;
  font-weight: 500;
  max-width: 760px;
}

/* Two-column content layout */
.section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

/* Full width content */
.section-row--single {
  grid-template-columns: 1fr;
}

/* Responsive grid for feature lists/cards */
.section-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Feature / card */
.feature-card {
  background: #fff;
  border-radius: 10px;
  padding: 22px;
  box-shadow: 0 6px 18px rgba(12,12,12,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  border: 1px solid rgba(12,12,12,0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(12,12,12,0.08);
}

.feature-card .icon {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 14px;
  font-size: 20px;
}

/* Section content pieces */
.section p {
  margin: 0 0 16px;
  color: rgba(12,12,12,0.85);
  line-height: 1.65;
  font-size: 15px;
}

.section .lead {
  font-size: 18px;
  color: rgba(12,12,12,0.9);
  font-weight: 500;
  margin-bottom: 20px;
}

/* Buttons */
.btn-section {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  transition: background .15s ease, transform .12s ease;
  border: 0;
  cursor: pointer;
}

.btn-section:hover {
  background: var(--primary-600);
  transform: translateY(-2px);
}

/* Hero / banner style for top of a section */
.section-hero {
  padding: 100px 0;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.2));
  pointer-events: none;
}

/* Utilities */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 8px !important; }
.mb-2 { margin-bottom: 16px !important; }
.mb-3 { margin-bottom: 24px !important; }

/* Responsive tweaks */
@media (max-width: 991px) {
  .section {
    padding: 56px 0;
  }
  .section-row {
    grid-template-columns: 1fr;
  }
  .section-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .section {
    padding: 40px 0;
  }
  .section-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 24px;
  }
}
.invalid-feedback,
.empty-feedback {
  display: none;
}

.was-validated :placeholder-shown:invalid ~ .empty-feedback {
  display: block;
}

.was-validated :not(:placeholder-shown):invalid ~ .invalid-feedback {
  display: block;
}

.is-invalid,
.was-validated :invalid {
  border-color: #dc3545;
}

/**------CONTACT form STYLE------**/
/* Contact Section */
.contact-section {
	padding: 25px 30px;
	background: linear-gradient(180deg,
			var(--carbon-dark) 0%,
			var(--primary-black) 100%);
	position: relative;
}

.contact-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: start;
}

.contact-info {
	padding: 40px;
	background: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
	border: 1px solid var(--metal-dark);
	border-radius: 20px;
}

.info-item {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	padding: 20px;
	background: var(--carbon-dark);
	border-radius: 10px;
	transition: all 0.3s ease;
	text-decoration: none;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.info-item::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg,
			transparent,
			rgba(153, 69, 255, 0.1),
			transparent);
	transition: left 0.5s ease;
}

.info-item:hover::before {
	left: 100%;
}

.info-item:hover {
	transform: translateX(10px);
	background: rgba(153, 69, 255, 0.1);
	box-shadow: 0 5px 20px rgba(153, 69, 255, 0.2);
}

a.info-item {
	color: inherit;
	text-decoration: none;
}

.info-icon {
	width: 50px;
	height: 50px;
	background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20px;
	color: var(--text-primary);
	font-size: 20px;
	flex-shrink: 0;
	transition: all 0.3s ease;
}

.info-item:hover .info-icon {
	transform: scale(1.1) rotate(10deg);
	box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.info-text h4 {
	color: var(--text-primary);
	margin-bottom: 5px;
	font-size: 16px;
	text-transform: uppercase;
	letter-spacing: 1px;
	transition: all 0.3s ease;
}

.info-item:hover .info-text h4 {
	color: var(--accent-cyan);
}

.info-text p {
	color: var(--text-secondary);
	font-size: 14px;
	transition: all 0.3s ease;
}

.info-item:hover .info-text p {
	color: var(--text-primary);
}

/* Add external link indicator for clickable items */
.info-item[target="_blank"] .info-text p::after {
	content: ' ↗';
	font-size: 12px;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.info-item[target="_blank"]:hover .info-text p::after {
	opacity: 1;
}

.contact-form {
	padding: 40px 40px 28px 40px;
	background: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
	border: 1px solid var(--metal-dark);
	border-radius: 20px;
}

.form-group {
	margin-bottom: 25px;
}

.form-group label {
	display: block;
	color: var(--text-secondary);
	margin-bottom: 10px;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 1px;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 15px;
	background: var(white);
	border: 1px solid var(--metal-dark);
	border-radius: 8px;
	color: var(--text-primary);
	font-size: 14px;
	transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: var(--accent-purple);
	box-shadow: 0 0 10px rgba(153, 69, 255, 0.2);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.submit-btn {
	width: 100%;
	padding: 15px;
	background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
	border: none;
	border-radius: 8px;
	color: var(--text-primary);
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 5px 15px rgba(153, 69, 255, 0.3);
}

.submit-btn:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(153, 69, 255, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
	.contact-container {
		grid-template-columns: 1fr;
	}
}


/**** ----- CONTACT END -----------****/

/** LOGO_Container_Styling**/
/* The main window/viewport that crops the moving track */
.logo-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    background-color: #ffffff;
    padding: 20px 0; /* Add vertical padding, horizontal padding is handled by the animation */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow: hidden; /* Hides the duplicated logos until they scroll into view */
    white-space: nowrap; /* Prevents logos from wrapping */
}

/* The inner container that holds all logos and moves horizontally */
.logo-track {
    display: inline-flex; /* Ensures it acts like a single long line */
    gap: 60px; /* Increased space between logos for better visual separation during scroll */
    animation: scroll 4s linear infinite; /* Animation applied here: duration 30s, linear speed, infinite loop */
}

/* Stops the animation when the user hovers over the container */
.logo-container:hover .logo-track {
    animation-play-state: paused;
}

.logo-track img {
    max-height: 50px;
    width: auto;
    opacity: 0.8;
    /* Important for animation performance: define rendering layer */
    will-change: transform ; 
}

/* Define the animation movement */
@keyframes scroll {
    0% {
        /* Start position: 0% of its own width from the left */
        transform: translateX(0);
    }
    100% {
        /* End position: Move left by exactly half the track's total width */
        transform: translateX(-50%);
    }
}
/** LOGO_Container_Styling_end **/

/***Products Page css***/
/* NAV */
.btn {
  background: #fff;
  color: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
  padding: 8px 12px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600
}

.icon-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #070707;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer
}

/* page header */
.hero {
  padding: 18px 20px;
  background: #fff;
  border-bottom: 1px solid #eef2f7
}

.hero h2 {
  margin: 0 0 6px 0
}

.controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center
}

.controls input,
.controls select {
  padding: 10px;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  min-width: 180px
}

/* grid */
.content {
  display: grid;
  gap: 20px;
  padding: 20px
}

@media(max-width:980px) {
  .content {
    grid-template-columns: 1fr
  }
}

.products-wrap {
  background: transparent
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px
}

/* animated card */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  box-shadow: var(--card-shadow);
  transition: transform .28s cubic-bezier(.2, .9, .3, 1), box-shadow .28s;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 36px rgba(10, 20, 60, 0.12)
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 16px
}

.meta {
  font-size: 13px;
  color: #475569;
  margin-bottom: 10px
}

.sku {
  font-family: monospace;
  font-size: 12px;
  color: #6b7280
}

.price-line {
  margin-top: 8px
}

.price-select {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 8px 0;
  flex-wrap: wrap
}

.price-select label {
  font-size: 13px;
  display: flex;
  gap: 6px;
  align-items: center
}

.add-btn {
  background: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  font-weight: 700
}

/* pagination */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  padding: 12px
}

.page-btn {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #e6e9ef;
  background: #fff;
  cursor: pointer
}

.page-btn.active {
  background: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%);
  color: #fff;
  border-color: linear-gradient(90deg, #42a5f5 0%, #8cb5d6 50%, #a9c5a0 100%)
}

/* sidebar cart */
.cart-sidebar {
  position: fixed;
  right: 0;
  top: 0;
  height: 100%;
  width: 380px;
  background: #fff;
  box-shadow: -20px 0 40px rgba(10, 20, 60, 0.12);
  transform: translateX(110%);
  transition: transform .28s;
  z-index: 1200;
  display: flex;
  flex-direction: column
}

.cart-sidebar.open {
  transform: translateX(0)
}

.cart-header {
  padding: 16px;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  justify-content: space-between;
  align-items: center
}

.cart-body {
  padding: 12px;
  overflow: auto;
  flex: 1
}

.cart-footer {
  padding: 12px;
  border-top: 1px solid #eef2f7
}

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #fbfcff;
  margin-bottom: 8px
}

.qty {
  display: flex;
  gap: 6px;
  align-items: center
}

.ghost {
  opacity: .6;
  font-size: 13px
}

/* checkout modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 7, 18, 0.48);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1300
}

.modal-backdrop.open {
  display: flex
}

.modal {
  background: #fff;
  padding: 18px;
  border-radius: 12px;
}

/* small helpers */
.flex {
  display: flex;
  gap: 10px;
  align-items: center
}

.muted {
  color: #6b7280
}

/* HOME PAGE PRODUCT GRID */

/*Account button modal css */
/* PROFILE PANEL */
.profile-panel .profile-text {
    flex: 1;
    overflow: hidden;
}

.profile-panel .profile-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-panel .profile-text p {
    margin: 0;
    font-size: 12px;
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#profileBox {
  padding: 8px 15px;
  background: #ffffff;
  border: 2px solid #42a5f5;
  color: #42a5f5;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  margin-left: 20px;
  transition: 0.3s;
}

#profileBox:hover {
  background: #42a5f5;
  color: #fff;
}
/* Default profile icon box */
#profileBox {
    padding: 6px 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

/* Highlighted when NOT logged in */
#profileBox.not-logged {
    border-color: #42a5f5;
    background: #e3f2fd;
    box-shadow: 0 0 10px rgba(66,165,245,0.5);
}

/* Logged-in state (normal) */
#profileBox.logged {
    border-color: #4caf50;
    background: #e8f5e9;
}


.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.profile-panel {
    position: fixed;
    top: 80px;
    right: 40px;
    width: 320px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
    padding: 20px;
    z-index: 99999;
    display: none;
    animation: fadeIn 0.25s ease-out;
}

.profile-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    display: none;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-text {
    display: flex;
    flex-direction: column;   /* Stack vertically */
}


.profile-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 3px solid #007bff;
}

.profile-name {
    font-size: 18px;
    margin: 0;
    font-weight: 700;
}

.profile-email {
    font-size: 14px;
    margin: 0;
    color: #555;
}

.profile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-btn,
.logout-btn {
    display: block;
    background: #f4f7fb;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: 0.25s;
}

.profile-btn:hover {
    background: #e8effc;
}

.logout-btn {
    background: #ffe5e5;
    color: #c53030;
}

.logout-btn:hover {
    background: #ffcccc;
}

/* Small fade animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.profile-panel {
    display: none;
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    transform: translateY(-8px);
}

.profile-panel.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.profile-backdrop {
    display: none;
}

.profile-backdrop.show {
    display: block;
}

/* ===== Modern Popup Overlay ===== */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.25s ease-in-out;
}

.modal.open {
  display: flex;
  animation: fadeIn 0.3s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(1.05); }
  to   { opacity: 1; transform: scale(1); }
}

/* ===== Glassmorphism Card ===== */
.modal-content {
  width: 350px;
  background: rgba(255, 255, 255, 0.2);
  padding: 25px;
  border-radius: 15px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

/* ===== Buttons ===== */
.modal-content button {
  width: 80%;
  padding: 12px;
  margin-top: 12px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s ease;
}

/* Primary (Confirm / Login) */
.modal-content button:nth-child(1) {
  background: linear-gradient(45deg, #4facfe, #00f2fe);
  color: #fff;
}

.modal-content button:nth-child(1):hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.4);
}

/* Secondary (Close/Cancel) */
.modal-content .closeBtn {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.modal-content .closeBtn:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ===== Checkout Lines Styling ===== */
.check-line {
  display: flex;
  justify-content: space-between;
  margin: 8px 0;
  font-size: 16px;
  color: #fff;
}

.check-total {
  font-size: 18px;
  margin-top: 10px;
  color: #fff;
  font-weight: bold;
}

/* Divider Line */
.modal-content hr {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.4);
  margin: 15px 0;
}

