/** screen size */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/** Base Styles
--------------------------------------------------------------*/
:root {
  --accent-color: #F0AA63;
  --secondary-color: #E2EAF1;
  --dark-color: #021737;
  --grey-color: #E2EAF1;
  --body-text-color: #7C8990;
  --light-text-color: #9CA5AD;
  --link-color: #092035;
}

/** Typography
--------------------------------------------------------------*/
body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6em;
  color: var(--dark-color);
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}
em {
  font-weight: 700;
}

.changecolor {
  color: var(--accent-color);
}

p {
  font-family: 'Inter', sans-serif;
  color: var(--body-text-color);
}
a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.3s ease-out;
}
a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* image size */ 

.lgpostImg {
  width: 370px;
  height: 250px;
  object-fit: cover;
  display: block;
  ;
}

/* Image Hover Effects
------------------------------------------------------------- */
.zoom-effect {
  margin-bottom: 30px;
  overflow: hidden;
}
.zoom-in img {
  -webkit-transition: 0.4s ease;
  transition: 0.4s ease;
}
.zoom-effect:hover .zoom-in img {
  -webkit-transform: scale(1.08);
  transform: scale(1.08);
}

/* - Button
------------------------------------------------------------- */
.button a {
   font-weight: 700;
   text-transform: uppercase;
}
.btn-common {
  border-radius: 50px;
  padding: 12px 35px;
}
.btn-submit {
    width: 100%;
    font-weight: 500;
    letter-spacing: 4px;
    padding: 1.6em 0;
}
a.btn-yellow,
button.btn-yellow {
  background-color: #FFB61D;
}
a.btn-yellow:hover,
.btn-yellow:hover {
  background-color: #111;
  color: #FFB61D;
}

/* Section Padding
--------------------------------------------------------------*/
.padding-xsmall {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.padding-small {
  padding-top: 2em;
  padding-bottom: 2em;
}
.padding-medium {
  padding-top: 4em;
  padding-bottom: 4em;
}
.padding-large {
  padding-top: 7em;
  padding-bottom: 7em;
}
.padding-xlarge {
  padding-top: 9.5em;
  padding-bottom: 9.5em;
}
.padding-2xlarge {
  padding-top: 15em;
  padding-bottom: 15em;
}

@media only screen and (max-width: 768px) {
  .padding-small,
  .padding-medium,
  .padding-large,
  .padding-xlarge {
    padding-top: 2em;
    padding-bottom: 2em;
  }
}

/* no padding */
.no-padding-bottom {
  padding-bottom: 0 !important;
}
.no-padding-top {
  padding-top: 0 !important;
}

/* Section margin
--------------------------------------------------------------*/
.margin-small {
  margin-top: 3em;
  margin-bottom: 3em;
}
.margin-medium {
  margin-top: 4.5em;
  margin-bottom: 4.5em;
}
.margin-large {
  margin-top: 6em;
  margin-bottom: 6em;
}
.margin-xlarge {
  margin-top: 7.5em;
  margin-bottom: 7.5em;
}

@media only screen and (max-width: 768px) {
  .margin-small,
  .margin-medium,
  .margin-large,
  .margin-xlarge {
    margin-top: 1em;
    margin-bottom: 1em;
  }
}

/* Preloader
--------------------------------------------------------------*/
*#overlayer {
  width:100%;
  height:100%;  
  position:fixed;
  z-index:20;
  background: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
}
.loader {
  width: 200px;
  height: 200px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: auto;
  filter: url('#goo');
  animation: rotate-move 2s ease-in-out infinite;
}
.dot { 
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #000;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.dot-3 {
  background-color: #F0AA63;
  animation: dot-3-move 2s ease infinite, index 6s ease infinite;
}

.dot-2 {
  background-color: #7AC9FC;
  animation: dot-2-move 2s ease infinite, index 6s -4s ease infinite;
}

.dot-1 {
  background-color: #044CBC;
  animation: dot-1-move 2s ease infinite, index 6s -2s ease infinite;
}

@keyframes dot-3-move {
  20% {transform: scale(1)}
  45% {transform: translateY(-18px) scale(.45)}
  60% {transform: translateY(-90px) scale(.45)}
  80% {transform: translateY(-90px) scale(.45)}
  100% {transform: translateY(0px) scale(1)}
}

