*{
    margin: 0;
    padding: 0;
    font-family: 'Poppins, sans-serif';
    box-sizing: border-box;
}
body{
    background: #0077be;
    color: #fff;
    min-height: 100vh;
    margin: 0;
}
#header{
    width: 100%;
    height: 50px;
    background-color: aliceblue;
}
  
 .header {
  display: flex;
  align-items: flex-start; 
  background-color: #0077be;
  padding: 10px 20px;
}

.header img {
  height: 90px;
  margin-right: 10px;
}

.header-text {
  line-height: 1.2;
  color: white;
}
body{
            min-height: 100vh;
            display: grid;
            place-items: center;
            }

            .slides{
            height: 70vh;
            width: 100%;
            overflow: hidden;
             position: relative;
                box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
            }
            .slide {
                position: absolute;
                height: 100%;
                opacity: 0;
                inset: 0;
                animation: slide-show 12s infinite;

            }
            .slide-2{
                animation-delay: 4s;
            }

            .slide-3{
                animation-delay: 8s;
            }
            .slide img{
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: center;

            }

            @keyframes slide-show{
                0%{
                    opacity: 0;

                }
                10%{
                    opacity: 1;

                }
                20%,
                30%{
                    opacity: 1;
                    scale: 1.03;
                }
                50%{
                    opacity: 0;
                }
            }


.header-text h1 {
  margin: 0;
  font-size: 45px;
  font-family: "UnifrakturCook", "Old English Text MT", serif;
  font-weight: 700;
}

.header-text p {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

nav ul li{
    display: inline-block;
    list-style: none;
    margin: 10px 20px;
}
nav ul li a{
    color: #000;
    text-decoration: none;
    font-size: 20px;
    position: relative;
    padding-right: 150px;
    padding-left: 150px;
    height: 100px;
}
nav ul li a::after{
    content:'';
    width: 0;
    height: 3px;
    background: #FFD700;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.5s;
}
nav ul li a:hover::after{
    width: 100%;
}

.gold-line {
  width: 100%;       /* full width */
  height: 4px;       /* thickness of the line */
  background-color: gold;  /* golden color */
}
/*-----------Message--------*/
#about{
  padding: 70px 0%;
  color: #fff;
}
.row{
  display: flex;
  flex-wrap: wrap;
}
.about-col1{
  flex-basis: 35%;
}
.about-col1 img{
  margin-left: 20%;
  width: 60%;
  border-radius: 15%;
  margin-top: 7%;
}
.about-col2{
  flex-basis:60%;

}
.sub-title{
  font-size: 70px;
  font-weight: 600;
  color: #fff;
  text-align: justify;
}

.video-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 50px;
}

.video-text {
  flex: 1;
  text-align: center; /* aligns text closer to the video */
}

.video-text h2 {
  font-size: 22px;
  font-weight: bold;
  color: white;
}

.video-box {
  flex: 1;
  margin-left: 10%;
}

video {
  width: 100%;
  max-width: 600px;
  border: none;
}

h2 {
  font-size: 38px;
  font-weight: bold;
  margin: 30px 0 20px;
  color: gold;
  position: relative;
  display: inline-block;
}

h2::before,
h2::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 200px;
  height: 2px;
  background: #999;
}

h2::before {
  right: 100%;
  margin-right: 15px;
}

h2::after {
  left: 100%;
  margin-left: 15px;
}

/*-----------portfolio--------*/
.subtitle {
  text-align: center;
  font-size: 4rem;
  font-weight: bold;
  margin: 40px 0;
  color: #fff; /* adjust if needed */
}
/* Carousel */
.carousel-container {
  position: relative;
  width: 98%;                 /* almost full width */
  max-width: 1800px;          /* extra wide */
  margin: 50px auto;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.35);
}

.carousel-track {
  display: flex;
  width: calc(650px * 12);    /* adjust for enlarged items */
  animation: scroll 50s linear infinite;
}

/* Pause animation on hover */
.carousel-container:hover .carousel-track {
  animation-play-state: paused;
}

.carousel-item {
  flex: 0 0 auto;
  width: 650px;               /* was 550px */
  height: 420px;              /* was 350px */
  margin-right: 35px;
  border-radius: 18px;
  overflow: hidden;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 18px;
}

/* auto-scroll effect */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
footer {
  background-color: #000;   /* Black background */
  color: #fff;             /* White text */
  padding: 70px 20px;       /* Space inside the footer */
  text-align: center;
  width: 100%;
  position: relative;       /* Keeps it part of normal flow */
  margin-top: auto;
}

footer h3 {
  color: red;               /* Contact Us title */
  margin-top: auto;
}

footer p {
  margin-top: auto;
}