/* ================= GLOBAL ================= */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #111317;
  color: #e8ecf1;
  line-height: 1.6;
}

/* ================= LAYOUT SYSTEM ================= */

.section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  color: #5fb3ff;
  margin-bottom: 20px;
  font-size: 28px;
}

.text-center {
  text-align: center;
  color: #cfd6e4;
  max-width: 720px;
  margin: auto;
}

/* ================= GRID ================= */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px;
  max-width: 1000px;
  margin: 30px auto 0;
}

/* ================= CARD ================= */

.card {
  background: rgba(18, 22, 30, 0.9);
  padding: 28px;
  border-radius: 14px;

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02) inset,
    0 12px 35px rgba(0,0,0,0.6);

  transition: all 0.25s ease;
}

.card::before {
  content: "";
  display: block;
  height: 3px;
  width: 40px;
  background: #e11d48;
  margin-bottom: 16px;
  border-radius: 2px;
}

.card:hover {
  transform: translateY(-6px);

  border-color: rgba(225, 29, 72, 0.6);

  box-shadow:
    0 0 0 1px rgba(225, 29, 72, 0.25) inset,
    0 14px 40px rgba(0,0,0,0.7),
    0 0 16px rgba(225, 29, 72, 0.15);
}

.card h3 {
  color: #ff5a7a;
  margin-top: 0;
}

/* ================= HERO ================= */

.hero {
  text-align: center;
  max-width: 900px;
  margin: auto;
  padding: 100px 20px 60px;
}

.hero h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 12px;
}

.hero p {
  color: #aab2bc;
}

/* ================= BUTTONS ================= */

.btn {
  display: inline-block;
  background: #5fb3ff;
  color: #111317;
  padding: 14px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.25s ease;
}

.btn:hover {
  background: #7cc4ff;
  transform: translateY(-3px);
}

.btn-primary {
  background: #ffffff;
  color: #111317;
}

.btn-primary:hover {
  background: #5fb3ff;
}

/* ================= HEADER ================= */

.site-header {
  background: #0b1117;
  border-bottom: 1px solid #222a33;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: auto;
  padding: 12px 16px;
}

/* 🔥 LOGO (ROUNDED CORNERS ADDED) */

.header-logo img {
  max-width: 150px;
  border-radius: 14px; /* 🔥 THIS IS THE NEW LINE */
}

/* logo switching */

.logo-stacked {
  display: none;
}

.phone-emoji {
  display: none;
}

/* actions */

.header-actions {
  display: flex;
  gap: 10px;
}

@media (max-width: 900px) {
  .header-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
}

.service-btn {
  background: #e11d48;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.service-btn:hover {
  background: #be123c;
}

.phone-btn {
  background: #5fb3ff;
  color: #111317;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.phone-btn:hover {
  background: #7cc4ff;
}

/* ================= NAV ================= */

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 12px 0;
  background: #0f141a;
  border-top: 1px solid #222a33;
}

.desktop-nav a {
  color: #cfd6e4;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 6px 10px;
}

.desktop-nav a:hover {
  color: #5fb3ff;
}

.desktop-nav a.active {
  color: #5fb3ff;
  border-bottom: 2px solid #5fb3ff;
}

/* ================= MOBILE ================= */

.menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: white;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  background: #0f141a;
  border-top: 1px solid #222a33;
}

.mobile-menu a {
  display: block;
  padding: 14px;
  color: #cfd6e4;
  text-decoration: none;
  border-bottom: 1px solid #222a33;
}

.mobile-menu.open {
  display: block;
}

/* ================= FOOTER ================= */

.site-footer {
  background: #0c0f14;
  color: #9aa3ad;
  text-align: center;
  padding: 30px 20px;
  margin-top: 60px;
  border-top: 1px solid #2a2f37;
}

.site-footer a {
  color: #5fb3ff;
  text-decoration: none;
}

.site-footer a:hover {
  color: #7cc4ff;
}

/* 🔥 FOOTER LOGO ROUNDED */

.footer-logo {
  max-width: 110px;
  margin-bottom: 12px;
  border-radius: 14px; /* 🔥 THIS IS THE NEW LINE */
}

/* ================= FORMS ================= */

.service-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 25px;
}

.service-form input,
.service-form select,
.service-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #2a2f37;
  background: #1a1f26;
  color: #e8ecf1;
}

.service-form input:focus,
.service-form textarea:focus {
  outline: none;
  border-color: #5fb3ff;
  box-shadow: 0 0 6px rgba(95,179,255,0.5);
}

/* ================= FIXES ================= */

.btn + .btn {
  display: block;
  margin-top: 14px;
}

.about-photo {
  display: block;
  max-width: 420px;
  width: 100%;
  margin: 0 auto 30px;
  border-radius: 12px;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {

  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .logo-horizontal {
    display: none;
  }

  .logo-stacked {
    display: block;
    max-width: 90px;
  }

  .phone-text {
    display: none;
  }

  .phone-emoji {
    display: inline;
  }

}
