/* ==========================
   KATO POWER SECURITY
   STYLE.CSS
========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: #333;
  background: #fff;
  transition: 0.4s ease;
}

/* ==========================
   DARK MODE
========================== */

body.dark-mode {
  background: #121212;
  color: #f5f5f5;
}

body.dark-mode header,
body.dark-mode footer,
body.dark-mode .service-card,
body.dark-mode .feature,
body.dark-mode .news-card,
body.dark-mode form {
  background: #1d1d1d;
  color: #fff;
}

body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: #2a2a2a;
  color: #fff;
  border: 1px solid #444;
}

/* ==========================
   CONTAINER
========================== */

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.3rem;
  color: #0b4ea2;
  position: relative;
}

.section-title::after {
  content: '';
  width: 80px;
  height: 4px;
  background: #d4af37;
  display: block;
  margin: 10px auto;
  border-radius: 20px;
}

/* ==========================
   HEADER
========================== */

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: #0b4ea2;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 6%;
  box-shadow: 0 3px 15px rgba(0, 0, 0, .15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo h2 {
  font-size: 1.2rem;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #d4af37;
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ==========================
   HERO
========================== */

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, .65),
      rgba(0, 0, 0, .65)),
    url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 120px 20px;
}

.hero-content {
  max-width: 800px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  background: #d4af37;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: .3s;
}

.btn:hover {
  transform: translateY(-3px);
}

.secondary-btn {
  background: #fff;
  color: #0b4ea2;
}

/* ==========================
   ABOUT
========================== */

.about {
  padding: 100px 0;
}

.about p {
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-size: 1.1rem;
}

/* ==========================
   SERVICES
========================== */

.services {
  background: #f5f7fb;
  padding: 100px 0;
}

.service-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  padding: 35px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  transition: .3s;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-card i {
  font-size: 3rem;
  color: #0b4ea2;
  margin-bottom: 20px;
}

.service-card h3 {
  margin-bottom: 15px;
}

/* ==========================
   WHY US
========================== */

.why-us {
  padding: 100px 0;
}

.features {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.feature {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
  text-align: center;
}

/* ==========================
   GALLERY
========================== */

.gallery {
  background: #f5f7fb;
  padding: 100px 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: .4s;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

/* ==========================
   MODAL
========================== */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .95);
}

.modal img {
  max-width: 90%;
  max-height: 85%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close {
  position: absolute;
  right: 30px;
  top: 20px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
}

/* ==========================
   NEWS
========================== */

.news {
  padding: 100px 0;
}

.news-grid {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.news-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
}

.news-card a {
  color: #0b4ea2;
  text-decoration: none;
  font-weight: 600;
}

/* ==========================
   FORMS
========================== */

.contact-form,
.careers {
  background: #f5f7fb;
  padding: 100px 0;
}

form {
  max-width: 700px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, .08);
}

form input,
form textarea,
form select {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
}

form textarea {
  height: 50px;
  resize: none;
}

form button {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: #0b4ea2;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: .3s;
}

form button:hover {
  background: #083a7c;
}

#quote{
    display:none;
}

/* ==========================
   CONTACT
========================== */

.contact {
  padding: 100px 0;
  text-align: center;
}

.contact-info p {
  margin-bottom: 15px;
  font-size: 1.05rem;
}

.contact-info i {
  color: #0b4ea2;
  margin-right: 10px;
}

.social-links {
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin: 0 8px;
  border-radius: 50%;
  background: #0b4ea2;
  color: #fff;
  text-decoration: none;
  transition: .3s;
}

.social-links a:hover {
  background: #d4af37;
}

/* ==========================
   FOOTER
========================== */

footer {
  background: #0b4ea2;
  color: #fff;
  text-align: center;
  padding: 25px;
}

/* ==========================
   WHATSAPP BUTTON
========================== */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  text-decoration: none;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .3);
}

/* ==========================
   THEME BUTTON
========================== */

.theme-toggle {
  position: fixed;
  top: 90px;
  right: 20px;
  z-index: 1000;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #0b4ea2;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
}

/* ==========================
   RESPONSIVE
========================== */

@media(max-width:768px) {

  nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  form {
    padding: 25px;
  }

  .logo h2 {
    font-size: 1rem;
  }

}
