/* =======================
   Base Styles
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f4f8fb;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* =======================
   Header
======================= */
.header {
  background: #fff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo img {
  height: 40px;
  vertical-align: middle;
}

.logo .youtube-btn {
  margin-left: 20px;
  color: red;
  font-weight: bold;
  font-size: 0.9em;
}

/* =======================
   Navigation (Desktop)
======================= */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav a {
  color: #007BFF;
  font-weight: 600;
  transition: color 0.3s;
}

.nav a:hover {
  color: #0056b3;
}

/* =======================
   Hamburger Button
======================= */
.menu-toggle {
  display: none;
  font-size: 26px;
  color: #003366;
  cursor: pointer;
  background: none;
  border: none;
}

/* =======================
   Mobile Navigation
======================= */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: relative;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: fadeSlideDown 0.3s ease;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    margin-bottom: 15px;
  }

  .nav-links a {
    color: #003366;
  }


}

/* =======================
   Hero Section
======================= */
.hero {
  background: linear-gradient(135deg, #007BFF, #003366);
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8em;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}

.cta-btn {
  background: #fff;
  color: #007BFF;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background: #f0f0f0;
  color: #003366;
}

/* =======================
   Section Basics
======================= */
section {
  padding: 80px 20px;
  text-align: center;
}

section h2 {
  font-size: 2.2em;
  color: #003366;
  margin-bottom: 20px;
}

/* =======================
   Services
======================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.service-card {
  background: #f4f8fb;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card i {
  font-size: 40px;
  color: #007BFF;
  margin-bottom: 15px;
  display: block;
  text-align: center;
}

/* =======================
   Products
======================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.product-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card h3 {
  color: #007BFF;
  margin-bottom: 10px;
}

/* =======================
   Newsletter
======================= */
.newsletter {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.newsletter h2 {
  font-size: 2em;
  color: #003366;
  margin-bottom: 15px;
}

.newsletter p {
  color: #555;
  margin-bottom: 25px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin: 0 auto;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
}

.newsletter-form button {
  background: #007BFF;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #0056b3;
}

/* =======================
   Contact
======================= */
.contact {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.contact h2 {
  font-size: 2.5em;
  color: #003366;
  margin-bottom: 40px;
}

.contact div.form {
  max-width: 600px;
  margin: 0 auto 30px;
  display: grid;
  gap: 20px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1em;
}

.contact button {
  background: #007BFF;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact button:hover {
  background: #0056b3;
}

/* =======================
   Footer
======================= */
.footer {
  background: #003366;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer a {
  color: #87cefa;
  text-decoration: underline;
}

/* =======================
   Utility Classes
======================= */
.message {
  margin-top: 15px;
  font-weight: 600;
  display: none;
}

.sent-message, .loading {
  display: none;
}
