/* momina code start  */
html {
  scroll-padding-top: 40px;
}

  :root {
    --maroon: #800000;
    --maroon-light: #a52a2a;
    --gold: #FFD700;
    --white: #ffffff;
    --gray-light: #f8f9fa;
  }

  body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--white);
    color: var(--maroon);
    scroll-behavior: smooth;
  }
  .urdu-font {
    font-family: 'Noto Nastaliq Urdu', serif;
  }


@media (max-width: 768px) {
  .nav-home a {
    font-size: 18px;
    margin: 10px;
  }
}
@media (max-width: 576px) {
  .carousel-title {
    font-size: 2rem;
  }
  .carousel-caption-text {
    font-size: 1rem;
  }
}
/* Navbar background color and height adjustments */

:root {
  --maroon: #800000;
  --maroon-dark: #6c0000;
  --hover-light: #d7ccc8;
}


@media (max-width: 768px) {
  .nav-home a {
    font-size: 18px;
    margin: 10px;
  }
}

/* Remove fixed height, let it expand naturally */
.navbar {
  position: relative;
  width: 100%;
  background: #4b0e19;
  padding: 10px 20px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Add background for dropdown when expanded */
.navbar-collapse {
  background: #4b0e19;
  padding: 10px;
  border-radius: 0 0 10px 10px;
}

/* Logo styling: visible, well-sized */
.navbar-brand img {
  max-height: 80px;
  width: auto;
  object-fit: cover;
  margin-right: 10px;
}


/* Center all nav items (except user) */
.navbar-nav {
  margin: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

/* Nav link styling */
.navbar-nav .nav-link {
  color: white !important;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 12px;
  transition: all 0.3s ease-in-out;
}

/* Hover effect on links */
.navbar-nav .nav-link:hover, 
.navbar-nav .nav-link:focus {
  color: #FFDAB9 !important;
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
  border-bottom: 2px solid white;
}

/* Dropdown menu styling */
.navbar-nav .dropdown-menu {
  background-color: #800000;
  border: none;
}

/* Dropdown item styles */
.navbar-nav .dropdown-item {
  color: white;
  padding: 10px 20px;
  transition: all 0.3s ease-in-out;
}

/* Dropdown item hover effect */
.navbar-nav .dropdown-item:hover {
  background-color: #6c0000;
  color: #FFDAB9;
  padding-left: 25px;
}

/* User avatar image styling */
.nav-image {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-left: 8px;
  border: 1px solid rgb(108, 0, 0);
}

/* Keep avatar/user menu on right */
.navbar-collapse {
  justify-content: space-between;
  align-items: center;
}

/* Optional: white caret for dropdown */
.navbar-light .navbar-toggler-icon {
  filter: invert(1);
}


/* Logout button */
.logout-btn {
  display: inline-block;
  margin-top: 7px;
  margin-right: 15px;
  background: rgb(134, 114, 114);
  color: #fff;
  padding: 10px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s;
}
.logout-btn:hover {
  background: #b30000;
  transform: translateY(-5px);
  padding: 20px 48px;
  font-size: large;
  font-weight: bold;
}



/* Hero Section */
  #hero {
    background: linear-gradient(135deg, #a52a2acc, #800000cc), url('images/bg.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
  }
  #hero h1 {
    font-weight: 900;
    font-size: 3.8rem;
    line-height: 1.1;
    margin-bottom: 1rem;
  }
  #hero h1 span {
    color: var(--gold);
  }
  #hero p.lead {
    font-size: 1.4rem;
    max-width: 480px;
    margin-bottom: 2rem;
  }
  .btn-maroon {
    background-color: var(--white);
    color: var(--maroon);
    font-weight: 700;
    border-radius: 50px;
    padding: 0.75rem 2.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
  }
  .btn-maroon:hover {
    background-color: var(--maroon-light);
    color: var(--white);
  }
  .btn-outline-light {
    border-radius: 50px;
    font-weight: 700;
  }
  #hero img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 1.5rem;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
  }
  #hero img:hover {
    transform: rotateY(8deg) rotateX(3deg);
  }

  /* Section Titles */
  h2.section-title {
    color: var(--maroon);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
  }
  

  /* Feature Box Styling */
.feature-icon {
  font-size: 3rem;
  color: var(--maroon);
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.feature-box {
  border: 2px solid var(--maroon);
  border-radius: 1rem;
  padding: 2rem;
  background-color: var(--white);
  color: var(--maroon);
  height: 100%;
  cursor: default;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.feature-box:hover {
  background-color: var(--maroon);
  color: var(--white);
}

.feature-box:hover .feature-icon {
  color: var(--gold);
}

/* Consistent Link Styling */
.feature-link {
  color: var(--maroon);
  text-decoration: none;
  transition: color 0.3s ease;
}

.feature-box:hover .feature-link {
  color: var(--gold);
  text-decoration: underline; /* Optional: remove if you want no underline */
}


  /* AR Preview Section */
#ar-preview {
  background-color: var(--gray-light);
  padding: 4rem 0;
  text-align: center;
}

/* Card styling for AR images */
.ar-card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgba(128, 0, 0, 0.3);
  overflow: hidden;
  height: 100%; /* ensure it fills the column */
  display: flex;
  align-items: center;
  justify-content: center;
}

.ar-card img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills and crops nicely */
  transition: transform 0.3s ease;
  display: block;
}


.ar-card:hover img {
  transform: scale(1.05);
}

/* Description below images */
.ar-description {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--maroon);
}

.cta-container {
  text-align: center;
}

