*,
*::after,
*::before{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}



.html{
    font-size: 62.5%;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines{
    display: none;
}

.container{
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.navbar{
    box-shadow: 0px 5px 10px 0px #aaa;
    /* position: fixed; */
    width: 100%;
    background: #fff;
    color: #000;
    opacity: 0.85;
    z-index: 100;
}

.navbar-container{
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items{
    order: 2;
    display: flex;
}
.logo{
    order: 1;
    font-size: 2.3rem;
}

.menu-items li{
    list-style: none;
    margin-left: 1.5rem;
    font-size: 1.3rem;
}

.navbar a{
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease-in-out;
}

.navbar a:hover{
    color: #117964;
}

@media (max-width: 768px){
    .navbar{
        opacity: 0.95;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines{
        display: block;
    }

    .navbar-container{
        display: block;
        position: relative;
        height: 64px;
    }

    .navbar-container input[type="checkbox"]{
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 20px;
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines{
        display: block;
        height: 28px;
        width: 35px;
        position: absolute;
        top: 20px;
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line{
        display: block;
        height: 4px;
        width: 100%;
        border-radius: 10px;
        background: #333;
    }
    
    .navbar-container .hamburger-lines .line1{
        transform-origin: 0% 0%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2{
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3{
        transform-origin: 0% 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items{
        padding-top: 100px;
        background: rgb(255, 255, 255);
        height: 100vh;
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin-left: -40px;
        padding-left: 40px;
        transition: transform 0.5s ease-in-out;
        box-shadow:  5px 0px 10px 0px #aaa;
        overflow: scroll;
    }

    .navbar .menu-items li{
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo{
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 2.5rem;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items{
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1{
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2{
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3{
        transform: rotate(-45deg);
    }

}

@media (max-width: 500px){
    .navbar-container input[type="checkbox"]:checked ~ .logo{
        display: none;
    }
}

/* footer */
.footer {
    
  background-color: rgb(255, 150, 50);
  color: white;
  padding: 40px 20px 10px;
  
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-about {
  flex: 1 1 250px;
}

.footer-about p {
  margin-top: 10px;
  line-height: 1.6;
}

.footer-logo {
  max-width: 150px;
}

.footer-contact, .footer-social {
  flex: 1 1 200px;
}

.footer-contact h3, .footer-social h3 {
  margin-bottom: 10px;
}

.footer-contact p {
  margin: 5px 0;
}

.footer-social a img {
  width: 30px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.footer-social a {
    margin: 0vh 5vh;
}


.footer-social a img:hover {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}


/* new */

body {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background-color: #f5f5f5;
}

/* Title */
.about-title {
	margin-top: 8vh;
	font-size: 4rem;
	font-weight: 900;
	text-transform: uppercase;
	position: absolute;
	top: 30px;
	left: 50%;
	transform: translateX(-50%);
	color: #082a7b;
	text-align: center;
}

/* Carousel container */
.carousel-container {
	width: 100%;
	max-width: 1200px;
	height: 450px;
	position: relative;
	perspective: 1000px;
	margin-top: 80px;
}

/* Carousel track */
.carousel-track {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	transform-style: preserve-3d;
	transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Cards */
.card {
	position: absolute;
	width: 280px;
	height: 380px;
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
	transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	cursor: pointer;
}

.card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.card.center {
	z-index: 10;
	transform: scale(1.1) translateZ(0);
}

.card.left-2 {
	transform: translateX(-400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.left-1 {
	transform: translateX(-200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.right-1 {
	transform: translateX(200px) scale(0.9) translateZ(-100px);
	opacity: 0.9;
}

.card.right-2 {
	transform: translateX(400px) scale(0.8) translateZ(-300px);
	opacity: 0.7;
}

.card.hidden {
	opacity: 0;
	pointer-events: none;
}

/* Navigation arrows */
.nav-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(8, 42, 123, 0.6);
	color: white;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 1.5rem;
	border: none;
}

.nav-arrow.left {
	left: 20px;
}

.nav-arrow.right {
	right: 20px;
}

/* Responsive styles */
@media (max-width: 1024px) {
	.about-title {
		font-size: 3rem;
		margin-top: 18vh;
	}

	.carousel-container {
		height: 400px;
	}

	.card {
		width: 240px;
		height: 340px;
	}

	.card.left-2 {
		transform: translateX(-300px) scale(0.8) translateZ(-250px);
	}

	.card.right-2 {
		transform: translateX(300px) scale(0.8) translateZ(-250px);
	}
}

@media (max-width: 768px) {
	.about-title {
		font-size: 2.2rem;
		top: 20px;
	}

	.carousel-container {
		height: 320px;
	}

	.card {
		width: 200px;
		height: 280px;
	}

	.card.left-1 {
		transform: translateX(-120px) scale(0.9) translateZ(-80px);
	}

	.card.right-1 {
		transform: translateX(120px) scale(0.9) translateZ(-80px);
	}

	.card.left-2,
	.card.right-2 {
		display: none; /* Hide far cards on small screens */
	}
}

@media (max-width: 480px) {
	.about-title {
		font-size: 1.6rem;
		top: 15px;
	}

	.carousel-container {
		height: 250px;
	}

	.card {
		width: 160px;
		height: 220px;
	}

	.nav-arrow {
		width: 30px;
		height: 30px;
		font-size: 1.2rem;
	}
}
