/* root styles */
@font-face {
  font-family: AbrilFatfaceRegular;
  src: url("../fonts/AbrilFatface-Regular.ttf");
}

@font-face {
  font-family: MontserratRegular;
  src: url("../fonts/Montserrat-Regular.ttf");
}

@font-face {
  font-family: RochesterRegular;
  src: url("../fonts/Rochester-Regular.ttf");
}

@font-face {
  font-family: TamilFont;
  src: url("../fonts/BalooThambi2-Medium.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li {
  list-style: none;
}

a {
  text-decoration: none;
}

button {
  border: none;
  outline: none;
  cursor: pointer;
}

button:disabled {
  opacity: 0.5;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  font-family: MontserratRegular, Arial, Helvetica, sans-serif;
}

/* common */
h1 {
  font-size: 40px;
}

h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

h4 {
  font-size: 24px;
  margin-bottom: 15px;
}

p {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 10px;
}

li {
  font-size: 18px;
  margin-bottom: 15px;
}

a {
  font-size: 18px;
  margin-bottom: 15px;
}

button {
  font-size: 17px;
  font-family: MontserratRegular;
}

input,
textarea {
  padding: 5px;
  border: none;
  outline: none;
}

/* container */
.container {
  margin: 0 auto;
  position: relative;
}

.container-fluid {
  width: 100%;
}

@media screen and (max-width: 576px) {
  .container {
    width: 100%;
  }
}

@media screen and (min-width: 576px) {
  .container {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .container {
    width: 800px;
  }
}

@media screen and (min-width: 992px) {
  .container {
    width: 960px;
  }
}

@media screen and (min-width: 1240px) {
  .container {
    width: 1200px;
  }
}

@media screen and (min-width: 1400px) {
  .container {
    width: 1320px;
  }
}

@media screen and (min-width: 1600px) {
  .container {
    width: 1500px;
  }
}

/* custom scroll bar */
::-webkit-scrollbar {
  width: 10px;
}

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

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

::selection {
  background: rgb(0, 123, 255, 0.3);
}

/* header */
.top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  color: #212529;
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transition: all 0.3s ease;
  z-index: 200;
}

.top>.container {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: 0.4s;
}

.top.sticky .container {
  min-height: 100px;
}

.logo {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.logo a {
  margin: 0;
}

.logo img {
  width: 100px;
  margin-right: 20px;
  object-fit: contain;
}

.title {
  text-align: center;
  white-space: nowrap;
}

.title h1 {
  margin-bottom: 5px;
  font-size: 30px;
  font-family: AbrilFatfaceRegular;
  font-weight: 500;
  color: #054698;
  letter-spacing: 1.5px;

}

.title p {
  font-size: 24px;
  font-weight: 600;
  color: #0A458D;
  font-family: RochesterRegular;
}

nav .menu-list {
  display: flex;
  flex-wrap: wrap;
  margin-left: 18px;
}

.menu-list li a {
  margin-right: 30px;
  color: #212529;
  font-size: 18px;
  /* font-weight: 600;
  letter-spacing: 1.2px; */
  white-space: nowrap;
  transition: all 0.3s ease;
}

.menu-list li a:hover {
  font-weight: bold;
  color: #ff0000;
}

.menu-list .contact-link {
  padding: 10px 20px;
  background-color: #ff0000;
  color: white;
  border-radius: 24px;
}

.menu-list .contact-link:hover {
  /* padding: 10px; */
  background-color: #ff0000;
  color: white;
  border-radius: 24px;
}

.menu-list .cancel-btn {
  position: absolute;
  right: 30px;
  top: 20px;
}

nav .icon {
  display: none;
}


/* Footer section */

footer {
  background-color: #054698;
  color: #ffffff;
  padding: 40px 0 0;

}

.footer-top .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-contact,
.footer-link,
.footer-contact-info,
.footer-address {
  flex: 1 1 220px;
}

.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footer-contact img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
}

.footer-contact .info h3 {
  font-size: 20px;
  margin: 0 0 8px;
}

.footer-contact .info p {
  font-size: 16px;
  margin: 0;
}

.footer-link {
  list-style: none;
  padding: 0;
}

.footer-link li {
  margin-bottom: 10px;
}

.footer-link a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.footer-link a:hover {
  color: #38bdf8;
}

.footer-contact-info h4,
.footer-address h4 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #ffc400;
}

