/* Theme Name: Humaita Milsim
   Description: Custom WordPress theme
   Author: Your Name
   Version: 1.0
   Author URI: humaitamilsim.com
*/




   /* General Styles */
   body {
     font-family: Arial, sans-serif;
     margin: 0;
     padding: 0;
     background-color: #1f1f1f;
     color: #fff;
   }
  /* .blog{
       background-color: #1a1a1a;
   } */
   .container {
     width: 95%; /* Increased width to occupy most of the screen */
     max-width: 1400px; /* Increased max-width */
     margin: 0 auto;
     padding: 0px 0;
   }
   a {
    text-decoration: none !important;
}

   /* Header Styles */
   header {
     background-color: #000; /* Solid black background */
     padding: 0; /* No padding */
     position: relative;
     z-index: 1000;
   }

   .header-content {
     display: flex;
     align-items: center;
     justify-content: space-between; /* Adjust spacing */
   }

   .logo {
    margin-right: auto; /* Push the logo to the left */
    
   }

   .logo img {
     height: 70px; /* Adjust logo size as needed */
     
      
   }

   .socialicon img {
       height: 10px;
       padding: 0px;
       margin: 0px;
   justify-content: right;

   }

   nav {
   position: static; /* Remove the absolute positioning */
  transform: none; /* Remove the transform */
  margin: 0 auto; /* Center the nav within the available space */
   }

   nav ul {
     list-style: none;
     margin: 0;
     padding: 0;
     display: flex;
     align-items: center;
     font-size: 0; /* Remove gaps between inline elements */
   }

   nav ul li {
     margin: 0; /* Remove default margin */
     padding: 0; /* Remove default padding */
     font-size: 16px; /* Reset font size */
   }

   nav ul li a {
     color: #fff;
     text-decoration: none;
     font-weight: bold;
     padding: 2px 8px; /* Reduced padding for links */
     line-height: 1; /* Reduce line height */
     display: block;
     font-family: 'Quantico', sans-serif; /* Apply Quantico font */
     font-size: 22px; /* Reduced font size */
     transition: color 0.3s ease; /* Smooth transition for font color */
     margin-right: 10px; /* Spacing between words on the header */
   }

   nav ul li a:hover {
     color: #ff0000; /* Change font color to red on hover */
   }

   /* Dropdown Menu */
   .dropdown {
     display: none;
     position: absolute;
     top: 100%;
     left: 0;
     background-color: #000;
     border: 1px solid #ff0000;
     border-radius: 5px;
     padding: 5px 0; /* Reduced padding for dropdown */
   }

   .dropdown li {
     margin: 0;
   }

   .dropdown li a {
     padding: 5px 15px; /* Reduced padding for dropdown links */
     font-family: 'Quantico', sans-serif; /* Apply Quantico font */
     font-size: 14px; /* Reduced font size */
     color: #fff; /* Default font color */
     transition: color 0.3s ease; /* Smooth transition for font color */
   }

   .dropdown li a:hover {
     color: #ff0000; /* Change font color to red on hover */
   }

   nav ul li:hover .dropdown {
     display: block;
   }

   /* Carousel Section */
   .carousel {
     position: relative;
     height: 100vh; /* Full viewport height */
     overflow: hidden;
     background-color: #333; /* Fallback background color */
     margin-top: 0px; /* Adjust this value to align properly with the header */
   }

   .carousel img {
     width: 100%;
     height: 100%;
     object-fit: cover;
     position: absolute;
     top: 0;
     left: 0;
     opacity: 0;
     transition: opacity 1s ease-in-out;
     margin-bottom: 10px;
   }

   .carousel img.active {
     opacity: 1;
   }

   /* Carousel Navigation Dots */
   .carousel-dots {
     position: absolute;
     bottom: 20px;
     left: 50%;
     transform: translateX(-50%);
     display: flex;
     gap: 10px;
   }

   .carousel-dots .dot {
     width: 10px;
     height: 10px;
     background-color: rgba(255, 255, 255, 0.5);
     border-radius: 50%;
     cursor: pointer;
   }

   .carousel-dots .dot.active {
     background-color: #ff0000;
   }

   /* About Us Section */
   .about-us {
     padding: 80px 0; /* Increased padding for a larger section */
     background-color: #1a1a1a; /* Dark background */
   }

   .about-us .container {
     display: flex;
     align-items: center; /* Center items vertically */
     gap: 40px; /* Space between logo and text */
   }

   .about-us .logo-container img {
     width: 300px; /* Large logo size */
     height: auto; /* Maintain aspect ratio */
   }

   .about-us .text-container {
     flex: 1; /* Take up remaining space */
   }

   .about-us h2 {
     font-size: 36px; /* Large title */
     color: #fff;
     margin-bottom: 20px; /* Space below title */
     font-family: 'Quantico', sans-serif; /* Apply Quantico font */
   }

   .about-us p {
     font-size: 18px; /* Larger text for readability */
     color: #ccc;
     line-height: 1.6; /* Improve line spacing */
     margin-bottom: 30px; /* Space below paragraph */
   }

   .about-us ul {
    font-size: 18px; /* Larger text for readability */
    color: #ccc;
    line-height: 1.6; /* Improve line spacing */
    margin-bottom: 30px; /* Space below paragraph */
  }

   .about-us .btn {
     display: inline-block;
     width: 250px;
     padding: 10px 20px;
     background-color: #ff0000; /* Red button */
     color: #fff;
     text-decoration: none;
     font-family: 'Quantico', sans-serif; /* Apply Quantico font */
     font-size: 16px;
     border-radius: 5px; /* Rounded corners */
     transition: background-color 0.3s ease; /* Smooth hover effect */
   }

   .about-us .btn:hover {
     background-color: #cc0000; /* Darker red on hover */
   }
   /*
   .about-us ul {

    margin-right:30px;
    position:absolute


   }
   */
   /* Main Content Styles */
   .main-content {
     background-color: #1f1f1f;
     display: flex;
     flex-direction: column; /* Stack containers vertically */
     gap: 20px; /* Space between containers */
   }

   .content-container {
     display: flex;
     align-items: center;
     background-color: #1a1a1a; /* Dark background for containers */
     border-radius: 0; /* Sharp corners */
     overflow: hidden;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     min-height: 300px; /* Increased vertical size of containers */
     margin: 50px;
   }

   .content-container:hover {
 /*     transform: scale(1.02); Slightly grow on hover */
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); */ /* Shadow on hover */
   }

   /* Image on the left (default) */
   .content-container img {
     width: 400px; /* Increased width for images (200% larger) */
     height: 300px; /* Increased height for images (200% larger) */
     object-fit: cover; /* Ensure images cover the container */
     margin-right: 25px; /* Space between image and text (5px more to the right) */
     border-radius: 0; /* Sharp corners for images */
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); /* Floating effect */
   }

   /* Image on the right for even containers */
   .content-container:nth-child(even) {
     flex-direction: row-reverse; /* Reverse the order for even containers */
   }

   .content-container:nth-child(even) img {
     margin-right: 0; /* Remove right margin */
     margin-left: 25px; /* Add left margin (5px more to the right) */
   }

   .content-text {
     flex: 1; /* Take up remaining space */
     padding: 20px;
   }

   .content-text h2 {
     margin: 0 0 10px;
     font-size: 24px;
     color: #fff;
   }

   .content-text ul {
     margin: 0 0 10px;
     padding-left: 20px;
   }

   .content-text ul li {
     margin-bottom: 5px;
     font-size: 16px;
     color: #ccc;
   }

   .content-text p {
     margin: 0;
     font-size: 16px;
     color: #ccc;
   }

      /* Gallery */
   /* Gallery Carousel Styles */
