/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f5f5f5;
}

/* NAVBAR */
.navbar {
  width: 100%;
  background: #223A54;
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  animation: navDrop 0.6s ease;
}

@keyframes navDrop {
  from { transform: translateY(-70px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* NAV CONTAINER */
.nav-container {
  max-width: 1450px;
  margin: auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO + BRANDNAME WRAPPER */
.nav-left {
  display: flex;
  align-items: center;
  gap: 25px;  /* GAP BETWEEN LOGO & BRAND NAME */
}

/* LOGO CIRCLE */
.logo-box {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #E5A70D; 
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes pulseLogo {
  0% { transform: scale(1); box-shadow: 0 0 0 0 #E5A70D; }
  50% { transform: scale(1.08); box-shadow: 0 0 15px 5px rgba(229,167,13,0.5); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 #E5A70D; }
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* BRAND NAME */
.brand-name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  animation: fadeInBrand 0.8s ease;
  padding-left: 25px;
}

@keyframes fadeInBrand {
  from { opacity: 0; transform: translateX(-15px); }
  to { opacity: 1; transform: translateX(0); }
}

/* NAV LINKS */
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 55px;  /* GAP BETWEEN LINKS */
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: 0.3s ease;
}

.nav-links li a::after {
  content: "";
  width: 0%;
  height: 3px;
  background: #E5A70D;
  position: absolute;
  bottom: -6px;
  left: 0;
  transition: 0.3s;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* HAMBURGER ICON */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #fff;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ================= RESPONSIVE ================= */

/* Tablets & Small Desktops */
@media (max-width: 950px) {
  .nav-container {
    padding: 0 20px;
  }

  .brand-name {
    font-size: 20px;
    padding-left: 20px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 80px;
    right: 0;
    background: #1F2937;
    padding: 25px 0;
    gap: 25px;
  }

  .nav-links.active {
    display: flex;
    animation: menuFade 0.5s ease;
  }

  @keyframes menuFade {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .hamburger {
    display: flex;
  }
}

/* Mobile Phones */
@media (max-width: 500px) {
  .nav-container {
    padding: 0 12px;
  }

  .logo-box {
    width: 45px;
    height: 45px;
  }

  .brand-name {
    font-size: 16px;
    padding-left: 15px;
  }

  .nav-links li a {
    font-size: 16px;
  }

  .nav-links {
    top: 70px;
    gap: 20px;
    padding: 20px 0;
  }

  .hamburger span {
    width: 22px;
    height: 2.5px;
  }
}

/* Very Small Screens (320px) */
@media (max-width: 320px) {
  .nav-container {
    padding: 0 8px;
    gap: 8px;
  }

  .logo-box {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 14px;
    padding-left: 10px;
  }

  .nav-links li a {
    font-size: 14px;
  }

  .hamburger span {
    width: 20px;
    height: 2px;
  }
}


/* FLOATING CONTACT BUTTONS */
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* WhatsApp */
.float-btn.whatsapp {
  background-color: #25D366;
}

/* Call */
.float-btn.call {
  background-color: #0a58ca;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}


/* Ultra-Small Screens (200px - 260px) */
@media (max-width: 260px) {
  .nav-container {
    padding: 0 5px;
    gap: 5px;
  }

  .logo-box {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 12px;
    padding-left: 10px;
  }

  .nav-links li a {
    font-size: 12px;
  }

  .hamburger span {
    width: 18px;
    height: 2px;
  }
}

/* BANNER */
.banner {
  width: 100%;
  height: 75vh; /* Adjust height as needed */
  background: url('images/hero.png') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom, 
    rgba(34, 58, 84, 0.8),   /* Darker at top */
    rgba(34, 58, 84, 0.4)    /* Lighter at bottom */
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-content {
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 900px;
  animation: fadeInBanner 1.2s ease forwards;
}

.banner-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
}

.banner-content p {
  font-size: 20px;
  margin-bottom: 30px;
  font-style: italic;
  color: white;
}

.banner-btn {
  background: #c90c64;
  color: #f6f3f6;
  padding: 14px 30px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
}

.banner-btn:hover {
  background: #f9d67a;
  color: #223A54;
  transform: translateY(-3px);
}

/* Banner Animation */
@keyframes fadeInBanner {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 950px) {
  .banner-content h1 { font-size: 38px; }
  .banner-content p { font-size: 18px; }
  .banner-btn { font-size: 16px; padding: 12px 25px; }
}

@media (max-width: 500px) {
  .banner {
    height: 60vh;
  }

  .banner-content h1 { font-size: 28px; }
  .banner-content p { font-size: 16px; }
  .banner-btn { font-size: 14px; padding: 10px 20px; }
}

@media (max-width: 320px) {
  .banner {
    height: 55vh;
  }

  .banner-content h1 { font-size: 22px; }
  .banner-content p { font-size: 14px; }
  .banner-btn { font-size: 12px; padding: 8px 16px; }
}

/* ==============================
Intro About
============================== */

/* INTRO ABOUT SECTION */
.intro-about-section {
  padding: 80px 20px;
  background: #f7fafc;
  font-family: "Poppins", sans-serif;
}

.intro-about-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

/* LEFT SIDE CONTENT */
.intro-about-content {
  flex: 1;
  min-width: 350px;
}

.intro-title {
  font-size: 36px;
  font-weight: 700;
  color: #223A54;
  margin-bottom: 20px;
  position: relative;
}

.intro-title::after {
  content: '';
  width: 70px;
  height: 4px;
  background: #4DA8DA;
  position: absolute;
  left: 0;
  bottom: -12px;
  border-radius: 4px;
}

.intro-text {
  margin-top: 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #444;
}

.intro-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 24px;
  background: #223A54;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 500;
}
.intro-btn:hover {
  background: #4DA8DA;
  transform: translateY(-3px);
}

/* RIGHT SIDE IMAGE */
.intro-about-image {
  flex: 1;
  min-width: 350px;
  text-align: center;
}

.intro-about-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  opacity: 0;
  animation: fadeUp 1.4s ease forwards;
}

.intro-about-image img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Image fade animation */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .intro-about-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .intro-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .intro-title {
    font-size: 28px;
  }

  .intro-text {
    font-size: 15px;
  }
}

/* ==============================
Intro About
============================== */

/* ===============================
Featured Machine
=============================== */

.featured-machines {
  padding: 80px 20px;
  background: #f4f7fb;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: #223A54;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #4fa3f7;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.machine-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 350px)); /* fixed smaller width */
  gap: 30px;
  justify-content: center;
}

/* CARD */
.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: auto; /* remove fixed height */
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

/* BADGE */
.card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #ff3b57;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  z-index: 2;
  transition: transform 0.3s ease, background 0.3s ease;
}

.card:hover .card-badge {
  transform: scale(1.1);
  background: #ff1a45;
}

/* IMAGE */
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.card:hover .card-img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* CARD CONTENT */
.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 0; /* so content fits naturally */
}

.card-content p {
  font-size: 16px;
  color: #555;
  margin-bottom: 12px; 
  line-height: 1.6;
  flex-grow: 0; /* prevents extra space */
}


.card-content h3 {
  font-size: 22px;
  font-weight: 700;
  color: #223A54;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.card:hover .card-content h3 {
  color: #4fa3f7;
}

/* BUTTON */
.card-btn {
  display: inline-block;
  color: #1c3955;
  padding: 10px 25px;
  border-radius: 6px;
  border: 2px solid #1c3955;
  font-weight: 600;
  text-decoration: none;
  transition: 0.4s ease;
  align-self: center; /* centers the button */
  margin-top: 0; /* remove extra top spacing */
}

.card-btn:hover {
  color: black;
  border: #a32941 2px solid;
  transform: translateY(-3px);
}

.view-products-container {
  text-align: center; /* center the button */
  margin-top: 40px;   /* spacing above the button */
}

.view-products-btn {
  display: inline-block;
  background: #ff1a45;
  color: #fff;
  padding: 12px 35px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: 0.4s ease;
}

.view-products-btn:hover {
  background: #670417;
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media(max-width:768px){
  .card-img { height: 200px; }
  .section-title { font-size: 28px; }
  .card-btn { width: 100%; text-align: center; }
}

@media(max-width:480px){
  .card-img { height: 160px; }
  .card-content h3 { font-size: 18px; }
  .card-content p { font-size: 14px; }
  .card-btn { font-size: 14px; padding: 10px; }
}

/* =================================
End Featured MAchine
================================= */


/* =====================================
Authorised seller
===================================== */

.authorized-seller {
  padding: 80px 20px;
  background: #fff; /* section background */
  text-align: center;
}

.authorized-seller .section-title {
  font-size: 36px;
  color: #223A54;
  margin-bottom: 10px;
  position: relative;
}

.authorized-seller .section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: #4fa3f7;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.authorized-seller .section-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.seller-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-card {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
}

.logo-card img {
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

/* Hover animation */
.logo-card:hover img {
  transform: scale(1.1) translateY(-10px);
}

/* RESPONSIVE */
@media(max-width:768px){
  .seller-logos {
    gap: 30px;
  }
  .logo-card img {
    max-width: 140px;
    max-height: 60px;
  }
}

@media(max-width:480px){
  .seller-logos {
    gap: 20px;
  }
  .logo-card img {
    max-width: 120px;
    max-height: 50px;
  }
}

/* =====================================
End Authorised seller
===================================== */

/* ========================================
Why choose Us
======================================== */

.choose-us-area {
  padding: 80px 20px;
  background: #f8f9fa;
  font-family: "Poppins", sans-serif;
}

.choose-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.choose-title {
  text-align: center;
  font-size: 2.5rem;
  color: #223A54;
  margin-bottom: 60px;
  position: relative;
}

.choose-title::after {
  content: "";
  width: 60px;
  height: 3px;
  background: #ff6b6b;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}

.choose-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Feature Card */
.choose-card {
  background: #fff;
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.5s, box-shadow 0.5s;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
}

.choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.choose-icon {
  font-size: 3rem;
  color: #ff6b6b;
  margin-bottom: 20px;
  animation: icon-bounce 2s infinite;
}

@keyframes icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.choose-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #223A54;
}

.choose-card p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Fade-in Animation */
.choose-card.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Fully Responsive Media Queries */
@media (max-width: 1024px) {
  .choose-us-area {
    padding: 60px 15px;
  }

  .choose-title {
    font-size: 2.2rem;
    margin-bottom: 50px;
  }

  .choose-card {
    padding: 35px 15px;
  }
}

@media (max-width: 768px) {
  .choose-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .choose-card h3 {
    font-size: 1.3rem;
  }

  .choose-card p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .choose-us-area {
    padding: 50px 10px;
  }

  .choose-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .choose-card {
    padding: 30px 10px;
  }

  .choose-card h3 {
    font-size: 1.2rem;
  }

  .choose-card p {
    font-size: 0.9rem;
  }

  .choose-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
  }
}

/* ========================================
End Why choose Us
======================================== */

/* =========================================
intro about
========================================= */

/* ABOUT UNIQUE SEWING MACHINE SECTION */
.about-unique {
  padding: 3px 20px;
  background: linear-gradient(180deg, #f9f9f9, #ffffff);
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.about-container {
  max-width: 900px;
  margin: auto;
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s forwards;
}

.about-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #223A54;
}

.about-text strong {
  color: #ff6f61;
}

/* Reuse fadeInUp animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .about-text {
    font-size: 1rem;
  }
}

/* =========================================
intro about
========================================= */

/* ========================================
Footer
======================================== */

/* FOOTER SECTION */
.footer {
  background: #223A54; /* same as navbar */
  color: #ffffff;
  padding: 60px 20px 20px;
  font-family: "Poppins", sans-serif;
}

/* Main Container */
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
  gap: 140px; /* Equal gap between all 3 columns */
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 1s forwards;
}

/* Footer Columns */
.footer-column {
  width: 300px; /* FIXED width = perfect spacing */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #ff6f61;
}

.footer-column p, 
.footer-column ul, 
.footer-column li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #ffffff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #ff6f61;
}

/* Logo + Text */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-logo img {
  width: 55px;
  height: auto;
  border-radius: 8px;
}

.footer-logo h2 {
  font-size: 1.4rem;
  margin: 0;
}

/* FOOTER BOTTOM */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rotateLogo {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(12deg); }
  100% { transform: rotate(0deg); }
}

/* Responsive */
@media (max-width: 992px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .footer-column {
    width: 100%;
    max-width: 400px;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }
}


/* ========================================
Footer
======================================== */



