:root{
  --blue-1:#1a73e8; --blue-2:#0b59d6;
  --blue-gradient: linear-gradient(135deg,#1a73e8,#0b59d6);
  --yellow-1:#ffd633; --yellow-2:#ffb300;
  --dark:#111; --muted:#555;
  --card-shadow: 0 20px 60px rgba(11,18,32,0.08);
  --fancy-shadow: 0 12px 36px rgba(11,18,32,0.12);
}
body{font-family:'Poppins',sans-serif; margin:0; background:#f9f9f9; color:var(--dark); scroll-behavior:smooth;}
a{text-decoration:none;}
.btn:focus, .nav-link:focus{outline:none;}

/* Topbar */
/* 🌟 TOPBAR */
.topbar {
  background: #fff;
  color: #111;
  font-size: 0.9rem;
  padding: 8px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.topbar .contact-info span {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #555;
  font-weight: 500;
}
.topbar .social-links a {
  margin-left: 12px;
  font-size: 1.1rem;
  transition: transform 0.3s;
}
.topbar .social-links .facebook { color: #1877f2; }
.topbar .social-links .twitter { color: #1da1f2; }
.topbar .social-links .linkedin { color: #0a66c2; }
.topbar .social-links .instagram { 
  background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.topbar .social-links .youtube { color: #ff0000; }
.topbar .social-links a:hover { transform: scale(1.2) rotate(5deg); }

/* 🌟 NAVBAR - fixed below topbar */
.navbar {
  position: fixed;
  top: 36px; /* height of topbar */
  left: 0;
  width: 100%;
  padding: 0px 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
  z-index: 1999;
  transition: all 0.35s ease;
}

/* Nav Links */
.navbar-nav .nav-link {
  font-weight: 600;
  margin: 0 16px;
  color: #111;
  position: relative;
  padding: 6px 0;
  transition: color 0.3s;
}
.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg,#0b59d6,#1a73e8);
  transition: width 0.3s ease;
  border-radius: 2px;
}
.navbar-nav .nav-link:hover { color: #0b59d6; }
.navbar-nav .nav-link:hover::after { width: 100%; }

/* Mobile Toggler */
.navbar-toggler { border:none; outline:none; box-shadow:none; }
.navbar-toggler-icon { width:28px; height:2px; background:#111; display:block; position:relative; transition:0.3s; }
.navbar-toggler-icon::before,
.navbar-toggler-icon::after { content:''; position:absolute; width:28px; height:2px; background:#111; transition:0.3s; }
.navbar-toggler-icon::before { top:-8px; }
.navbar-toggler-icon::after { top:8px; }

/* Increase logo size and align center */
.brand-logo {
  height: 180px;  /* increase logo height */
  max-height: 140px; /* prevents oversize */
  width: auto;
  object-fit: contain;
  display: block;
}
.navbar .container {
  align-items: center; /* vertically center logo and links */
}
/* Main content push */
main { margin-top:128px; } /* topbar 36px + navbar approx 92px */

/* Responsive */
@media(max-width:991px){
  .navbar { top:36px; padding:12px 20px; border-radius:0; }
}

/* Hero Carousel */
#heroCarousel{ position:relative; overflow:visible; }
.carousel-item{ height:75vh; min-height:420px; display:flex; align-items:center; justify-content:center; position:relative; }
.carousel-item img{ width:100%; height:75vh; object-fit:cover; display:block; filter:contrast(1.05) saturate(1.05); }
.carousel-overlay{ position:absolute; inset:0; background:linear-gradient(180deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.45) 100%); pointer-events:none; }
.carousel-caption{ background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03)); backdrop-filter:blur(6px); padding:28px; border-radius:12px; max-width:720px; box-shadow:var(--card-shadow); z-index:5; }
.carousel-caption h1{ font-size:2.4rem; color:#fff; margin-bottom:10px; line-height:1.1; text-shadow:0 6px 22px rgba(0,0,0,0.45); }
.carousel-caption p{ color: rgba(255,255,255,0.9); font-size:1.05rem; }

.btn-blue{ background: linear-gradient(45deg, #007bff, #00c6ff);
      border: none;
      color: #fff;
      padding: 10px 25px;
      border-radius: 50px;
      box-shadow: 0 4px 15px rgba(0,0,0,0.2);
      transition: all .3s;
}
.btn-blue:hover{ opacity: 0.9; transform: scale(1.05);}
.btn-yellow{ background: linear-gradient(135deg,var(--yellow-1),var(--yellow-2)); color:#111; border:none; border-radius:999px; padding:10px 24px; font-weight:700; transition:0.3s;}
.btn-yellow:hover{ transform:translateY(-2px); box-shadow:0 14px 36px rgba(255,176,0,0.25); }
.btn-shine{background: linear-gradient(90deg,#1a73e8,#0b59d6,#1a73e8); color:#fff; border-radius:999px; padding:12px 28px; font-weight:700; text-shadow:0 2px 6px rgba(0,0,0,0.2); animation:shine 2.5s infinite;}
@keyframes shine{0%,100%{background-position:0 0;}50%{background-position:100% 0;}}

/* Sections */
section{ padding:96px 0; }
h2.section-title{ font-weight:700; text-align:center; margin-bottom:48px; font-size:2.2rem; color:var(--dark); }
.container-tight{ max-width:1140px; margin:0 auto; }
.card-premium{ background:#fff; border-radius:20px; padding:24px; box-shadow: var(--card-shadow); transition:transform 0.3s; cursor:pointer; }
.card-premium:hover{ transform:translateY(-6px); box-shadow:0 20px 60px rgba(11,18,32,0.15); }
.card-premium img{ width:100%; height:200px; object-fit:cover; border-radius:16px; margin-bottom:16px; }
.muted-small{ color:var(--muted); font-size:0.95rem; }


/* ===== Magazine-Style Overlay Tile Card ===== */
.blog-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.blog-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* Card Image */
.blog-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.blog-card:hover img {
  transform: scale(1.08);
  filter: brightness(0.7);
}

/* Overlay container */
.blog-card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
  border-radius: 20px;
}

.blog-card:hover .overlay {
  opacity: 1;
}

/* Overlay Text */
.blog-card .overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.blog-card .overlay p {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.6;
}

/* Read More Button */
.blog-card .overlay .read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 50px;
  background: #ff6b00;
  transition: all 0.3s ease;
}

.blog-card .overlay .read-more:hover {
  background: #ff4500;
  box-shadow: 0 6px 18px rgba(255,69,0,0.35);
}

/* Article Modal Styles */
.article-modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(6px);
  animation: fadeIn 0.4s;
}
@keyframes fadeIn {
  from {opacity:0;}
  to {opacity:1;}
}
.modal-content {
  position: relative;
  background: #111;
  color: #fff;
  margin: 60px auto;
  padding: 30px;
  max-width: 800px;
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.5);
  animation: scaleIn 0.4s ease;
}
@keyframes scaleIn {
  from {opacity:0; transform: scale(0.9);}
  to {opacity:1; transform: scale(1);}
}
.close-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 2rem;
  font-weight: 700;
  color: #ffd633;
  cursor: pointer;
  transition: all 0.3s;
}
.close-btn:hover {
  color: #fff;
  text-shadow: 0 0 12px #ffd633;
  transform: scale(1.3);
}
.article-modal img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}
.article-modal h3 {
  margin-bottom: 16px;
  font-size: 2rem;
  color: #ffd633;
}
.article-modal p {
  font-size: 1rem;
  line-height: 1.6;
  color: #eee;
}

/* FAQ Section - Dark Blue Gradient & SVG Icons */
#faq {
 background: #fff; /* changed to white */
    color: #111; /* dark text for readability */
    padding: 60px 0;
    font-family: 'Poppins', sans-serif;
}

#faq .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--dark); /* dark text for white background */
    text-shadow: none;   /* remove shadow for clean look */
}


/* Accordion Button */
#faq .accordion-button {
    background: #f9f9f9; /* light grey button */
    color: var(--dark);
    border-radius: 12px;
    margin-bottom: 15px;
    padding: 18px 24px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}


#faq .accordion-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

/* Active button style */
#faq .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, #ffd633, #ffb300);
    color: #111;
}

/* Accordion arrow */
#faq .accordion-button::after {
    font-family: "bootstrap-icons";
    content: "\f078";
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    color: #fff;
}

#faq .accordion-button.collapsed::after {
    transform: rotate(-90deg);
}

/* Accordion body */
#faq .accordion-body {
    color: #ffffff; /* white font */
    background-color: transparent; /* keep gradient */
    padding: 1rem 1.5rem;
}

