/* Global Styles for VHV Digital Campus Website */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Ubuntu', sans-serif !important;
  background-color: #0b1623;
  color: white;
  line-height: 1.6;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: #007bff;
}

/* Header & Navigation */
header {
  background-color: #0b1623;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Header Button Styles */
.header-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.header-buttons .btn {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 2px solid transparent;
  min-width: 80px;
  text-align: center;
}

/* Sign In Button - Outline Style */
.header-buttons .btn-outline-light {
  color: white;
  border: 2px solid white;
  background-color: transparent;
}

.header-buttons .btn-outline-light:hover {
  background-color: white;
  color: #0b1623;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

/* Demo Button - Filled Style */
.header-buttons .btn-demo {
  background-color: #007bff;
  color: white;
  border: 2px solid #007bff;
}

.header-buttons .btn-demo:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Alternative: Both buttons with consistent outline style */
.header-buttons .btn-outline-demo {
  color: #007bff;
  border: 2px solid #007bff;
  background-color: transparent;
}

.header-buttons .btn-outline-demo:hover {
  background-color: #007bff;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
}

/* Navbar Links */
.nav-links {
  margin-right: 30rem;
  display: flex;
  gap: 1.5rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: #007bff;
}

/* --- Navigation Menu Styling --- */
.navbar-nav .nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: white !important;
  position: relative;
  transition: all 0.3s ease-in-out;
}

/* Hover underline animation */
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 0%;
  height: 2px;
  background-color: #00bfff;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Highlight active menu item */
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:focus {
  color: #00bfff !important;
}

/* Adjust brand logo for better alignment */
.navbar-brand img {
  max-height: 70px;
}

/* Hero Section */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  background-color: #007bff;
  color: white;
  padding: 3rem 2rem;
  align-items: center;
}

.hero-section img {
  max-width: 100%;
  height: auto;
}

.custom-hero-img {
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

.hero-text-wrapper {
  max-width: 680px;
  text-align: left;
}

/* Footer */
footer {
  background-color: #0b1623;
  color: white;
  padding: 2rem;
  text-align: center;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    text-align: center;
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-icon {
    display: block;
  }

  /* Mobile Header Buttons */
  .header-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-buttons .btn {
    font-size: 0.8rem;
    padding: 6px 12px;
    min-width: 70px;
  }
}

@media (max-width: 576px) {
  .header-buttons {
    flex-direction: row;
    gap: 0.5rem;
  }

  .header-buttons .btn {
    font-size: 0.75rem;
    padding: 5px 10px;
    min-width: 60px;
  }
}

/* Button Styles */
.btn-blue {
  background-color: #007bff;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.btn-blue:hover {
  background-color: #0056b3;
}

/* About Section */
.about-section {
  background-color: #ffffff;
  color: #000;
  padding: 60px 0;
}

.about-section h2 {
  font-size: 2rem;
  font-weight: 700;
}

.about-section p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
}

.about-section {
  background: url('https://godigitalcampus.com/Anirudh/indexbg.svg') no-repeat center center/cover;
  background-color: white;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: black;
  text-align: center;
  padding: 50px;
}

/* Chatbot Styles */
.chatbot-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #007bff;
  color: white;
  font-size: 24px;
  padding: 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}

.chatbot-container {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid #007bff;
  z-index: 1000;
}

.chat-header {
  background: #007bff;
  color: white;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: bold;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

.chat-body {
  height: 260px;
  overflow-y: auto;
  padding: 10px;
  background: #e3f2fd;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
}

.chat-footer {
  display: flex;
  padding: 10px;
  background: white;
  border-top: 2px solid #007bff;
}

.chat-footer input {
  flex: 1;
  padding: 8px;
  border: 1px solid #007bff;
  border-radius: 5px;
  outline: none;
}

.chat-footer button {
  margin-left: 8px;
  padding: 8px 12px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 5px;
}

.user-message, .bot-message {
  margin-bottom: 10px;
  padding: 8px;
  border-radius: 5px;
  max-width: 75%;
  font-size: 14px;
}

.user-message {
  background: #007bff;
  color: white;
  text-align: right;
  align-self: flex-end;
}

.bot-message {
  background: white;
  color: #007bff;
  text-align: left;
  align-self: flex-start;
  border: 1px solid #007bff;
}

/* Feature Section Styles */
.feature-section-images {
  transition: all 0.5s ease-in-out;
  overflow: hidden;
  border-radius: 20px;
  background-color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.feature-section-images:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 15px rgba(0, 123, 255, 0.2);
}

.feature-section-images {
  position: relative;
  will-change: transform, box-shadow;
  max-width: 100%;
  height: 300px;
}

.feature-section-images::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0,123,255,0.05), rgba(0,123,255,0.1));
  opacity: 0;
  transition: opacity 0.5s ease;
  border-radius: 20px;
  pointer-events: none;
}

.feature-section-images:hover::before {
  opacity: 1;
}

.feature-card {
  transition: all 0.4s ease-in-out;
  transform: scale(1);
  padding: 1.5rem;
  border-radius: 15px;
  cursor: pointer;
}

.feature-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.15);
  background: linear-gradient(135deg, #f8f9ff 0%, #e6f2ff 100%);
}

.feature-img {
  transition: all 0.4s ease-in-out;
  border-radius: 15px !important;
  overflow: hidden;
  margin-bottom: 1rem;
}

.feature-card:hover .feature-img {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
  margin-bottom: 5rem;
}

.feature-card h5 {
  color: #007bff;
  margin-top: 1rem;
  transition: all 0.3s ease;
}

.feature-card:hover h5 {
  color: #007bff;
}

.feature-card p {
  transition: all 0.3s ease;
}

