/* Base Styles */
body {
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  background: #f8f9fa;
  color: #212529;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #0056b3;
}

img {
  max-width: 100%;
  display: block;
}

/* Header */
.site-header {
  background: linear-gradient(to right, #003366, #0055aa);
  color: #fff;
  padding: 3rem 2rem;
  text-align: center;
  background-image: url("logo.png");
  background-size:auto;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  border-bottom: 4px solid #0077cc;
}

.branding {
  background-color: rgba(211, 211, 211, 0.7); /* light gray with 70% opacity */
  padding: 1.5rem 2rem;
  border-radius: 10px;
  display: inline-block;
}


.logo {
  font-size: 3rem;
  font-weight: 700;
  color: black;
  margin: 0;
}

.tagline {
  font-size: 1.2rem;
  color: black;
}

/* Navigation */
.main-nav {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.main-nav a {
  padding: 0.6rem 1.2rem;
  border: 2px solid #fff;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #000;
  background:#BDBBBB;
}

.main-nav a:hover {
  background-color: #fff;
  color: #003366;
}

/* Hero Section */
.hero {
  background: url('images/hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.hero-content {
  background: rgba(0, 0, 0, 0.6);
  display: inline-block;
  padding: 2rem 3rem;
  border-radius: 12px;
  max-width: 800px;
  margin: auto;
}

.cta-button {
  margin-top: 1.5rem;
  display: inline-block;
  background: #ff6600;
  color: #fff;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background: #e65c00;
}

/* Features Section */
.features {
  background: #f4f4f4;
  padding: 4rem 2rem;
  text-align: center;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.feature {
  max-width: 250px;
}

.feature img {
  width: 60px;
  margin-bottom: 1rem;
}

/* Products */
.product-intro {
  text-align: center;
  padding: 2.5rem 1rem;
  background: linear-gradient(to right, #0077cc, #00aaff);
  color: #fff;
  border-radius: 8px;
  margin-bottom: 2rem;
}

#searchBar {
  padding: 0.75rem;
  width: 60%;
  max-width: 400px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  font-size: 1rem;
  margin-top: 1rem;
}

/* Product Cards */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.product-card {
  width: 250px;
  height: 320px;
  perspective: 1000px;
}

.product-card > div {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.product-card:hover > div {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border: 1px solid #ccc;
  border-radius: 10px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-front {
  z-index: 2;
  text-align: center;
}

.card-front img {
  height: 150px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.card-back {
  transform: rotateY(180deg);
  text-align: center;
  padding-top: 2rem;
}

/* Buttons */
button,
.enquire-button {
  background: linear-gradient(to right, #0077cc, #005fa3);
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

button:hover,
.enquire-button:hover {
  background: linear-gradient(to right, #005fa3, #003f7d);
}

/* Contact Page */
.contact-page {
  padding: 3rem 2rem;
  background-color: #f8f9fa;
}

.contact-info {
  text-align: center;
  margin-bottom: 3rem;
}

.info-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.info-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  width: 220px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.info-card:hover {
  transform: translateY(-5px);
}

.info-card img {
  width: 40px;
  margin-bottom: 0.75rem;
}

/* Contact Form */
.contact-form-section {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #0077cc;
}

.contact-form-section label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.contact-form-section input,
.contact-form-section textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-section input:focus,
.contact-form-section textarea:focus {
  border-color: #0077cc;
  box-shadow: 0 0 6px rgba(0, 119, 204, 0.3);
  outline: none;
}

/* Team Section */
.team-section {
  max-width: 1000px;
  margin: 4rem auto;
  text-align: center;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.team-member {
  width: 280px;
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.team-member img {
  border-radius: 8px;
  margin-bottom: 1rem;
}

.team-member h3 {
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.team-member p {
  color:black
}

/* Product Intro Section */
.product-intro {
  text-align: center;
  padding: 3rem 1rem;
  background: linear-gradient(to right, #0077cc, #00aaff);
  color: #fff;
  border-radius: 12px;
  margin: 2rem auto;
  max-width: 1000px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-intro h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.product-intro p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* Search Bar */
#searchBar {
  padding: 0.8rem 1.5rem;
  width: 60%;
  max-width: 500px;
  font-size: 1rem;
  border: none;
  border-radius: 30px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
  background-color: #fff;
  transition: all 0.3s ease;
}

#searchBar:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(0, 119, 204, 0.5);
}

/* Product List Grid */
.product-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

/* Product Card Container */
.product-card {
  perspective: 1000px;
  height: 350px;
  position: relative;
}

/* Inner Flip Card */
.product-card > div {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
  position: relative;
}

.product-card:hover > div {
  transform: rotateY(180deg);
}

/* Front and Back Face */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  background: #fff;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.card-front {
  transform: rotateY(0deg);
  z-index: 2;
  text-align: center;
}

.card-front img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.card-front h3 {
  font-size: 1.1rem;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.card-front p {
  font-size: 0.95rem;
  color: #555;
}

/* Back Face */
.card-back {
  transform: rotateY(180deg);
  text-align: center;
  padding-top: 2rem;
}

.card-back p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: #444;
}

/* Enquire Button on Back */
.card-back .enquire-button {
  background: linear-gradient(to right, #0077cc, #005fa3);
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.card-back .enquire-button:hover {
  background: linear-gradient(to right, #005fa3, #003f7d);
}

/* Responsive */
@media (max-width: 768px) {
  .product-intro h2 {
    font-size: 2rem;
  }

  #searchBar {
    width: 90%;
  }

  .product-card {
    height: 330px;
  }

  .card-front img {
    height: 140px;
  }
}
/* Wrapper for Centering Product Categories */
.product-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  padding: 2rem 1rem;
}

/* Optional: Limit width for large screens */
.product-category {
  width: 100%;
  max-width: 900px;
}

.product-collage {
  display: flex;              /* Arrange in a row */
  justify-content: center;    /* Center the row */
  gap: 20px;                  /* Space between images */
  margin: 20px 0;
  flex-wrap: wrap;            /* Allows wrapping on smaller screens */
}

.product-collage .collage-img {
  max-width: 300px;           /* Control size */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Reset default image behavior */
.collage-img {
  max-width: 100%;
  height: auto;
  margin: 10px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Responsive collage layout */
.product-collage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  padding: 20px;
}

/* Wrapper for product categories */
.product-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 30px;
  margin-top: 40px;
}

/* Individual product category styling */
.product-category {
  flex: 1 1 300px;
  max-width: 400px;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Responsive text and buttons */
.enquire-button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #0077cc;
  color: white;
  text-decoration: none;
  border-radius: 4px;
}

/* Media query for smaller screens */
@media (max-width: 600px) {
  .product-collage {
    flex-direction: column;
    align-items: center;
  }

  .product-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .product-category {
    width: 90%;
  }
}

/* Collage container: responsive and wrapping */
.product-collage {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

/* Individual image styling */
.collage-img {
  flex: 1 1 200px; /* Allows flexible growth and shrink */
  max-width: 250px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Optional: make layout tighter on very large screens */
@media (min-width: 1200px) {
  .product-collage {
    justify-content: space-evenly;
  }
}