
/* font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* variable */
:root {     
    --base-color: #b4ac89;
    --medium-gray:#48494b;
    --dark-gray:#223342; 
    --alt-font: 'Montserrat', sans-serif;
    --primary-font: 'Inter', sans-serif;
}
body {
    font-size: 17px;
    line-height: 32px;
}
.top-space-margin {
    margin-top: 120px;
}
/* header */
.navbar .navbar-nav .nav-link {
    font-weight: 500;
    font-size: 18px;
}
header .navbar-brand img {
    max-height:40px;
}
header .btn.btn-switch-text.btn-medium > span {
    padding: 11px 30px;
}
.navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu li a img {
    border-radius: 0;
}
/* btn  */
.btn.btn-base-color {
    color: var(--dark-gray);
}
.btn.btn-box-shadow.btn-base-color:hover, .btn.btn-box-shadow.btn-base-color:active {
    color: var(--dark-gray);   
}
/* letter spacing */
.bg-base-color-transparent {
    background-color: rgba(204, 255, 0,0.9);
}
/* banner title */
.banner-title {
    font-size: 650px;
    word-break: normal;
    letter-spacing: -40px;
}
/* letter spacing */
.ls-minus-20px {
    letter-spacing: -20px;
}
.ls-minus-13px {
    letter-spacing: -13px;
}
.mt-minus-12 {
    margin-top: -12%;
}
/* word break normal */
.word-break-normal {
    word-break: normal;
}
/* bg color */
.bg-sherpa-blue {
    background-color: #333436;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 5rem;
    line-height: 5rem;
}
/* team style */
.team-style-05 img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.team-style-05:hover img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
}
.team-style-08 figure img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.team-style-08:hover figure img {
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
}
.team-style-08 figure figcaption .social-icon a {
    background-color: var(--base-color);
}
.team-style-08 figure figcaption .social-icon a:hover {
    color: var(--dark-gray);
}
/* blog comment */
.blog-classic .card .blog-image img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.blog-comment li .btn-reply:hover {
    color: var(--text-dark-gray);
}
/* tag */
.tag-cloud a {
    background-color: var(--white);
}
/* portfolio-image */
.portfolio-simple .grid-item .portfolio-image img {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
}
.portfolio-simple .portfolio-box:hover .portfolio-image img {
    opacity: 1;
    filter: grayscale(0%);
    -webkit-filter: grayscale(0%);
    -moz-filter: grayscale(0%);
}
/* popular post sidebar */
.popular-post-sidebar li figure {
    width: 190px;
    height: auto;
}
.popular-post-sidebar li .media-body {
    padding-left: 40px;
}
/* social icon style 06 */
.social-icon-style-06 li {
    position: relative;
}
.social-icon-style-06 li:before {
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background-color: var(--medium-gray);
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    opacity: .5;
}
.social-icon-style-06 li:last-child:before {
    display: none;
}
/* footer */
footer .footer-logo img {
    max-height: 56px;
}
footer .nav-link {
    color:  var(--dark-gray);
}
.footer-navbar li a:hover {
    color: var(--dark-gray);
}
/* media query responsive */
@media (min-width: 992px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon .dropdown-menu {
        padding: 15px 25px;
    }
}
@media (min-width: 768px) {
    /* heading tag */
    h1 {
        font-size: 5rem;
        line-height: 5rem;
    }
    h2 {
        font-size: 3.75rem;
        line-height: 3.75rem;
    }
    h3 {
        font-size: 3.125rem;
        line-height: 3.125rem;
    }
}
@media (max-width: 1399px) {
    .banner-title {
        font-size: 500px;
    }
    header .btn.btn-switch-text.btn-medium > span {
        padding: 11px 22px;
    }
}
@media (max-width: 1199px) {
    .banner-title {
        font-size: 380px;
        letter-spacing: -25px;
    }
    .ls-minus-20px {
        letter-spacing: -15px;
    }
    header .btn.btn-switch-text.btn-medium > span {
        padding: 6px 11px;
    }
    .navbar .navbar-nav .nav-link {
        padding: 10px 12px;
    }
    footer .nav-link {
        padding: 2px 8px;
    }
}
@media (max-width: 991px) {
    .banner-title {
        font-size: 270px;
        letter-spacing: -15px;
    }
    .ls-minus-20px {
        letter-spacing: -10px;
    }
    .top-space-margin {
        margin-top: 100px;
    }
    header .btn.btn-switch-text.btn-medium > span {
        padding: 9px 24px;
    }
}
@media (max-width: 767px) {
    .banner-title {
        font-size: 200px;
        letter-spacing: -15px;
    }
    .process-step-style-10.hover-box:hover .hover-content {
        bottom: 0;
    }
    .ls-minus-20px {
        letter-spacing: -4px;
    }
    .ls-minus-13px {
        letter-spacing: -5px;
    }
}
@media (max-width: 575px) {
    .banner-title {
        font-size: 110px;
        letter-spacing: -3px;
    }
    .popular-post-sidebar li figure {
        width: 100%;
    }
    .popular-post-sidebar li .media-body {
        padding-left: 0;
        padding-top: 25px;
    }
}