.cta-container .btn-maroon {
  background-color: var(--maroon);
  color: #fff;
  font-size: 1.2rem;
  padding: 12px 24px;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.cta-container .btn-maroon:hover {
  background-color: #af2020; /* Darker maroon on hover */
}


  /* Products Section */
  #shop .product-card {
    border: 1px solid var(--maroon-light);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white);
    color: var(--maroon);
    position: relative;
  }
  #shop .product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(128, 0, 0, 0.3);
  }
  #shop .product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }
  #shop .qr-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--maroon);
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  #shop .product-card h5 {
    margin-top: 0.5rem;
    font-weight: 700;
  }
  #shop .product-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }
  #shop .btn-maroon {
    width: 100%;
  }

/* Cube Sec */
.heading{
    text-align: center;
}

.title{
  color: #800000;
  text-align: center;
}
.cube-container {
  position: relative;
  width: 400px;
  height: 400px;
  perspective: 1200px;
  margin-bottom: 40px;
  margin-top: 130px;
  margin-left:40%;
}

/* Rotating Cube Styles */
.cube {
  position: relative;
  width: 90%;
  height: 90%;
  transform-style: preserve-3d;
  animation: rotateCube 20s infinite linear;
}

.cube-container {
  margin: 130px auto 40px;
}

.face {
  position: absolute;
  width: 90%;
  height: 90%;
  background-color: #800000; /* Maroon background */
  color: white;
  border-radius: 10px;
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 1s;
}

.front  { transform: rotateY(  0deg) translateZ(200px); }
.back   { transform: rotateY(180deg) translateZ(200px); }
.left   { transform: rotateY(-90deg) translateZ(200px); }
.right  { transform: rotateY( 90deg) translateZ(200px); }
.top    { transform: rotateX( 90deg) translateZ(200px); }
.bottom { transform: rotateX(-90deg) translateZ(200px); }

.cube .content {
  text-align: center;
  max-width: 300px;
}

.poem-title {
  font-size: 1.6em;
  font-weight: 700;
  margin-bottom: 10px;
}

.poem-snippet {
  font-size: 1.1em;
  margin-bottom: 15px;
}

.cube-container:hover .cube {
  animation-play-state: paused;
}

.btn-read {
  font-size: 1.1em;
  font-weight: bold;
  color: #800000;
  text-decoration: none;
  border: 2px solid #800000;
  padding: 10px 20px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.btn-read:hover {
  background-color: #800000;
  color: white;
}

@keyframes rotateCube {
  0% { transform: rotateY(0deg); }
  25% { transform: rotateY(90deg); }
  50% { transform: rotateY(180deg); }
  75% { transform: rotateY(270deg); }
  100% { transform: rotateY(360deg); }
}

/* Responsiveness */
@media (max-width: 600px) {
  .cube-container {
    width: 300px;
    height: 300px;
  }
  .cube .content {
    font-size: 0.9em;
  }
}


/* Footer */
/* Footer Background */
footer {
  background-color: maroon; /* Brown background */
  color: #fff; /* White text */
  padding-top: 20px;
}

/* Social Media Icons */
footer .fa-facebook-f,
footer .fa-twitter,
footer .fa-google,
footer .fa-instagram,
footer .fa-linkedin,
footer .fa-github {
  color: #fff; /* White icons */
  transition: transform 0.3s ease, color 0.3s ease;
}

footer .fa-facebook-f:hover {
  transform: scale(1.2);
  color: #d7ccc8; /* Light brown hover */
}

footer .fa-twitter:hover {
  transform: scale(1.2);
  color: #d7ccc8; /* Light brown hover */
}

footer .fa-google:hover {
  transform: scale(1.2);
  color: #d7ccc8; /* Light brown hover */
}

footer .fa-instagram:hover {
  transform: scale(1.2);
  color: #d7ccc8; /* Light brown hover */
}

footer .fa-linkedin:hover {
  transform: scale(1.2);
  color: #d7ccc8; /* Light brown hover */
}

footer .fa-github:hover {
  transform: scale(1.2);
  color: #d7ccc8; /* Light brown hover */
}

/* Link Hover Effect */
footer a.text-reset {
  color: #fff;
  transition: color 0.3s ease;
}

footer a.text-reset:hover {
  color: #d7ccc8; /* Light brown hover */
}

/* Section Titles */
footer h6 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #fff; /* White titles */
}

/* Footer Links */
footer a {
  text-decoration: none;
  color: #fff; /* White links */
  transition: color 0.3s ease;
}

/* Footer Links Hover */
footer a:hover {
  color: #d7ccc8; /* Light brown hover */
}

/* Footer Copyright */
footer .text-center {
  background-color: rgba(0, 0, 0, 0.1); /* Slightly darker overlay */
  padding: 10px;
  font-size: 0.9rem;
}

footer .icon{
  display: flex;
  /* background-color: #D4D4D4; */
  align-items:center;
  /* height: 100px; */
  margin-right: 1020px;
  margin-bottom: 12px;
  /* width: 100px; */
}


/* Lang switcher */
.goog-te-gadget img {
  display: none; /* Hide Google branding image */
}
.goog-te-gadget-simple {
  background-color: #800e13 !important;
  border: none !important;
  color: white !important;
  padding: 5px 10px;
  border-radius: 4px;
  cursor: pointer;
}
.goog-te-gadget-simple:hover {
  background-color: #750a0a !important;
}

.goog-te-gadget-simple .VIpgJd-ZVi9od-xl07Ob-lTBxed {
  color: rgb(255, 255, 255) !important;
  font-size: 16px;
  font-weight: bold;
}
/* momina code end  */
