/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
}

a {
  color: #8fc0ff;
  text-decoration: none;
  transition: text-shadow 0.3s ease-in-out;
}

a:hover {
  color: #aed1ff;
  text-shadow: 0 0 1px #8fc0ff, 0 0 2px #8fc0ff, 0 0 3px #8fc0ff;
}

/* Background and Layout */
.background-overlay {
  background: url('background.png') no-repeat center center/cover;
  background-color: #1a1a1a;
  min-height: 100%;
  color: white;
  padding: 20px;
  display: flex;
  flex-direction: column;
  background-attachment: fixed;
}

/* Header Styles */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
  margin: 0 auto;
  padding-bottom: 10px;
}

.company-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.motto {
  font-family: 'Dancing Script', cursive;
  font-size: 2em;
  color: white;
  font-weight: 500;
  margin-top: 10px;
  text-align: center;
}

/* Navigation Styles */
nav {
  width: 100%;
  max-width: 75%;
  margin: 10px auto 20px;
}

.nav-tabs {
  display: grid;
  grid-template-columns: repeat(5, 20%);
  grid-template-rows: repeat(2, auto);
  width: 100%;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.nav-tabs li {
  text-align: center;
  margin-right: 20px;
}

.nav-tabs li:last-child {
  margin-right: 0;
}

.nav-tabs li a {
  text-decoration: none;
  padding: 10px;
  background-color: rgba(42, 45, 60, 0.85);
  color: white;
  border: 0.5px solid rgba(21, 22, 30, 0.85);
  border-radius: 5px;
  transition: background 0.3s;
  display: block;
  box-shadow: 0 2px 4px rgba(21, 22, 30, 0.2), 0 0 5px rgba(21, 22, 30, 0.42);
}

.nav-tabs li a:hover {
  background-color: rgba(14, 15, 20, 0.85);
}

.nav-tabs .dropdown {
  position: relative;
  display: inline-block;
}

.nav-tabs .dropbtn {
  cursor: pointer;
  display: block;
}

.nav-tabs .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: rgba(14, 15, 20, 0.85);
  min-width: 100%;
  box-shadow: 0px 8px 16px rgba(14, 15, 20, 0.85);
  z-index: 1;
  border-radius: 5px;
}

.nav-tabs .dropdown-content a {
  color: #fff;
  padding: 12px;
  text-decoration: none;
  display: block;
}

.nav-tabs .dropdown-content a:hover {
  background-color: rgba(14, 15, 20, 0.9);
  color: #fff;
}

.nav-tabs .dropdown:hover .dropdown-content {
  display: block;
}

/* Main Content Styles */
main {
  flex: 1 0 auto;
  margin-bottom: 60px;
}

main section {
  margin-top: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

#content-area {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  color: white;
  text-align: center;
  min-height: auto;
}

#content-area.overlay {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  color: white;
  text-align: center;
}

/* About Section */
.about-content {
  text-align: left;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 1.1em;
  line-height: 1.8;
  color: white;
  max-width: 70%;
  margin: 0 auto;
}

.about-content p {
  text-align: justify;
}

.about-content h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.reviews-section {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transform: translateX(100px) rotateY(15deg);
  transition: opacity 0.6s ease, transform 0.3s ease;
}

.reviews-section.flipInFromRight {
  opacity: 1;
  transform: translateX(0) rotateY(0deg);
}

.review-item {
  margin-bottom: 15px;
  padding: 10px;
  border-left: 3px solid #4F61C5;
  display: flex;
  align-items: center;
  gap: 15px;
}

.review-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.review-author {
  font-weight: normal;
  font-size: 1em;
  color: #bbb;
  margin-top: 5px;
  margin-left: 20px;
  font-style: italic;
  font-family: 'Georgia', serif;
  text-align: left;
}

.review-author::before {
  content: "- ";
  color: #bbb;
}

.review-rating {
  font-size: 0.9em;
  color: #FFD700;
  margin-bottom: 0;
  line-height: 1.6;
  flex-shrink: 0;
}

