:root {
  --primary-color: #005A9C;
  /* Deep Blue */
  --secondary-color: #00AEEF;
  /* Light Blue / Cyan */
  --text-color: #333333;
  --text-light: #666666;
  --bg-color: #f8f9fa;
  --white: #ffffff;
  --border-color: #e0e0e0;
  --font-family: 'Inter', 'Roboto', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  height: 60px;
  object-fit: contain;
}

.brand-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.navigation ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.navigation a {
  font-weight: 500;
  color: var(--text-color);
  font-size: 16px;
  position: relative;
  padding-bottom: 5px;
}

.navigation a:hover,
.navigation a.active {
  color: var(--primary-color);
}

.navigation a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.navigation a:hover::after,
.navigation a.active::after {
  width: 100%;
  left: 0;
  background: var(--primary-color);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 45, 80, 0.8), rgba(0, 45, 80, 0.4));
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  color: var(--white);
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  font-size: 20px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--white);
  margin-left: 15px;
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Sections */
.section {
  padding: 80px 0;
  background-color: var(--white);
}

.section-alt {
  background-color: var(--bg-color);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-title p {
  color: var(--text-light);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* Grid Layouts */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-img {
  height: 220px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.card-content p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.read-more {
  color: var(--secondary-color);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}

.read-more:hover {
  color: var(--primary-color);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h3 {
  font-size: 30px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
}

.about-text ul {
  list-style: none;
  margin-top: 20px;
}

.about-text ul li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-color);
}

.about-text ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-weight: bold;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo img {
  height: 75px;
  margin-bottom: 20px;
}

.footer-about p {
  color: #cce0f0;
  line-height: 1.8;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #cce0f0;
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-contact p {
  color: #cce0f0;
  margin-bottom: 15px;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #cce0f0;
  font-size: 14px;
}

/* Page Header */
.page-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  background-image: linear-gradient(rgba(0, 90, 156, 0.9), rgba(0, 90, 156, 0.9)), url('../images/hero_bg.png');
  background-size: cover;
  background-position: center;
}

.page-header h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.breadcrumb {
  color: #cce0f0;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--white);
}

/* Content Details */
.detail-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.detail-content img {
  border-radius: 8px;
  margin-bottom: 30px;
}

.detail-content h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
}

.detail-content p {
  margin-bottom: 20px;
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
}

.sidebar-menu {
  background: var(--bg-color);
  padding: 30px;
  border-radius: 8px;
}

.sidebar-menu h3 {
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.sidebar-menu ul {
  list-style: none;
}

.sidebar-menu ul li a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.sidebar-menu ul li a:hover,
.sidebar-menu ul li a.active {
  color: var(--primary-color);
  font-weight: 600;
  padding-left: 5px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-details h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-form {
  background: var(--bg-color);
  padding: 40px;
  border-radius: 8px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.captcha-group {
  display: flex;
  gap: 15px;
  align-items: stretch;
  flex-wrap: nowrap;
  /* Force single line */
}

.captcha-group input {
  width: 100px;
  text-align: center;
  flex-shrink: 0;
  padding: 10px;
  /* Adjust padding to fit narrower width */
}

.captcha-group img {
  cursor: pointer;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  object-fit: cover;
  background: var(--white);
  height: auto;
  width: 100px;
  /* Fixed width to prevent squishing */
  flex-shrink: 0;
}

.captcha-group .btn {
  flex: 1;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  /* Keep button text on one line */
  padding: 0 10px;
  /* Minimal padding for fit */
}

/* WhatsApp Widget */
.wa-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.wa-widget-prompt {
  background: white;
  padding: 8px 15px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333;
  font-size: 14px;
  margin-bottom: 15px;
  margin-right: 15px;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.wa-widget-container.open .wa-widget-prompt {
  opacity: 0;
  pointer-events: none;
}

.wa-chat-box {
  width: 320px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  margin-bottom: 20px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  position: absolute;
  bottom: 60px;
  right: 0;
}

.wa-widget-container.open .wa-chat-box {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.wa-chat-header {
  background: #2db742;
  color: white;
  padding: 24px 20px;
  display: flex;
  align-items: center;
}

.wa-header-icon {
  margin-right: 15px;
}

.wa-header-text h4 {
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 600;
}

.wa-header-text p {
  font-size: 13px;
  opacity: 0.9;
  line-height: 1.4;
}

.wa-chat-body {
  padding: 20px;
  background-color: #f0f2f5;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEVHcEz////8/Pz7+/v6+vr5+fn4+Pj3+Pr29vb19fX09PTz8/Py8vLx8fHw8PDv7+/u7u7t7e3s7Ozr6+vq6urp6eno6Ojn5+fm5ubl5eXk5OQjX7MNAAAAG3RSTlMAAQIDBAUGBwgJCgsMDQ4PEBESExQVFhcYGRr6O/u9AAABEUlEQVRIx+3US0rDUBTGcSMU0aYubA2tL+iL1jZ2I/X9VzFDE0mI0sU58Fv+Z84ZziVJpVLp73p8/YlQ2hOh9CdC6U+E0p8IpT8RSn8ilP5EKP2JUHrq95/vL/+d72+E0t6wZ3z/E6G0N/wZ90Qo7Q1/xj0RSnvDn3FP2DOm1111/Z42/Bn3hD3j+pA+vKcNf8Y9Yc84v6c772nDnym1Nx2xZ+wfP0+E0t60wp6xvv+IUNqbdtozVvc/EEp70wZ7xsX1v1zV1tv2xJ6wP/mX52nDnym1NzWxZ5xf3D/v2T9T2puC2DPOr+p72vBnymv1v5H/F96aCvpzXwAAAABJRU5ErkJggg==');
  /* subtle WA wallpaper pattern */
}

.wa-reply-time {
  font-size: 12px;
  color: #888;
  margin-bottom: 15px;
  text-align: left;
}

.wa-agent {
  background: white;
  border-radius: 5px;
  padding: 15px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  margin-bottom: 10px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-left: 3px solid #2db742;
  transition: background 0.2s ease;
}

.wa-agent:hover {
  background: #fdfdfd;
}

.wa-agent-avatar {
  margin-right: 15px;
}

.wa-agent-info {
  flex: 1;
}

.wa-agent-info h5 {
  font-size: 15px;
  color: #333;
  margin-bottom: 3px;
}

.wa-agent-info span {
  font-size: 12px;
  color: #888;
}

.wa-widget-toggle {
  background: #2db742;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(45, 183, 66, 0.4);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.wa-widget-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(45, 183, 66, 0.5);
}

/* Responsive */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.mobile-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 3px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 992px) {
  .navigation ul {
    gap: 15px;
  }

  .header-action .btn {
    padding: 10px 15px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {

  .about-grid,
  .detail-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero {
    min-height: 500px;
  }

  /* Fix hero button alignment on mobile */
  .hero-content .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 15px;
  }

  .hero-content .btn-outline {
    margin-left: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-links h4::after,
  .footer-contact h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  /* Mobile Header Navigation */
  .mobile-menu-toggle {
    display: flex;
    margin-left: auto;
    margin-right: 15px;
  }

  .header-action {
    display: none;
    /* Hide Quote button on very small screens, or put it in menu */
  }

  .navigation {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    padding: 20px 0;
  }

  .navigation.active {
    display: flex;
  }

  .navigation ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .navigation ul li {
    width: 100%;
    text-align: center;
  }

  .navigation a {
    display: block;
    padding: 15px 0;
    width: 100%;
    font-size: 18px;
  }

  .navigation a::after {
    display: none;
    /* Disable underline effect on mobile for cleaner look */
  }
}