:root {
  --blue-dark: #0a2540;
  --blue-main: #2563eb;
  --blue-light: #60a5fa;
  --blue-lighter: #e0f2fe;
  --blue-accent: #38bdf8;
  --blue-card: #f8fafc;
  --white: #fff;
  --gray-light: #f3f6fa;
  --gradient-main: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
  --gradient-accent: linear-gradient(135deg, #2563eb 60%, #38bdf8 100%);
}

body {
  margin: 0;
  font-family: 'Inter', 'Poppins', 'Montserrat', Arial, sans-serif;
  background: var(--gray-light);
  color: var(--blue-dark);
  width: 100vw;
  max-width: 100vw;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

.container {
  width: 85%;
  max-width: 1500px;
  margin: 0 auto;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.company-logo {
  width: 103px;
  height: 63px;
  border-radius: 15%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.logo-name {
  margin-top: 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-accent);
  letter-spacing: 1px;

  /* Letter border (stroke) */
  -webkit-text-stroke: 0.8px #e0f2fe;
  color: var(--blue-accent);
  text-shadow: 0 2px 8px rgba(56,189,248,0.12);
}

nav a {
  color: var(--blue-dark);
  background: var(--gradient-main);
  border-radius: 9px;
  padding: 0.3em 1em;
  margin-left: 0.2em;
  font-weight: 1000;
  transition: background 0.2s, color 0.2s;
  font-size: large;
}

nav a:hover {
  background: var(--blue-accent);
  color: var(--white);
}

header {
  background: var(--gradient-main);
  color: var(--white);
  padding: 1.2rem 0;
  box-shadow: 0 2px 8px rgba(10,37,64,0.07);
  background-image: url('images/background.png');  
  background-repeat: no-repeat; 
  background-size: cover; 
  background-position: center;
}

.about-section {
  background: var(--blue-lighter);
  padding: 3rem 0 2rem 0;
  border-bottom: 1px solid var(--blue-light);
  animation: fadeInUp 1s;
}

.about-section h1 {
  font-size: 2.2rem;
  color: var(--blue-main);
  margin-bottom: 1rem;
}

.about-section ul {
  margin: 1rem 0 1.5rem 1.5rem;
}

.products-section {
  background: var(--gray-light);
  padding: 3rem 0;
}

.products-section h2 {
  font-size: 2rem;
  color: var(--blue-dark);
  margin-bottom: 2rem;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--blue-card);
  border: 2px solid var(--blue-accent);
  box-shadow: 0 4px 16px rgba(37,99,235,0.10);
  padding: 1.5rem 1rem 2rem 1rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  animation: fadeInUp 0.8s;
  position: relative;
  overflow: hidden;
  border: 2px solid var(--blue-lighter);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 220px;
  max-width: 220px;
  width: 220px;
  height: 400px;
}

.product-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 8px 32px rgba(56,189,248,0.16);
  border-color: var(--blue-accent);
}

.product-card img {
  width: 200px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
  margin: 0 auto 1rem auto;
  background: var(--blue-lighter);
}

.product-card h3 {
  color: var(--blue-main);
}

.product-card p {
  color: var(--blue-dark);
}

.know-more-btn {
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  padding: 0.7em 1.4em;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  outline: none;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}

.know-more-btn:hover {
  background: var(--blue-main);
  color: var(--white);
}

.partners-section {
  background: var(--blue-lighter);
  padding: 2.5rem 0 2rem 0;
  border-top: 1px solid var(--blue-light);
  border-bottom: 1px solid var(--blue-light);
  text-align: center;
}

.partners-section h2 {
  color: var(--blue-main);
  margin-bottom: 1.5rem;
}

.partners-logos {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1.5px solid var(--blue-accent);
  border-radius: 10px;
  padding: 1rem 1.5rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.07);
}

.partner-logo {
  width: 70px;
  height: 70px;
  margin-bottom: 0.5rem;
  background: var(--blue-lighter);
  border-radius: 50%;
}

footer {
  background: var(--gradient-main);
  color: var(--white);
  padding: 2rem 0 1rem 0;
  margin-top: 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.footer-container a {
  color: var(--blue-accent);
  text-decoration: underline;
}

.projects,
.whatsapp-btn {
  display: flex;
  align-items: center;
  background: var(--blue-accent);
  color: var(--white);
  padding: 0.7em 1.4em;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1em;
  transition: background 0.3s;
  box-shadow: 0 2px 12px rgba(56,189,248,0.08);
  position: relative;
}

.whatsapp-btn:hover {
  background: var(--blue-main);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
  margin-right: 0.7em;
}

.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--blue-accent); }
  70% { box-shadow: 0 0 0 10px rgba(56,189,248,0.0); }
  100% { box-shadow: 0 0 0 0 var(--blue-accent); }
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--blue-accent);
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s forwards;
}

