/* ============================================
   Belovedcrown Ltd – Shared Stylesheet
   Theme: Glassmorphism · Blue gradient · Inter
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400..900&display=swap");

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

@import url('https://fonts.googleapis.com/css2?family=Lavishly+Yours&display=swap');

/* ---- Reset ---- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary: #143A81;
  --secondary: #63b3ed;
  --accent: #38a169;
  --background: #f7fafc;
  --text: #1a202c;
  --title: #9ea0a3;
}

.name{
  font-family: "Lavishly Yours", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 4rem !important; 
  color: var(--title) !important;
}

/* ---- Base ---- */
html {
  scroll-behavior: smooth;
}

body {
  /* background: linear-gradient(135deg, #c6c7f550, #ffffff); */
  background: var(--background);
  color: var(--text);
}

/* ============================================
   NAVBAR
   ============================================ */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8%;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(15px);
  background: linear-gradient(
    180deg var(--primary),
    var(--secondary, var(--primary))
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.132);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.329);
}

#about {
  padding: 0px 0px 0px;
  display: flex;
  flex-direction: column !important;
}

#about h1 {
  padding-top: 0px;
  font-size: 42px !important;
  font-weight: 800 !important;
}

.aboutbackground {
  background-image: url(./assets/images/About.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.servicesbackground {
  background-image: url(./assets/images/Services.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.jobsbackground {
  background-image: url(./assets/images/Jobs.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.contactbackground {
  background-image: url(./assets/images/Contact.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.highlight {
  font-size: 1.5em;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo {
  height: 45px;
  width: auto;
}

nav h2 {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.1rem;
}

nav ul {
  display: flex;
  gap: 30px;
  list-style: none;
  align-items: center;
}

nav ul li a {
  position: relative;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
}

nav ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #003b75;
  transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: #003163;
}

/* Nav CTA button */
.nav-cta {
  padding: 9px 20px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white !important;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  transition: 0.3s;
}

.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 113, 227, 0.3);
}

.cta-home-bottom {
  padding: 80px 8%;
  text-align: center;
  background: var(--title);
}



/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 16px 8%;
  gap: 4px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  padding: 10px 12px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu a:hover,
.mobile-menu a.active {
  background: #eef4ff;
  color: #0071e3;
}

/* ============================================
   GLASS CARD
   ============================================ */
.glass {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  padding: 30px;
  /* border: 1px solid rgba(255, 255, 255, 0.5); */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ============================================
   BUTTON
   ============================================ */
.btncta {
  display: inline-block;
  padding: 14px 28px;
  border: none;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white !important;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  border-radius: 10px;
  height: 50px;
  width: 150px;
  justify-content: center;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.btn-view-redirect {
  display: flex;
  padding: 14px 28px;
  border: none;
  background: linear-gradient(45deg, var(--accent));
  color: white !important;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;

  height: 50px;
  width: 140px;
  justify-content: space-evenly;
  align-items: center;
}
.btn-view-redirect:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btn-view-all {
  margin-top: 40px;
  justify-items: center;
  align-items: center;
  align-content: stretch;
  text-align: center;
}

.btncta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.btnoutline {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--secondary);
  box-sizing: border-box;
  /* color: var(--primary); */

  padding: 14px 28px;
  height: 50px;
  width: 150px;
  color: white !important;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  border-radius: 10px;
  text-align: center;
}
.btnoutline:hover {
  background: linear-gradient(
    45deg,
    var(--primary),
    var(--secondary)
  ) !important;
  color: white;
  /* border: none !important; */
  border: 0px transparent;
  transform: translateY(-3px);
  text-align: center;
  text-transform: none;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.9rem;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0071e3;
  margin-bottom: 10px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.section-desc {
  font-size: 16px;
  color: #555;
  max-width: 580px;
  line-height: 1.7;
}

.section-why-us {
  padding: 80px 8%;
  background: rgba(229, 235, 245, 0.699);
}
.section-about-us {
  padding: 80px 8%;
  background: rgba(202, 210, 218, 0.699);
}
/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  display: flex;
  flex-direction: column;
  padding: 50px 8% 60px;
  /* background: linear-gradient(135deg, #eef4ff 0%, #dceeff 100%); */
  /* border-bottom: 1px solid rgba(0, 113, 227, 0.08); */
}

.page-hero-background {
  background-image: url(./assets/images/Hero.jpeg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh;
}

.page-hero .breadcrumb {
  font-size: 0rem;
  color: #888;
  margin-bottom: 14px;
}
.page-hero .breadcrumb a {
  color: var(--text);
  text-decoration: none;
}
.page-hero .breadcrumb a:hover {
  text-decoration: underline;
}
.page-hero .breadcrumb span {
  margin: 0 6px;
  color: #bbb;
}

.page-hero h1 {
  /* padding-top: 100px; */
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #1a1a1a;
}

.page-hero p {
  font-size: 17px;
  color: #555;
  max-width: 30vw;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding: 25px 0%;
  height: 50px;
}

.hero-text {
  padding: 10vh 0% 0%;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  /* margin-top: 40px; */
  padding: 40px 8%;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.7;
  margin-top: 10px;
  max-width: 260px;
}

.footer-brand .nav-logo {
  height: 36px;
  margin-bottom: 6px;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links a {
  font-size: 0.85rem;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #0071e3;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
.footer-contact-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: #666;
}
.footer-contact-list a {
  color: #666;
  text-decoration: none;
}
.footer-contact-list a:hover {
  color: #0071e3;
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: #888;
}
.footer-bottom-links {
  display: flex;
  gap: 18px;
}
.footer-bottom-links a {
  font-size: 0.82rem;
  color: #888;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: #0071e3;
}

/* ============================================
   FADE-IN ANIMATION
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}

.home-services {
  padding: 80px 8%;
}
.home-services p {
  color: #555;
  max-width: 540px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 10px 0%;
}
.section-about-us p {
  color: #555;
  max-width: 640px;
  margin: 0 auto;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 10px 0%;
}
.home-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  /* grid-template-columns: repeat(4, 1fr) minmax(120px, 0.5fr); */
  gap: 30px;
}
.home-service-card {
  transition: 0.3s;
  cursor: default;
}
.home-service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.home-service-grid h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.home-service-grid p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}
.home-view-all {
  /* clip-path: polygon(73% 0, 100% 50%, 73% 100%, 0 100%, 0 46%, 0 0); */
  text-decoration: none !important;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}
.home-view-all button {
  text-decoration: none;
}
.home-whyus-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.home-whyus-card {
  padding: 28px;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: start;
}

.home-whyus-icons {
  justify-content: center;
  /* align-content: top; */
  padding-top: 5px;
}
.home-whyus-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.home-whyus-card p {
  font-size: 0.85rem;
  color: #555;
  /* line-height: 1.6; */
  padding-top: 5px;
  /* min-height: 48px; */
  height: 100%;
}
.home-whyus-image {
  height: 100%;
  /* width: 100%;
  height: 100%;
  object-fit: cover;  
  object-position: center; /* 
  /* border-radius: 16px;  */
}

.home-whyus-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* border-radius: 16px */
}
.home-whyus-section {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 20px;
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  /* margin-top: 44px; */
}

.value-card {
  background: #f8fafc;
  padding: 24px;
  /* border-radius: 12px; */
  transition: 0.3s ease;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.icon {
  margin-bottom: 12px;
}

.icon svg {
  width: 32px;
  height: 32px;
  color: #1a202c;
}

.value-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}
.home-aboutus-grid {
  display: flex;
  gap: 16px;
  align-items: stretch;
  justify-content: center;
}
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
 
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* @media (min-width: 768px) {
  .home-whyus-grid {
    grid-template-columns: repeat(3, 1fr);
  }
} */

@media (max-width: 700px) {
  nav ul {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .section-title {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
@media (max-width: 768px) {
  nav ul {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .page-hero h1 {
    font-size: 28px;
  }
  .section-title {
    font-size: 26px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid .nav-logo{
display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .home-whyus-image {
    display: none;
  }

  .home-whyus-grid {
    gap: 16px;
  }
  .home-whyus-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
  }
  .home-aboutus-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
    justify-content: center;
  }
  .values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-hero-background {
    background-image: url(./assets/images/Hero.jpeg);
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    height: 50%;
  }
  .page-hero p {
  
  max-width: 100vw;
  
}
.about-intro{
  display: block;
}
.aboutbackground{
background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}
.section-label{
  padding-top: 20px;
}
.servicesbackground{
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}
.jobsbackground{
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}
.contactbackground{
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
}
}