.review-text {
  font-size: 0.9em;
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-family: 'Georgia', serif;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  flex: 1;
}

.review-pipe {
  font-size: 0.9em;
  color: #ddd;
  margin-left: 10px;
  line-height: 1.6;
  flex-shrink: 0;
}

.review-course {
  font-size: 0.9em;
  color: #ddd;
  line-height: 1.6;
}

.review-divider {
  width: 1px;
  height: auto;
  min-height: 100px;
  background-color: #ffffff;
  margin: 0 15px;
  border: none;
}

.course-link {
  text-decoration: none;
  color: inherit;
}

.course-text {
  background-color: #40c4ff;
  color: #000000;
  padding: 0px 6px;
  border-radius: 4px;
  display: inline-block;
  transition: font-weight 0.2s;
}

.course-link:hover .course-text {
  font-weight: normal;
}

.no-reviews {
  font-size: 0.9em;
  color: #ddd;
  text-align: center;
}

.review-verification {
  color: aqua;
  font-weight: normal;
  display: block;
  text-align: center;
  text-decoration: none;
}

.google-review-button {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background-color: #1565c0;
  color: #ffffff;
  border: 2px solid transparent;
  border-image: linear-gradient(45deg, #ea4335, #4285f4, #34a853, #fbbc05) 1;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: background 0.3s, box-shadow 0.3s;
}

.google-review-button::before {
  content: "G";
  font-weight: bold;
  font-size: 16px;
  color: #ffffff;
  margin-right: 8px;
  background: linear-gradient(45deg, #ea4335, #4285f4, #34a853, #fbbc05);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.google-review-button:hover {
  background-color: #0d47a1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(43, 24, 88, 0.5), 0 0 8px rgba(43, 24, 88, 0.5);
  border-image: linear-gradient(45deg, #fbbc05, #34a853, #4285f4, #ea4335) 1;
  text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 1px #ffffff;
}

.google-review-button .hover-bold:hover {
  text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 1px #ffffff;
}

.review-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  text-align: right;
  width: 100%;
}

.review-pagination span {
  font-size: 1em;
  color: #87CEEB;
}

.prev-arrow, .next-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  cursor: pointer;
}

.prev-arrow {
  border-width: 8px 12px 8px 0;
  border-color: transparent #87CEEB transparent transparent;
}

.next-arrow {
  border-width: 8px 0 8px 12px;
  border-color: transparent transparent transparent #87CEEB;
}

.prev-arrow.disabled, .next-arrow.disabled {
  border-color: transparent #ccc transparent transparent;
  cursor: not-allowed;
}

.next-arrow.disabled {
  border-color: transparent transparent transparent #ccc;
}

.prev-arrow:hover:not(.disabled), .next-arrow:hover:not(.disabled) {
  border-color: transparent #5F9EA0 transparent transparent;
}

.next-arrow:hover:not(.disabled) {
  border-color: transparent transparent transparent #5F9EA0;
}

/* Account Section */
.account-container {
  text-align: center;
  font-family: Verdana, sans-serif;
  font-size: 1.1em;
  line-height: 1.8;
  color: white;
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.33);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.account-container h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.toggle-form {
  margin-top: 15px;
  font-size: 1em;
  color: #ffffff;
}

.toggle-form a {
  color: #66B2FF;
  text-decoration: none;
}

.toggle-form a:hover {
  color: #99CCFF;
  text-decoration: none;
}

#login-message, #register-message {
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
}

/* Service Blocks */
.service-blocks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 100px;
  max-width: 1800px;
  margin: 40px auto;
  justify-items: stretch;
  justify-content: center;
}

.service-block {
  border: 2px solid black;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.33);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 180px;
}

