/*
Template Name: Shri Guru Temple
File: Layout CSS
Author: TemplatesOnWeb
Author URI: https://www.templateonweb.com/
Licence: <a href="https://www.templateonweb.com/license">Website Template Licence</a>
*/
:root {
  --primary-color: #e52d27;
  --primary-dark: #d63c12;
  --secondary-color: #FFD700;
  --secondary-dark: #e6c200;
  --text-color: #333;
  --light-bg: #ffffff;
  --premium-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  --soft-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --gradient-primary: linear-gradient(135deg, #e52d27 0%, #e52d27 100%);
  --shop-primary: #e52d27;
}

html {
  overflow-x: hidden;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
  overflow-x: hidden;
  color: var(--text-color);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.3px;
  background-color: var(--light-bg);
}

p {
  font-size: 18px;
  font-weight: 500;
  color: #5a4a2f;
  margin-bottom: 1.5rem;
}

ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-weight: 700;
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h6 {
  color: var(--primary-color);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}

h1 {
  font-size: 32px;
}

h2 {
  font-size: 26px;
}

h3 {
  font-size: 22px;
}

h4 {
  font-size: 19px;
}

h5 {
  font-size: 16px;
}

h6 {
  font-size: 14px;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
  color: #e52d27;
}

a:focus {
  text-decoration: none;
  color: #e52d27;
}

.a_tag:hover {
  color: #e52d27 !important;
}

.a_tag:focus {
  color: #e52d27 !important;
}

.a_tag1:hover {
  color: #5a4a2f !important;
}

.a_tag1:focus {
  color: #5a4a2f !important;
}


.button {
  transition: all 0.3s ease;
  padding: 15px 35px;
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 49, 49, 0.3);
  border: none;
}

.button:hover {
  background: linear-gradient(135deg, #e52d27 0%, #e52d27 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 49, 49, 0.4);
}

.button_1 {
  transition: all 0.3s ease;
  padding: 15px 35px;
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 49, 49, 0.3);
  border: none;
}

