style.css 5.78 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;
}

/* === section=== */
.sec_padd {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ===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 {
  background-color: #fff;
  transition: all 0.4s ease;
  box-shadow: none;
  transform: translateY(0);
  opacity: 1;
}

/* 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;
}

.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: none;
}
.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: #000;
  color: #fff;
}

.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:#B6B6B6!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;
}

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

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