/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

body {
  background-color: #fff;
  color: #000;
  line-height: 1.6;
}

/* Header */
header {
  background-color: #000;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
}
.logo img {
  height: 50px;         /* adjust for your logo size */
  width: auto;
  object-fit: contain;
  display: block;
}


header h1 {
  font-size: 1.8rem;
  color: #9AC66D;
  font-weight: 900;
  letter-spacing: 1px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 40px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

nav a:hover {
  color: #9AC66D;
}

/* Search + Login */
header div {
  display: flex;
  align-items: center;
  gap: 10px;
}

header input[type="text"] {
  padding: 6px 12px;
  border-radius: 20px;
  border: none;
  outline: none;
}

header button {
  background-color: #9AC66D;
  border: none;
  padding: 7px 15px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
}

header button:hover {
  background-color: #82af54;
}

/* Hero Section (Home) */
section.hero {
  background-color: #e8f1e2;
  background: url('../Images/main\ 2.jpeg') center/cover;
  margin: 20px 50px;
  padding: 80px;
  height: 500px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

section.hero h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
}

section.hero h2 span {
  color: #7ea753;
}

section.hero p {
  margin-top: 10px;
  font-size: 1rem;
}

section.hero button {
  margin-top: 20px;
  background-color: #9AC66D;
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}
.hero-content h1 span {
  color: #fff; /* you can change this color */
  text-shadow: 
    0 0 5px #7ea753,
    0 0 10px #00ffff,
    0 0 20px #7ea753,
    0 0 40px #7ea753;
}


/* Product Cards */
section.products {
  margin: 40px 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
}

article {
  background-color: #f6f6f6;
  border-radius: 10px;
  padding: 20px;
}

article img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 15px;
}

article h3 {
  font-size: 1rem;
  font-weight: bold;
}

article p strong {
  color: #7ea753;
  font-size: 1.2rem;
}

article button {
  margin-top: 10px;
  background-color: #9AC66D;
  color: black;
  border: none;
  padding: 8px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

/* Newsletter */
section.newsletter {
  margin: 60px 50px;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

section.newsletter h3 {
  font-size: 1.2rem;
  width: 60%;
  font-weight: 700;
}

section.newsletter form {
  display: flex;
  align-items: center;
}

section.newsletter input[type="email"] {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px 0 0 8px;
  outline: none;
}

section.newsletter button {
  background-color: #9AC66D;
  border: none;
  padding: 10px 20px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: bold;
}

/* Footer */
footer {
  background-color: #000;
  color: white;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer p {
  color: #9AC66D;
  font-weight: 900;
  font-size: 1.5rem;
}

footer ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

footer a {
  color: #9AC66D;
  font-size: 1.2rem;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.logo {
  font-size: 1.8rem;
  color: #9AC66D;
  font-weight: 900;
}

.search-bar {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 3px 10px;
}

.search-bar input {
  border: none;
  outline: none;
  padding: 5px 10px;
  border-radius: 20px;
}

.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
}

.login-btn {
  background-color: #9AC66D;
  border: none;
  padding: 7px 20px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

/* MAIN TITLE */
.devices-page h1 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin: 40px 0;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 0 60px 60px;
  text-align: center;
}

.product-grid article {
  background-color: #fff;
}

.product-grid img {
  width: 100%;
  border-radius: 12px;
  background-color: #e8e8e8;
  height: 200px;
  object-fit: cover;
}

/*  Hover Effect */
.product-grid img,
section.products img,
section.hero img {
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.product-grid img:hover,
section.products img:hover,
section.hero img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  filter: brightness(0.95) saturate(1.1);
}
/* END HOVER EFFECT */

.product-grid h3 {
  margin: 15px 0 5px;
  font-size: 1rem;
  font-weight: 700;
}

.product-grid p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.4;
  margin-bottom: 10px;
}

.product-grid p span {
  color: #9AC66D;
  font-size: 1.1rem;
  font-weight: 700;
}

.product-grid button {
  background-color: #9AC66D;
  border: none;
  padding: 8px 25px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.product-grid button:hover {
  background-color: #7da752;
}

/* NEWSLETTER */
.newsletter {
  margin: 40px 60px;
  padding: 25px 30px;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.newsletter h3 {
  font-size: 1.2rem;
  font-weight: 700;
  max-width: 60%;
}

.newsletter form {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.newsletter input {
  padding: 10px;
  border: 1px solid #aaa;
  border-radius: 8px 0 0 8px;
  outline: none;
  width: 220px;
}

.newsletter button {
  background-color: #9AC66D;
  border: none;
  padding: 10px 20px;
  border-radius: 0 8px 8px 0;
  font-weight: bold;
  cursor: pointer;
}
   /* CONTACT PAGE STYLING */

.page-title {
  text-align: center;
  font-size: 3rem;
  font-weight: 900;
  margin-top: 60px;
  margin-bottom: 10px;
}

.contact-intro {
  text-align: center;
  color: #333;
  margin-bottom: 40px;
  font-size: 1rem;
}

.contact-form {
  background-color: #f0fada;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 50px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 5px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  font-size: 0.95rem;
}

.contact-form p {
  margin-top: 10px;
  font-weight: 600;
}

.contact-form label input[type="radio"] {
  margin-right: 8px;
}

.contact-form button {
  background-color: #9AC66D;
  color: #fff;
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #7da752;
  transform: scale(1.05);
  box-shadow: 0 0 10px #9AC66D;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-form {
    padding: 30px;
  }
  .page-title {
    font-size: 2.2rem;
  }
}


/* FOOTER */
footer {
  background-color: #000;
  color: #9AC66D;
  padding: 30px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 50px;         /* adjust for your logo size */
  width: auto;
  object-fit: contain;
  display: block;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.social-links li a img {
  width: 30px;
  height: 30px;
  transition: 0.3s ease;
  border-radius: 50%;
  filter: drop-shadow(0 0 4px #9AC66D);
}

.social-links li a img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px #9AC66D);
}