.button_1:hover {
  background: linear-gradient(135deg, #e52d27 0%, #e52d27 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 49, 49, 0.4);
}

.button_2 {
  transition: all 0.3s ease;
  padding: 15px 35px;
  display: inline-block;
  background: var(--gradient-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
}

.button_2:hover {
  background: #fff;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}


.button_3 {
  transition: 0.3s;
  padding: 15px 35px 15px 35px;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #FFD700;
}

.button_3:hover {
  background: #fff;
  color: #000;
}

.button_4 {
  transition: 0.3s;
  padding: 15px 35px 15px 35px;
  display: inline-block;
  color: #D2691E;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
  border: 2px solid #FFD700;
}

.button_4:hover {
  background: #e52d27;
  color: #fff;
  border: 2px solid #e52d27;
}


.grid figure {
  position: relative;
  float: left;
  overflow: hidden;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

figure.effect-jazz figcaption::after,
figure.effect-jazz img {
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
}

figure.effect-jazz:hover img {
  -webkit-transform: scale3d(1.05, 1.05, 1);
  transform: scale3d(1.05, 1.05, 1);
}

.col_blue {
  color: #e52d27 !important;
  /* Kept original but maybe should be secondary? leaving as is for now */
}

.col_oran {
  color: var(--primary-color) !important;
}

.bg_blue {
  background-color: var(--primary-color) !important;
}

.bg_light {
  background-color: #ffffff !important;
}

.bg_oran {
  background-color: var(--primary-color) !important;
}

.bg_back {
  background-color: rgba(255, 49, 49, 0.4) !important;
}

.bg_backo {
  padding-top: 80px;
  padding-bottom: 80px;
  background: #ffffff;
}

hr {
  opacity: 1;
  background-color: #FFD700;
  margin-top: 15px;
  margin-bottom: 20px;
}


.font_14 {
  font-size: 13px;
}

.font_8 {
  font-size: 8px;
}

.font_6 {
  font-size: 6px;
}

.font_10 {
  font-size: 10px;
}

.font_12 {
  font-size: 11px;
}

.font_13 {
  font-size: 12px;
}

.font_15 {
  font-size: 14px;
}

.font_17 {
  font-size: 16px;
}

.font_60 {
  font-size: 52px;
}

.font_80 {
  font-size: 70px;
}

.font_50 {
  font-size: 42px;
}

.line {
  height: 2px !important;
  width: 100px;
  background-color: #e52d27;
}

.p_4 {
  padding-top: 40px;
  padding-bottom: 40px;
}

.border_1 {
  border: 1px solid #FFD700;
}

.border_2 {
  border-left: 3px solid #e52d27;
}

.carousel_p .carousel-indicators {
  bottom: -60px !important;
}

.carousel_p {
  padding-bottom: 70px !important;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
  pointer-events: none;
}

tbody,
td,
tfoot,
th,
thead,
tr {
  border-color: #FFD700;
}

.hvr-grow {
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}

.hvr-grow:hover,
.hvr-grow:focus,
.hvr-grow:active {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Curl Top Right */
.hvr-curl-top-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  position: relative;
}

.hvr-curl-top-right:before {
  pointer-events: none;
  position: absolute;
  content: '';
  height: 0;
  width: 0;
  top: 0;
  right: 0;
  background: #ffffff;
  /* IE9 */
  background: linear-gradient(225deg, #ffffff 45%, #FFD700 50%, #e52d27 56%, #ffffff 80%);
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: width, height;
  transition-property: width, height;
}

.hvr-curl-top-right:hover:before,
.hvr-curl-top-right:focus:before,
.hvr-curl-top-right:active:before {
  width: 25px;
  height: 25px;
}

.rounded_20 {
  border-radius: 20px !important;
}

/*********************header****************/

/* Top Navigation Bar */
#top {
  background-color: #ffffff;
}

#top a,
#top .a_tag,
#top li,
#top p,
#top span {
  color: #000 !important;
  font-weight: 700 !important;
}

#top .col_oran {
  color: #e52d27 !important;
}

.navbar-wrapper {
  background-color: #ffffff;
}

#header {
  background-color: #facd16;
  padding: 0 !important;
  margin: 0 !important;
}

.nav_hide:after {
  display: none;
}

.navbar {
  background: #facd16 !important;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

#header .nav-link {
  padding: 25px 15px;
  color: #000 !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}


/* LARGER BOX SIZES - Services dropdown items only */
#servicesDropdown .dropdown-item {
  height: 65px !important;
  padding: 18px 20px !important;
  margin-bottom: 10px !important;
  line-height: 1.4 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: 2px solid #FFD700 !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
  white-space: normal !important;
  color: #D2691E !important;
}

#servicesDropdown .dropdown-item:hover {
  background: #e52d27 !important;
  color: #fff !important;
  border-color: #e52d27 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(255, 49, 49, 0.3) !important;
}

/* Responsive column spacing */
#servicesDropdown .row {
  margin: 0 -10px !important;
}

#servicesDropdown .col-6,
#servicesDropdown .col-md-3 {
  padding: 0 10px !important;
}


/* Ensure the arrow icon doesn't break layout */
.nav-link svg {
  width: 12px;
  height: 12px;
  vertical-align: middle;
  fill: #000;
}

#header .navbar-brand {
  font-size: 26px;
  margin: 0;
  padding: 0;
  line-height: 0.4em;
  text-transform: uppercase;
  padding-left: 5px !important;
}

#header .navbar-brand span {
  margin-left: 38px;
}

#header .nav-link {
  padding: 25px 15px;
  color: #000 !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
}

#header .nav-link:hover {
  background: none;
  color: #e52d27 !important;
}

#header .nav-link:focus {
  background: none;
  color: #e52d27 !important;
}

#header .active {
  background: none;
  color: #e52d27 !important;
}

#header .drop_1 {
  min-width: 230px;
  border-radius: 0;
  margin-top: 0px !important;
  border: none;
  background: #ffffff;
  padding: 0;
  left: auto !important;
  border: 1px solid #FFD700;
}

#header .drop_1 li {
  border-bottom: 1px solid #FFD700;
}

#header .drop_1 a {
  padding-top: 15px;
  padding-bottom: 15px;
  color: #5a4a2f;
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
}

#header .drop_1 a:hover {
  background: #ffffff;
  color: #e52d27;
}

#header .drop_search {
  min-width: 280px;
  left: auto !important;
  right: 0 !important;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100% !important;
  background-color: #facd16 !important;
  border-radius: 0;
  box-shadow: 0px 10px 50px 0px rgba(250, 205, 22, 0.3);
  transform: none !important;
  transition: none !important;
  z-index: 1030 !important;
}

.nav_hide {
  font-size: 20px;
}