/* FAQ SVG Icons */
.faq-icon svg {
    margin-right: 15px;
    transition: transform 0.3s ease, filter 0.3s ease;
    color: #ffd633;
}

.accordion-button:hover .faq-icon svg {
    transform: rotate(15deg) scale(1.3);
    filter: drop-shadow(0 0 8px #ffd633) drop-shadow(0 0 4px #fff);
}

/* Pulsing Glow Keyframes */
@keyframes pulseGlow {
  0% {
    filter: drop-shadow(0 0 4px #ffd633) drop-shadow(0 0 2px #fff);
    transform: scale(1);
  }
  50% {
    filter: drop-shadow(0 0 10px #ffd633) drop-shadow(0 0 6px #fff);
    transform: scale(1.05);
  }
  100% {
    filter: drop-shadow(0 0 4px #ffd633) drop-shadow(0 0 2px #fff);
    transform: scale(1);
  }
}

/* Apply animation to FAQ icons */
.faq-icon svg {
    margin-right: 15px;
    color: #ffd633;
    animation: pulseGlow 3s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
}

/* Hover effect remains stronger */
.accordion-button:hover .faq-icon svg {
    transform: rotate(15deg) scale(1.3);
    filter: drop-shadow(0 0 12px #ffd633) drop-shadow(0 0 6px #fff);
}

/* Gradient Border Animation */
@keyframes gradientBorder {
  0% {
    border-image-source: linear-gradient(45deg, #ff6ec4, #7873f5, #00ffd5);
  }
  50% {
    border-image-source: linear-gradient(45deg, #00ffd5, #ff6ec4, #7873f5);
  }
  100% {
    border-image-source: linear-gradient(45deg, #ff6ec4, #7873f5, #00ffd5);
  }
}

/* Base accordion panel style */
.accordion-item {
    border: 3px solid transparent;
    border-image-slice: 1;
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    background: linear-gradient(to right, #0a0f3d, #111a57); /* dark blue gradient background */
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Animate border when expanded */
.accordion-button.collapsed {
    border: 3px solid transparent;
    border-radius: 12px;
    background: linear-gradient(to right, #0a0f3d, #111a57);
}

.accordion-button:not(.collapsed) {
    animation: gradientBorder 4s linear infinite;
    border-image-slice: 1;
    border-width: 3px;
    border-style: solid;
    border-radius: 12px;
}


/* FAQ Panel Content Neon Glow */
.accordion-body {
    color: #e0e0ff; /* soft light text */
    font-weight: 500;
    line-height: 1.6;
    text-shadow: 
        0 0 5px #00ffd5,
        0 0 10px #00ffd5,
        0 0 15px #7873f5,
        0 0 20px #ff6ec4;
    transition: all 0.4s ease;
}

/* Glow intensifies on hover */
.accordion-item:hover .accordion-body {
    text-shadow:
        0 0 8px #00ffd5,
        0 0 16px #00ffd5,
        0 0 24px #7873f5,
        0 0 32px #ff6ec4;
}

/* Panel shadow animation on hover */
.accordion-item:hover {
    box-shadow: 
        0 0 20px rgba(0, 255, 213, 0.6),
        0 0 30px rgba(120, 115, 245, 0.5),
        0 0 40px rgba(255, 110, 196, 0.4);
    transform: translateY(-3px);
}

.accordion-button:not(.collapsed) {
    box-shadow: 0 0 10px #00ffd5, 0 0 15px #ff6ec4;
    transition: all 0.4s ease;
}

/* Pricing Cards */
.pricing-card {
  padding: 32px 20px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(11,18,32,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 80px rgba(11,18,32,0.18);
}

/* Most Popular Badge - enhanced */
.popular-badge {
  position: absolute;
  top: 1px;          /* inside card */
  right: 16px;        /* inside card */
  background: linear-gradient(135deg, #ffd633, #ffb300);
  color: #111;
  font-weight: 800;
  padding: 6px 10px;   /* smaller padding to fit nicely */
  border-radius: 12px;  /* rounded but fits card */
  font-size: 0.90rem;
  text-transform: uppercase;
  box-shadow: 0 4px 8px rgba(255,180,0,0.5); /* subtle glow */
  z-index: 10;
}


/* Pulse Animation */
@keyframes pulse {
  0%, 100% { transform: rotate(-15deg) scale(1); }
  50% { transform: rotate(-15deg) scale(1.05); }
}


/* Check icon in features list */
.pricing-card ul li i {
  font-size: 1rem;
}

/* Adjust spacing */
.pricing-card ul li {
  margin-bottom: 10px;
  font-weight: 500;
}

/* Price styling */
.pricing-card h3 {
  font-size: 2.2rem;
  color: #111;
}


/* Ribbon for Most Popular */
.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-15deg);
  background: #1a73e8;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Feature List */
.pricing-card ul li {
  margin-bottom: 12px;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Glowing background for Professional plan */
.pricing-card.border-primary {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Glowing pseudo-element */
.pricing-card.border-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 182, 0, 0.3), transparent 70%);
  filter: blur(60px);
  opacity: 0.7;
  transition: all 0.4s ease;
  z-index: -1;
}

.pricing-card.border-primary:hover::before {
  transform: scale(1.1);
  filter: blur(80px);
  opacity: 1;
}

.pricing-card.border-primary:hover {
  transform: translateY(-10px);
  box-shadow: 0 35px 80px rgba(255, 150, 0, 0.4);
}


  /* Grid container */
  .contact-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
    position: relative;
    z-index: 1;
  }

  /* Contact Form Card */
  .contact-form {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .contact-form h2 {
    margin-bottom: 25px;
    color: #007bff;
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 15px;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 10px rgba(0,123,255,0.3);
  }

  .contact-form button {
    background: linear-gradient(90deg, #007bff, #0056b3);
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.4s, transform 0.3s;
  }

  .contact-form button:hover {
    background: linear-gradient(90deg, #0056b3, #007bff);
    transform: translateY(-2px);
  }

  /* Map Card */
  .map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
  }

  /* Hover lift effect */
  .contact-form:hover,
  .map-container:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  }

  /* Responsive: stack on mobile */
  @media(max-width: 900px) {
    .contact-grid {
      grid-template-columns: 1fr;
    }

    .map-container {
      height: 400px; /* maintain proportional height */
    }
  }

  /* Equal height on desktop */
  @media(min-width: 901px) {
    .contact-form, .map-container {
      height: 500px;
    }
  }


/* Footer */
/* Wave separator */
.footer-wave {
  position: relative;
  top: 2px;
  overflow: hidden;
  line-height: 0;
}
.footer-wave svg {
  display: block;
  width: 100%;
  height: 80px;
}
.footer-wave path {
  stroke: none;
}

/* Premium white footer */
.footer-white {
  background: #fff;
  padding: 70px 0 35px;
  border-top: 1px solid #eee;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.05);
  position: relative;
}

.footer-white h5 {
  font-weight: 700;
  margin-bottom: 18px;
  font-size: 1.15rem;
  color: #222;
}

.footer-white ul li {
  margin-bottom: 10px;
}

.footer-white ul li a {
  color: #555;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s;
}

.footer-white ul li a:hover {
  color: #0b59d6;
  padding-left: 6px;
}

.footer-white p, .footer-white a {
  font-size: 0.95rem;
  color: #555;
}

.footer-white hr {
  border-color: rgba(0,0,0,0.1);
}

/* Social icons colorful */
.footer-white .social-icons a {
  margin-right: 12px;
  font-size: 1.4rem;
  display: inline-block;
  transition: 0.3s;
}
.footer-white .social-icons a i { transition: 0.3s; }
.footer-white .social-icons .facebook { color: #1877f2; }
.footer-white .social-icons .twitter { color: #1da1f2; }
.footer-white .social-icons .linkedin { color: #0a66c2; }
.footer-white .social-icons .instagram { 
  background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-white .social-icons .youtube { color: #ff0000; }
.footer-white .social-icons a:hover {
  transform: scale(1.3) rotate(5deg);
}

/* Brand gradient text */
.text-gradient {
  background: linear-gradient(90deg, #0b59d6, #1a73e8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* Scroll Up Button */
#scrollTop{
  position:fixed;
  bottom:90px; /* slightly above footer */
  right:24px;
  width:50px;
  height:50px;
  background: var(--blue-gradient);
  color:#fff;
  border:none;
  border-radius:50%;
  display:none;
  align-items:center;
  justify-content:center;
  z-index:1500;
  cursor:pointer;
  box-shadow:0 12px 36px rgba(0,0,0,0.25);
  font-size:1.5rem;
  transition:0.3s;
}
#scrollTop:hover{ transform:scale(1.1); }

/* Chatbot Button */
#chatBotBtn{
  position:fixed;
  bottom:24px;
  right:24px;
  background: var(--blue-gradient);
  color:#fff;
  font-weight:600;
  padding:14px 24px;
  border:none;
  border-radius:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index:1500;
  cursor:pointer;
  box-shadow:0 12px 36px rgba(0,0,0,0.25);
  font-size:1rem;
  transition: transform 0.3s, opacity 0.3s;
}
#chatBotBtn i { font-size:1.2rem; margin-right:8px; }
#chatBotBtn:hover{ transform:scale(1.05); opacity:0.95; }

/* 🌟 Chatbot UI */
.chatbot-box {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 320px;
  height: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--fancy-shadow);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1600;
  font-size: 0.9rem;
}
.chatbot-header {
  background: var(--blue-gradient);
  color: #fff;
  padding: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.chatbot-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}
.chatbot-messages {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f9f9f9;
}
.bot-msg, .user-msg {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  line-height: 1.4;
}
.bot-msg {
  background: #e9f0ff;
  color: #111;
  align-self: flex-start;
}
.user-msg {
  background: var(--blue-gradient);
  color: #fff;
  align-self: flex-end;
}
.chatbot-input {
  display: flex;
  padding: 8px;
  border-top: 1px solid #eee;
  background: #fff;
}
.chatbot-input input {
  flex: 1;
  border: none;
  outline: none;
  padding: 8px;
}
.chatbot-input button {
  background: var(--blue-gradient);
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  margin-left: 6px;
  cursor: pointer;
}


/* Modal Buttons */
.btn-gradient{ background: linear-gradient(135deg,#1a73e8,#0b59d6); color:#fff; border:none; padding:8px 24px; border-radius:999px; font-weight:600; transition:0.3s; }
.btn-gradient:hover{ transform:translateY(-2px); box-shadow:0 12px 36px rgba(11,93,255,0.3); }


/* Responsive */
@media(max-width:991px){ main{ margin-top:128px; } .carousel-caption{ max-width:92%; padding:18px; left:50%; transform:translateX(-50%); } .carousel-caption h1{ font-size:1.6rem; } .navbar{ padding:12px 20px; border-radius:0; } }


/* 🌟 Mobile & Tablet Fixes */
@media (max-width: 991px) {

  /* Topbar */
  .topbar .contact-info span {
    font-size: 0.75rem !important;
    margin-right: 10px !important;
  }

  /* Logo */
  .brand-logo {
    height: 60px !important;
    max-height: 60px !important;
  }

  /* Navbar */
  .navbar {
    padding: 8px 16px !important;
  }
  .navbar-nav .nav-link {
    margin: 6px 0 !important;
    text-align: center !important;
  }

  /* Carousel */
  .carousel-caption {
    padding: 10px !important;
    max-width: 95% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .carousel-caption h1 {
    font-size: 1.4rem !important;
    line-height: 1.3 !important;
  }
  .carousel-caption p {
    font-size: 0.9rem !important;
  }
  .carousel-item {
    height: 60vh !important;
    min-height: 350px !important;
  }
  .carousel-item img {
    height: 60vh !important;
  }

  /* Cards */
  .card-premium {
    padding: 16px !important;
    margin-bottom: 20px !important;
  }
  .card-premium img {
    height: 140px !important;
  }

  /* Blog Cards */
  .blog-card h5 {
    font-size: 1rem !important;
  }

  /* Contact Form */
  .contact-grid {
    grid-template-columns: 1fr !important;
    padding: 0 10px !important;
  }
  .contact-form, .map-container {
    height: auto !important;
  }

  /* Chatbot */
  .chatbot-box {
    width: 90% !important;
    height: 60% !important;
    right: 5% !important;
    bottom: 80px !important;
  }

  /* Footer */
  .footer-white p,
  .footer-white a {
    font-size: 0.85rem !important;
  }
}

/* 🌟 Small Phones (<576px) */
@media (max-width: 575px) {
  .carousel-caption h1 {
    font-size: 1.1rem !important;
  }
  .carousel-caption p {
    font-size: 0.8rem !important;
  }
  .btn-shine, .btn-yellow, .btn-blue {
    padding: 8px 16px !important;
    font-size: 0.85rem !important;
  }
}
/* 🌟 Mobile Carousel Fixes */
/* 🌟 Fix Slider Image Full Screen on Mobile */
@media (max-width: 768px) {
  .carousel-item {
    height: auto !important;       /* let height adjust naturally */
    min-height: 250px !important;
  }

  .carousel-item img {
    width: 100% !important;
    height: auto !important;       /* keep aspect ratio */
    object-fit: contain !important; /* fit entire image */
  }
}


  /* Caption box */
  .carousel-caption {
    max-width: 90% !important;
    padding: 12px !important;
    bottom: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
  }
  .carousel-caption h1 {
    font-size: 1.2rem !important;
    line-height: 1.3 !important;
  }
  .carousel-caption p {
    font-size: 0.85rem !important;
    margin-bottom: 10px !important;
  }

  /* Buttons smaller */
  .carousel-caption .btn,
  .carousel-caption .btn-shine,
  .carousel-caption .btn-yellow,
  .carousel-caption .btn-blue {
    font-size: 0.8rem !important;
    padding: 6px 14px !important;
    margin: 3px !important;
  }

  /* Carousel controls */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .carousel-control-prev,
  .carousel-control-next {
    width: 12% !important;
  }
@media (max-width: 768px) {
  .carousel-caption {
    bottom: 10% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 70% !important;   /* ✅ narrower */
    padding: 6px 8px !important;  /* ✅ tighter */
    text-align: center !important;
    background: none !important;  /* no dark overlay */
  }

  .carousel-caption h1 {
    font-size: 1rem !important;
    line-height: 1.25 !important;
    margin-bottom: 4px !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.6) !important;
  }

  .carousel-caption p {
    font-size: 0.8rem !important;
    margin-bottom: 6px !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6) !important;
  }

  .carousel-caption .btn,
  .carousel-caption .btn-shine,
  .carousel-caption .btn-yellow,
  .carousel-caption .btn-blue {
    font-size: 0.75rem !important;
    padding: 5px 12px !important;
    margin: 2px !important;
  }
}

