/* @media only screen and  (max-width: 1200px) {  } */

@media only screen and (max-width: 1160px) {
  .mar-top {
    margin-top: 80%;
  }

  .cta-2 .content h2 {
    font-size: 40px;
  }
}

@media (max-width: 1280px) {
  .content-1 .content {
    padding-left: 50px;
  }

  .content-1 .owl-theme .owl-nav.disabled+.owl-dots {
    left: 10px;
  }
}

@media only screen and (max-width: 991px) {
  .mobile-menu {
    display: block;
  }

  .mar-top {
    margin-top: 40%;
  }

  .cta-1 .content h2 {
    line-height: 1.2;
    font-size: 26px;
  }

  .pop-form {
    bottom: 50px;
  }

  .ban {
    right: 0px;
  }

  #carousel-wrapper #menu #current-option #current-option-text2 {
    font-size: 1.3rem;
  }
}

@media (max-width: 780px) {
  .modal {
    background: rgb(0 0 0 / 25%);
  }

  .modal-content {
    width: 100%;
  }

  .modal-body h4 {
    font-size: 27px;
    margin-top: 10px;
    width: 100%;
    text-align: center;
  }

  .modal-body h2 {
    font-size: 26px;
    margin: 0px auto;
    width: 100%;
  }

  .pop-form {
    position: relative;
    width: 80%;
    left: 0;
    bottom: 0;
    margin: 0px auto;
  }

  .side-img {
    display: none;
  }

  /* .side-img img {
    position: absolute;
    content: "";
    left: -40px;
    top: -70px;
  } */
}

@media only screen and (max-width: 768px) {
  .mar-top {
    margin-top: 1%;
  }

  #carousel-wrapper #menu {
    width: 95%;
    height: 430px;
    margin: 0px auto;
  }

  #carousel-wrapper #menu #current-option #current-option-text2::before {
    transform: translate(0%, 400px);
  }

  #carousel-wrapper #previous-option,
  #carousel-wrapper #next-option {
    right: 19px;
  }

  #carousel-wrapper #image {
    height: 151px;
  }

  .ghost-sec .owl-item.active.center {
    top: 0px;
  }

  .ghost-sec-card {
    margin-bottom: 0px;
  }

  .ghost-sec {
    padding-bottom: 10px;
  }

  .content h2 {
    font-size: 36px;
  }

  .ghost-sec-sub-head {
    font-size: 29px;
  }

  .step {
    flex-direction: column;
    text-align: center;
  }

  .step-content h4 {
    margin-top: 20px;
  }

  .faq .item {
    max-height: 100px;
  }

  .social ul {
    justify-content: center;
  }

  .contact img {
    display: flex;
    margin: 0px auto 20px;
  }

  .contact {
    padding: 20px 0px 30px;
  }

  .content-1 .item {
    padding: 0px 10px;
  }

  .content-1 img {
    margin-top: 20px;
  }

  .content-2 img {
    margin-bottom: 20px;
  }

  .port .tab-content {
    margin-top: 20px;
  }

  .ghost-sec-head {
    font-size: 20px;
  }

  .content-3-heading {
    font-weight: 800;
    font-size: 27px;
  }

  .contact-show {
    display: block;
  }

  .ban {
    display: none;
  }

  .content h1 {
    font-size: 35px;
  }

  .banner {
    height: auto;
    padding: 50px 0px;
  }

  .child1,
  .child2,
  .child3,
  .child4 {
    grid-column: span 5 / span 5;
    grid-row: span 5 / span 5;
  }

  .cta-2 .content {
    text-align: center;
  }

  .cta-2 .buttons {
    justify-content: center;
  }

  .cta-2 .content h2 {
    font-size: 34px;
  }

  .portfolio-item {
    width: 100%;
    margin: 0px auto;
  }

  .port-flex {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .portfolio-heading,
  .portfolio-sub-heading {
    text-align: center;
  }

  .bot-link .foot-logo {
    max-width: 60%;
  }

  .ban-form {
    margin-top: 20px;
  }

  .br-1:nth-child(3) {
    border-right: none;
  }

  .col-num {
    display: none !important;
  }

  .content-1 .content {
    text-align: center;
  }

  .content-1 .content h1 {
    font-size: 30px;
    font-weight: 800;
  }

  .content-1 .content h3 {
    font-size: 25px;
    font-weight: 500;
  }

  .content-1 .content p {
    font-size: 18px;
  }

  .faq .col-md-5 {
    text-align: center;
  }

  .faq-heading {
    font-size: 32px;
  }
}


