#error-page, #error-post {
    width: 80%;
    margin: 30px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 2px solid #d1d1d1;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: &#39;Arial&#39;, sans-serif;
}

#error-page h1, #error-post h1 {
    text-align: center;
    font-size: 36px;
    color: #333;
    font-weight: 700;
    padding: 15px 0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background-color: #ffcc00;
    border-radius: 5px;
}

#error-page p, #error-post p {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

#error-page ul, #error-post ul {
    list-style: none;
    padding: 0;
    text-align: center;
    margin-top: 20px;
}

#error-page ul li, #error-post ul li {
    margin-bottom: 10px;
}

#error-page a, #error-post a {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

#error-page a:hover, #error-post a:hover {
    color: #e04e00;
    text-decoration: underline;
}



  
.social-btn {
      display : block;
      position : fixed;
      bottom : 20%;
      right : 1%;
      background : grey;
      padding : 7px;
      border-radius : 10px;
      margin : 0px auto;
      z-index : 999;
      }
      
      #globe {
      display : block;
      padding : 10px 2px;
      color : white;
      text-align : center;
      
      }
      #close {
      display : none;
      padding : 10px 2px;
      color : white;
      text-align : center;
      
      }
      
  #whatsapp,#facebook,#x,#sms,#share {
      display : none;
      padding : 10px 2px;
      text-align : center;
      color : white;
      }
      
   .crossed-lines {
    position: relative;
    width: 30px;
    height: 30px;
}

/* General styling for the lines */
.line {
    position: absolute;
    background-color: white;
    top: 50%;
    left: 50%;
    transform-origin: center;
    transform: translate(-50%, -50%); /* Ensure the lines are fully centered */
}

/* Line-1 will consist of two parts (sub-divs) */
.line-1 {
    width: 100%;
    height: 2px;
    display: flex;
    justify-content: space-between;
    transform: rotate(55deg);
    border: 2px solid white;
    transform-origin: center;
    top: 50%;
    left: 50%;
    padding : 1px 0px;
    border-radius : 110px 0px;
    position: absolute;
    transform: translate(-50%, -50%) rotate(55deg); /* Adjust the position to be centered */
}

/* Sub-divs within line-1 */
.line-1 div {
    width: 2px;
    height: 100%; /* Full height for each sub-div */
}

/* Line-2 will be a single line crossing the X */
.line-2 {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, white 20%, transparent 50%, white 80%); /* Dissolve effect at the center */
    transform: rotate(-55deg);
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%) rotate(-55deg); /* Adjust the position to be centered */
}


     /* H1 Styles */
#header-abvnav {
    font-size: 2.0em;
    text-align: center;
    color: white;
    margin: 0 0 -3px 0;
    padding: 30px 15px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-weight: 900;
     background:white;
    cursor: pointer;
   
}
      
/* Block layout for widths below 800px */
      @media screen and (max-width: 800px) {
      
      #header-abvnav {
    font-size: 1.6em;
    
   
}
 }

 /* Adjust the Blogger comment form */
  .comments,.feed-links { 
      display : none;
      
      }
      
.comments .comment-form {
    display : none;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px; /* Slightly reduced padding for small devices */
    margin: 10px auto; /* Prevents excessive margins */
    width: 100%; /* Ensures it uses the full width of the container */
    max-width: 100%; /* Prevents horizontal overflow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensures padding is included in the total width */
}