.service-header {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(90deg, #282E3A 60%, #282E3A);
  color: #fff;
  padding: 12px;
  font-size: 1em;
  font-weight: bold;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1.8;
}

.service-body {
  padding: 10px;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.service-body p {
  text-align: left;
  width: 100%;
  margin: 0 0 10px;
}

.service-body .read-more {
  color: #66B2FF;
  text-decoration: none;
}

.service-body .read-more:hover {
  color: #99CCFF;
  text-shadow: 0 0 1px rgb(193, 220, 255), 0 0 2px rgb(193, 220, 255), 0 0 3px rgb(193, 220, 255);
  text-decoration: none;
}

.service-body a.ENQUIRE {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  padding: 16px 20px;
  background-color: rgb(79, 97, 197);
  border-radius: 5px;
  font-weight: bold;
}

.service-body a.ENQUIRE:hover {
  color: #ffffff;
  background-color: rgb(39, 40, 98);
  text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 2px #ffffff;
}

.service-body hr.short-divider {
  width: 100px;
  margin: 10px auto;
  border: 0;
  border-top: 1px solid #ffffff;
}

.service-body .custom-br {
  display: block;
  margin-bottom: 15px;
}

/* Contact Form */
.contact-block {
  border: 2px solid black;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.33);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.contact-block a {
  color: #517CF6;
  text-decoration: none;
}

.contact-font {
  text-align: center;
  font-family: Verdana, sans-serif;
  font-size: 1.1em;
  line-height: 1.8;
  color: #ffffff;
  max-width: 100%;
  margin: 0 auto;
}

.contact-font p {
  text-align: left;
  font-family: Verdana, sans-serif;
  font-size: 1em;
  line-height: 1.8;
  color: #ffffff;
  max-width: 100%;
  margin: 0 auto;
}

.contact-font p a {
  color: #66B2FF;
}

.contact-font h3 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

.contact-divider {
  text-align: center;
  margin: 20px 0;
  font-family: Verdana, sans-serif;
  font-size: 1em;
  color: #ffffff;
}

.contact-details {
  margin-top: 20px;
}

.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-family: Verdana, sans-serif;
  font-size: 1em;
  color: #ffffff;
  font-weight: bold;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: sans-serif;
  font-size: 1em;
  line-height: 1.8;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #66B2FF;
  box-shadow: 0 0 5px rgba(66, 178, 255, 0.5);
}

#contact-form button[type="submit"],
#login-form button[type="submit"],
#register-form button[type="submit"] {
  background-color: #4d5ca7;
  color: #ffffff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-family: 'Arial', sans-serif;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

#contact-form button[type="submit"]:hover,
#login-form button[type="submit"]:hover,
#register-form button[type="submit"]:hover {
  background-color: #1c223f;
  text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 1px #ffffff;
}

#loading-message {
  display: none;
  margin-top: 15px;
  text-align: center;
}

#success-message {
  display: none;
  color: green;
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}

#error-message {
  display: none;
  color: red;
  margin-top: 15px;
  font-weight: bold;
  text-align: center;
}

/* Brochure Button */
.brochure-container {
  text-align: center;
  margin-top: 10px;
}

.brochure {
  background-color: #4d5ca7;
  color: #ffffff;
  border: none;
  width: 200px;
  border-radius: 4px;
  margin-bottom: 20px;
  padding: 10px 0;
  font-size: 1em;
  cursor: pointer;
}

.brochure:hover {
  background-color: #1c223f;
  text-shadow: 0 0 1px #b0bdff, 0 0 2px #b0bdff, 0 0 3px #b0bdff;
}

/* Header Bar */
#header-bar {
  background: none;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-bottom: 1px solid #ccc;
  box-sizing: border-box;
}

.logged-in-text {
  color: #ffffff;
  margin-right: 15px;
}

#logout-btn {
  padding: 6px 12px;
  background-color: #800000;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

#logout-btn:hover {
  background: #333333;
}

/* Modal Styles */
.custom-vertical-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.custom-vertical-modal .modal-buttons {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.custom-vertical-modal .modal-buttons button {
  width: 150px;
  box-sizing: border-box;
}

.custom-vertical-modal .modal-content {
  background-color: #000000;
  color: #ffffff;
  margin: auto;
  padding: 20px;
  width: 100%;
  max-width: 900px;
  height: auto;
  max-height: 87vh;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  border: 1px solid #00FFFF;
}

.modal-content ul {
  padding-left: 0;
  margin-left: 1.2em;
  list-style-position: inside;
}

#custom-modal > div {
  background: #ffffff;
  color: #333333;
  padding: 20px;
  border-radius: 4px;
  max-width: 50vw;
  max-height: 90vh;
  text-align: center;
  font-size: 1.2em;
  position: relative;
}