.watermark-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1; /* Behind text */
    width: 100%;
    display: flex;
    justify-content: center;
}

.watermark-image img {
    max-width: 60%;
    height: auto;
    pointer-events: none;
}

/* Ensure text stays above watermark */
section .container {
    position: relative;
    z-index: 2;
}


.bottom-right-logo {
    position: absolute;
    bottom: 20px;
    right: 30px;
    text-align: right;
}

.bottom-right-logo img {
    max-height: 40px;
    vertical-align: middle;
}
/* 1) Lock the page to one screen and prevent scroll */
html, body {
  height: 100%;
  overflow: hidden; /* no page scroll */
}

/* 2) Ensure the hero always fills exactly the viewport height */
.hero-one-screen {
  height: 100svh;          /* mobile-safe viewport height */
  max-height: 100svh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;        /* no internal scroll */
}

/* 3) Make the container truly full-height and center content */
.hero-one-screen .container,
.hero-one-screen .row,
.hero-one-screen .col-md-12 {
  height: 100%;
}

/* 4) Tighten default spacing so nothing overflows */
.hero-one-screen .col-md-12 > * {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}

/* 5) Responsive font sizing so text fits on all screens */
.hero-one-screen .headline-1 { /* optional utility if you add it */
  font-size: clamp(28px, 7vw, 84px);
  line-height: 1.05;
}
.hero-one-screen .headline-2 {
  font-size: clamp(36px, 9vw, 120px);
  line-height: 1.02;
}
.hero-one-screen p {
  font-size: clamp(14px, 2.1vw, 26px);
}

/* If you're using classes like top-minus-* from the template,
   they can cause overflow. Neutralize them inside this hero: */
.hero-one-screen [class*="top-minus-"] {
  top: 0 !important;
}

/* 6) Scale down slightly on very short displays to avoid overflow */
@media (max-height: 700px) {
  .hero-one-screen .col-md-12 {
    transform: scale(.92);
    transform-origin: center;
  }
}
@media (max-height: 600px) {
  .hero-one-screen .col-md-12 {
    transform: scale(.86);
  }
}

/* 7) Pin the white logo at the bottom-right of the hero */
.bottom-right-logo {
  position: absolute;
  right: 24px;
  bottom: 20px;
  text-align: right;
  pointer-events: none; /* click-through if needed */
}
.bottom-right-logo img {
  max-height: 40px;
  vertical-align: middle;
}

/* 8) Make sure background watermark never causes scroll */
.hero-one-screen .watermark-image {
   position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* behind the text but above background color */
  pointer-events: none;
}
.hero-one-screen .watermark-image img {
  max-width: 60%;
  height: auto;
  opacity: 0.6; /* faint watermark */
}