/* Style individual comments */
.comments .comment {
    margin-bottom: 10px; /* Reduced margin for small screens */
    padding: 10px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Author and text styling */
.comments .comment-author {
    font-weight: bold;
    color: #333;
}

.comments .comment-body {
    font-size: 0.95em;
    line-height: 1.4;
    color: #555;
}

/* Add responsive adjustments */
@media (max-width: 768px) {
    .comments .comment-form,
    .comments .comment {
        padding: 10px;
        margin: 5px auto; /* Smaller margins for compact view */
    }

    .comments .comment-author {
        font-size: 1em; /* Adjust font size for readability */
    }

    .comments .comment-body {
        font-size: 0.9em; /* Slightly smaller font for smaller screens */
    }
}

      /* Hide author details */
.post-author, 
.page-author {
    display: none; /* Hides the author details */
}

/* Hide post or page title */
.post-title, 
.page-title {
    display: none; /* Hides the title */
}


      
     /* General Header Styles */
     
@keyframes headerBgAnimation {
    0% {
        background: radial-gradient(circle, #2466f2, #ffffff);
    }
    25% {
        background: radial-gradient(circle, #3177e8, #b3d1ff);
    }
    50% {
        background: radial-gradient(circle, #1e5ddf, #ffffff);
    }
    75% {
        background: radial-gradient(circle, #2466f2, #dbe9ff);
    }
    100% {
        background: radial-gradient(circle, #9e9906, #c7a614);
    }
}

header {
    height: 56px;
    color: black;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    font-family: &#39;Poppins&#39;, sans-serif;
    
    /* Animated Background */
    background: radial-gradient(circle, #9e9906, #ffffff);
    animation: headerBgAnimation 8s infinite alternate ease-in-out;
}


/* Navigation Links */
.nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    transition: max-height 0.3s ease-in-out;
    overflow: hidden;
}
      
.nav-links li {
    display: inline-block;
}

.nav-links a {
    color: black;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: capitalize;
}

.nav-links a:hover {
    color:#8690a3;
    transform: scale(1.1);
    text-decoration : none;
}

/* Home Button */
.home-button {
    text-decoration: none;
    color: black;
    font-size: 1.1em;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.home-button:hover {
    color:#8690a3;
    transform: scale(1.1);
}

/* Responsive Navigation Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger-menu div {
    width: 30px;
    height: 4px;
    background: black;
    border-radius: 2px;
}

#menu-toggle {
    display: none;
}

#menu-toggle:checked + .hamburger-menu + .nav-links {
    max-height: 300px;
    padding: 25px 4px;
}
#menu-toggle:checked ~  .nav-links {
    box-shadow: none; /* Remove box-shadow when nav-links are toggled */
    background : #ccc8c8;
    margin : -4px;
}

@media screen and (max-width: 950px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        max-height: 0;
        width: 100%;
        background:white;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding:0;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
       font-family: &#39;Poppins&#39;, sans-serif;
    }

    .nav-links a {
        padding: 15px;
        text-align: center;
    }

    .hamburger-menu {
        display: flex;
    }
}
      
      
h2 {
      text-align : left;
      font-size : 120%;
      text-transform : uppercase;
      color : black;
      margin : 15px 10px -5px 10px;
      }

      
 h3 {
      text-align : left;
      font-size : 90%;
      text-transform : capitalize;
      }

   .title-intro {
       text-align : left;
      font-size : 70%;
      line-height : 20px;
      letter-spacing : 0.5px;
      
      
      }  
      
   .site-name {
      font-size :140%;
      font-weight : bolder;
      text-transform :uppercase;
      
      }
      
.slider-container {
      width: 90%;
      overflow: hidden;
      position: relative;
      margin: 20px auto;
      margin-top : 5px;
    }

    .slider-wrapper {
      display: flex;
      transition: transform 0.5s ease-in-out;
      width: 100%; /* Will be dynamically adjusted via JS */
    }

    .slider-wrapper img {
      width: 100%; /* Each image should take full width of the container */
      flex-shrink: 0; /* Prevent shrinking */
      height: 100vh; /* Adjust as needed */
      object-fit: cover ;
    }

    .navigation {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
    }

    .navigation button {
      background-color: rgba(0, 0, 0, 0);
      border: none;
      color: white;
      padding: 10px 20px;
      cursor: pointer;
      border-radius: 7px;
      font-size: 16px;
      margin : 0px 6px;
    }

    .navigation button:hover {
      background-color: rgba(0, 0, 0, 0.2);
    }
      

@media (max-width: 500px) {
      .slider-container {
      width: 98%;
       height: 60vh;
      margin-top : -30px;
      margin-bottom : -40px;
      
    }
    .navigation button {
      margin : -10px;
    }
  .slider-wrapper img {
    height: 60vh; /* Further reduce height for very small devices */
    object-fit: scale-down ;
  }
}
    
.middle-section {
  background: linear-gradient(120deg, #a6c0fe, #f68084); /* Soft gradient (light blue and pink) */
  height: auto;
  padding: 10px;
  margin-bottom: -10px;
  position: relative;
  background-size: 400% 400%; /* This allows the background gradient to move */
  animation: gradientFlow 8s ease infinite; /* Flowing gradient animation */
  transition: transform 0.5s ease;
  width :calc(100% - 20px);
}



.middle-section.scroll-effect {
  animation: gradientFlow 8s ease infinite, scrollBackground 12s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes scrollBackground {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

.middle-section::before {
  content: &#39;&#39;;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2); /* Soft overlay to add a breeze-like effect */
  transition: opacity 0.3s ease;
  z-index: -1;
}



.static-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 10px;
    margin: 10px auto;
    margin-bottom : 40px;
    width: 90%;
    gap: 2px;
}

.static-post {
    perspective: 1000px;
    flex: 1 1 calc(22% - 15px);
    max-width: 22%;
    height: 350px;
    text-align: center;
    margin: 5px 0;
    position: relative;
    margin-bottom : 40px;
}

        .card {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.6s;
        }

        .static-post:hover .card {
            transform: rotateY(180deg);
        }

        .front, .back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            padding: 17px;
         
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }

        .front {
            background:#96a3a8;
        }

        .back {
            background: #1fc6f0;
            transform: rotateY(180deg);
            font-size: 100%;
            font-weight: bold;
            margin-left : -30px;
        }

        .static-post img {
            width: 100%;
            height: auto;
            display: block;
            border-radius: 6px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .static-post a {
            text-align: center;
            font-size: 1rem;
            color: black;
            font-weight: bold;
            text-decoration: none;
            text-transform: capitalize;
        }

        @media (max-width: 760px) {
       .static-content {
                gap: 10px;
      
                  }
            .static-post {
                flex: 1 1 calc(48% - 15px);
                max-width: 48%;
                height : 250px;
            }
        }

        @media (max-width: 600px) {
           .static-content {
                gap: 10px;
      
                  }
            .static-post {
                flex: 1 1 calc(42% - 25px);
                max-width: 42%;
                margin : 10px 10px 20px -10px;
                height : 250px;
            }
            
        }
      

      /* Homepage Layout */
.nmgtc-homepage {
   width : 90%;
  display: none;
  background: white;
  min-height: 100vh; /* Ensures minimum height matches the viewport height */
  margin : 10px auto ;
  box-sizing : border-box;
}
           
   /* Post container styling  */ 
body.post .post-content,body.static_page .static_page {
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  width: 100%; 
} 

/* Ensure images within posts/pages are responsive */
      .post-area img,
      .page-area img {
        max-width: 100%; /* Images won&#39;t exceed the container width */
        height: auto; /* Maintain aspect ratio */
      }
      
/* Style for Text Content */
      .post-area p,
      .page-area p {
        line-height: 1.6; /* Improve readability */
        font-size: 1em; /* Adjust base font size */
        color: #333; /* Text color */
      }
     
      
    
      
       /* Forms */
      
     /* Overlay styling with semi-transparent background */
.overlay-ms-bx {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 1); 
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px; 
  box-sizing: border-box; 
}

/* Message box styling with white background */
.overlay-message-box {
  background-color: white; 
  color: black; 
  padding: 20px;
  border-radius: 12px; 
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); 
  font-size: 1.5rem; 
  text-align: center;
  font-family: Arial, sans-serif;
  max-width: 90%; 
  width: 100%; 
  max-width: 400px; 
  line-height: 1.5;
  overflow-wrap: break-word; 
}

/* Responsive Design: For smaller screens */
@media (max-width: 768px) {
  .overlay-message-box {
    font-size: 1.2rem; 
    padding: 16px; 
  }
}

@media (max-width: 480px) {
  .overlay-message-box {
    font-size: 1rem; 
    padding: 12px; 
  }
}

      
      #login-form {
        display :none;
        padding :0;
        margin : 0;
        width : 100%;
        height : 100%;
        position : relative;
      }
      
      .form-container { 
        width : 370px;
        position : absolute;
        top :50%;
        left : 50%;
        transform : translate(-50%,-50%);
        padding : 10px;
        display : none;
      }
      
      #inside-form  { 
        margin : 20px 0px;
        background : white;
        width : calc(100% - 20px) ;
        padding : 15px 10px;
      }
      .login-form {
        display : none;
        width : 40%;
        margin : 10px auto;
      }
     
     
    form {
      display: block;
      transition: opacity 0.5s ease-in-out;
    }
    
    .login-form .form-head {
      font-size: 2em;
      text-align: center;
    }


    form.active {
      display: block;
      opacity: 1;
    }

    .login-form label {
      margin: 10px ;
      color: #333;
      font-weight: bold;
    }

     .login-form input, .login-form select {
      width: calc(100% - 18px);
      padding: 8px;
      margin: 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      box-sizing: border-box;
      position: relative;
      line-height : 20px;
      outline : none;
    }

   .login-form .login-form input:focus {
      border-color: #4caf50;
      outline: none;
      box-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
    }

    /* Password Visibility Toggle */
    .login-form .password-container {
      position: relative;
    }

     .password-container i {
       position: absolute;
      top: 50%;
      right: 4%;
      transform: translateY(-50%);
      background: none;
      border: none;
      cursor: pointer;
      outline: none;
      color: #555;
    }

    /* Message Box */
   .message-box {
  display: none; /* Default hidden */
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  text-align : center;
}
.message-box.success {
  display: block;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.message-box.error {
  display: block;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

   .submit {
     margin : 10px;
      padding: 10px 20px;
      font-size: 100%;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      background-color: #4caf50;
      color: #fff;
      transition: background-color 0.3s ease;
      width : 100px;
    } 
      
   #app-btn{
      display : block;
      text-align : center;
      margin : 15px auto;
      padding : 10px;
      background : #6b6b6b;
      color : white;
      width : 75%;
      border-radius : 6px;
      font-size : 90%;
      }
      
     #app-btn i {
       
       font-weight: 900;
      
      }
      
  /* --- This is responsive styling for small device with max width of 500px(phones and some tablets) --- */ 
   @media screen and (max-width: 500px) {
      
      .form-container  { 
        width : calc(100% - 30px);
      }
      
      #inside-form  { 
        width : calc(100% - 10px) ;
         margin : 10px 0px;
        background : white;
        width : calc(100% - 20px) ;
        padding : 15px 10px;
      }
      
      .login-form {
        width : 90%;
        
      }
      
      .submit {
       margin :10px;
       width : 100px;
    }
      
    #signup-form input {
      width: calc(100% - 10px);
      padding: 4px;
      margin: 5px 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      box-sizing: border-box;
      position: relative;
      line-height : 9px;
      
    }
      
    #signup-form label {
       font-size: 80%;
      margin: 5px 10px ;
      color: #333;
      font-weight: bold;
    }
    
    #signup-form .submit {
     margin : 5px 10px;
      padding: 5px 20px;
      font-size: 80%;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      background-color: #4caf50;
      color: #fff;
      transition: background-color 0.3s ease;
      width : 100px;
    } 
      
      
      
      
      
    /* Popup container */
    .popup {
      width: 50%;
    }
   
  }
      
     /* Styles for the div button */
    .account-button {
      display: inline-block;
      padding: 10px 20px;
      background-color: #007bff;
      color: white;
      text-align: center;
      cursor: pointer;
      border-radius: 5px;
      font-family: Arial, sans-serif;
    }

    /* Popup container */
    .contact-popup,.popup {
      display: none; /* Initially hidden */
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      z-index: 1000;
      width: 300px;
      padding: 10px;
      height : 300px;
      background-color:#e6e3e3;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      border-radius: 5px;
      text-align: center;
    }

    /* Overlay */
    .overlay1,.overlay {
      display: none; /* Initially hidden */
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      z-index: 999;
    }
      
      .contactpop-container,.pop-container {
        position: fixed;
        top: 50%;
        left: 50%;
        transform : translate(-50%,-50%);
        width: 100%;
      }

    /* Buttons inside the popup */
    #contactCall1,#contactCall2 {
      display : block;
      margin:20px auto;
      width: 60%;
      padding: 15px 30px;
      background-color: grey;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      text-transform : uppercase;
      
    }
      .popup button {
      margin: 10px;
      padding: 15px 30px;
      background-color: #007bff;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      text-transform : uppercase;
      
    }

    .popup button:hover {
      background-color: #0056b3;
    } 
      
    @media screen and (max-width: 500px) {
      
    /* Popup container */
    .popup {
      width: calc(100% - 30px);
    }
   
  }
      
   .footer {
    width: calc(100% - 20px);
    display: flex;
    justify-content: space-around;
    align-items: left;
    padding: 10px;
    background-color:#365c69;
    color: #fff;
    margin: 10px auto;
  }
      
  .footer-section {
      flex : 1 1 (33.33% - 40px);
      align-items : left;
      
      
      }
      
  .footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #f39c12;
    text-align: left;
  }

  .footer-section p, .footer-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .footer-section ul li {
    margin: 5px 0;
  }

  .footer-section ul li a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s;
  }

  .footer-section ul li a:hover {
    color: #f39c12;
  }

  a {
    text-decoration: none;
    color: inherit;
  }
 .footer-bottom {
    text-align: center;
    background-color: black;
    color: #fff;
    padding: 10px 0;
    font-size: 14px;
    margin-top : -10px;
  }     
      
 
      
 @media screen and (max-width: 600px) {
     .footer {
      
    width : calc(100% - 40px);
    flex-direction : column;
    padding: 20px;
    background-color: #365c69;
    color: #fff;  
  }
  
  }
      
      
      
