*{
    margin:0%;
    padding: 0%;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}
#navbar{
    position:fixed;
    top:0%;
    left:0%;
    height: 10%;
    width:100%;
    background-color: aqua;
    box-shadow: 0 0px 5px #000;
    z-index: 1000;
}
#navbar #navdn{
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    background-color: rgb(197, 220, 252);
}
#navbar #navdn #menu{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    right:2%;
}
#navbar #navdn #menu li{
    display: inline-block;
    margin-left: 30px;
}
#navbar #navdn #menu li:last-child{
    background-color: #ffd700;
    padding: 15px;
    border-radius: 30px;
}
#navbar #navdn #menu li a{
    color: rgb(16,62,97);
    font-weight: bolder;
}
#navbar #navdn #menu li:last-child a{
    color: #020202;
}
#navbar .arrow-shape {
  background: white;
  border: none;
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}
#navbar #logo{
    position: absolute;
    top:50%;
    left: 0%;
    transform: translateY(-50%);
    height: 100%;
    width: 15%;
    background-color:rgb(255, 255, 255);
}
#navbar #logo a img{
    position: absolute;
    top:50%;
    left: 45%;
    transform: translate(-50%,-50%);
    height: 70px;
    width: 70px;
}
#titl{
    display: none;
}
#nav{
    position: fixed;
    top:10%;
    left:0%;
    width:0%;
    height:90%;
    background-color: rgba(0,0,0,0.5);
	transition: 0.5s;
}
#nav #ul{
    position: fixed;
    top:10%;
    left:0%;
    width:70%;
    height:100%;
    background-color: #fff;
    display: none;
    transition: 0.5s;
    list-style: none;
}
#nav #ul li{
    margin: 30px;
}
#nav #ul li:first-child button{
    position: absolute;
    top:3%;
    right: 10%;
    font-size: 30px;
    background-color: transparent;
    border: none;
    outline: none;
    padding: 0%;
    margin: 0%;
}
#nav #ul li a{
    font-size: 20px;
    color:rgba(24,73,103)
}
#banner{
    position:absolute;
    top: 10%;
    left:0%;
    height: 50%;
    width:100%;
    background-image: url("../images/bg/bg1.jpg");
    background-size: cover;
}
#banner h1{
    color:#ffd700;
    position: absolute;
    top:50%;
    left: 10%;
    transform: translateY(-50%);
    font-size: 5rem;
    animation: fadeInUp 1s ease-out;
}
/* FIXED animation */
@keyframes fadeInUp {
    from {
        transform: translateY(calc(-50% + 40px));
        opacity: 0;
    }
    to {
        transform: translateY(-50%);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#contact{
    position: absolute;
    top:60%;
    left:0%;
    height: 80%;
    width: 100%;
    display: flex;
    justify-content: center;
    place-items: center;
    overflow: hidden;
}
.contact-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-info, .contact-form {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.contact-info.animate, .contact-form.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Info Items */
.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item i {
  background: #0c1122;
  color: #fff;
  font-size: 18px;
  padding: 15px;
  border-radius: 50%;
  margin-right: 15px;
  height: 20px;
  width: 20px;
  display: grid;
  place-items: center;
}

.info-item h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: bold;
}

.info-item p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #444;
}

.map {
  margin-top: 15px;
  border-radius: 10px;
  overflow: hidden;
}

/* Contact Form */
.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form .row {
  display: flex;
  gap: 15px;
}

.contact-form .row input {
  flex: 1;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  width: 93%;
}

.contact-form button {
  padding: 12px;
  background: #0c1122;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  background: #000;
}
.footer {
  position:absolute;
  top:140%;
  left:0%;
  width:100%;
  background-color: #0c1122;
  color: #dcdcdc;
  padding-top: 40px;
  padding-bottom: 20px;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  width: 80%;
  margin: 0 25px;
}

.footer-column {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-column h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 15px;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-column ul li a {
  color: #dcdcdc;
  text-decoration: none;
}

.footer-column ul li a:hover {
  text-decoration: underline;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.logo-box {
  background-color: #fff;
  color: rgb(29, 53, 87);
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 1.2rem;
}

.small-text {
  font-size: 0.8rem;
  color: #ccc;
}

.footer hr {
  border: none;
  border-top: 1px solid #333;
  margin: 20px 0;
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}
@media screen and (max-width:450px){

    /* NAVBAR */
    #navbar{
        height:10%;
    }
    #navbar #navdn{
        top:0;
        height:100%;
    }
    #navbar #logo{
      width:20%
    }
    #navbar #logo a img{
        height:50px;
        width:50px;
        top:50%;
        left:45%;
        transform:translate(-50%, -50%);
    }
    #navbar #navdn #menu{
        display:none;
    }
    #navbar #navbtn{
        position:absolute;
        top:50%;
        right:5%;
        transform:translateY(-50%);
        height:50px;
        width:50px;
    }
    #navbar #navbtn button{
        height:100%;
        width:100%;
        font-size:1.8rem;
        background:transparent;
        border:none;
        color:darkblue;
    }
    #titl{
        display:block;
        position:absolute;
        top:50%;
        left:50%;
        transform:translate(-50%,-50%);
    }
    #titl h1{
        color:#0c1122;
    }
    #nav{
        z-index:1;
    }
    #banner h1{
        color:#ffd700;
        position:absolute;
        top:50%;
        left:10%;
        transform: translateY(-50%);
        font-size:4rem;
        animation: fadeInUp 1s ease-out forwards;
    }

    /* FIXED animation */
    @keyframes fadeInUp {
        from {
            transform: translateY(calc(-50% + 40px));
            opacity: 0;
        }
        to {
            transform: translateY(-50%);
            opacity: 1;
        }
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    #contact{
        position: absolute;
        top: 60%;          /* adjust as per your design */
        width: 100%;
        height: auto;
        display: block;
    }

    .contact-container{
        display: flex;
        flex-direction: column-reverse;
        width: 90%;
        gap: 20px;
    }

    .contact-info, 
    .contact-form{
        width: 85%;
        min-height: auto;
        padding: 20px;
        box-shadow: 0 0px 10px rgba(0,0,0,0.1);
    }

    /* Info Items */
    .info-item{
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .info-item i{
        padding: 12px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    /* Contact Form */
    .contact-form form{
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .contact-form .row{
        flex-direction: column;
        gap: 12px;
    }

    .contact-form input,
    .contact-form textarea{
        width: 90% !important;
        font-size: 0.95rem;
        padding: 12px;
    }

    .contact-form button{
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        margin-top: 10px;
    }

    /* Google Map */
    .map iframe{
        width: 100%;
        height: 200px;
        border: none;
    }
    .footer{
      top:220%;
    }
}