.footer-contact-info a,
.footer-contact-info p,
.footer-address p {
  font-size: 16px;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 6px;
  display: block;
}

.footer-contact-info a:hover {
  text-decoration: underline;
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

/* .social-row a {
  background-color: #ffffff;
  border-radius: 50%;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
} */

.social-row a:hover {
  transform: scale(1.1);
}

.social-row img {
  width: 60px;
  height: 60px;
}

.footer-address p {
  line-height: 1.5;
}

.footer-bottom {
  background-color: #1e293b;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.footer-bottom .cpr {
  font-size: 18px;
}

.footer-bottom .cpr span {
  color: #FFC400;
  font-weight: bold;
}

.footer-creds {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.footer-creds img {
  margin-top: 10px;
  height: 24px;
}

/* Responsive Design */
@media (max-width: 768px) {

  .footer-top .container,
  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact,
  .footer-contact-info,
  .footer-address,
  .footer-link {
    text-align: center;
    align-items: center;
    margin-top: 20px;
  }

  .footer-contact {
    flex-direction: column;
    justify-content: center;
  }

  .footer-creds {
    justify-content: center;
    margin-top: 10px;
  }
}




section {
  margin: 20px 0;
  padding: 20px 0;
}

/* h2 hover anime */
h2 {
  margin-bottom: 40px;
  text-align: center;
  color: #ff0000;
}

h2 span {
  padding-bottom: 10px;
  position: relative;
}

h2 span::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 40%;
  bottom: 0;
  left: 0;
  background-color: #ffc400;
  transition: all 0.4s ease-in-out;
}

span:hover::before {
  width: 100%;
}

.pagination {
  display: flex;
  align-items: center;
}

.pagination a {
  margin: 20px;
  color: black;
  font-size: 17px;
  background-color: lightblue;
  padding: 10px 15px;
  border-radius: 4px;
}

@media screen and (max-width: 1400px) {

  .title {
    display: none;
  }

  .menu-list li a {
    font-size: 14px;
  }

  /* 
  .title h1 {
    margin-bottom: 5px;
    font-size: 30px;
  }

  .title p {
    font-size: 20px;
  }

  nav .menu-list li a {
    margin-right: 18px;
    color: #212529;
    font-size: 17px;
  }

  .menu-list .contact-link {
    padding: 10px;
  } */
}

@media screen and (max-width: 800px) {

  /* common */
  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 30px;
    margin-bottom: 20px;
  }

  h3 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  h4 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  p {
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  li {
    font-size: 17px;
    margin-bottom: 10px;
  }

  a {
    font-size: 17px;
    margin-bottom: 10px;
  }

  button {
    font-size: 16px;
  }

  /* navigation */
  nav .icon {
    display: block;
  }

  nav .menu-btn .fas {
    font-size: 24px;
  }

  nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    display: none;
  }

  .toggled nav .close-btn {
    display: block;
    color: white;
  }

  nav .menu-list {
    margin: 0;
    padding: 40px 0;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: block;
    text-align: center;
    background: #222;
    transition: all 0.3s ease;
  }

  .toggled .menu-list {
    left: 0;
  }

  nav .menu-list li a {
    display: inline-block;
    margin: 0;
    margin-bottom: 20px;
    color: white !important;
    background-color: unset !important;
    font-size: 20px;
  }

  /* header */
  .top>.container {
    padding: 10px;
    min-height: 80px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
  }

  .top.sticky .container {
    min-height: 80px;
  }

  .logo img {
    width: 70px;
    margin-right: 10px;
  }

  .title h1 {
    margin-bottom: 5px;
    font-size: 18px;
  }

  .title p {
    font-size: 15px;
  }

  /* footer */
  .footer-top .container {
    padding: 10px;
  }

  .footerlogo-contact h3 {
    font-size: 29px;
    margin-bottom: 5px;
  }

  .footer-top .container>div {
    padding: 20px 5px;
  }

  .footer-top .container>div img {
    width: 60px;
  }

  .footerlogo-contact .contact p {
    font-size: 20px;
  }

  .footer-bottom .container {
    padding: 10px;
  }

  .footer-creds {
    padding: 0px 50px;
  }

  /* common */
  section {
    margin: 10px 0;
    padding: 10px 16px;
  }
}

/* @media (min-width: 768px) and (max-width: 1024px) {
  .logo img {
    width: 80px;

    height: auto;
  }

  .title h1 {
    font-size: 0px;

  }

  .title p {
    font-size: 10px;

  }
} */