/* General Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

      
      
      
/* Fade-in animation for posts as they &quot;appear&quot; */
.post-container {
    animation: fadeIn 1s ease-in-out;
    opacity: 0; /* Start invisible */
    animation-fill-mode: forwards; /* Stay in the final state */
}

/* Animation for hover effects */
.post-container:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

/* Add a subtle animation to post title hover */
.post-title:hover {
    text-decoration: underline;
    transition: all 0.3s ease-in-out;
}

/* Sticky Header */
header {
    animation: slideIn 1s ease-in-out;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Scroll Animation with CSS 
.scroll-section {
    margin: 50px 0;
    animation: fadeIn 1.5s ease-in-out;
}*/

/* Static Fade for homepage sections */
.welcome-message, .home-page-content {
    animation: fadeIn 1.5s ease-in-out;
    animation-delay: 0.2s; /* Add a delay for staggered effects */
}

/* Pagination animation */
.pagination button {
    transform: translateY(0);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.pagination button:hover {
    transform: translateY(-5px); /* Lift the button */
    background-color: #ffcc00; /* Change color on hover */
}

/* Footer animations */
footer {
    animation: fadeIn 2s ease-in-out;
}
      
 a {
    text-decoration: none; /* Removes underline by default */
  }

  a:hover {
    text-decoration: none; /* Ensures no underline appears on hover */
  }
     

      
  