#modal-close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
  font-size: 1em;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 1);
  padding: 5px 10px;
}

#call-btn {
  padding: 8px 24px;
  border: none;
  background: #4CAF50;
  color: #ffffff;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 10px;
}

#call-btn:hover {
  background: #333333;
}

#calend-btn {
  padding: 8px 24px;
  border: none;
  background: #333333;
  color: #ffffff;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 10px;
}

#calend-btn:hover {
  background: #555555;
}

#whatsapp-btn {
  padding: 8px 24px;
  border: none;
  background: #25A5D4;
  color: #ffffff;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
  margin-right: 10px;
}

#whatsapp-btn:hover {
  background: #333333;
}

#email-btn {
  padding: 8px 24px;
  border: none;
  background: #555555;
  color: #ffffff;
  border-radius: 4px;
  font-size: 1em;
  cursor: pointer;
}

#email-btn:hover {
  background: #333333;
}

#calling-popup {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 10px 20px;
  background: #333333;
  color: #ffffff;
  border-radius: 5px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
}

#calling-popup-close-btn {
  cursor: pointer;
  font-size: 1em;
  color: #ffffff;
}

#brochure-modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 80%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

#brochure-modal > div {
  background: #ffffff;
  width: 80%;
  max-width: 95vw;
  height: 90%;
  max-height: 95vh;
  position: relative;
  border-radius: 4px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

#pdf-canvas {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

#pdf-controls {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding: 5px;
  text-align: center;
  z-index: 1000;
}

#pdf-controls button {
  padding: 10px 16px;
  margin: 0 10px;
  font-size: 1em;
  background-color: #4CAF50;
  color: #ffffff;
  border: none;
  border-radius: 4px;
}

#close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

.custom-vertical-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5em;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px 10px;
  border-radius: 4px;
  z-index: 1000;
  font-family: Arial, sans-serif;
}

/* Footer Styles */
.footer {
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  text-align: center;
  padding: 20px 0;
  width: 100%;
  position: relative;
  margin-top: auto;
}

.footer.fixed {
  position: fixed;
  bottom: 0;
  left: 0;
}

.social-footer {
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
}

.social-heading {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 2px;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
}

.social-divider {
  width: 100px;
  margin: 10px auto;
  border: 0;
  border-top: 1px solid #ffffff;
}

.social-icons {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 0 20px;
  width: 100%;
}

.social-icons a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: lighter;
  font-family: 'Arial', sans-serif;
  transition: color 0.3s ease-in-out;
}

.social-icons img {
  width: 36px;
  height: auto;
  margin-bottom: 4px;
}

.social-icons a:hover {
  color: #ffffff;
  text-shadow: 0 0 1px #ffffff, 0 0 1px #ffffff, 0 0 1px #ffffff;
}

.social-icons a span {
  display: inline;
}

.copyright {
  font-size: 12px;
  padding-top: 10px;
}

/* Animations */
.loader {
  display: inline-block;
  width: 40px;
  height: 40px;
  border: 3px solid #fff;
  border-top: 3px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.glow-animate {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333333;
  padding: 20px 40px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(40, 62, 123, 0.8);
  z-index: 1000;
  text-align: center;
  animation: glow 1.2s ease-in-out infinite alternate;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
  }
  100% {
    box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
  }
}

@-webkit-keyframes glow {
  0% {
    box-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
  }
  100% {
    box-shadow: 0 0 20px #ffffff, 0 0 40px #ffffff;
  }
}