@media only screen and (max-width: 576px) {
  .content-1 .content {
    padding-left: 0px;
  }

  .content-1 .owl-theme .owl-nav.disabled+.owl-dots {
    display: none;
  }

  #carousel-wrapper #previous-option,
  #carousel-wrapper #next-option {
    width: 1rem;
    height: 1rem;
    /* right: 22px; */
  }

  #carousel-wrapper #image {
    margin-top: 20px;
  }

  #carousel-wrapper #menu #current-option #current-option-text2 {
    font-size: 1.1rem;
  }

  #carousel-wrapper #previous-option {
    bottom: -19px;
    transform: rotate(90deg) translateX(50%);
    right: 60%;
  }

  #carousel-wrapper #next-option {
    bottom: -35px;
    transform: rotate(270deg) translateX(50%);
    right: 40%;
  }

  .faq .item {
    max-height: 115px;
  }

  .faq .text-xl {
    font-size: 18px;
  }

  #carousel-wrapper #menu #current-option #current-option-text1 {
    font-size: 22px;
    line-height: 1;
  }

  #carousel-wrapper #menu {
    height: auto;
  }

  .content-2 .text-right,
  .cta-1 .buttons.justify-content-start,
  .content-3 .text-left {
    text-align: center !important;
  }

  .buttons {
    justify-content: center !important;
  }

  .content-2-heading,
  .content h2 {
    font-weight: 700;
    font-size: 30px;
  }

  .content-2 {
    padding: 50px 0 40px;
  }

  .portfolio-heading {
    text-align: center;
    margin-bottom: 10px !important;
  }

  .portfolio-sub-heading,
  .cta-1 .content {
    text-align: center;
  }

  .step-content h3 {
    font-size: 27px;
    font-weight: 600;
  }

  .cta-1 .buttons,
  .content-3 .buttons {
    margin-bottom: 20px;
  }

  footer .small {
    padding: 10px 0;
  }

  .social {
    margin: 10px 0px 0;
  }

  .col-count {
    column-count: 1;
  }
}

@media only screen and (max-width: 375px) {}




/* ==========================================
   Extra Large Screens (4K & Large Desktop)
========================================== */
@media (min-width: 1600px) {}

/* ==========================================
   Large Desktop
========================================== */
@media (max-width: 1599px) {
  .port h2 {
    font-size: 26px;
  }

  .cta-2 {
    background-position: left;
  }

  .button-1 {
    font-size: 13px;
  }

  .cta-1 .content h2 {
    font-size: 22px;
  }

  #carousel-wrapper #menu #current-option #current-option-text2 {
    font-size: 12px;
    margin: 0;
  }

  .cta-21 .cta-box {
    width: 100%;
  }

  .card-header button {
    font-size: 12px;
  }

  #carousel-wrapper,
  #carousel-wrapper #menu {
    width: 100%;
  }

  .cta-21 .container {
    max-width: 95%;
  }
}

@media (max-width: 1024px) {
  .cta-1.cta-2 {
    text-align: center;
    padding: 80px 0;
  }

  .cta-1.cta-2 .row {
    justify-content: center;
  }

  .cta-1.cta-2 .col-lg-3 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .cta-1.cta-2 .content {
    max-width: 800px;
    margin: 0 auto;
  }

  .cta-1.cta-2 .content h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
  }

  .cta-1.cta-2 .content p {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
  }

  .cta-1.cta-2 .buttons {
    justify-content: center !important;
    gap: 15px;
  }

  .cta-1.cta-2 .button-1 {
    font-size: 18px;
    padding: 16px 34px;
  }

  /* Left side text hide */
  .port .left {
    display: none;
  }

  /* Center the portfolio section */
  .port .tab-pane .row {
    justify-content: center;
  }

  /* Make image container full width */
  .port .tab-pane .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Bigger book grid */
  .port .portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    justify-items: center;
  }

  /* Bigger book images */
  .port .portfolio-item img {
    width: 100%;
    max-width: 180px;
    height: auto;
    transition: 0.3s ease;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {

  .cta-21 .row.align-items-center {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .cta-21 .col-md-4 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .cta-21 .container {
    max-width: 100%;
  }

  /* Headings */
  .cta-21 h1,
  .cta-21 h2 {
    text-align: center;
  }

  /* Testimonial */
  #carousel-wrapper {
    max-width: 750px;
    margin: 0 auto;
  }

  /* FAQ */
  .cta-21 .accordion {
    max-width: 750px;
    margin: 0 auto;
  }

  /* Form */
  .cta-21 form {
    max-width: 750px;
    margin: 0 auto;
  }

  .cta-21 .btn-primary {
    width: 100%;
  }

  .cta-21 .content h2 {
    text-align: center !important;
  }

  form .title {
    text-align: center !important;
  }

  .navbar-light .navbar-nav .nav-link {
    font-size: 12px;
  }

  .btn-outline-success {
    font-size: 10px;

  }

  .ban-contain {
    max-width: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
  }

  .main-slider.style-1 .banner-media img {
    width: 75%;
  }

}

@media(max-width:767px) {
  .top-header-content {
    justify-content: center;
    text-align: center
  }

  .top-header-item.disclaimer {
    display: none
  }

  .navbar-brand img {
    max-width: 140px
  }

  .navbar-toggler {
    display: block;
    margin-left: auto
  }

  .navbar-collapse {
    background: #111;
    padding: 15px;
    border-radius: 10px;
    margin-top: 10px
  }

  .navbar-nav {
    flex-direction: column !important;
    text-align: center
  }

  .navbar-nav .nav-link {
    padding: 12px 0
  }

  .col-lg-2:last-child {
    display: none !important
  }

  .contact-show {
    display: block;
    margin-top: 15px
  }

  .contact-show .d-flex {
    display: flex;
    flex-direction: column !important;
    gap: 10px
  }

  .contact-show .btn {
    width: 100%
  }
}

/* ==========================================
   Desktop / Laptop
========================================== */
@media (max-width: 1399px) {}

/* ==========================================
   Small Laptop
========================================== */
@media (max-width: 1199px) {}

/* ==========================================
   Tablet Landscape
========================================== */
@media (max-width: 991px) {}

/* ==========================================
   Tablet Portrait
========================================== */
@media (max-width: 767px) {}

/* ==========================================
   Large Mobile
========================================== */
@media (max-width: 575px) {}

/* ==========================================
   Medium Mobile
========================================== */
@media (max-width: 480px) {
  #carousel-wrapper #menu #current-option {
    align-items: center;
  }

  #carousel-wrapper #menu #current-option #current-option-text2 {
    margin-bottom: 20px;
  }

  .col-md-6.testi-image.justify-content-center {
    display: none;
  }

  .port .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
  }

  .modal-body h2 {
    font-size: 27px;
    margin: 5px auto;
  }

  .portfolio-item {
    width: 70%;
    margin: 0px auto;
  }
}

