@import url("https://fonts.googleapis.com/css2?family=Atkinson+Hyperlegible:ital,wght@0,400;0,700;1,400;1,700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap");

/* font-family: "Petrona", serif; */
/* font-family: "Montserrat Alternates", sans-serif; */

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

/* Typography */
html {
  /* root fontSize of 10px */
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f4f6f8;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: "Atkinson Hyperlegible", sans-serif;
  margin: 1rem 0;
  line-height: 1.3;
}

h1 {
  font-size: 4rem;
  font-weight: 700;
}

h2 {
  font-size: 3rem;
  font-weight: 600;
}

h3 {
  font-size: 2.2rem;
  font-weight: 600;
}

p {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

@media screen and (min-width: 768px) {
  h1 {
    font-size: 5rem;
  }

  h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 2.5rem;
  }
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  padding: 1.2rem 2.4rem;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.5rem;
  font-family: "Atkinson Hyperlegible", sans-serif;
  outline: 0;
  border: 2px solid #09072c;
  background: #ffcc80;
  text-decoration: none;
  cursor: pointer;
  color: #09072c;
  display: inline-block;
  transition: all 0.3s ease;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.btn:hover {
  background: #ffb74d;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--outline {
  border: 2px solid #09072c;
  color: #09072c;
  background: transparent;
  transition: all 0.3s;
}

.btn--outline:hover {
  background: #09072c;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn--black {
  background: #09072c;
  color: #fff;
  transition: all 0.3s;
}

.btn--black:hover {
  background: transparent;
  color: #09072c;
  border: 2px solid #09072c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Blocks */
.block {
  padding: 8rem 0;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-divider {
  height: 4px;
  width: 60px;
  background: #ffcc80;
  margin: 0 auto 2rem;
  border-radius: 2px;
}

.section-header p {
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Grids */
.grid {
  display: grid;
  gap: 3rem;
}

@media screen and (min-width: 768px) {
  .grid--1x2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 992px) {
  .grid--1x3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* List */
.list {
  list-style: none;
  padding-left: 0;
}

/* Header & Navigation */
.header {
  background: #09072c;
  position: static; /* Changed from fixed to static */
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(9, 7, 44, 0.95);
  padding: 0.5rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0; /* Reduced from 1.5rem to 1rem */
  color: #fff;
}

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

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

.nav__logo img {
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  width: 40px; /* Added specific width */
  height: 40px; /* Added specific height */
}

.nav__name {
  margin-left: 1rem;
  font-size: 1.2rem; /* Reduced from 2rem */
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.nav__tog {
  font-size: 2.4rem;
  cursor: pointer;
  display: block;
  z-index: 1001;
  transition: all 0.3s ease;
  margin-right: 10px;
}

.nav__tog:hover {
  color: #ffcc80;
}

.nav__list {
  position: fixed;
  top: 0;
  right: -100%;
  width: 52%;
  height: 100vh;
  background: #09072c;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.5s ease;
  z-index: 1000;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.nav__list.active {
  right: 0;
}

.nav__item {
  margin: 1.5rem 0;
}

.nav__link {
  text-decoration: none;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
}

.nav__link:hover {
  color: #ffcc80;
}

.nav__link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ffcc80;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav__link:hover::after {
  width: 100%;
}

.nav-btn {
  margin-top: 1rem;
}

@media screen and (min-width: 992px) {
  /* .nav_container{
  padding: 5rem;

} */
  .nav__tog {
    display: none;
  }

  .nav__list {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    box-shadow: none;
    gap: 3rem;
  }

  .nav__item {
    margin: 0;
  }

  .nav-btn {
    margin-top: 0;
  }
}

/* Images */
.img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #1a237e, #3949ab);
  color: #fff;
  text-align: center;
  padding: 0;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__content {
  max-width: 800px;
  margin: 0 auto 2rem;
  padding: 4rem 2rem;
  position: relative;
  z-index: 5;
}

.hero__heading {
  margin-bottom: 2rem;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero__subheading {
  font-size: 2.2rem;
  opacity: 0.9;
  font-weight: 300;
}

/* About */
.about {
  padding-top: 8rem; /* Reduced from 12rem since navbar is no longer fixed */
}

.about__article {
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
}

.about__article:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.about__shadow {
  background: #fff;
  padding: 4rem 2rem;
  height: 100%;
  color: #333;
}

.about__article h4 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
  color: #1a237e;
}

.about__article h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffcc80;
}

.about__icon {
  font-size: 3rem;
  color: #ffcc80;
  background: #1a237e;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.about__article:hover .about__icon {
  transform: rotateY(180deg);
}

/* Add animation for about icons */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.story {
  background-image: url("../assets/images/story2.jpg");
}

.path {
  background-image: url("../assets/images/pathway.jpg");
}

.vision {
  background-image: url("../assets/images/vision2.jpg");
}

.mission {
  background-image: url("../assets/images/mission.jpg");
}

/* Services */
.service {
  background: linear-gradient(to right, #1a237e, #3949ab);
  color: #fff;
}

.service-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.service-card__icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: #ffcc80;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  color: #09072c;
  z-index: 1;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-card__img {
  height: 200px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.service-card:hover .service-card__img {
  transform: scale(1.05);
}

.service-card__content {
  padding: 2.5rem 2rem;
  color: #09072c;
}

.service-card__content h3 {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.service-card__content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: #ffcc80;
}

.service-card__link {
  display: inline-block;
  margin-top: 1.5rem;
  color: #1a237e;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-card__link i {
  margin-left: 0.5rem;
  transition: all 0.3s ease;
}

.service-card__link:hover {
  color: #ffcc80;
}

.service-card__link:hover i {
  transform: translateX(5px);
}

/* Testimonials */
.testimonial-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card__image {
  height: 300px;
  overflow: hidden;
}

.testimonial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: all 0.5s ease;
}

.testimonial-card:hover .testimonial-card__image img {
  transform: scale(1.05);
}

.testimonial-card__content {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.testimonial-card__quote {
  font-size: 3rem;
  color: #ffcc80;
  margin-bottom: 1.5rem;
}

.testimonial-card__content p {
  flex-grow: 1;
  font-style: italic;
  color: #555;
}

.testimonial-card__author {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #eee;
}

.testimonial-card__author h4 {
  margin-bottom: 0.5rem;
  color: #09072c;
}

.testimonial-card__author p {
  margin: 0;
  font-size: 1.4rem;
  color: #777;
}

/* Projects */
.project-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  padding: 4rem 2rem;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-card__icon {
  width: 80px;
  height: 80px;
  background: #1a237e;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2.5rem;
  transition: all 0.3s ease;
}

.project-card:hover .project-card__icon {
  background: #ffcc80;
  color: #09072c;
  transform: rotateY(180deg);
}

.project-card__content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-card__content h3 {
  margin-bottom: 1.5rem;
}

.project-card__content p {
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, #09072c 0%, #1a237e 100%);
  color: #fff;
  padding: 8rem 0;
}

.contact__grid {
  display: grid;
  gap: 4rem;
}

@media screen and (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact__subscribe {
  margin-bottom: 3rem;
}

.contact__write h3 {
  margin-bottom: 1rem;
  font-size: 2.4rem;
}

.contact__input input {
  padding: 1.2rem 1.5rem;
  width: 100%;
  margin: 1rem 0;
  border: none;
  border-radius: 4px;
  font-size: 1.6rem;
  font-family: "Montserrat Alternates", sans-serif;
}

.contact__input .btn {
  width: 100%;
  margin-top: 1rem;
}

.contact__input .contact__privacy {
  margin-top: 1rem;
  font-size: 1.2rem;
  opacity: 0.8;
}

.contact__follow h3 {
  margin-bottom: 2rem;
  font-size: 2.4rem;
}

.contact__socials {
  display: flex;
  gap: 2rem;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: #ffcc80;
  color: #09072c;
  transform: translateY(-5px);
}

@media screen and (min-width: 768px) {
  .contact__input-align {
    display: flex;
    gap: 1rem;
    align-items: center;
  }

  .contact__input-align .btn {
    width: auto;
    margin-top: 1rem;
  }
}

/* Footer closing */
.closing {
  background: #09072c;
  color: #fff;
  padding: 3rem 0;
}

.closing__container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .closing__container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.closing__brand {
  font-size: 0.7rem;
}

.closing__logo {
  text-decoration: none;
  color: #fff;
  line-height: 1.1;
  font-style: italic;
 
  transition: all 0.3s ease;
}



.closing__logo:hover {
  color: #ffcc80;
}

.dev {
  position: relative;
  display: flex;
}

.dev__img {
  border: 1px solid #ffcc80;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  transition: all 0.3s ease;
}

.dev__img:hover {
  transform: scale(1.1);
  z-index: 10;
}

.dev .two {
  position: relative;
  left: -15px;
  z-index: 5;
}

.dev .three {
  position: relative;
  left: -30px;
  z-index: 4;
}

.team p {
  font-style: italic;
  padding: 5px;
  font-size: 1.6rem;
  margin-top: 1rem;
  text-align: center;
}

.closing__copyright p {
  font-size: 1.4rem;
  opacity: 0.8;
  margin: 0;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #ffcc80;
  color: #09072c;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #09072c;
  color: #fff;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media screen and (max-width: 576px) {
  html {
    font-size: 55%;
  }

  .block {
    padding: 6rem 0;
  }

  .hero {
    padding: 10rem 0.8rem 6rem;
  }

  .swiper-content img {
    height: 300px;
  }

  .about {
    padding-top: 10rem;
  }

  .grid {
    gap: 2rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

/* Add responsive adjustments for the new hero section */
@media screen and (max-width: 992px) {
  .hero {
    height: 80vh;
  }

  .hero__content {
    padding: 3rem 2rem;
  }

  .hero__heading {
    font-size: 4rem;
  }

  .hero__subheading {
    font-size: 1.8rem;
  }

  .swiper-content {
    height: 80vh;
  }

  .swiper-des {
    padding: 2rem;
  }

  .swiper-des h3 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 576px) {
  .hero {
    height: 70vh;
  }

  .hero__content {
    padding: 2rem 1rem;
  }

  .hero__heading {
    font-size: 3rem;
  }

  .hero__subheading {
    font-size: 1.6rem;
  }

  .swiper-content {
    height: 70vh;
  }

  .swiper-des {
    padding: 1.5rem;
    bottom: 10%;
  }

  .swiper-des h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 40px !important;
    height: 40px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 1.5rem !important;
  }
}

.swiper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.swiper-slide {
  background: transparent;
  overflow: hidden;
}

.swiper-content {
  position: relative;
  height: 100vh;
}

.swiper-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5);
}

.swiper-des {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  background: rgba(9, 7, 44, 0.6);
  padding: 3rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.swiper-des h3 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.swiper-button-next,
.swiper-button-prev {
  color: #fff !important;
  background: rgba(9, 7, 44, 0.6);
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 204, 128, 0.8);
  color: #09072c !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 2rem !important;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.swiper-pagination-bullet-active {
  background: #ffcc80 !important;
  transform: scale(1.2);
}

/* Add color variations for about cards */
.about__article:nth-child(1) .about__icon {
  background: #1a237e;
}

.about__article:nth-child(2) .about__icon {
  background: #303f9f;
}

.about__article:nth-child(3) .about__icon {
  background: #3949ab;
}

.about__article:nth-child(4) .about__icon {
  background: #5c6bc0;
}