li.nav-item.dropdown svg {
  opacity: 1;
  width: 1rem;
  color: #fff;
  height: 1rem;
  margin-left: .25rem;
  margin-right: -.25rem;
  font-size: 10px;
  margin-top: -6px;
}


.dropdown-toggle::after {
  display: none;
}

/* Forward */
.hvr-forward {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px transparent;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}

.hvr-forward:hover,
.hvr-forward:focus,
.hvr-forward:active {
  -webkit-transform: translateX(8px);
  transform: translateX(8px);
}

.drop_cart {
  min-width: 320px;
  padding: 20px 15px;
  border-radius: 0 !important;
  border: 1px solid #FFD700 !important;
  background: #ffffff;
  left: auto !important;
  right: 0 !important;
}

.drop_1i {
  border-bottom: 1px solid #FFD700;
  padding-bottom: 10px;
}

.drop_1i1l span i {
  display: inline-block;
  text-align: center;
  font-size: 20px;
  margin-top: 10px;
  cursor: pointer;
  color: #e52d27;
  transition: 0.3s;
}

.drop_1i1l span i:hover {
  color: #e52d27;
}

.drop_1i1 {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #FFD700;
}

.drop_1i2 {
  padding-top: 10px;
  padding-bottom: 10px;
}

.navbar-nav {
  margin-top: 5px;
}

.main_1 {
  z-index: 5 !important;
}

/*********************header_end****************/


/*********************common****************/
.pages ul li {
  display: inline-block;
}

.pages ul li a {
  display: block;
  color: #D2691E;
  margin: 0 2px;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border: 1px solid #FFD700;
  background: #ffffff;
}

.pages ul li a:hover {
  background: #e52d27;
  border: 1px solid #e52d27;
}

.pages ul li a:hover {
  color: #fff !important;
}

.act {
  background: #e52d27 !important;
  border: 1px solid #e52d27 !important;
  color: #fff !important;
}

/* footer social icons */
ul.social-network {
  list-style: none;
  display: block;
  margin-left: 0 !important;
  padding: 0;
}

ul.social-network li {
  display: inline-block;
}

/* footer social icons */
.social-network a.icoRss:hover {
  background-color: #F56505;
}

.social-network a.icoFacebook:hover {
  background-color: #3B5998;
}

.social-network a.icoTwitter:hover {
  background-color: #33ccff;
}

.social-network a.icoGoogle:hover {
  background-color: #BD3518;
}

.social-network a.icoVimeo:hover {
  background-color: #0590B8;
}

.social-network a.icoLinkedin:hover {
  background-color: #007bb7;
}

.social-network a.icoRss:hover i,
.social-network a.icoFacebook:hover i,
.social-network a.icoTwitter:hover i,
.social-network a.icoGoogle:hover i,
.social-network a.icoVimeo:hover i,
.social-network a.icoLinkedin:hover i {
  color: #fff;
}

a.socialIcon:hover,
.socialHoverClass {
  color: #44BCDD;
}

.social-circle li a {
  display: inline-block;
  position: relative;
  margin: 0 2px 0 2px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
}

.social-circle li i {
  margin: 0;
  line-height: 40px;
  text-align: center;
}

.social-circle li a:hover i,
.triggeredHover {
  -moz-transform: rotate(360deg);
  -webkit-transform: rotate(360deg);
  -ms--transform: rotate(360deg);
  transform: rotate(360deg);
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  -ms-transition: all 0.2s;
  transition: all 0.2s;
}

.social-circle i {
  color: #fff;
  -webkit-transition: all 0.8s;
  -moz-transition: all 0.8s;
  -o-transition: all 0.8s;
  -ms-transition: all 0.8s;
  transition: all 0.8s;
}

.form-control:focus {
  box-shadow: none;
  border-color: #FFD700;
}

.form-select:focus {
  box-shadow: none;
  border-color: #FFD700;
}

.form-control {
  border-color: #FFD700;
  box-shadow: none;
  border-radius: 0;
  height: 50px;
  font-size: 14px;
  background-color: #ffffff;
}

.form-select {
  border-color: #FFD700;
  box-shadow: none;
  border-radius: 0;
  height: 50px;
  color: #5a4a2f;
  font-size: 14px;
  background-color: #ffffff;
}

.shadow_box {
  box-shadow: var(--premium-shadow);
  border-radius: 10px;
}