/* ==========================================
   Small Mobile
========================================== */
@media (max-width: 390px) {}

/* ==========================================
   Extra Small Mobile
========================================== */
@media (max-width: 320px) {}

.site-header {
  width: 100%;
  font-family: "jost", "sans-serif";
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: var(--dark-bg);
}

.header-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* --- Topbar Styles --- */
.header-topbar {
  background-color: #ce2f2f;
  border-bottom: 1px solid #2d2d2d;
  padding: 8px 0;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  gap: 20px;
}

.topbar-item a {
  color: #ffffff;
  text-decoration: none;
  transition: color var(--transition-speed);
}

.topbar-item a:hover {
  color: var(--primary-color);
}

.topbar-item i {
  margin-right: 6px;
  color: #ffffff;
}

.work-hours {
  color: #ffffff;
}

/* --- Navbar Styles --- */
.header-navbar {
  padding: 15px 0;
  background: #000;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.brand-logo {
  max-height: 50px;
  display: block;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  flex-grow: 1;
  /* margin-left: 40px; */
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 12px;
  transition: color .15s ease-in-out;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-link.active {
  color: #ce2f2f;
}

/* --- Buttons --- */
.nav-actions {
  display: flex;
  gap: 12px;
}

.btn {
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition-speed);
  font-size: 14px;
}

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

.btn-primary:hover {
  background-color: #1e1e21;
  border-color: #ce2f2f;
  color: #ffffff;
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--dark-bg);
}

/* --- Hamburger Menu Button --- */
.nav-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle-btn .bar {
  width: 100%;
  height: 3px;
  background-color: #ce2f2f;
  transition: all var(--transition-speed);
}

/* --- Responsive Media Queries (Mobile View) --- */
@media (max-width: 992px) {
  .topbar-inner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .topbar-left {
    flex-direction: column;
    gap: 6px;
  }

  .nav-toggle-btn {
    display: flex;
  }

  .nav-menu-wrapper {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background-color: #000;
    flex-direction: column;
    gap: 25px;
    padding: 30px 20px;
    margin-left: 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    display: none;
    /* Hidden by default */
    z-index: 1000;
  }

  /* Active state mobile menu open karne ke liye */
  .nav-menu-wrapper.open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 15px;
  }

  .nav-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  /* Hamburger Animation when open */
  .nav-toggle-btn.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .nav-toggle-btn.open .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle-btn.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .col-md-6.testi-image.justify-content-center {
    display: none;
  }

  #carousel-wrapper #menu #current-option {
    align-items: center;
  }
}

/* Tablet & Mobile */
@media (max-width: 768px) {

  /* Hide left image */
  #exampleModalCenter .side-img,
  #exampleModalCenter .col-lg-6:first-child {
    display: none;
  }

  /* Make form section full width */
  #exampleModalCenter .col-lg-6:last-child {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Center everything */
  #exampleModalCenter .modal-body {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    margin: 0;
    border-radius: 25px;
  }

  #exampleModalCenter h4,
  #exampleModalCenter h2 {
    text-align: center;
  }

  #exampleModalCenter .pop-form {
    max-width: 450px;
    margin: 0px auto 0;
    padding: 0;
  }

  #exampleModalCenter .form-button {
    display: flex;
    justify-content: center;
  }
}

@media (max-width: 425px) {
  #exampleModalCenter .modal-body {
    padding: 30px;
  }

  .modal-body h4 {
    font-size: 14px;
  }

  .modal-body h2 {
    font-size: 18px;
    margin: 5px auto 10px;
  }

  .modal-content {
    width: 80%;
  }

  .modal-dialog {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }

  .pop-form .form-control {
    height: 40px;
  }
}


