*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial, sans-serif;
  scroll-behavior:smooth;
}

body{
  background:#f4f7fb;
  color:#333;
  line-height:1.6;
}

/* HEADER */

header{
  background:#0b1f3a;
  padding:20px 80px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:sticky;
  top:0;
  z-index:1000;
}

.logo{
  color:white;
  font-size:28px;
  font-weight:bold;
}

nav a{
  color:white;
  text-decoration:none;
  margin-left:25px;
  transition:0.3s;
}

nav a:hover{
  color:#00bfff;
}

/* HERO */

.hero{
  height:100vh;
  background:
  linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
  url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=1600&auto=format&fit=crop')
  center/cover no-repeat;

  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding:20px;
}

.hero-content h1{
  font-size:60px;
  margin-bottom:20px;
}

.hero-content p{
  font-size:22px;
  margin-bottom:30px;
}

.btn{
  display:inline-block;
  background:#00bfff;
  color:white;
  padding:15px 35px;
  border-radius:5px;
  text-decoration:none;
  border:none;
  cursor:pointer;
  transition:0.3s;
}

.btn:hover{
  background:#009acd;
}

/* SECTION */

section{
  padding:80px;
}

.section-title{
  text-align:center;
  font-size:40px;
  margin-bottom:50px;
  color:#0b1f3a;
}

/* SERVICES */

.services{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.card{
  background:white;
  padding:30px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
  transition:0.3s;
}

.card:hover{
  transform:translateY(-10px);
}

.card i{
  font-size:40px;
  color:#00bfff;
  margin-bottom:20px;
}

/* ABOUT */

.about{
  display:flex;
  align-items:center;
  gap:40px;
  flex-wrap:wrap;
}

.about img{
  width:500px;
  max-width:100%;
  border-radius:10px;
}

.about-text{
  flex:1;
}

/* CONTACT */

.contact{
  background:white;
}

.contact form{
  max-width:700px;
  margin:auto;
  display:flex;
  flex-direction:column;
  gap:20px;
}

.contact input,
.contact textarea{
  padding:15px;
  border:1px solid #ccc;
  border-radius:5px;
  font-size:16px;
}

.contact input:focus,
.contact textarea:focus{
  outline:none;
  border-color:#00bfff;
}

#successMessage{
  text-align:center;
  margin-top:20px;
  color:green;
  font-weight:bold;
}

/* CONTACT INFO */

.info-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.info-box{
  background:white;
  padding:30px;
  text-align:center;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.1);
}

.info-box i{
  font-size:40px;
  color:#00bfff;
  margin-bottom:20px;
}

/* FOOTER */

footer{
  background:#0b1f3a;
  color:white;
  text-align:center;
  padding:40px 20px;
}

.social-links{
  margin-top:20px;
  display:flex;
  justify-content:center;
  gap:20px;
  flex-wrap:wrap;
}

.social-links a{
  width:50px;
  height:50px;
  background:white;
  color:#0b1f3a;
  display:flex;
  justify-content:center;
  align-items:center;
  border-radius:50%;
  text-decoration:none;
  font-size:22px;
  transition:0.3s;
}

.social-links a:hover{
  background:#00bfff;
  color:white;
  transform:scale(1.1);
}

.chatbot{
  position:fixed;
  right:20px;
  bottom:20px;
  z-index:1100;
  font-family:Arial, sans-serif;
}

.chatbot-toggle{
  background:#00bfff;
  color:white;
  border:none;
  border-radius:50px;
  padding:14px 20px;
  box-shadow:0 12px 24px rgba(0,0,0,0.15);
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:10px;
  transition:transform 0.2s ease, background 0.2s ease;
}

.chatbot-toggle:hover{
  transform:translateY(-2px);
  background:#009acd;
}

.chatbot-window{
  width:360px;
  max-width:92vw;
  background:white;
  border-radius:20px;
  box-shadow:0 20px 50px rgba(0,0,0,0.2);
  overflow:hidden;
  margin-top:15px;
  display:none;
  flex-direction:column;
}

.chatbot-window.open{
  display:flex;
}

.chatbot-header{
  background:#0b1f3a;
  color:white;
  padding:18px 18px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.chatbot-header h3{
  margin-bottom:5px;
  font-size:18px;
}

.chatbot-header p{
  margin:0;
  font-size:13px;
  opacity:0.85;
}

.chatbot-close{
  background:transparent;
  border:none;
  color:white;
  font-size:18px;
  cursor:pointer;
}

.chatbot-messages{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  max-height:360px;
  overflow-y:auto;
  background:#f4f7fb;
}

.chatbot-message{
  max-width:85%;
  padding:14px 16px;
  border-radius:18px;
  line-height:1.5;
  font-size:14px;
}

.chatbot-message.bot{
  background:#0b1f3a;
  color:white;
  align-self:flex-start;
  border-bottom-left-radius:4px;
}

.chatbot-message.user{
  background:#00bfff;
  color:white;
  align-self:flex-end;
  border-bottom-right-radius:4px;
}

.chatbot-form{
  padding:16px;
  display:flex;
  gap:12px;
  border-top:1px solid #e8ecf3;
  background:white;
}

.chatbot-form input{
  flex:1;
  padding:12px 14px;
  border:1px solid #ccc;
  border-radius:999px;
  font-size:14px;
}

.chatbot-form button{
  width:50px;
  border:none;
  border-radius:50%;
  background:#00bfff;
  color:white;
  cursor:pointer;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:16px;
}

@media(max-width:768px){

  header{
    flex-direction:column;
    padding:20px;
  }

  nav{
    margin-top:15px;
  }

  .hero-content h1{
    font-size:40px;
  }

  section{
    padding:60px 20px;
  }

}