.carousel-indicators [data-bs-target] {
  background-color: var(--primary-color);
}

.input-group .form-control {
  height: auto;
}

.input-group .form-control:focus {
  box-shadow: none;
}

.form-check .form-check-input:checked {
  background-color: #e52d27;
  border-color: #e52d27;
}

.form_text {
  height: 150px !important;
}

::placeholder {
  color: #8B7355;
  opacity: 1;
  /* Firefox */
}

.main_1 {
  z-index: 3;
}

.center_om {
  padding-top: 240px;
  padding-bottom: 120px;
}

.center_o1l p {
  border-left: 3px solid #e52d27;
}

.center_o1r {
  margin-top: 50px;
}

.head_1:before {
  display: inline-block;
  width: 15%;
  height: 4px;
  background-color: #e52d27;
  vertical-align: middle;
  margin-right: 3%;
  content: "";
}

.shop_pg1r1 h6 a:hover {
  background: #e52d27 !important;
  color: #fff;
  transition: 0.3s;
}

.tags a {
  background: #ffffff;
  color: #D2691E;
  font-size: 13px;
  margin: 0px 2px 6px 0px;
  padding: 6px 16px 6px 16px;
  font-size: 14px;
  transition: 0.3s;
  display: block;
  text-transform: uppercase;
  border: 1px solid #FFD700;
}

.tags a:hover {
  background-color: #e52d27;
  color: #fff;
  border-color: #e52d27;
}

.shop_1dt1irnr ul li a {
  width: 40px;
  height: 40px;
  line-height: 40px;
  background: #ffffff;
  transition: 0.3s;
  border: 1px solid #FFD700;
}

.shop_1dt1irnr ul li a:hover {
  background-color: #e52d27;
  color: #fff;
  border-color: #e52d27;
}

.center_team {
  background-image: url(../img/3.jpg);
  background-position: center center;
  background-size: cover;
}

/*********************common_end****************/

/*********************team****************/
#team {
  background-image: url(../img/22.jpg);
  background-position: center center;
  background-size: cover;
}

.team_m {
  padding-top: 80px;
  padding-bottom: 130px;
  background: rgba(255, 49, 49, 0.85);
}

.team_1i1i1 span a {
  width: 40px;
  height: 40px;
  line-height: 37px;
  border: 2px solid #FFD700;
  font-size: 14px;
  transition: 0.3s;
  background: #ffffff;
}

.team_1i1i1 span a:hover {
  background: #e52d27 !important;
  transition: 0.3s;
  border-color: #e52d27 !important;
}

.team_1i1i1 {
  top: 14px;
  right: 13%;
}

/*********************team_end****************/

/*********************donate****************/
.donate_2li1 .progress-bar {
  background: #e52d27;
  border-radius: 0;
}

.donate_2li1 .progress {
  background-color: #ffffff;
  height: 12px;
  overflow: hidden;
  border-radius: 0;
  border: 1px solid #FFD700;
}

/*********************donate_end****************/

/*********************shop****************/
.shop_1im1i1 ul li a {
  display: inline-block;
  box-shadow: 0px 10px 50px 0px rgba(255, 49, 49, 0.15);
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: #ffffff;
  transition: 0.3s;
}

.shop_1im1i1 ul li a:hover {
  background: #e52d27;
  color: #fff;
}

.shop_1im1i1 {
  padding-top: 60%;
  transition: 0.3s;
  display: none;
}

.shop_1im:hover .shop_1im1i1 {
  display: block;
  transition: 0.3s;
}

/*********************shop_end****************/

/*********************footer****************/
#footer_b {
  border-top: 1px solid #e0451e;
}

.footer_b1m h3 {
  font-size: 26px;
  margin: 0;
  padding: 0;
  line-height: 0.4em;
  text-transform: uppercase;
  text-align: center;
}

.footer_b1m h3 span {
  margin-left: 21px;
}

.footer_b1r ul li a {
  width: 50px;
  height: 50px;
  line-height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  transition: 0.3s;
}

.footer_b1r ul li a:hover {
  background: rgba(255, 255, 255, 0.4);
}

.footer_b1l {
  padding-top: 19px;
}

.footer_b1r {
  padding-top: 20px;
}

#footer {
  padding-top: 21px !important;
}

.footer_b1m {
  background: #ffffff;
}

/*********************footer_end****************/