@keyframes dot-2-move {
  20% {transform: scale(1)}
  45% {transform: translate(-16px, 12px) scale(.45)}
  60% {transform: translate(-80px, 60px) scale(.45)}
  80% {transform: translate(-80px, 60px) scale(.45)}
  100% {transform: translateY(0px) scale(1)}
}

@keyframes dot-1-move {
  20% {transform: scale(1)}
  45% {transform: translate(16px, 12px) scale(.45)}
  60% {transform: translate(80px, 60px) scale(.45)}
  80% {transform: translate(80px, 60px) scale(.45)}
  100% {transform: translateY(0px) scale(1)}
}

@keyframes rotate-move {
  55% {transform: translate(-50%, -50%) rotate(0deg)}
  80% {transform: translate(-50%, -50%) rotate(360deg)}
  100% {transform: translate(-50%, -50%) rotate(360deg)}
}

@keyframes index {
  0%, 100% {z-index: 3}
  33.3% {z-index: 2}
  66.6% {z-index: 1}
}

/** Header
--------------------------------------------------------------*/

.site-header {
  position: fixed;
  width: 100%;
  z-index: 10;
  transition: background 0.3s ease-out;
}
.text-white .nav-link {
  color: var(--secondary-color);
}
.text-white .nav-link.active,
.text-white .nav-link:focus,
.text-white .nav-link:hover {
  color: var(--accent-color);
}

/* Styling for logo */


.logo {
  width: 11rem;
  margin-left: 5rem; /* Adjust width as needed */
}

footer .logo {
  margin: 0 !important;
  
}

@media (max-width: 768px) {
  .logo {
    margin-left: 0;
  }
}


/*------------------------------------------------------------*/

/* moving nav to the right */
.nav-move-right {
  margin-right: 2%; /* Adjust as needed */
}

/* dark card */
.card-body {
  padding: 2rem 2rem;
}
.card-dark {
  min-height: 254px;
  color: #d9e8fb;
  background: rgba(6, 47, 112, 0.8);
}
.card-dark h3 {
  color: #F4BE37;
}
.card-dark a {
  text-decoration-line: underline;
  color: var(--secondary-color);
}
.card-dark a:hover {
  color: #FFFFFF;
}

/* Increase hamburger menu icon size */
.navbar-toggler ion-icon {
  font-size: 2.2rem; /* Increase this value as needed */
  width: 2.2rem;
  height: 2.2rem;
}

/* Optionally increase the button size for better touch area */
.navbar-toggler {
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
}

/*-----------------------------------------------
/* Overlay for the #intro banner section */
#intro {
  position: relative;
  overflow: hidden;
}

#intro::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(9, 32, 53, 0.45); /* Black overlay, 50% opacity */
  z-index: 1;
  pointer-events: none; /* Allows clicks to pass through */
}

/* Ensure content and image are above the overlay */
#intro .container,
#intro .jarallax-img {
  position: relative;
  z-index: 2;
}

/*banner image style for having better contrast*/ 
.jarallax-img {
  filter: blur(1.9px) brightness(0.8); /* Optional: add slight blur for a softer look */
}

/* Example: Add to your text container or headings*/
#intro .container,
#intro h1, #intro h2, #intro h3, #intro p, .navbar {
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* Centering text under chart */
.chart-box, .center-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* about section padding between elements on small screens */
@media (max-width: 768px) {
  .padb div:nth-child(1) {
    padding-bottom: 2rem; /* Adjust as needed */
  }

    .padb div:nth-child(2) {
    padding-bottom: 2rem; /* Adjust as needed */
  }
}

/* Post Item
--------------------------------------------------------------*/
.post-item {
    max-width: 370px;
    margin-bottom: 30px;
}
.post-item .post-meta {
    margin-bottom: 10px;
}
.post-item .post-meta a,
.post-content .meta-date {
    color: #aaa;
    margin-bottom: 10px;
}
.post-item .btn-link {
    display: block;
    color: #222;
    position: relative;
    margin-top: 20px;
    text-decoration: none;
}
.post-item .btn-link:after {
    content: '';
    display: block;
    border-bottom: 1px solid #222;
    width: 20px;
    transition: width 0.3s ease-out;
}
.post-item .btn-link:hover:after {
    width: 90px;
}
/* post grid */
.post-grid .post-item .post-image {
    width: 100%;
}
/* posts list */
.post-list-with-thumb .post-item {
    display: flex;
    flex-wrap: nowrap;
}
.post-item .post-image {
    margin-right: 20px;
}