@keyframes flipInFromRight {
  from {
    opacity: 0;
    transform: translateX(25px) rotateY(0deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotateY(0deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .service-blocks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {
  .service-blocks-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .background-overlay {
    background: 
      url('background-mobile.png') no-repeat center top/100% auto,
      linear-gradient(to bottom, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 1) 100%);
    background-color: #333333;
    background-attachment: fixed;
    padding: 50px 0;
  }

  .custom-vertical-modal .modal-buttons {
    display: flex;
    flex-wrap: wrap;
  }

  .custom-vertical-modal .modal-buttons button {
    width: 120px;
    margin-bottom: 2px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .form-group label {
    font-size: 0.9em;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 10px;
  }

  #contact-form button[type="submit"],
  #login-form button[type="submit"],
  #register-form button[type="submit"] {
    padding: 8px 16px;
    font-size: 10px;
  }

  #contact-form .contact-divider {
    font-size: 14px;
  }

  .modal-content ul {
    padding-left: 0;
    list-style: none;
    margin: 0 0 1em;
  }

  .reviews-section {
    padding: 8px;
  }

  .review-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .review-content {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  .review-divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
  }

  .review-pipe {
    margin-left: 0;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .review-rating {
    margin-bottom: 5px;
  }

  .review-text {
    margin-bottom: 0;
  }

  .google-review-button {
    width: 100%;
    text-align: center;
    padding: 8px 16px;
    font-size: 12px;
  }

  .review-author {
    font-size: 1em;
  }

  .review-text {
    font-size: 0.85em;
    margin-bottom: 8px;
  }

  .company-title {
    font-size: 28px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    padding-top: 0;
    position: relative;
    white-space: nowrap;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  }

  .header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-bottom: 0;
  }

  .header-container img {
    height: 95px;
    width: auto;
  }

  nav {
    margin-top: 0;
    margin-bottom: 10px;
    width: 100%;
    max-width: 100vw;
  }

  .nav-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .nav-tabs li {
    flex: 0 0 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-right: 0;
  }

  .nav-tabs li a {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 2px;
    border: 1px solid #333;
    width: 100%;
    margin: 0;
    text-decoration: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
    transition: background-color 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }

  .nav-tabs .dropdown {
    align-items: center;
    justify-content: center;
  }

  .nav-tabs .dropbtn {
    width: 100%;
    padding: 0;
    font-size: 10px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .nav-tabs .dropdown-content {
    min-width: 100%;
    width: auto;
    top: auto;
    left: 0;
    background-color: rgba(20, 20, 20, 0.95);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.8);
    z-index: 1;
    border-radius: 5px;
    display: none;
    position: absolute;
  }

  .dropdown-content a {
    color: #ffffff;
    padding: 12px 2px;
    text-decoration: none;
    display: block;
    font-size: 10px;
    text-align: center;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .dropdown-content a:hover {
    background-color: rgba(0, 0, 0, 0.9);
    color: #ffffff;
  }

  .service-body .custom-br {
    display: block;
    margin-bottom: 15px;
  }

  .service-body a.read-more,
  .service-body a.ENQUIRE {
    display: block;
  }

  .footer {
    position: relative;
    margin-top: 20px;
  }

  .social-footer {
    padding: 10px 0;
    width: 100%;
  }

  .social-icons {
    justify-content: space-around;
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    padding: 5px 0;
    width: auto;
  }

  .social-icons a {
    flex: 0 0 12.5%;
    font-size: 0;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .social-icons a span {
    display: none;
  }

  .social-icons img {
    width: 36px;
    height: auto;
    margin-bottom: 0;
  }

  .social-heading {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .social-divider {
    width: 80px;
    margin: 10px auto;
  }

  .motto {
    order: 0;
    width: 100%;
    font-size: 24px;
    margin-bottom: 10px;
  }

  .custom-modal {
    order: 2;
    position: fixed;
    z-index: 1;
  }

  .footer {
    order: 3;
  }

  .contact-font {
    font-size: 14px;
  }
}

@media (max-height: 700px) {
  .main {
    margin-bottom: 20px;
  }

  #content-area {
    min-height: auto;
    height: auto;
  }
}

@media (max-width: 480px) {
  .social-icons {
    gap: 0;
  }

  .social-footer {
    padding-bottom: 10px;
  }

  .service-blocks-grid {
    display: grid;
    grid-template-columns: 1fr;
  }
}