.abouttt {
  background: var(--blue-lighter);
  padding: 3rem 0 2rem 0;
  border-bottom: 1px solid var(--blue-light);
  animation: fadeInUp 1s;
  padding-left: 25px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px);}
  to { opacity: 1; transform: translateY(0);}
}

/* Horizontal scroll for product cards */
#product-grid {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 100px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
  scrollbar-color: #2563eb #e5e7eb;
}
#product-grid::-webkit-scrollbar {
  height: 10px;
}
#product-grid::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 6px;
}
#product-grid::-webkit-scrollbar-track {
  background: #e5e7eb;
  border-radius: 5px;
}

/* Stylish scroll arrow buttons for product grid */
#scroll-left, #scroll-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: linear-gradient(135deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  font-size: 2em;
  box-shadow: 0 4px 16px rgba(37,99,235,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  outline: none;
}
#scroll-left:hover, #scroll-right:hover {
  background: linear-gradient(135deg, #1741a6 60%, #38bdf8 100%);
  box-shadow: 0 8px 32px rgba(37,99,235,0.28);
  transform: translateY(-50%) scale(1.12);
}
#scroll-left:active, #scroll-right:active {
  background: linear-gradient(135deg, #2563eb 80%, #1741a6 100%);
  box-shadow: 0 2px 8px rgba(37,99,235,0.18);
}

.product-scroll-container {
  position: relative;
  max-width: 100vw;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px; /* Optional: adds space for buttons */
}

#scroll-left {
  left: 0;
}
#scroll-right {
  right: 0;
}
#scroll-left, #scroll-right {
  top: 50%;
  position: absolute;
  /* ...existing button styles... */
}

/* Scroll to top button */
#scrollToTopBtn {
  position: fixed;
  right: 24px;
  bottom: 32px;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37,99,235,0.18);
  font-size: 2em;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
#scrollToTopBtn:hover {
  background: linear-gradient(135deg, #1741a6 60%, #38bdf8 100%);
  box-shadow: 0 8px 32px rgba(37,99,235,0.28);
  transform: scale(1.12);
}

/* Home button styling */
.home-btn {
  display: inline-block;
  background: linear-gradient(135deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 24px;
  text-decoration: none;
  font-size: 1.1em;
  box-shadow: 0 2px 8px rgba(37,99,235,0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-btn:hover {
  background: linear-gradient(135deg, #1741a6 60%, #38bdf8 100%);
  box-shadow: 0 8px 32px rgba(37,99,235,0.28);
  transform: scale(1.08);
}

/* Modal box design for product details */
.product-modal {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(37,99,235,0.18), 0 1.5px 8px rgba(56,189,248,0.08);
  border: 1.5px solid var(--blue-lighter);
  max-width: 400px;
  width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2.2rem 1.5rem 2rem 1.5rem;
  animation: fadeInUp 0.5s;
  position: relative;
}
.product-modal img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 8px rgba(37,99,235,0.10);
}
.product-modal h2 {
  color: var(--blue-main);
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}
.product-modal p {
  color: var(--blue-dark);
  font-size: 1.05rem;
  line-height: 1.7;
}
.product-modal button {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, #2563eb 60%, #38bdf8 100%);
  color: #fff;
  border: none;
  padding: 0.7em 1.4em;
  border-radius: 24px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  outline: none;
  box-shadow: 0 2px 8px rgba(37,99,235,0.08);
}
.product-modal button:hover {
  background: linear-gradient(135deg, #1741a6 60%, #38bdf8 100%);
  color: #fff;
  transform: scale(1.08);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  nav {
    margin-top: 7rem;
  }

  nav a {
    display: inline-block;
    margin: 1.5rem 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .partners-logos {
    flex-direction: column;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo-name {
    font-size: 1.2rem;
  }

  .products-section h2,
  .about-section h1 {
    font-size: 1.6rem;
  }

  .know-more-btn,
  .projects,
  .whatsapp-btn {
    font-size: 1rem;
    padding: 0.6em 1.2em;
  }

  .product-card img {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  #scroll-left, #scroll-right {
    width: 56px;
    height: 56px;
    font-size: 2.2em;
  }

  .container {
    width: 100vw;
    max-width: 100vw;
    padding: 0 8px;
    box-sizing: border-box;
  }
  .product-scroll-container {
    max-width: 100vw;
    width: 100vw;
    overflow-x: auto;
    box-sizing: border-box;
  }
  #product-grid {
    max-width: 100vw;
    width: 100vw;
    box-sizing: border-box;
  }
  .header-flex {
    flex-direction: column;
    align-items: center;
    gap: 0.7em;
  }
  .home-btn {
    margin-top: 8px;
    width: 90vw;
    max-width: 220px;
    text-align: center;
    font-size: 1em;
    position: static;
    display: block;
  }
}
