
/* bootstrap modification */

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}



/* bootstrap ends */


html, body {
    margin: 0;
    padding:0px;
    height: 100%;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;

}
.custom-navbar {
    position: fixed; /* Sticky at the top */
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease; /* Smooth transition for background/box-shadow */
    
    /* Initial semi-transparent state */
    background: transparent; /* Adjust opacity as needed */

    box-shadow: none;
  }

  .navbar .nav-link {
    background: linear-gradient(180deg, #F54748 0%, #AC090A 100%);
    color: white !important;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
  }
  
  .navbar .nav-link:hover {
    background-color: darkred;
    color: white !important;
  }
  
  
  /* Solid background when scrolled */
  .custom-navbar.scrolled {
    background:rgb(255, 255, 255); /* Change to your preferred solid color (e.g., #1a1a1a) */
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    color: black;
  }
  
  /* Logo visibility (optional fade-in) */
  .navbar-brand img {
    opacity: 1; /* Always visible (remove if you want fade-in) */
    transition: opacity 0.3s ease;
  }
  
  /* Nav link styling */
  .nav-link {
    color: white !important;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    transition: opacity 0.3s ease;
  }
  
  .nav-link:hover {
    opacity: 0.8;
  }

ul li a{
    text-decoration: none;
    color:rgb(36, 36, 36);
}


.bg-info {
  min-height: 100vh;
  width: 100%;
  background-image: url('/static/images/sidestar.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;



  position: relative;
  overflow: hidden;
}

/* .bg-info {
    min-height: 100vh;
    width: 100%;
    background-image: url('/static/images/c5mbg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
} */

.center-content {
  width: 700px;
  height: 700px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 35px;
  box-sizing: border-box;

  /* Set the map as background */
  background-image: 
  radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15), rgba(0,0,0,0.3)), 
  url('/static/images/c5mbg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Spherical lighting effect */
  box-shadow: inset -20px -20px 50px rgba(13, 0, 129, 0.4), 
              inset 20px 20px 50px rgba(7, 0, 109, 0.43),
              0 10px 30px rgb(255, 255, 255);
  transition: transform 0.3s ease;
}




@media (max-width: 600px) {
    .center-content {
        width: 90vw;
        height: 90vw;
        padding: 20px;
    }
}


.red-button {
    display: inline-block;
    background-color: #dc3545; /* solid red */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    align-items:center;
    margin-left:20px;
}








.welcome-text {
    color:rgb(255, 255, 255);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    
}

.center-content p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}


@media (min-width: 760px) {
  .center-content p {
      padding: 0 35px;
  }
}

/* Cards Section */
.cards-section {
    background-image: url('/static/images/bg.png');
    background-size: cover;
    background-position: center;
    padding: 80px 40px;
}

.cards-container {
    display: grid;
    border-radius: 24px;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 24px;
    padding: 0 40px; /* controls spacing from left and right edges */
    width: 100%;
    max-width: 100%; /* remove width constraint */
    margin: 0 auto;
    box-sizing: border-box;
}

.card {
    background: #fff;
    box-shadow: 12px 12px 12px rgb(58, 2, 94);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding:0px;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
  width: 100%;
  max-width: 450px;
  height: auto;
  display: block;
  margin: 0 auto;
  object-fit: contain;
    
}

.card eksplode{
    padding:0 40px 0 40px;
}


.eksplode{
    width:100%;
    max-height: 250px;
}

/* Text Styles */
.title {
    font-size:1.8219rem;
    font-weight: bold;
    margin: 10px 0 5px;
    
}

.description {
    font-size:1.8219rem;
    font-style: italic;
    font-family: "Roboto", "Helvetica", "Arial", sans-serif;
    font-weight: 400;
    line-height: 1.334;
    letter-spacing: 0em;
}

/* Responsive Improvements */
@media (max-width: 576px) {
    .center-content {
        padding: 20px;
    }

    .card {
        padding: 16px;
    }

    .card img {
        height: 240px;
    }
}

@media (min-width: 768px) {
    .cards-container > a:nth-child(odd):last-child {
      grid-column: span 2;
    }

    .card img {
      height: 280px;
      width: 100%;
    }
  }
  

@media (max-width: 600px) {
    .cards-container {
        grid-template-columns: 1fr; /* single column on mobile */
        padding: 0 10px; 
        gap: 16px; 
    }

    .card {
        padding: 15px;
    }

    .card img {
        height: 150px; /* smaller image height */
        max-height: 180px;
    }

    .cards-section {
        padding: 20px 10px; /* reduce section padding */
    }
}



.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 40px;
}

.nav-links a {
 
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

.footer {
    background-color: #101010;
    color: #f0f0f0;
    padding: 40px 20px 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-column h4 {
    margin-bottom: 15px;
    color: #fbb10c;
}

.footer-column p,
.footer-column ul {
    font-size: 14px;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #fff;
}


.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 13px;
    border-top: 1px solid #333;
    margin-top: 20px;
}

/* icons */
.social-icons {
    display: flex;
    justify-content: flex-start; 
    gap: 30px;                
    padding-right: 40px;      
    align-items: center;
}


.social-icons a {
    color: #f0f0f0;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
    color: #fbb10c; 
    transform: scale(1.2);
}

.responsive-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}


@media (max-width: 768px) {
    .responsive-img {
        max-width: 80%; /* Reduce image size on smaller screens */
    }
}

/* Optional: further reduce image size on very small screens */
@media (max-width: 480px) {
    .responsive-img {
        max-width: 70%;
    }
}


.link a{
    text-decoration:none;
}


#ch-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f8f9fa; 
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  }
  
  .preloader-content {
    text-align: center;
    max-width: 300px;
  }
  
  .loader-animation {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
  }
  
  .loader-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top-color:rgb(238, 81, 67); 
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
  }
  
  .loader-circle:nth-child(2) {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-top-color:rgb(163, 12, 12); /* Darker blue */
    animation-delay: 0.15s;
  }
  
  .loader-circle:nth-child(3) {
    width: 50%;
    height: 50%;
    top: 25%;
    left: 25%;
    border-top-color:rgb(20, 10, 50); /* Purple accent */
    animation-delay: 0.3s;
  }
  
  @keyframes spin {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  .loader-text {
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 20px;
  }
  
  .loader-subtext {
    font-size: 12px;
    color: #adb5bd;
    margin-top: 8px;
    font-weight: 400;
  }
  
  /* Progress bar version (alternative) */
  .loader-progress {
    width: 200px;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    margin: 20px auto 0;
    overflow: hidden;
  }
    
  .loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg,rgb(238, 67, 67),rgb(163, 12, 12));
    animation: progress 2s ease-in-out infinite;
  }
  
  @keyframes progress {
    0% {
      width: 0%;
      transform: translateX(-50%);
    }
    50% {
      width: 100%;
      transform: translateX(0%);
    }
    100% {
      width: 0%;
      transform: translateX(100%);
    }
  }




