style.css 6.57 KB
/* ====== Fonts ====== */
@font-face {
  font-family: "Roboto-Regular";
  src: url("/font/static/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Medium";
  src: url("/font/static/Roboto-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Roboto-Bold";
  src: url("/font/static/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/* ====== Root Variables ====== */
:root {
  --background: #ffffff;
  --foreground: #171717;
  --primary-color: #074e96;
  --secondary-color: #c39202;
  --text-color: #727272;
  --primary-font: "Roboto-Regular";
  --secondary-font: "Roboto-Bold";
  --third-medium-font: "Roboto-Medium";
  --background-gray: #f5f5f5;
}

/* ====== Global Reset ====== */
html,
body {
  overflow-x: hidden;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: var(--primary-font);
}

.smooth-scroll {
  overflow-y: hidden;
  scroll-behavior: smooth !important;
  transition: 0.3s ease-in-out;
}

a {
  text-decoration: none;
}

p {
  font-size: calc(16px + (17 - 16) * ((100vw - 320px) / (1920 - 320)));
  line-height: 1.6;
  font-family: Roboto-Regular;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
  width: 3px;
}

::-webkit-scrollbar-track {
  background: #fff;
}

::-webkit-scrollbar-thumb {
  background: #000;
}

.image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

/* ===== Containers ===== */
.custom_container {
  max-width: 90%;
  margin: 0 auto;
}
.custom_container_leftAuto {
  max-width: 95%;
  margin-left: auto;
  margin-right: 0;
}

/* === section=== */
.sec_padd {
  padding-top: 5.21vw;
  padding-bottom: 5.21vw;
}

/* ===Hedaing=== */
.heading {
  color: #000;
  font-size: 50px;
  text-transform: uppercase;
  font-family: Roboto-Regular;
}

.gray-text {
  color: #666;
  font-size: 16px;
  text-transform: capitalize;
}

/* ===== Header ===== */
/* Default navbar */
.custom-navbar {
  transition: all 0.4s ease;
  box-shadow: none;
  transform: translateY(0);
  opacity: 1;
  background: #fff;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.08);
}

/* When scrolled */
.custom-navbar.scrolled {
  border: 1px solid rgba(7, 78, 150, 0.14);
  box-shadow: 0px 4px 20px rgba(7, 78, 150, 0.15);
  background-color: #fff;
  transition: all 0.4s ease;
}

/* Nav links hover underline animation */
.nav-link {
  color: #000;
  /* position: relative; */
  transition: color 0.3s ease;
  /* border-bottom: 1px solid var(--secondary-color); */
}

/* .nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
} */

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Keep underline for active */
.navbar-nav .nav-link.active::after {
  width: 100%;
}

/* Dropdown animation */
.custom-navbar .dropdown-menu {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s ease;
}

.custom-navbar .dropdown-menu.show {
  opacity: 1;
  transform: translateY(0);
  border: none;
  border-radius: 0px;
}

button#language-dropdown {
  color: black;
  text-decoration: none;
}

button.navbar-toggler {
  /* border-radius: 50%; */
  border: 0;
  padding-right: 0;
}
.navbar-toggler-icon {
  /* background-image: url(/image/icons/toggle-btn.svg) no-repeat right center; */
  background-image: url(/image/icons/toggle-btn.svg);
  width: 40px;
  height: 40px;
}
.offcanvas-header .btn-close {
  background-image: url(/image/icons/toggle-btn-close.svg);
  width: 40px;
  height: 40px;
  opacity: inherit;
  background-size: 70%;
  margin-right: 0.5rem;
}
.navbar-toggler-icon {
  /* width: 1.5em;
    height: 2em; */
}
.navbar-toggler:focus {
  border: none;
  box-shadow: none;
}
.lang-btn button {
  color: black;
  background-color: transparent;
  margin-left: 1rem;
  border: none;
  padding: 0px;
  margin-top: 0.5rem;
}
.lang-btn button:hover {
  color: black;
  background-color: transparent;
  margin-left: 1rem;
  border: none;
  padding: 0px;
  margin-top: 0.5rem;
}
.lang-btn button:active {
  color: black;
  background-color: transparent;
  margin-left: 1rem;
  border: none;
  padding: 0px;
  margin-top: 0.5rem;
}

/* ===== Footer ===== */
footer {
  background-color: #fff;
  color: #0f0f0f;
}

.footer_content h6 {
  font-size: calc(18px + (22 - 18) * ((100vw - 320px) / (1920 - 320)));
  font-weight: 800;
}

.footer_content a {
  color: #fff;
  text-decoration: none;
}

.footer_content a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #fff;
  color: #000;
}
.footer-cotent {
  /* border-right: 2px dotted #666666; */
  font-family: Roboto-Regular;
}
footer h6 {
  text-transform: uppercase;
}
footer a,
li {
  color: #0f0f0f !important;
}

.social-icons a {
  color: #000 !important;
  font-size: 20px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--secondary-color);
}
@media (max-width: 768px) {
  .footer-cotent {
    border-right: none;
  }
  .sec_padd {
    padding-top: 50px;
    padding-bottom: 50px;
  }
}

/* ====Effect==== */
.shine-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 10px; /* optional rounded corners */
}

.shine-overlay {
  position: absolute;
  top: 0;
  left: -50%; /* start outside */
  width: 20%; /* wider gradient for smoothness */
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.308) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% {
    left: -50%;
  }
  100% {
    left: 150%;
  }
}

.animation-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.read-more-btn {
  background: none;
  border: none;
  padding: 0;
  color: #000; /* adjust to theme */
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px; /* spacing between text and arrow */
  transition: color 0.3s ease;
}

.read-more-btn i {
  font-size: 14px;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.read-more-btn:hover {
  color: #555; /* subtle hover color */
}

.read-more-btn:hover i {
  /* transform: translateX(4px); slide arrow on hover */
  opacity: 1;
  transform: translateX(0);
}