/* Remove gaps between header, hero, and consultation sections */
.navbar-wrapper {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

#header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.video-section {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0;
  line-height: 0;
  display: block;
}

.video-section .center_home {
  margin: 0 !important;
  padding: 0 !important;
}

.video-section #center {
  margin: 0 !important;
  padding: 0 !important;
}

.video-section .video-container {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.video-section .video-container img {
  display: block;
  margin: 0;
  padding: 0;
}

#shop {
  margin-top: 0 !important;
}

@media (max-width: 991px) {

  /* 1. Header & Navigation */
  .navbar-collapse {
    max-height: 70vh !important;
    overflow-y: auto;
    border-top: 1px solid #e52d27;
    margin-top: 15px;
  }

  .navbar .navbar-toggler {
    box-shadow: none !important;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .navbar .navbar-toggler .navbar-toggler-icon {
    background-image: none;
    width: auto;
    height: auto;
  }

  .navbar .navbar-toggler .navbar-toggler-icon::before {
    content: '\f0c9';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #000;
    font-size: 18px;
  }

  #header .nav-link {
    font-size: 18px !important;
    padding: 12px 15px !important;
    border-bottom: 1px solid rgba(255, 49, 49, 0.1);
  }

  .navbar-brand {
    font-size: 20px !important;
    display: block !important;
    line-height: 1.1 !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    white-space: normal !important;
  }

  .navbar-brand span {
    font-size: 11px !important;
    display: block !important;
    line-height: 1.2 !important;
    margin-top: 2px;
  }

  /* 2. Mega-Menu Dropdown Fix */
  .flex-container {
    position: static !important;
    left: auto !important;
    display: block !important;
    width: 100% !important;
  }

  .flex-container>div {
    flex: none !important;
    width: 100% !important;
    display: block !important;
  }

  .drop_1 {
    position: static !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 !important;
  }

  #header .drop_1 .dropdown-item {
    font-size: 16px !important;
    padding: 10px 15px 10px 25px !important;
    white-space: normal !important;
  }

  /* 3. Unified Grid: Strictly 2-column for all 4-column desktop sections */
  .donate_2 .col-md-3,
  .shop_1 .col-md-3,
  .team_1i,
  .blog_1i,
  .shop_1im,
  .col-md-3.col-sm-6 {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    margin-bottom: 10px !important;
  }

  /* Footer Specific Symmetry */
  #footer .col-md-4,
  #footer .col-md-3:last-child {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-bottom: 30px !important;
    text-align: center !important;
  }

  #footer .col-md-2,
  #footer .col-md-3:not(:last-child) {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    margin-bottom: 30px !important;
  }

  /* Fix nested columns in footer */
  #footer .footer_3ism .col-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  #footer .footer_1l {
    text-align: left !important;
  }

  #footer .footer_1l h4 {
    text-align: left !important;
  }

  /* 4. Proportional Font Scaling */
  .premium-title {
    font-size: 28px !important;
    line-height: 1.2 !important;
  }

  .premium-subtitle {
    font-size: 12px !important;
    letter-spacing: 2px !important;
  }

  h1,
  .font_60 {
    font-size: 32px !important;
  }

  h2,
  .font_50 {
    font-size: 26px !important;
  }

  h3 {
    font-size: 20px !important;
  }

  p,
  li,
  .section-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  /* 5. Layout Preservation */
  #top {
    display: none;
    /* Hide header top on small screens to save space */
  }

  .video-container {
    height: 180px !important;
  }

  .video-container img {
    height: 100% !important;
    object-fit: cover !important;
    object-position: center 20% !important;
    /* Keep the face/top subject visible */
  }

  /* Remove hero section gaps */
  #center,
  .video-section {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .navbar-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .center_om {
    padding: 40px 15px !important;
  }

  /* Padding & Spacing */
  .p_4 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* 6. UI Elements scaled down */
  .button,
  .button_1,
  .button_2 {
    padding: 10px 24px !important;
    font-size: 15px !important;
  }

  .nav-icon-item {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-icon-item i {
    font-size: 18px !important;
  }

  .floating-contact a {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .floating-contact {
    bottom: 15px;
    right: 15px;
    gap: 12px;
  }

  .floating-contact a {
    width: 48px;
    height: 48px;
    font-size: 22px;
  }

  /* Footer Brand & Bottom Section */
  .footer_b1m {
    padding: 20px !important;
    margin-bottom: 15px;
    text-align: center;
  }

  .footer_b1m h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .footer_b1l,
  .footer_b1r {
    padding-top: 10px !important;
    text-align: center !important;
  }

  .footer_b1r {
    padding-bottom: 80px !important;
    /* Extra space for floating buttons */
  }

  /* Om divider sizing */
  .om-divider::before,
  .om-divider::after {
    width: 35px;
  }

  .om-symbol {
    font-size: 18px;
  }

  /* Prevent overflow */
  .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
  }
}

@media (min-width:871px) and (max-width:991px) {
  .top_1l ul {
    font-size: 12px;
  }

  .top_1m ul {
    font-size: 12px;
  }

  .top_1r ul {
    font-size: 12px !important;
  }

  .top_1r .font_14 {
    font-size: 12px !important;
  }

  #header .nav-link {
    padding: 25px 10px;
  }
}

