/* Base Styles */
:root {
  --primary-color: #010d8f;
  --secondary-color: #010d8f;
  --whatsapp-color: #25D366;
  --text-color: #0015fd;
  --white: #ffffff;
  --transition: all 0.3s ease;
  --header-shrink-height: 50px;
  --header-normal-height: 60px;
  --top-header-height: 30px;
  --top-header-shrink-height: 25px;
  --shadow: 0 2px 5px rgb(12, 0, 107);
  --shadow-hover: 0 9px 5px rgba(4, 7, 54, 0.759);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  padding-top: calc(var(--top-header-height) + var(--header-normal-height));
}

/* Top Header Styles */
.top-header {
  background-color: var(--primary-color);
  color: var(--white);
  height: var(--top-header-height);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1001;
  transition: var(--transition);
  font-size: 13px;
}

.top-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-header-left, .top-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-header-left a, .top-header-right a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.top-header-left a:hover, .top-header-right a:hover {
  opacity: 0.8;
}

/* Top Header Animations */
.ringing {
  animation: ring 1.5s infinite;
}

@keyframes ring {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-15deg); }
  30% { transform: rotate(15deg); }
  40% { transform: rotate(-15deg); }
  50% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

.zooming {
  animation: zoom 2s infinite;
}

@keyframes zoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.top-call-icon,
.top-whatsapp-icon,
.top-facebook-icon,
.top-instagram-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: var(--transition);
}

.top-header-right .ringing {
  animation: none;}

.top-call-icon {
  background-color: #0015ff;
  animation: pulse 2s infinite;
}

.top-whatsapp-icon {
  background-color: var(--whatsapp-color);
  animation: pulse 2s infinite;
}

.top-facebook-icon {
  background-color: #0015ff;
  animation: pulse 2s infinite;
}

.top-instagram-icon {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
  animation: pulse 2s infinite;
}

.top-location i {
  /* No animation for location icon */
  animation: none !important;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Main Header Styles */
.main-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: var(--top-header-height);
  width: 100%;
  z-index: 1000;
  height: var(--header-normal-height);
  transition: var(--transition);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

/* Navigation with Animated Underline */
.main-nav {
  display: flex;
}

.nav-list {
  display: flex;
  list-style: none;
}

.nav-list li {
  margin: 0 15px;
  position: relative;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 5px 0;
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.nav-link span {
  position: relative;
  display: inline-block;
  transition: var(--transition);
}

.nav-link::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: var(--transition);
}

.nav-link:hover::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover span {
  transform: translateY(-3px);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 24px;
  cursor: pointer;
  z-index: 1002;
}

/* Mobile Sticky Footer */
.mobile-sticky-footer {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.1);
  z-index: 999;
  justify-content: center;
}

.mobile-footer-icon {
  flex: 1;
  max-width: 33.33%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 20px;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.mobile-footer-icon:hover {
  transform: translateY(-5px);
}

.mobile-footer-icon::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 1px;
  background-color: rgba(255,255,255,0.3);
}

.mobile-footer-icon:last-child::after {
  display: none;
}

.call-box {
  background-color: var(--primary-color);
}

.whatsapp-box {
  background-color: var(--whatsapp-color);
}

.mail-box {
  background-color: var(--primary-color);
}



/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  transition: var(--transition);
  padding-top: calc(var(--top-header-shrink-height) + var(--header-shrink-height));
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-list {
  list-style: none;
  padding: 20px;
}

.mobile-menu-list li {
  margin-bottom: 15px;
}

.mobile-menu-list a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 18px;
  display: block;
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.mobile-menu-list a:hover {
  color: var(--primary-color);
}

.mobile-menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--primary-color);
  cursor: pointer;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .nav-list li {
      margin: 0 10px;
  }
}

@media (max-width: 768px) {
  body {
      padding-top: calc(var(--top-header-shrink-height) + var(--header-shrink-height));
  }
  
  .top-header {
      height: var(--top-header-shrink-height);
      font-size: 11px;
  }
  
  .top-header-left {
      width: 100%;
      justify-content: center;
  }
  
  .top-header-right, 
  .top-location, 
  .top-mail-icon {
      display: none;
  }
  
  .top-phone-text {
      display: inline-block;
  }
  
  .main-header {
      top: var(--top-header-shrink-height);
      height: var(--header-shrink-height);
  }
  
  .logo {
      height: 30px;
  }
  
  .main-nav {
      display: none;
  }
  
  .mobile-menu-toggle {
      display: block;
  }
  
  .mobile-sticky-footer {
      display: flex;
  }  
}

/* Scroll Effects */
.header-shrink {
  height: var(--header-shrink-height);
}

.header-shrink .logo {
  height: 30px;
}

/* 526px or more small screen */
@media (max-width: 526px) {
  .top-header {
    height: 30px;
    padding: 0 10px;
  }
  
  .top-header-left {
    width: 100%;
    justify-content: center;
    display: flex;
  }
  
  /* only for call icon and number */
  .top-contact-item:not(:first-child),
  .header-divider,
  .top-header-right {
    display: none !important;
  }
  
  /* call icon style */
  .top-contact-item:first-child {
    margin: 0 auto;
    display: flex !important;
    align-items: center;
    gap: 5px;
  }
  
  /* number in one line */
  .contact-text {
    white-space: nowrap !important;
    font-size: 12px;
    display: inline-block !important;
  }
  
  /* continue animation */
  .ringing {
    animation: ring 1.5s infinite !important;
  }
  
  /* adjust main header position */
  .main-header {
    top: 30px;
  }
  
  /* adjust hieght of hero section */
  .hero {
    height: calc(100vh - 30px - var(--header-shrink-height));
  }
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contact Banner */
.contact-banner {
  background: linear-gradient(rgba(1, 13, 143, 0.8), rgba(1, 13, 143, 0.8)), 
              url('https://images.unsplash.com/photo-1552581234-26160f608093?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  position: relative;
}

.banner-overlay {
  max-width: 800px;
  padding: 0 20px;
}

.contact-banner h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease;
}

.contact-banner p {
  font-size: 1.2rem;
  animation: fadeInUp 1s ease;
}

/* Contact Section */
.contact-section {
  padding: 80px 0;
  background-color: #f9f9ff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Equal columns */
  gap: 40px;
  max-width: 1200px; /* Add max-width to prevent over-expansion */
  margin: 0 auto; /* Center the grid */
}

.contact-info h2, .contact-form h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary-color);
  position: relative;
}

