/* Responsive footer table styles */
.footerimg table {
  width: 100% !important;
  max-width: 1205px;
  table-layout: fixed;
}



.footerimg table td {
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .footerimg table,
  .footerimg table tr,
  .footerimg table td,
  .footerimg table th {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footerimg table td {
    margin-bottom: 15px;
  }
  .footerimg table td img {
    max-width: 100%;
    height: auto;
  }
  .whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
  }
  
  .whatsapp-float i {
    margin-top: 15px;
  }
  /* Make sure page takes full height */

/* Content should grow and push the footer down */
#content {
    flex: 1!important;
    padding: 20px;
}

/* Footer styles */
#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
    margin-top: auto; /* Push footer to the bottom */
    z-index: 1000;
}
.dark-mode {
    background: #181a1b !important;
    color: #e0e0e0 !important;
  }
  .dark-mode .bg-light { background-color: #23272b !important; }
  .dark-mode, .dark-mode .dropdown-menu { background-color: #23272b !important; }
  .dark-mode .card { background-color: #23272b !important; color: #e0e0e0 !important; }
  .dark-mode .btn .btn-dark { background-color: #444 !important; border: none; }


  @media (min-width: 1230px) {
    .navbar .navbar-collapse {
      display: flex !important;
    }
    .navbar .navbar-toggler {
      display: none !important;
    }
  }
  @media (max-width: 1229px) {
    .navbar .navbar-collapse {
      display: none !important;
    }
    .navbar .navbar-toggler {
      display: block !important;
    }
    .navbar .navbar-collapse.show {
      display: block !important;
    }
  }
  .gallery-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  }
  .gallery-img:hover {
    transform: scale(1.04);
    box-shadow: 0 4px 16px rgba(0,0,0,0.13);
  }
  .gallery-upload {
    border: 2px dashed #3949ab;
    border-radius: 8px;
    padding: 32px 16px;
    text-align: center;
    color: #3949ab;
    background: #f5f7fa;
    margin-bottom: 32px;
    cursor: pointer;
    transition: border-color 0.2s;
    display: none;
  }
  .gallery-upload:hover {
    border-color: #1a237e;
    background: #e8eaf6;
  }
  .gallery-upload.admin {
    display: block;
  }

/* Mega-menu: Center under parent and prevent overflow */
@media (min-width: 992px) {
  .navbar .dropdown-menu.mega-menu {
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    min-width: 900px;
    max-width: 95vw;
    margin-top: 18px;
  }
}

/* Responsive: On small screens, make it full width */
@media (max-width: 991.98px) {
  .navbar .dropdown-menu.mega-menu {
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    min-width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    margin-top: 0;
  }
}

/* Optional: Prevent horizontal scroll on body when mega-menu is open */
body {
  overflow-x: hidden;
}
  
/* Navbar Brand Modern */
.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: #3949ab !important;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
}
.navbar-brand img {
  height: 48px;
  margin-right: 10px;
}

/* Navbar Modern */
.navbar {
  background: #fff !important;
  box-shadow: 0 2px 12px rgba(60,60,120,0.07);
  border-bottom: 1px solid #f0f0f0;
}
.navbar-nav .nav-link {
  font-weight: 500;
  color: #3949ab !important;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  background: #f5f7fa;
  color: #1a237e !important;
  text-decoration: none;
}
.navbar-toggler {
  border: none;
  background: transparent !important;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.navbar .btn {
  font-weight: 500;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
}

/* Show mega-menu on hover for desktop */
@media (min-width: 992px) {
  .services-hover:hover .dropdown-menu,
  .services-hover:focus-within .dropdown-menu {
    display: block !important;
    margin-top: 0px;
  }
  .services-hover .dropdown-toggle::after {
    transition: transform 0.3s;
  }
  .services-hover:hover > .dropdown-toggle::after,
  .services-hover:focus-within > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  .services-hover > .dropdown-toggle {
    pointer-events: none;
  }
}

/* Prevent click from toggling on desktop */
@media (max-width: 992px) {
  .services-hover:hover .dropdown-menu,
  .services-hover:focus-within .dropdown-menu {
    display: block !important;
    margin-top: 0px;
  }
  .services-hover .dropdown-toggle::after {
    transition: transform 0.3s;
  }
  .services-hover:hover > .dropdown-toggle::after,
  .services-hover:focus-within > .dropdown-toggle::after {
    transform: rotate(180deg);
  }
  /* Removed pointer-events: none to allow click toggling on mobile */
}


/* Mega-menu icon backgrounds and icon color for dark mode */
body.dark-mode .mega-menu .bg-primary.bg-opacity-10,
body.dark-mode .mega-menu .bg-success.bg-opacity-10,
body.dark-mode .mega-menu .bg-warning.bg-opacity-10,
body.dark-mode .mega-menu .bg-info.bg-opacity-10,
body.dark-mode .mega-menu .bg-secondary.bg-opacity-10,
body.dark-mode .mega-menu .bg-dark.bg-opacity-10 {
  background: rgba(255,255,255,0.12) !important;
}

body.dark-mode .mega-menu i {
  color: #fff !important;
  opacity: 1;
}

body.dark-mode .mega-menu h6,
body.dark-mode .mega-menu .dropdown-item {
  color: #ffd600 !important;
}

body.dark-mode .mega-menu .dropdown-item:hover,
body.dark-mode .mega-menu .dropdown-item:focus {
  background: #ffd600 !important;
  color: #23263a !important;
  border-radius: 8px !important;
}
.mega-menu .dropdown-item:hover,
.mega-menu .dropdown-item:focus {
  background: #3949ab !important;
  color: #fff !important;
  border-radius: 8px !important;
}

/* Dark mode for header/navbar */
body.dark-mode .navbar,
body.dark-mode .navbar.navbar-light,
body.dark-mode .navbar.bg-white,
body.dark-mode #main-navbar {
  background: #23263a !important;
  box-shadow: 0 2px 12px rgba(30,30,60,0.18);
  border-bottom: 1px solid #23263a;
}

body.dark-mode .navbar .navbar-brand,
body.dark-mode .navbar .navbar-brand span {
  color: #ffd600 !important;
}

body.dark-mode .navbar .nav-link {
  color: #ffd600 !important;
  background: transparent !important;
}

body.dark-mode .navbar .nav-link.active,
body.dark-mode .navbar .nav-link:hover,
body.dark-mode .navbar .nav-link:focus {
  color: #23263a !important;
  background: #ffd600 !important;
  border-radius: 8px;
}

body.dark-mode .navbar .btn-outline-primary {
  color: #ffd600 !important;
  border-color: #ffd600 !important;
  background: transparent !important;
}
body.dark-mode .navbar .btn-outline-primary:hover,
body.dark-mode .navbar .btn-outline-primary:focus {
  background: #ffd600 !important;
  color: #23263a !important;
  border-color: #ffd600 !important;
}

body.dark-mode .navbar .btn-primary {
  background: #ffd600 !important;
  color: #23263a !important;
  border: none;
}

/* Modern Footer Styles */
.footer-main {
  background: #f8f9fa;
  color: #23263a;
  border-top: 1px solid #e0e0e0;
  font-size: 1rem;
  transition: background 0.3s, color 0.3s;
}
.footer-main .nav-link {
  color: #23263a !important;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s, background 0.2s;
  border-radius: 6px;
}
.footer-main .nav-link:hover,
.footer-main .nav-link:focus {
  color: #3949ab !important;
  background: #e8eaf6;
  opacity: 1;
}
.footer-main .footer-social a {
  color: #3949ab !important;
  opacity: 0.85;
  transition: color 0.2s, opacity 0.2s;
}
.footer-main .footer-social a:hover {
  color: #ffd600 !important;
  opacity: 1;
}
.footer-main img {
  background: #fff;
  border-radius: 8px;
}
.footer-main .text-secondary {
  color: #6c757d !important;
}
@media (max-width: 767.98px) {
  .footer-main .row > div {
    text-align: center !important;
    margin-bottom: 1rem;
  }
}

/* Dark mode for footer */
body.dark-mode .footer-main {
  background: #181a20 !important;
  color: #e0e0e0 !important;
  border-top: 1px solid #23263a !important;
}
body.dark-mode .footer-main .nav-link {
  color: #e0e0e0 !important;
}
body.dark-mode .footer-main .nav-link:hover,
body.dark-mode .footer-main .nav-link:focus {
  color: #ffd600 !important;
  background: #23263a !important;
}
body.dark-mode .footer-main .footer-social a {
  color: #ffd600 !important;
}
body.dark-mode .footer-main .footer-social a:hover {
  color: #fff !important;
}
body.dark-mode .footer-main .text-secondary {
  color: #b0b0b0 !important;
}
/* End Modern Footer Styles */
#pageRoller{
  display:none;
  position:fixed;
  bottom:88px;
  right:32px;
  z-index:9999;
  background:#3949ab;
  color:#fff;
  border:none;
  border-radius:50%;
  width:48px;
  height:48px;
  box-shadow:0 4px 16px rgba(60,60,120,0.15);
  font-size:1.5rem;
  transition:background 0.2s, color 0.2s;
}
.loginpage {
  background: linear-gradient(135deg, #3949ab 0%, #ffd600 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60,60,120,0.12);
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  margin: 2rem auto;
  transition: background 0.3s, color 0.3s;
}
.login-card .form-control:focus {
  border-color: #3949ab;
  box-shadow: 0 0 0 2px #ffd60033;
}
.login-card .btn-primary {
  background: #3949ab;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s;
}
.login-card .btn-primary:hover {
  background: #23263a;
}
.login-card .form-check-label {
  font-size: 0.97rem;
}
.login-card .social-login .btn {
  border-radius: 8px;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
}
.login-card .social-login .btn i {
  margin-right: 6px;
}
.toggle-password {
  cursor: pointer;
  position:absolute;
  right: 10px;
  top: 70%;
  transform: translateY(-50%);
  color: #3949ab;
  opacity: 0.7;
  font-size: 18px;

}
@media (max-width: 575.98px) {
  .login-card {
    padding: 1.5rem 0.7rem;
  }
}
body.dark-mode .login-card {
  background: #23263a !important;
  color: #ffd600 !important;
}
body.dark-mode .login-card .form-control {
  background: #181a20;
  color: #ffd600;
  border-color: #3949ab;
}
body.dark-mode .login-card .form-control:focus {
  border-color: #ffd600;
  box-shadow: 0 0 0 2px #ffd60033;
}
body.dark-mode .login-card .btn-primary {
  background: #ffd600;
  color: #23263a;
}
body.dark-mode .login-card .btn-primary:hover {
  background: #fff176;
  color: #23263a;
}
body.dark-mode .login-card .toggle-password {
  color: #ffd600;
}
.registerpage {
  background: linear-gradient(135deg, #3949ab 0%, #ffd600 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.register-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60,60,120,0.12);
  padding: 2.5rem 2rem;
  max-width: 430px;
  width: 100%;
  margin: 2rem auto;
  transition: background 0.3s, color 0.3s;
}
.register-card .form-control:focus {
  border-color: #3949ab;
  box-shadow: 0 0 0 2px #ffd60033;
}
.register-card .btn-primary {
  background: #3949ab;
  border: none;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s;
}
.register-card .btn-primary:hover {
  background: #23263a;
}
.register-card .form-check-label {
  font-size: 0.97rem;
}
.register-card .social-login .btn {
  border-radius: 8px;
  font-weight: 500;
  margin-right: 8px;
  margin-bottom: 8px;
}
.register-card .social-login .btn i {
  margin-right: 6px;
}

@media (max-width: 575.98px) {
  .register-card {
    padding: 1.5rem 0.7rem;
  }
}
body.dark-mode .register-card {
  background: #23263a !important;
  color: #ffd600 !important;
}
body.dark-mode .register-card .form-control {
  background: #181a20;
  color: #ffd600;
  border-color: #3949ab;
}
body.dark-mode .register-card .form-control:focus {
  border-color: #ffd600;
  box-shadow: 0 0 0 2px #ffd60033;
}
body.dark-mode .register-card .btn-primary {
  background: #ffd600;
  color: #23263a;
}
body.dark-mode .register-card .btn-primary:hover {
  background: #fff176;
  color: #23263a;
}
body.dark-mode .register-card {
  color: #ffd600;
}
.adminpanel {
  background: #f4f6fb;
}
.admin-sidebar {
  background: #23263a;
  color: #fff;
  min-height: 100vh;
  padding-top: 2rem;
}
.admin-sidebar .nav-link {
  color: #fff;
  opacity: 0.85;
  font-weight: 500;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
  background: #ffd600;
  color: #23263a;
  opacity: 1;
}
.admin-header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header .admin-title {
  font-size: 1.5rem;
  font-weight: bold;
  color: #3949ab;
}
.admin-content {
  padding: 2rem;
}
.admin-card {
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  background: #fff;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  height: 100%;
}
.admin-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  transform: translateY(-4px) scale(1.02);
}
.admin-card .icon {
  font-size: 2.5rem;
  color: #3949ab;
  margin-bottom: 1rem;
}
@media (max-width: 991.98px) {
  .admin-sidebar {
    min-height: auto;
    padding: 1rem 0.5rem;
  }
  .admin-content {
    padding: 1rem;
  }
}
.blog-card {
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 1.5rem 1.2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.2s, transform 0.2s;
}
.blog-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.13);
  transform: translateY(-4px) scale(1.02);
}
.blog-title {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3949ab;
}
.blog-meta {
  color: #6c757d;
}
.blog-content {
  color: #23263a;
}