@media (min-width:992px) and (max-width:1200px) {
  .navbar-expand-md {
    flex-wrap: wrap !important;
  }

  .top_1l ul {
    font-size: 12px;
  }

  .top_1m ul {
    font-size: 12px;
  }

  .top_1r ul {
    font-size: 12px !important;
  }

  .top_1r .font_14 {
    font-size: 12px !important;
  }

  #header .nav-link {
    padding: 25px 10px;
  }

  .navbar {
    width: 100%;
  }

  .shop_1im1i1 ul li a {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 14px;
  }

  .subs1l p {
    font-size: 14px;
  }

  .center_o1r {
    margin-top: 20px;
  }
}

@media (min-width:1201px) and (max-width:1300px) {
  .navbar {
    width: 90%;
  }
}

@media (min-width:1400px) and (max-width:2000px) {
  .navbar {
    width: 86%;
  }
}

.flex-container {
  display: flex;
  gap: 0px;
  /* Optional space between divs */
  position: absolute;
  /* Enables precise positioning */
  left: -500px;
}

.flex-container>div {
  flex: 1;
  /* Makes each div equal width; adjust as needed */
}

/* Header Color Theme Update */
#top {
  background-color: #e52d27 !important;
}

#top a {
  color: #ffffff !important;
}

#top .col_oran {
  color: #ffffff !important;
}

#top i.fa-phone {
  background-color: #fff !important;
  color: #e52d27 !important;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  margin-right: 5px !important;
  font-size: 12px;
}

#top .text-black {
  color: #ffffff !important;
}

/* Premium Typography & Theme Elements */
.premium-subtitle {
  display: block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
}

.premium-title {
  font-size: 48px;
  font-weight: 800;
  color: #e52d27;
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
}

.premium-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, transparent, #e52d27, transparent);
  margin: 0 auto;
  border-radius: 2px;
}

/* Authentic Om Divider */
.om-divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.om-divider::before,
.om-divider::after {
  content: "";
  display: inline-block;
  width: 100px;
  height: 2px;
  background-color: #e52d27;
  vertical-align: middle;
  margin: 0 15px;
}

.om-symbol {
  font-size: 24px;
  color: #e52d27;
  font-weight: bold;
  display: inline-block;
  vertical-align: middle;
}

