/* 
==========================================
THEME COLOR CUSTOMIZATION
Change the --primary-color value below to customize the entire site theme
==========================================
*/
:root {
  --primary-color: #ff6b35;
  /* CHANGE THIS COLOR TO CUSTOMIZE THEME */
  --primary-dark: #e55a2b;
  --primary-light: #ff8659;
  --secondary-color: #2c5aa0;
  --secondary-dark: #1e3f73;
  --light-gray: #f8f9fa;
  --medium-gray: #6c757d;
}

/* Global Styles */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Styles */
.navbar {
  background: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--secondary-color) !important;
}

.logo-circle {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-color), #ffd700);
  border-radius: 50%;
  margin-right: 10px;
  position: relative;
}

.logo-circle::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
}

.navbar-nav .nav-link {
  color: var(--secondary-color) !important;
  font-weight: 500;
  margin: 0 10px;
}

/* Dropdown hover effect */
.dropdown-hover:hover .dropdown-menu {
  display: block;
  margin-top: 0;
}

.dropdown-menu {
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  padding: 10px 0;
}

/* Megamenu styles */
.megamenu {
  width: 600px;
  left: 50%;
  transform: translateX(-50%);
  padding: 30px;
}

.megamenu-panel {
  display: flex;
  gap: 40px;
  justify-content: space-between;
}

.insurance-category {
  flex: 1;
}

.insurance-category h3 {
  color: var(--secondary-color);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
  display: flex;
  align-items: center;
}

.category-icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.insurance-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.insurance-category ul li {
  margin-bottom: 8px;
}

.insurance-category ul li a {
  color: var(--medium-gray);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: block;
  padding: 5px 0;
}

.insurance-category ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.dropdown-item {
  padding: 8px 20px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--light-gray);
  color: var(--secondary-color);
}

/* Responsive megamenu */
@media (max-width: 768px) {
  .megamenu {
    width: 90vw;
    left: 5%;
    transform: none;
    padding: 20px;
  }

  .megamenu-panel {
    flex-direction: column;
    gap: 20px;
  }
}

.btn-primary-custom {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
}

.btn-primary-custom:hover {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-orange-custom {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 500;
}

.btn-orange-custom:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #e3f2fd 0%, #f0f8ff 100%);
  min-height: 600px;
  padding: 80px 0;
  margin-top: 80px;
  /* Add top margin to account for fixed navbar */
}

.hero-illustration {
  max-width: 100%;
  height: auto;
}

/* Insurance Cards Section */
.insurance-section {
  padding: 80px 0;
  background: white;
}

.insurance-card {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
}

.insurance-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: inherit;
}

.insurance-card .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--secondary-color);
}

.insurance-card h6 {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0;
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .insurance-card h6 {
    font-size: 0.8rem;
  }
}

.coming-soon-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-color);
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: #25d366;
  color: white;
  border-radius: 50px;
  padding: 15px 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background: #20ba5a;
  color: white;
  text-decoration: none;
  transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
    text-align: center;
    margin-top: 100px;
    /* Increase top margin for mobile to account for taller navbar */
  }

  .insurance-card {
    margin-bottom: 20px;
  }

  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    padding: 12px 15px;
  }

  .whatsapp-float span {
    display: none;
  }
}

/* Custom SVG Illustrations */
.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* General container spacing */
.enquiry-container {
  max-width: 800px;
  margin: auto;
}

/* Form styling */
.enquiry-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Form elements */
.enquiry-form label {
  font-weight: 600;
}

.enquiry-form input,
.enquiry-form textarea {
  border-radius: 5px;
  box-shadow: none;
  transition: border-color 0.3s;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus {
  border-color: #0d6efd;
  outline: none;
}

.enquiry-form button {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
  font-weight: 600;
}

.enquiry-form button:hover {
  background-color: #084298;
  border-color: #084298;
}