/* Footer Section
--------------------------------------------------------------*/
#footer {
    background-color: #111;
}
#footer {
    color: #777;
}

footer a {
    color: #e9e7e7 !important;
    text-decoration: none;
}

footer a:hover {
    color: #F0AA63 !important;
}
#footer ul {
  list-style: none;
}

/* Comment section */
.commentorImg {
  width: 50px;
  height: 50px;
  margin-right: 20px;
}

/* email word break */
@media (max-width: 768px) {
footer a[href^="mailto:"] {
  word-break: break-all;
}
}

/* Bootstrap theme override 
--------------------------------------------------------------*/
.accordion-button:not(.collapsed) {
    color: var(--dark-color);
    background-color: transparent;
}
.nav-tabs .nav-item.show .nav-link, 
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link.active {
  border-color: transparent;
}
.tab-content {
  padding: 20px 0;
}
.accordion-button:focus {
  border-color: var(--grey-color);
  box-shadow: none;
}
.accordion-item {
  border-left: 0;
  border-right: 0;
}

/* primary button */
.link-primary {
  color: var(--accent-color);
}
.link-primary:focus, .link-primary:hover {
  color: var(--secondary-color);
}
.btn {
  padding: 1rem 1.5rem;
  font-weight: bold;
}
.btn-link,
.btn-link:hover {
  color: var(--dark-color);
}
.btn-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--dark-color);
}
.btn-primary:hover {
  color: #fff;
  background-color: var(--dark-color);
  border-color: var(--dark-color);
}
.btn-outline-primary {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
.btn-outline-primary:hover {
  color: #fff;
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}
.border-primary {
  border-color: var(--accent-color) !important;
}
.bg-primary {
    --bs-bg-opacity: 1;
    background-color: var(--accent-color) !important;
}
.bg-dark {
    background-color: var(--dark-color) !important;
}
.bg-grey {
    background-color: var(--grey-color) !important;
}
.text-white .border-top {
    border-top: 1px solid #3b3e42!important;
}

/* blockquote */
.blockquote {
  padding: 100px;
  background-color: var(--secondary-color);
  margin: 0;
}
.blockquote p {
  font-size: 28px;
  line-height: 150%;
  color: #092035;
}
.blockquote cite {
  font-size: 18px;
  margin-top: 27px;
}

@media (max-width: 768px) {
  .blockquote {
    padding: 40px;
  }

  .logo {
    margin-left: 0; /* Remove or reduce margin on mobile */
  }
}

/* display text */
.display-1,
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
}
.display-2 em {
  color: var(--accent-color);
}
a:hover {
  color: var(--accent-color);
}

/* nav-link active */
.nav-link {
  color: #9099a7;
  position: relative;
  font-size: 1.2rem;
}

.nav-link:not(.dropdown-toggle):after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  background: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  transition: width 0.3s ease-out;
}
.nav-link:focus,
.nav-link:hover,
.nav-link.active {
  color: var(--dark-color);
}
.nav-link.active:after {
  width: 100%;
}

/* list group */
.list-group-item {
  color: var(--dark-color);
}

/* section header */
section header h2 {
  font-weight: 400;
  font-size: 2.1em;
}
section header .text-muted {
  font-weight: 700;
  font-size: 14px;
  line-height: 180%;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.dropdown-menu-dark {
  background-color: rgba(2, 23, 55, 0.75);
}
.offcanvas.show {
  background-color: rgba(2, 23, 55, 0.75);
}


/* Hide WhatsApp float icon when preloader is visible */
.preloader-hidden {
    display: none !important;
}

/* Whatsapp Icon styles and navigation*/

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: visible; /* Allow label to show outside */
}

.whatsapp-float:hover {
    background-color: #1ebe5d;
}

.whatsapp-label {
    position: absolute;
    right: 70px; /* Move label to left side of button */
    background-color: #25d366;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-label {
    opacity: 1;
    transform: translateX(0);
}