/* FLOATING CONTACT ICONS */
.floating-contact {
  position: fixed;
  bottom: 30px;
  right: 25px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.floating-contact a {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-contact a:hover {
  transform: scale(1.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.floating-contact .float-whatsapp {
  background: #25D366;
}

.floating-contact .float-call {
  background: #e52d27;
}

@keyframes floatPulse {

  0%,
  100% {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  }

  50% {
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  }
}

.floating-contact a {
  animation: floatPulse 2s ease-in-out infinite;
}

.floating-contact a:hover {
  animation: none;
}

/* Telugu Text Styling */
.telugu-text {
  font-weight: bold !important;
}

.telugu-span {
  font-weight: bold !important;
}

/* End of global.css responsive section */

/* Footer Refinements */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.contact-info-icon {
  font-size: 20px;
  color: #ffc107;
  margin-right: 15px;
  min-width: 30px;
  text-align: center;
}

.contact-info-text h6 {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
  text-transform: uppercase;
}

.contact-info-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
  line-height: 1.5;
}

.btn-whatsapp-footer {
  display: inline-flex;
  align-items: center;
  background-color: #25D366;
  color: white !important;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.btn-whatsapp-footer:hover {
  background-color: #128C7E;
  color: white !important;
}

.btn-whatsapp-footer i {
  margin-right: 8px;
  font-size: 18px;
}

/* ==================================
   RESPONSIVE FIXES (Banner, Navbar, Top Bar)
   ================================== */
@media (max-width: 991px) {

  /* 1. Ensure #top bar is visible and matches desktop layout (scaled down) */
  #top {
    display: block !important;
  }

  #top .container-xl .row {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  #top .col-lg-4,
  #top .col-md-4,
  #top .col-12 {
    display: inline-block !important;
    width: auto !important;
    padding: 0 5px !important;
    flex: 0 1 auto !important;
  }

  /* Hide specific long elements if needed or just scale down text */
  #top .font_14,
  #top .fs-6,
  #top p,
  #top a {
    font-size: 11px !important;
    /* Drastically reduce font size */
    margin-bottom: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    /* Prevent wrapping inside items */
  }

  #top .col_oran {
    font-size: 11px !important;
  }

  #top .top_1l,
  #top .top_1m,
  #top .top_1r {
    text-align: center !important;
    margin-bottom: 0px !important;
    display: inline-block !important;
  }

  /* 2. Fix Navbar Hamburger Alignment & Sidebar */
  .navbar .container-xl {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    /* Align left for toggler */
    align-items: center !important;
  }

  .navbar-toggler {
    align-self: center;
    margin-right: 10px;
    order: -1;
    /* Move to start (left) */
    padding: 0 !important;
    font-size: 18px !important;
    border: none;
    background: #ffffff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove border for cleaner look */
  }

  .navbar-brand {
    flex-grow: 0;
    /* Don't expand */
    width: auto;
    white-space: nowrap;
    overflow: visible;
    font-size: 14px !important;
    line-height: 1.2;
  }

  .navbar-brand i {
    font-size: 16px !important;
  }

  .navbar-brand span {
    font-size: 10px !important;
    display: block;
  }

  /* Sidebar Slide-in Logic */
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: -100%;
    /* Hide off-screen left */
    width: 280px;
    /* Sidebar width */
    height: 100vh !important;
    max-height: none !important;
    background-color: #ffffff;
    z-index: 1050;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
    /* Space for close button if needed */
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: block !important;
    /* Force block to allow transition */
    visibility: hidden;
    /* Hide content when closed */
  }

  .navbar-collapse.show {
    left: 0;
    /* Slide in */
    visibility: visible;
  }

  /* Close Button Styling */
  .navbar-collapse .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1055;
    font-size: 20px;
    opacity: 0.8;
  }

  .navbar-nav {
    padding-left: 20px;
  }

  .nav-item {
    margin-bottom: 10px;
  }

  /* Make nav links visible in the white sidebar */
  #header .navbar-collapse .nav-link,
  #header .navbar-collapse .dropdown-toggle {
    color: #000 !important;
  }

  #header .navbar-collapse .nav-link:hover {
    color: #e52d27 !important;
  }

  #header .navbar-collapse .dropdown-item {
    color: #000 !important;
  }

  /* Optional: Overlay when sidebar is open (requires JS, but CSS can help structure) */
  /* For now, just the sidebar */



  /* 3. Fix Banner Cropping */
  /* Target the carousel images or main banner images */
  .video-container img,
  .carousel-item img {
    height: auto !important;
    min-height: 200px;
    /* Ensure visibility */
    object-fit: contain !important;
    /* Show full image, don't crop */
  }

  .carousel-item {
    height: auto !important;
    min-height: auto !important;
  }

  /* 4. Consultation Services - Horizontal Scroll */
  .shop_1 .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }

  .shop_1 .col-md-3 {
    flex: 0 0 130px !important;
    max-width: 130px !important;
    margin-right: 8px !important;
  }
}

@media (max-width: 991px) {
  .navbar-brand .d-flex.flex-column span:first-child {
    font-size: 33px !important;
    line-height: 1 !important;
  }

  .navbar-brand .d-flex.flex-column span:last-child {
    font-size: 11px !important;
    line-height: 1.1 !important;
    white-space: nowrap;
  }

  /* Horizontal Scroll for Services */
  .scrollable-row {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    padding-bottom: 15px !important;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
  }

  .scrollable-row::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .scrollable-row .col-6,
  .scrollable-row .col-md-3,
  .scrollable-row .col-lg-3 {
    flex: 0 0 40% !important;
    max-width: 40% !important;
    margin-right: 10px !important;
  }
}