.gallery-carousel {
  padding: 50px 0;
  background-color: #1a1a1a;
}

.gallery-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-image {
  position: relative;
  height: 70vh;
  
  margin-bottom: 20px;
  align:center
}

.main-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border: 2px solid #ff0000;
}

.main-image img.active {
  opacity: 1;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: #fff;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 10px 15px;
  z-index: 100;
  transition: all 0.3s ease;
}

.arrow:hover {
  color: #ff0000;
  background-color: rgba(0, 0, 0, 0.8);
}

.prev {
  left: 20px;
}

.next {
  right: 20px;
}

.thumbnails {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 0;
}

.thumb {
  width: 200px;
  height: 120px;
  margin: 50px;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.thumb:hover,
.thumb.active {
  opacity: 1;
  border-color: #ff0000;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Google form style*/ 

.custom-form {
  padding: 20px;
  background-color: #1a1a1a;
  margin-top: 20px;
}
.form-group {
  margin-bottom: 15px;
}
label {
  display: block;
  margin-bottom: 5px;
}
input[type="radio"] {
  margin-right: 10px;
}
button {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
button:hover {
  background-color: #0056b3;
}


/* Gallery Preview Styles */
.gallery-preview {
  width: 100%;
  padding: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.gallery-grid img {
  width: 100%;
  
  object-fit: cover;
  border: 2px solid #ff0000;
 
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Split Section Styles */
.split-section {
  background-color: #1a1a1a;
  padding: 50px 0;
}

.split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.split-column {
  padding: 20px;
  border: 1px solid #333;
}

.split-column h2 {
  color: #fff;
  font-family: 'Quantico', sans-serif;
  margin-bottom: 15px;
  font-size: 24px;
}

.split-column li {
  
  color: #ccc;
}

.split-column p {
  line-height: 1.6;
  color: #ccc;
}

.split-column img.split-image {
  width: 100%; /* Make the image take up the full width of the column */
  height: auto; /* Maintain the aspect ratio */
  max-height: 200px; /* Set a maximum height to prevent the image from being too large */
  object-fit: cover; /* Ensure the image covers the area without distortion */
  border-radius: 5px; /* Optional: Add rounded corners */
  margin-bottom: 15px; /* Add some space below the image */
}


/* Remove original card styling for the split section */
.split-section .content-container {
  background-color: transparent;
  box-shadow: none;
  margin: 0;
}

/* Social Media Button Styles */
.social-media {
  margin-left: 20px;  /* Push the social media button to the right */
  padding: 0 12px; /* Add some padding if needed */
}

.social-media img {
  height: 30px; /* Adjust the size of the social media icon */
  width: auto; /* Maintain aspect ratio */
  transition: opacity 0.3s ease; /* Smooth hover effect */
}

.social-media img:hover {
  opacity: 0.8; /* Slight fade on hover */

}

  .split-section .btn {
     display: inline-block;
     padding: 10px 20px;
     background-color: #ff0000; /* Red button */
     color: #fff;
     text-decoration: none;
     font-family: 'Quantico', sans-serif; /* Apply Quantico font */
     font-size: 16px;
     border-radius: 5px; /* Rounded corners */
     transition: background-color 0.3s ease; /* Smooth hover effect */
}


/* Style for google sheet form */


.newform body{
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
.newform {
	width: 500px;
	padding: 30px;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	background-color: #003b5b;
    box-sizing: border-box;
	padding: 0;
	margin: 0;
	font-family: 'poppins', sans-serif;
	font-size: 18px;
}
.newform h4{
	margin-bottom: 10px;
	font-size: 24px;
	color: white;
}
.newforn input{
	width: 100%;
	padding: 10px;
	margin-bottom: 10px;
}
.newform textarea{
	width: 100%;
	padding: 10px;
}
#submit{
	border: none;
	background-color: orangered;
	color: white;
	width: 200px;
	margin-top: 10px;
	border-radius: 5px;
}
#submit:hover{
	background-color: #333333;
}


/* Mobile-Friendly Adjustments */
@media screen and (max-width: 1024px) {
  /* Adjust container width */
  .container {
    width: 90%;
    padding: 0 10px;
  }

  /* Header adjustments */
  .header-content {
    flex-wrap: wrap; /* Allow elements to wrap */
    justify-content: center;
    text-align: center;
  }

  .logo img {
    height: 60px; /* Slightly smaller logo */
  }

  /* Navigation adjustments */
  nav ul {
    flex-wrap: wrap; /* Allow items to break into new rows */
    justify-content: center;
  }

  nav ul li {
    margin-bottom: 10px; /* Add spacing for stacked items */
  }

  /* Social media icons */
  .social-media {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
  }

  .social-media img {
    height: 25px;
    margin: 0 5px;
  }

  /* Carousel adjustments */
  .carousel {
    height: 50vh; /* Reduce height */
  }

  .carousel img {
    object-fit: contain;
  }

  /* About Us Section */
  .about-us .container {
    flex-direction: column;
    text-align: center;
  }

  .about-us .logo-container img {
    width: 80%;
    margin-bottom: 20px;
  }

  .about-us p {
    font-size: 16px;
  }

  /* Gallery Grid */
  .gallery-grid {
    grid-template-columns: 1fr; /* Single column on smaller screens */
  }

  .gallery-grid img {
    width: 100%;
  }

  /* Split Section Adjustments */
  .split-container {
    grid-template-columns: 1fr; /* Stack sections vertically */
    text-align: center;
  }

  .split-column img.split-image {
    max-width: 100%;
    height: auto;
  }

  .split-column ul {
    padding: 0;
  }

  /* Content Sections */
  .content-container {
    flex-direction: column;
    text-align: center;
  }

  .content-container img {
    width: 100%;
    height: auto;
    margin: 0 auto 20px;
  }
}

/* Smaller Screens (Mobile) */
@media screen and (max-width: 768px) {
  /* Header */
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin-bottom: 10px;
  }

  .logo img {
    height: 50px;
  }

  /* Adjust buttons */
  .btn {
    width: 250px;
    text-align: center;
  }

  /* Reduce padding for sections */
  .about-us,
  .split-section {
    padding: 40px 0;
  }

  .content-container {
    margin: 20px 0;
  }

  .split-column {
    padding: 15px;
  }

  /* Adjust gallery thumbnails */
  .thumbnails {
    flex-wrap: wrap;
    gap: 5px;
  }

  .thumb {
    width: 80px;
    height: 60px;
  }
}
/* Recruitment Section */
.recruitment {
  text-align: center;
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.recruitment h1 {
  font-size: 36px;
  color: #ff0000;
  font-family: 'Quantico', sans-serif;
}

.recruitment p {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 20px;
}

#countdown {
  font-size: 32px;
  font-weight: bold;
  color: #fff;
  background: #ff0000;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
}

#countdown span {
  margin: 0 5px;
}

/* Recruitment Form Section */
.recruitment-form {
  text-align: center;
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.recruitment-form h1 {
  font-size: 36px;
  color: #ff0000;
  font-family: 'Quantico', sans-serif;
}

.recruitment-form p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 20px;
}

.recruitment-form form {
  max-width: 600px;
  margin: 0 auto;
  background: #222;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.recruitment-form label {
  display: block;
  font-size: 18px;
  color: #fff;
  margin-top: 10px;
  text-align: left;
}

.recruitment-form input,
.recruitment-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  background: #333;
  color: #fff;
  border: 1px solid #ff0000;
  border-radius: 5px;
  margin-top: 5px;
}

.recruitment-form textarea {
  resize: vertical;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.radio-group input {
  display: none;
}

.radio-group label {
  font-size: 18px;
  color: #ccc;
  background: #333;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.radio-group input:checked + label {
  background: #ff0000;
  color: #fff;
  border-color: #fff;
}

button {
  display: block;
  width: 100%;
  padding: 12px;
  font-size: 18px;
  background-color: #ff0000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
  transition: background 0.3s ease;
}

button:hover {
  background: #cc0000;
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .recruitment-form form {
    width: 90%;
    padding: 15px;
  }

  .recruitment-form h1 {
    font-size: 28px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .radio-group label {
    display: block;
    text-align: center;
    width: 100%;
  }
}
/* Discord Section */
.discord-section {
  text-align: center;
  margin-top: 30px;
}

.discord-section p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 15px;
}

.discord-btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #5865F2; /* Discord Blue */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.discord-btn:hover {
  background-color: #404EED;
}




/* News Section */
.news {
  text-align: center;
  padding: 80px 20px;
  background-color: #1a1a1a;
}

.news h1 {
  font-size: 36px;
  color: #ff0000;
  font-family: 'Quantico', sans-serif;
}

.news p {
  font-size: 18px;
  color: #ccc;
  margin-bottom: 20px;
}

.news-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

/* Individual News Items */
.news-item {
  display: flex;
  background: #222;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.news-item:hover {
  transform: scale(1.02);
}

.news-item img {
  width: 40%;
  height: auto;
  object-fit: cover;
}

.news-content {
  padding: 20px;
  text-align: left;
  flex: 1;
}

.news-content h2 {
  font-size: 24px;
  color: #fff;
  margin-bottom: 10px;
}

.news-content p {
  font-size: 16px;
  color: #ccc;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #ff0000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

.read-more:hover {
  background-color: #cc0000;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .news-container {
    flex-direction: column;
  }

  .news-item {
    flex-direction: column;
    text-align: center;
  }

  .news-item img {
    width: 100%;
    height: auto;
  }

  .news-content {
    text-align: center;
  }
}

/* Recruitment Form Styling */
.recruitment-form {
    text-align: center;
    padding: 50px 20px;
    background-color: #1a1a1a;
}

.recruitment-form h1 {
    font-size: 36px;
    color: #ff0000;
    font-family: 'Quantico', sans-serif;
}

.recruitment-form p {
    font-size: 18px;
    color: #ccc;
    margin-bottom: 20px;
}

.recruitment-form form {
    max-width: 500px;
    margin: 0 auto;
    background: #222;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.recruitment-form label {
    display: block;
    font-size: 16px;
    color: #fff;
    margin-top: 10px;
    text-align: left;
}

.recruitment-form input,
.recruitment-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background: #333;
    color: #fff;
    border: 1px solid #ff0000;
    border-radius: 5px;
    margin-top: 5px;
}

.recruitment-form textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}

.radio-group input {
    display: none;
}

.radio-group label {
    font-size: 18px;
    color: #ccc;
    background: #333;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.radio-group input:checked + label {
    background: #ff0000;
    color: #fff;
    border-color: #fff;
}

button {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 18px;
    background-color: #ff0000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.3s ease;
}

button:hover {
    background: #cc0000;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .recruitment-form form {
        width: 90%;
        padding: 15px;
    }

    .recruitment-form h1 {
        font-size: 28px;
    }

    .radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .radio-group label {
        display: block;
        text-align: center;
        width: 100%;
    }
}
#thankYouMessage {
    text-align: center;
    padding: 100px 20px;
    background-color: #1a1a1a;
    color: white;
}

#thankYouMessage h1 {
    font-size: 2.5em;
    color: #ff0000;
    margin-bottom: 20px;
    font-family: 'Quantico', sans-serif;
}

#thankYouMessage p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.return-btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-family: 'Quantico', sans-serif;
}

.return-btn:hover {
    background-color: #cc0000;
}