@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===============================
   GLOBAL RESET
================================ */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
    scroll-behavior:smooth;
}

body{
    background:#f5f9ff;
    color:#333;
}

/* ===============================
   TOP BAR
================================ */
.top-bar{
    background:linear-gradient(to right,#1e90ff,#00bfff);
    color:white;
    padding:8px;
    text-align:center;
    font-size:14px;
}

/* ===============================
   HEADER & NAVBAR
================================ */
header{
    position:sticky;
    top:0;
    z-index:9999;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    box-shadow:0 2px 15px rgba(0,0,0,0.08);
}

/* Prevent dropdown being cut */
header, nav, .top-bar{
    overflow:visible !important;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    height:55px;
    width:auto;
    object-fit:contain;
}

.logo-text h2{
    font-size:20px;
    margin:0;
    color:#1e90ff;
}

.logo-text p{
    font-size:12px;
    margin:0;
    color:#666;
}

/* ===============================
   NAV MENU
================================ */
nav ul{
    list-style:none;
    display:flex;
    gap:30px;
}

nav ul li{
    position:relative;
}

nav ul li a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    transition:0.3s;
}

nav ul li a:hover{
    color:#1e90ff;
}

/* ===============================
   DROPDOWN MENU
================================ */
.dropdown-menu{
    position:absolute;
    top:100%;
    left:0;
    background:white;
    width:220px;
    padding:10px 0;
    border-radius:8px;
    box-shadow:0 15px 30px rgba(0,0,0,0.15);
    list-style:none;
    display:none;
    z-index:99999;
}

.dropdown-menu li{
    padding:8px 20px;
}

.dropdown-menu li a{
    display:block;
    color:#333;
    font-size:14px;
}

.dropdown-menu li:hover{
    background:#f5f7fc;
}

/* SHOW DROPDOWN */
nav ul li:hover .dropdown-menu{
    display:block;
}

/* ===============================
   HERO SECTION
================================ */
.hero{
    position:relative;
    z-index:1;
    background:linear-gradient(rgba(30,144,255,0.85),rgba(0,191,255,0.85)),
    url('https://images.unsplash.com/photo-1554224155-8d04cb21cd6c');
    background-size:cover;
    background-position:center;
    color:white;
    text-align:center;
    padding:120px 20px;
}

.hero h1{
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    font-size:18px;
    margin-bottom:25px;
}

/* ===============================
   BUTTON
================================ */
.btn{
    display:inline-block;
    padding:12px 25px;
    background:white;
    color:#1e90ff;
    border-radius:30px;
    text-decoration:none;
    font-weight:600;
    margin:5px;
    transition:0.3s;
}

.btn:hover{
    background:#1e90ff;
    color:white;
}

/* ===============================
   GENERAL SECTION
================================ */
.section{
    padding:80px 10%;
    text-align:center;
}

.section h2{
    font-size:32px;
    margin-bottom:40px;
    color:#1e90ff;
}

/* ===============================
   CARDS
================================ */
.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    transition:0.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card h3{
    margin-bottom:15px;
    color:#1e90ff;
}

/* ===============================
   TEAM SECTION
================================ */
.team-section{
   text-align:center;
   padding:70px 20px;
   background:#f9fbff;
}

.team-section h2{
   font-size:32px;
   margin-bottom:50px;
   color:#1f3c88;
}

.team-container{
   display:flex;
   justify-content:center;
   gap:35px;
   flex-wrap:wrap;
}

.team-card{
   background:#ffffff;
   padding:25px;
   width:220px;
   border-radius:12px;
   box-shadow:0 10px 25px rgba(0,0,0,0.06);
   transition:0.3s;
}

.team-card:hover{
   transform:translateY(-8px);
}

.team-card img{
   width:120px;
   height:120px;
   border-radius:50%;
   object-fit:cover;
   margin-bottom:15px;
}

.team-card h3{
   font-size:18px;
   margin:10px 0 5px;
}

.team-card p{
   font-size:14px;
   color:#777;
}

/* ===============================
   CONTACT FORM
================================ */
.contact-form{
    max-width:600px;
    margin:auto;
    background:white;
    padding:40px;
    border-radius:15px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px;
    margin:10px 0;
    border:1px solid #ddd;
    border-radius:8px;
}

.contact-form button{
    width:100%;
    padding:12px;
    background:#1e90ff;
    color:white;
    border:none;
    border-radius:8px;
    font-weight:600;
    cursor:pointer;
}

.contact-form button:hover{
    background:#00bfff;
}

/* ===============================
   FOOTER
================================ */
footer{
    background:linear-gradient(to right,#1e90ff,#00bfff);
    color:white;
    text-align:center;
    padding:25px;
    margin-top:50px;
}
/* ===== CHATBOT STYLING ===== */

#ai-chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: linear-gradient(45deg,#0d6efd,#6610f2);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 9999;
}

#ai-chat-container {
    position: fixed;
    bottom: 90px;
    right: 25px;
    width: 360px;
    height: 480px;
    background: white;
    border-radius: 15px;
    display: none;
    flex-direction: column;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    z-index: 9999;
}

.ai-header {
    background: linear-gradient(45deg,#0d6efd,#6610f2);
    color: white;
    padding: 15px;
    display: flex;
    justify-content: space-between;
}

#ai-chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    font-size: 14px;
}

.bot-message {
    background: #f1f3f6;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 8px;
}

.user-message {
    background: #0d6efd;
    color: white;
    padding: 8px;
    border-radius: 8px;
    text-align: right;
    margin-bottom: 8px;
}

.ai-footer {
    display: flex;
    padding: 10px;
}

.ai-footer input {
    flex: 1;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.ai-footer button {
    background: #0d6efd;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
}
.services-section {
  background-color: #f8f9fa;
  padding: 70px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a3c8b;
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.service-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000;
}

.service-card p {
  font-size: 14.5px;
  color: #666;
  line-height: 1.6;
}