/* Basic Reset */
/* RESET + GLOBAL FIXES */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  font-family: 'Poppins', sans-serif;
}
/* Blog Section Grid */
.indmark-blog-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  padding-top: 30px;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.indmark-blog-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.indmark-blog-card img {
  width: 100%;
  height: 260px; /* Keeps the original box size */
  object-fit: contain; /* Ensures the image fits fully within the box */
  display: block;
}


.indmark-blog-content {
  background: #0b5070;
  padding: 26px 24px;
  min-height: 240px;
  color: #fff;
}

.indmark-blog-content h3 {
  margin: 0 0 14px;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.indmark-blog-content p {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.6;
}

.indmark-blog-content a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.indmark-blog-content a:hover {
  text-decoration: underline;
}

/* Hover Effect for Cards */
.indmark-blog-card:hover {
  transform: translateY(-10px);
}

/* Responsive Layout for Blog Cards */
@media (max-width: 900px) {
  .indmark-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Icon */
#whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#whatsapp-icon img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #25D366;
    padding: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Footer Fix */
#footer-placeholder {
  margin-top: 40px;
  z-index: 5;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .indmark-blog-grid {
    grid-template-columns: 1fr;
  }
}

/* HEADER BASE */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid #eee;
  background: #ffffff;
  position: relative;
  z-index: 100;
}

.logo {
  height: 60px;
}

/* DESKTOP NAV */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 45px;
}

.main-nav a {
  position: relative;
  display: inline-block;
  padding: 4px 0;
  text-decoration: none;
  font-size: 18px;
  color: #0f2f45;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, color 0.25s ease;
}

.main-nav a:hover {
  color: #0b5070;
  transform: translateY(-3px); /* small jump on hover */
}

/* HAMBURGER (HIDDEN ON DESKTOP) */
.hamburger {
  font-size: 32px;
  cursor: pointer;
  display: none;
  color: #0f2f45;
}

/* MOBILE FULLSCREEN MENU (HIDDEN BY DEFAULT) */
.mobile-menu {
  position: fixed;
  top: -100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  padding-top: 30px;
  align-items: center;
  justify-content: flex-start;
  transition: top 0.4s ease;
  z-index: 999;
}

/* When active */
.menu-show {
  top: 0;
}

/* Close icon */
.close-menu {
  position: absolute;
  right: 30px;
  top: 25px;
  font-size: 36px;
  color: #0f2f45;
  cursor: pointer;
}

/* Mobile menu items */
.mobile-menu ul {
  list-style: none;
  width: 100%;
  text-align: center;
  margin-top: 60px;
}

.mobile-menu ul li {
  margin: 25px 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #0f2f45;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.3s ease;
}

.mobile-menu a:hover {
  transform: translateY(-4px);
}

/* RESPONSIVE BEHAVIOUR */
@media (max-width: 900px) {
  /* Hide desktop menu on small screens */
  .main-nav {
    display: none;
  }

  /* Show hamburger */
  .hamburger {
    display: block;
  }
}

/*Preloader*/
/* ===============================
   SITE PRELOADER (ISOLATED)
================================ */

#site-preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Background overlay */
#site-preloader .preloader-overlay {
  position: absolute;
  inset: 0;
  background: #053c55; /* Indmark-style overlay */
}

/* Center content */
#site-preloader .preloader-content {
  position: relative;
  z-index: 2;
}

/* Logo container */
#site-preloader .logo-wrapper {
  position: relative;
  width: 110px;
  height: 110px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Logo */
#site-preloader .preloader-logo {
  width: 55px;
  height: auto;
  z-index: 2;
}

/* Rotating outline */
#site-preloader .loader-ring {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-right-color: rgba(255, 255, 255, 0.6);
  animation: spin 1.2s linear infinite;
}

/* Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  #site-preloader .logo-wrapper {
    width: 90px;
    height: 90px;
  }

  #site-preloader .preloader-logo {
    width: 45px;
  }
}