body.dark-mode .blog-content {
  color: white !important;
}

body.dark-mode .blog-content p,
body.dark-mode .blog-content span,
body.dark-mode .blog-content a,
body.dark-mode .blog-content li,
body.dark-mode .blog-content div {
  color: white !important;
}
.comment {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 0.7rem 1rem;
}
.reply {
  background: #e8eaf6;
  border-radius: 6px;
  font-size: 0.97rem;
  margin-top: 0.5rem;
}
@media (max-width: 575.98px) {
  .blog-card {
    padding: 1rem 0.5rem;
  }
}
 /* Navbar animation */
 .animated-navbar {
  animation: fadeInDown 1s;
  transition: background 0.3s, box-shadow 0.3s;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px);}
  to { opacity: 1; transform: translateY(0);}
}
/* Modern Hamburger Animation */
.navbar-toggler-animated {
  display: inline-block;
  width: 36px;
  height: 36px;
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.navbar-toggler-animated span {
  display: block;
  height: 4px;
  width: 28px;
  background: #3949ab;
  border-radius: 2px;
  margin: 6px auto;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-animated span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-animated span:nth-child(2) {
  opacity: 0;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-animated span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
/* Responsive nav */
@media (max-width: 991.98px) {
  .navbar-nav {
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 24px rgba(60,60,120,0.10);
    margin-top: 8px;
    padding: 1rem 0.5rem;
  }
  body.dark-mode .navbar-nav {
    background: #23263a !important;
  }
  .navbar-nav .nav-item {
    margin-bottom: 0.5rem;
  }
  .navbar-nav .nav-link {
    font-size: 1.1rem;
    padding: 0.7rem 1rem;
  }
  .mega-menu {
    min-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 0 18px 18px;
  }
}
@media (max-width: 575.98px) {
  .navbar-brand span { font-size: 1.1rem; }
  .navbar-nav .nav-link { font-size: 1rem; }
  .mega-menu { padding: 1rem !important; }
}
/* Modern dark mode toggle button */
.btn-toggle-dark {
  background: #f5f7fa;
  border: none;
  border-radius: 50px;
  width: 48px;
  height: 48px;
  position: relative;
  box-shadow: 0 2px 8px rgba(60,60,120,0.07);
  transition: background 0.3s, box-shadow 0.3s;
  outline: none;
  padding: 0;
}
.btn-toggle-dark:focus {
  box-shadow: 0 0 0 2px #ffd60055;
}
.toggle-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  transition: color 0.3s;
}
.sun-icon, .moon-icon {
  font-size: 1.3rem;
  position: absolute;
  transition: opacity 0.3s, transform 0.3s;
}
.sun-icon { color: #ffd600; left: 12px; opacity: 1; }
.moon-icon { color: #3949ab; right: 12px; opacity: 0; }
body.dark-mode .btn-toggle-dark {
  background: #23263a;
}
body.dark-mode .sun-icon { opacity: 0; transform: scale(0.7);}
body.dark-mode .moon-icon { opacity: 1; transform: scale(1.1);}
/* Navbar dark mode */
body.dark-mode .navbar {
  background: #23263a !important;
  box-shadow: 0 2px 12px rgba(30,30,60,0.18);
}
body.dark-mode .navbar .navbar-brand span,
body.dark-mode .navbar .nav-link,
body.dark-mode .navbar .dropdown-menu,
body.dark-mode .navbar .dropdown-item {
  color: #ffd600 !important;
}
body.dark-mode .navbar .dropdown-menu {
  background: #23263a !important;
}
body.dark-mode .navbar .dropdown-item:hover,
body.dark-mode .navbar .dropdown-item:focus {
  background: #3949ab !important;
  color: #fff !important;
}
body.dark-mode .navbar .btn-outline-primary {
  border-color: #ffd600;
  color: #ffd600;
  background: transparent;
}
body.dark-mode .navbar .btn-outline-primary:hover {
  background: #ffd600;
  color: #23263a;
}
body.dark-mode .navbar .btn-primary {
  background: #ffd600;
  border-color: #ffd600;
  color: #23263a;
}
body.dark-mode .navbar .btn-primary:hover {
  background: #fff176;
  border-color: #fff176;
  color: #23263a;
}
 .announce-bar-modern {
    background: linear-gradient(90deg, #ffd600 0%, #fffbe7 100%);
    color: #23263a;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1.08rem;
    border-bottom: 1.5px solid #ffe066;
    box-shadow: 0 2px 12px rgba(60,60,120,0.07);
    min-height: 48px;
    z-index: 1050;
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
    animation: fadeInRight 1s;
  }
  .announce-icon {
    font-size: 1.4rem;
    animation: bounce 1.2s infinite alternate;
  }
  .announce-text {
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #23263a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
.btn-whatsapp {
    background: #ffd600;
    border: none;
    color: #23263a;
    border-radius: 8px;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    font-size: 1rem;
    transition: background 0.2s, color 0.2s;
  }
  .btn-whatsapp:hover {
    background: #fff176;
    color: #23263a;
  }

  .animate-bounce {
    animation: bounce 0.5s infinite alternate;
  }
  .animate-slidein {
    animation: slideInLeft 1.1s;
  }
  .animate-fadein {
    animation: fadeIn 1.5s;
  }
  .animate-whatsapp {
    animation: pulseGreen 0.2s infinite alternate;
    animation: bounce 0.5s infinite alternate;
  }
  @keyframes bounce {
    from { transform: translateY(0);}
    to { transform: translateY(-7px);}
  }
  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-40px);}
    to { opacity: 1; transform: translateX(0);}
  }
  @keyframes fadeIn {
    from { opacity: 0;}
    to { opacity: 1;}
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
  }
  @keyframes pulseGreen {
    from { color: green;}
    to { color: darkgreen}
  }
  @media (max-width: 575.98px) {
    .announce-bar-modern {
      font-size: 0.98rem;
      flex-direction: column;
      text-align: center;
      padding: 0.5rem 0.2rem;
    }
    .btn-success {
      margin-top: 0.5rem;
      width: 100%;
      justify-content: center;
    }
    .announce-text {
      white-space: normal;
    }
  }
  .contact-hero {
    background: linear-gradient(120deg, #23263a 60%, #ffd600 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(60,60,120,0.10);
    padding: 48px 0 32px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
  }
  .contact-hero img {
    height: 60px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(60,60,120,0.10);
    margin-bottom: 18px;
    padding: 6px 18px;
  }
  .contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd600;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', Arial, sans-serif;
    text-shadow: 0 2px 8px rgba(30,30,60,0.18);
    animation: fadeInDown 1.2s;
  }
  .contact-hero p {
    font-size: 1.15rem;
    color: #fffde7;
    margin-bottom: 0;
    animation: fadeInDown 1.2s;
  }
  .contact-section {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(60,60,120,0.07);
    margin-top: -32px;
    margin-bottom: 32px;
    padding: 2.5rem 2rem;
    animation: fadeInUp 1.2s;
  }
  .contact-section h2 {
    color: #3949ab;
    font-weight: 700;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .contact-section h5 {
    color: #ffd600;
    font-weight: 700;
    margin-bottom: 1.2rem;
    font-family: 'Montserrat', Arial, sans-serif;
  }
  .form-label {
    color: #3949ab;
    font-weight: 500;
  }
  .form-control, textarea.form-control {
    border-radius: 10px;
    border: 1.5px solid #e0e0e0;
    box-shadow: none;
    transition: border-color 0.2s;
  }
  .form-control:focus, textarea.form-control:focus {
    border-color: #ffd600;
    box-shadow: 0 0 0 2px #ffd60033;
  }
  .btn-primary {
    background: linear-gradient(90deg, #ffd600 60%, #23263a 100%);
    border: none;
    color: #23263a;
    font-weight: 700;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(60,60,120,0.07);
  }
  .btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(90deg, #23263a 60%, #ffd600 100%);
    color: #ffd600;
  }
  .contact-info-box {
    background: #f5f7fa;
    border-radius: 16px;
    padding: 1.5rem 1.2rem;
    box-shadow: 0 2px 8px rgba(60,60,120,0.06);
    margin-bottom: 1.5rem;
    animation: fadeInRight 1.2s;
  }
  .contact-info-box i {
    color: #ffd600;
    font-size: 1.5rem;
    margin-right: 0.7rem;
  }
  .contact-info-box strong {
    color: #3949ab;
  }
  .contact-social {
    margin-top: 1.5rem;
  }
  .contact-social a {
    display: inline-block;
    margin-right: 12px;
    font-size: 1.5rem;
    color: #3949ab;
    transition: color 0.2s, transform 0.2s;
  }
  .contact-social a:hover {
    color: #25d366;
    transform: scale(1.15) rotate(-8deg);
  }
  @media (max-width: 991.98px) {
    .contact-section { padding: 1.2rem 0.7rem; border-radius: 12px; }
    .contact-hero h1 { font-size: 2rem; }
  }
  @media (max-width: 767.98px) {
    .contact-hero { padding: 32px 0 18px 0; border-radius: 0 0 16px 16px; }
    .contact-section { margin-top: -16px; }
  }
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px);}
    to { opacity: 1; transform: translateY(0);}
  }
  @keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px);}
    to { opacity: 1; transform: translateY(0);}
  }
  @keyframes fadeInRight {
    from { opacity: 0; transform: translateX(40px);}
    to { opacity: 1; transform: translateX(0);}
  }
  /* Dark mode styles */
  body.dark-mode, .dark-mode .contact-section {
    background: #181a20 !important;
    color: #e0e0e0 !important;
  }
  .dark-mode .contact-section {
    background: #23263a !important;
    box-shadow: 0 2px 12px rgba(30,30,60,0.18);
  }
  .dark-mode h1,  .dark-mode h2, .dark-mode h5 { color: #ffd600 !important; }
  .dark-mode section { color: white;}
  .dark-mode .text-muted { color: #ffd600 !important; }
  .dark-mode .form-label { color: #ffd600 !important; }
  .dark-mode .form-control, .dark-mode textarea.form-control {
    background: #23263a;
    color: #fff;
    border-color: #3949ab;
  }
  .dark-mode .btn-primary {
    background: linear-gradient(90deg, #ffd600 60%, #3949ab 100%);
    color: #23263a;
  }
  .dark-mode .btn-primary:hover, .dark-mode .btn-primary:focus {
    background: linear-gradient(90deg, #3949ab 60%, #ffd600 100%);
    color: #ffd600;
  }
  .dark-mode .contact-info-box {
    background: #181a20;
    color: #ffd600;
  }
  .dark-mode .contact-info-box strong { color: #ffd600; }
  .dark-mode .contact-social a { color: #ffd600; }
  .dark-mode .contact-social a:hover { color: #25d366; }
  /* Responsive footer table styles */
.footerimg table {
  width: 100% !important;
  max-width: 1205px;
  table-layout: fixed;
}

.footerimg table td {
  word-wrap: break-word;
}

@media (max-width: 768px) {
  .footerimg table,
  .footerimg table tr,
  .footerimg table td,
  .footerimg table th {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .footerimg table td {
    margin-bottom: 15px;
  }
  .footerimg table td img {
    max-width: 100%;
    height: auto;
  }
}
}