.contact-info h2::after, .contact-form h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.contact-description {
  margin-bottom: 30px;
  color: #555;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-method:hover .contact-icon {
  transform: rotateY(180deg);
  background-color: var(--text-color);
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.contact-details p {
  color: black;
  font-weight: bolder;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--text-color);
  transform: translateY(-5px);
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.form-group {
  position: relative;
  margin-bottom: 30px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 15px;
  color: #999;
  transition: var(--transition);
  pointer-events: none;
  background-color: var(--white);
  padding: 0 5px;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -10px;
  font-size: 0.8rem;
  color: var(--primary-color);
}

.submit-btn {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}

.submit-btn:hover {
  background-color: var(--text-color);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

/* Map Section */
.map-section {
  width: 100%;
}

/* Floating WhatsApp Button */
.float-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--whatsapp-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 100;
  text-decoration: none;
  transition: var(--transition);
  animation: whatsapp-pulse 2s infinite;
}

.float-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    transform: scale(1);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contact-banner h1 {
    font-size: 2.2rem;
  }
  
  .contact-banner p {
    font-size: 1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info, .contact-form {
    padding: 20px;
  }
  
  .float-whatsapp {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
  
  .float-whatsapp {
    display: none;
  }
}

@media (max-width: 480px) {
  .contact-banner {
    height: 300px;
  }
  
  .contact-banner h1 {
    font-size: 1.8rem;
  }
  
  .contact-info h2, .contact-form h2 {
    font-size: 1.5rem;
  }
  
  .contact-method {
    flex-direction: column;
  }
  
  .contact-icon {
    margin-bottom: 10px;
  }
}

/* Footer Styles */
.footers {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #ffffff;
  line-height: 1.6;
}

/* Footer Top Section */
.footer-top-container {
  background: #00101e;
  padding: 20px 20px 0;
}

.footer-top {
  background: #ffffff;
  color: #000000;
  border-radius: 50px;
  padding: 15px 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-contact-item {
  flex: 1 1 300px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 10px;
  transition: all 0.3s ease;
}

.footer-contact-item:hover {
  transform: translateY(-3px);
}

.footer-contact-item .icon {
  font-size: 1.5rem;
  color: #1e00ff;
  transition: all 0.3s ease;
  min-width: 30px;
  text-align: center;
}

.footer-contact-item:hover .icon {
  transform: scale(1.2);
}

.footer-contact-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  font-weight: 600;
}

.footer-contact-item p a {
  color: inherit;
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-contact-item:hover p a {
  color: #1e00ff;
}

/* Main Footer */
.footer-main {
  background: #000a13;
  padding: 30px 0 0;
}

.footer-main .footer-container {
  padding: 0 15px;
}

.footer-col {
  flex: 1 1 300px;
  padding: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 15px;
  display: block;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 0.9;
}

.footer-col p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.footer-col h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: #1e00ff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  display: inline-block;
  padding: 5px 0;
  text-decoration: none;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.9);
}

.footer-col ul li a:hover {
  color: #1e00ff;
  padding-left: 5px;
}

/* Contact Form */
.enquiry-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 12px;
  border: none;
  background: #ffffff;
  color: #000000;
  border-radius: 4px;
  font-family: inherit;
}

.enquiry-form textarea {
  min-height: 100px;
  resize: vertical;
}

.enquiry-form button {
  background: #1e00ff;
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  border-radius: 4px;
  font-weight: 600;
}

.enquiry-form button:hover {
  background: #190098;
  transform: translateY(-2px);
}

/* Social Icons */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px) scale(1.1);
}

.social-icon.fb {
  background: #0037ff;
}

.social-icon.yt {
  background: #ff0000;
}

.social-icon.ig {
  background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-icon.li {
  background: #0037ff;
}

/* Footer Bottom */
.footer-bottom {
  background: var(--primary-color);
  padding: 15px;
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .footer-contact-item {
      flex: 1 1 250px;
  }
  
  .footer-col {
      flex: 1 1 250px;
  }
}

@media (max-width: 768px) {
  .footer-top-container {
      padding: 15px 15px 0;
      height: auto;
  }
  
  .footer-top {
      border-radius: 25px;
  }
  
  .footer-contact-item {
      flex: 1 1 100%;
      padding: 12px;
  }
  
  .footer-col {
      flex: 1 1 100%;
  }
  
  .social-icons {
      justify-content: flex-start;
  }

  .footer-bottom {
    padding: 12px;
    margin-bottom: 50px;
}
  
  .footer-col h3 {
      font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .footer-top {
      border-radius: 20px;
  }
  
  .footer-contact-item .icon {
      margin-bottom: 8px;
  }
  
  .enquiry-form input,
  .enquiry-form textarea {
      padding: 10px;
  }
  
  .footer-bottom {
      padding: 12px;
      margin-bottom: 50px;
  }
}