:root {
  --dark: #0f2a6e;
  --accent: #f8c017;
  --light: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;

}

body {
   font-family: "Open Sans", sans-serif;
}
.urdu{
  font-family:'Noto Nastaliq Urdu';
}


a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid rgba(15, 42, 110, .15);
  position: sticky;
  top: 0;
  z-index: 50;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.logo {
  height: 2.5rem;
  width: auto;
}

.slogan {
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark);
  white-space: nowrap;
}

.nav-desktop {
  
  display: flex;
  gap: 1rem;
  font-weight: 600;
  font-size: .9rem;
}

.nav-desktop a {
  color: var(--dark);
  padding: .4rem .5rem;
  font-size: 24px;
  font-weight: 600;


  &&:hover {
    color: blue;
  }
}


.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
}

.hamburger .bar {
  width: 1.5rem;
  height: 3px;
  background: var(--dark);
  margin: 4px 0;
}

/* mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 240px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 16px rgba(0, 0, 0, .1);
  transition: right .2s;
  z-index: 60;
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  right: 0;
}

.mobile-inner {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  align-self: flex-end;
  color: var(--dark);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: .5rem;
}

.mobile-nav a {
  color: var(--dark);
  font-weight: 600;
  padding: .6rem;
  border-radius: 4px;
}

.mobile-nav a:hover {
  background: rgba(15, 42, 110, .05);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  z-index: 55;
}

.mobile-menu.active+.backdrop {
  opacity: 1;
  pointer-events: auto;
}

/* hide slogan only when very small */
@media (max-width:350px) {
  .slogan {
    display: none;
  }
}

@media (max-width:1020px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* HERO */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 2rem 1rem;
  color: #fff;
   padding-top: 100px; 
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 42, 110, .45);
  pointer-events: none;
  z-index: 1;
}

.slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  transform: scale(1);
   background-position: center 40%;
}

.slide.active {
  opacity: 1;
  /* subtle slow zoom to give motion */
  animation: zoom 20s ease-in-out forwards;
}

@keyframes zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.03);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

.hero-content p {
  font-size: clamp(1rem, 1.1vw, 1.3rem);
  margin: 0;
  line-height: 1.4;
}

.cta {
  margin-top: .5rem;
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: .9rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.primary {
  background: var(--accent);
  color: var(--dark);
}

.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

/* there the start of showcase section */

.showcase {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 40px 20px;
  background: #f9f9f9;
}

.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.card h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #333;
}

.card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.card .btn {
  display: inline-block;
  padding: 8px 14px;
  background: #0077cc;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s;
}

.card .btn:hover {
  background: #005fa3;
}

/* Responsive */
@media (max-width: 1024px) {
  .showcase {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .showcase {
    grid-template-columns: 1fr;
  }
}

/* there the End of showcase section */


/* start of footer */
.footer {
  background: #222;
  color: #eee;
  padding: 40px 20px 20px;
  font-size: 18px; /* mobile default */
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.2em;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-column ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: #fff;
}

/* Social Links */
.social-links a {
  display: inline-block;
  margin-right: 15px;
}

/* Footer Bottom */
.footer-bottom {
  margin-top: 20px;
  text-align: center;
  border-top: 1px solid #444;
  padding-top: 10px;
  font-size: 0.9em;
  color: #aaa;
}

/* Responsive Font Size */
@media (min-width: 1024px) {
  .footer {
    font-size: 18px; /* bigger font on laptops/desktops */
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links a {
    margin: 0 10px;
  }
}

/* end of footer */