.feature-card:hover p {
  color: #555;
  transform: translateY(-2px);
}

/* Key Benefits Section */
.key-benefits-bg {
  position: relative;
  z-index: 1;
  background-color: #f0f6ff;
  background-image: 
      linear-gradient(90deg, rgba(13, 110, 253, 0.08) 1px, transparent 1px),
      linear-gradient(rgba(13, 110, 253, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  color: black;
}

:root {
  --o-color-blue: #0d6efd;
}

.key-benefits-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 600"%3E%3Cdefs%3E%3Cpattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"%3E%3Ccircle cx="2" cy="2" r="1" fill="%23e6e6e6"/%3E%3C/pattern%3E%3CradialGradient id="glow" cx="50%25" cy="50%25" r="50%25" fx="50%25" fy="50%25"%3E%3Cstop offset="0%25" stop-color="%230d6efd" stop-opacity="0.4"/%3E%3Cstop offset="100%25" stop-color="%230d6efd" stop-opacity="0"/%3E%3C/radialGradient%3E%3Cfilter id="blurFilter" x="-50%25" y="-50%25" width="200%25" height="200%25"%3E%3CfeGaussianBlur in="SourceGraphic" stdDeviation="10"/%3E%3C/filter%3E%3C/defs%3E%3Crect width="100%25" height="100%25" fill="url(%23dots)"/%3E%3Ccircle cx="100" cy="100" r="40" fill="url(%23glow)" filter="url(%23blurFilter)"%3E%3Canimate attributeName="r" values="40;60;40" dur="10s" repeatCount="indefinite"/%3E%3Canimate attributeName="opacity" values="0.8;0.4;0.8" dur="10s" repeatCount="indefinite"/%3E%3C/circle%3E%3Ccircle cx="900" cy="500" r="50" fill="url(%23glow)" filter="url(%23blurFilter)"%3E%3Canimate attributeName="r" values="50;70;50" dur="12s" repeatCount="indefinite"/%3E%3Canimate attributeName="opacity" values="0.6;0.3;0.6" dur="12s" repeatCount="indefinite"/%3E%3C/circle%3E%3Cg%3E%3Ccircle cx="200" cy="300" r="2" fill="%230d6efd" opacity="0.7"%3E%3Canimate attributeName="cx" values="200;220;200" dur="8s" repeatCount="indefinite"/%3E%3Canimate attributeName="cy" values="300;310;300" dur="8s" repeatCount="indefinite"/%3E%3C/circle%3E%3Ccircle cx="205" cy="305" r="1" fill="%230d6efd" opacity="0.5"%3E%3Canimate attributeName="cx" values="205;215;205" dur="6s" repeatCount="indefinite"/%3E%3Canimate attributeName="cy" values="305;315;305" dur="6s" repeatCount="indefinite"/%3E%3C/circle%3E%3Ccircle cx="210" cy="295" r="1.5" fill="%230d6efd" opacity="0.6"%3E%3Canimate attributeName="cx" values="210;225;210" dur="7s" repeatCount="indefinite"/%3E%3Canimate attributeName="cy" values="295;310;295" dur="7s" repeatCount="indefinite"/%3E%3C/circle%3E%3Cpath d="M200,300 L205,305 L210,295" stroke="%230d6efd" stroke-width="0.5" opacity="0.3"%3E%3Canimate attributeName="d" values="M200,300 L205,305 L210,295; M220,310 L215,315 L225,310; M200,300 L205,305 L210,295" dur="8s" repeatCount="indefinite"/%3E%3C/path%3E%3C/g%3E%3Cg transform="translate(600, 0)"%3E%3Ccircle cx="200" cy="300" r="2" fill="%230d6efd" opacity="0.7"%3E%3Canimate attributeName="cx" values="200;220;200" dur="9s" repeatCount="indefinite"/%3E%3Canimate attributeName="cy" values="300;310;300" dur="9s" repeatCount="indefinite"/%3E%3C/circle%3E%3Ccircle cx="205" cy="305" r="1" fill="%230d6efd" opacity="0.5"%3E%3Canimate attributeName="cx" values="205;215;205" dur="7s" repeatCount="indefinite"/%3E%3Canimate attributeName="cy" values="305;315;305" dur="7s" repeatCount="indefinite"/%3E%3C/circle%3E%3Ccircle cx="210" cy="295" r="1.5" fill="%230d6efd" opacity="0.6"%3E%3Canimate attributeName="cx" values="210;225;210" dur="8s" repeatCount="indefinite"/%3E%3Canimate attributeName="cy" values="295;310;295" dur="8s" repeatCount="indefinite"/%3E%3C/circle%3E%3Cpath d="M200,300 L205,305 L210,295" stroke="%230d6efd" stroke-width="0.5" opacity="0.3"%3E%3Canimate attributeName="d" values="M200,300 L205,305 L210,295; M220,310 L215,315 L225,310; M200,300 L205,305 L210,295" dur="9s" repeatCount="indefinite"/%3E%3C/path%3E%3C/g%3E%3Cpath d="M0,400 Q250,350 500,400 T1000,350" stroke="%230d6efd" stroke-width="1" fill="none" opacity="0.2"%3E%3Canimate attributeName="d" values="M0,400 Q250,350 500,400 T1000,350; M0,350 Q250,400 500,350 T1000,400; M0,400 Q250,350 500,400 T1000,350" dur="20s" repeatCount="indefinite"/%3E%3C/path%3E%3C/svg%3E');
  background-size: cover;
  color: black;
}

.key-benefits-bg .display-3-fs {
  font-size: 6rem;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
  .hero-section {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.hero-section {
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.image-spacing {
  padding-right: 1rem !important;
  margin-left: 0px;
}