.hero-one-screen .container {
  position: relative;
  z-index: 2; /* text above watermark */
}

.small-para {
    color: var(--dark-gray) !important;
    font-family: var(--alt-font) !important;
    font-size: 20px !important; /* default for desktop */
    font-weight: 600 !important;
}

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
    .small-para {
        font-size: 18px !important;
    }
}

/* Mobile (max-width: 575px) */
@media (max-width: 575px) {
    .small-para {
        font-size: 16px !important;
    }
}

.responsive-heading {
    font-size: 26px;      /* default desktop */
    font-weight: 500 !important;
}

@media (max-width: 991px) { /* Tablet */
    .responsive-heading {
        font-size: 24px !important;
        line-height: 20px !important;
    }
}

@media (max-width: 575px) { /* Mobile */
    .responsive-heading {
        font-size: 20px !important;
        line-height: 26px !important;
    }
}

.constant-slide {
    animation: slideUpDown 2s ease-in-out infinite;
}

@keyframes slideUpDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* Base: visible above everything inside the hero */
.bottom-right-logo {
  position: absolute;
  right: 24px;
  bottom: 20px;
  text-align: right;
  pointer-events: none;
  z-index: 999;                 /* higher than container (2) & watermark (1) */
}
.bottom-right-logo img {
  display: inline-block;
  max-height: 36px;
  width: auto;
  vertical-align: middle;
}

/* Respect safe areas (iOS/Android) */
@supports (bottom: env(safe-area-inset-bottom)) {
  .bottom-right-logo {
    bottom: calc(20px + env(safe-area-inset-bottom));
  }
}

/* On phones: FIXED to viewport so hero overflow/100svh can't clip it */
@media (max-width: 767px) {
  .bottom-right-logo {
    position: fixed;            /* key change */
    right: 16px;
    bottom: 16px;
    z-index: 2147483647;        /* top of the world, just to be sure */
  }
  .bottom-right-logo img {
    max-height: 32px;           /* slightly smaller for tight corners */
  }
}

@media (max-width: 991px) 
{
    .navbar.bg-transparent, .navbar-modern-inner.bg-transparent, .navbar-full-screen-menu-inner.bg-transparent 
    {
        background-color: var(--base-color) !important;
    }
}

.country-code-select2 {
        appearance: none; /* Removes default arrow */
        background: transparent url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="black"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 10px center;
        background-size: 15px;
        padding-right: 30px; /* Space for the arrow */
        cursor: pointer;
    }

.country-code-select2 {
    width: 160px !important; 
}

.input-group {
    display: flex;
    width: 100%;
}
    .input-group select {
    flex: 0 0 auto;
    max-width: 120px; 
}

/* 1) Kill any top spacing helpers on mobile */
@media (max-width: 767px) {
  .ipad-top-space-margin,
  .top-space-margin {
    margin-top: 0 !important;
  }
}

/* 2) On phones, center the hero with CSS Grid and relax the forced heights */
@media (max-width: 767px) {
  .hero-one-screen {
    min-height: 100dvh;       /* safer on mobile than 100svh in many cases */
    display: grid;
    place-items: center;       /* perfect vertical + horizontal centering */
  }
  .hero-one-screen .container,
  .hero-one-screen .row,
  .hero-one-screen .col-md-12 {
    height: auto;              /* let content size naturally */
  }
}

/* 3) If your header is fixed, reserve space only on larger screens */
@media (min-width: 768px) {
  .top-space-margin {
    margin-top: 120px;         /* keep your desktop offset */
  }
}

/* Make watermark bigger on tablets and mobiles */
@media (max-width: 991px) {
  .hero-one-screen .watermark-image img {
    max-width: 100%; /* bigger on tablets */
  }
}

@media (max-width: 575px) {
  .hero-one-screen .watermark-image img {
    max-width: 150%; /* full width on phones */
  }
}
