

/* Reset some default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #eae8e8;
    color: #333;
    scroll-behavior: smooth;
}

.rd-banner {
    margin-top: 80px; /* Adjust this value to the height of your navbar */
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.rd-banner img {
    max-width: 100%; /* Ensures that the image is not stretched beyond its width */
    max-height: 300px; /* Adjust based on your design preference */
    object-fit: contain; /* Change to 'cover' if you want the image to cover the space without being constrained */
}


/* Style the RD content section */
.rd-content {
    padding: 2rem;
    text-align: center;
    max-width: 800px;
    margin: 2rem auto;
    background-color: rgba(255,255,255,0.9);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rd-content h1 {
    color: rgb(139  , 84, 36);
    margin-bottom: 1rem;
}

.rd-content p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Hover effect for interactive elements */
.rd-content:hover, .nav-links a:hover, .dropdown-content a:hover {
    background-color: rgba(255,255,255,1);
    transition: background-color 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .rd-banner {
        height: 200px;
    }

    .rd-banner img {
        height: 200px;
    }

    .rd-content {
        padding: 1rem;
    }
}   





.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    background-color: white;
    color: #333;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background-color 0.5s;
    flex-wrap: wrap; /* Allow the navbar to wrap on smaller screens */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional: adds a shadow for better visibility */

  
  }
  
  .logo {
    height: 55px; /* Adjust the height to fit your design */
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    padding-left: 0;
    
  }
  
  .nav-links .dropdown {
    position: relative; /* Context for positioning the dropdown */
  }
  
  .nav-links li {
  padding: 5px 10px;
  }
  .dropdown {
    position: relative; /* Context for positioning the dropdown */
    display: inline-block; /* So that width can be applied */
  }
  .dropdown a {
    /* Assuming you want to style the dropdown trigger */
    padding: 0 20px; /* Adjust padding to control width */
  }
  .nav-links a {
    text-decoration: none;
    color: rgb(139  , 84, 36); /* New text color when the header-scrolled class is active */
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: rgba(205, 134, 72, 0.718);; /* Highlight color */
  }
  
  .dropdown-content {
    display: none;
    position: fixed; /* Fixed position relative to the viewport */
    top: 60px; /* Adjust this value so the dropdown starts right below the navbar */
    left: 0;
    width: 100vw;
    background-color: rgba(255, 255, 255, 0.871);
    backdrop-filter: blur(10px);
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    padding: 10px;
    border: 1px solid black;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    column-count: 2; /* Replace with the number of columns you want */
    column-gap: 20px; /* Adjust the gap between columns */
  
  }
  
  
  .dropdown-content li 
  {
    color: black;
    padding: 8px 12px; /* Padding inside each list item */
    text-decoration:none;
    display: block;
    text-align: left;
    clear: both; /* Clear any floats */
  }
  
  
  
  /* Style the dropdown content to be displayed when hovering over the dropdown */
  .dropdown:hover .dropdown-content {
    display: grid; /* Show as a grid on hover */
    grid-template-columns: repeat(2, 1fr); /* Example for two columns */
  
  
  }
  /* You might want to add styles for when hovering over the dropdown items */
  .dropdown-content li:hover {
    background-color: #ddd;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: rgb(139  , 84, 36); /* New text color when the header-scrolled class is active */
    font-weight: bold;
    font-size: larger;
  }
  .dropdown-link {
    color: black; /* Text color */
    text-decoration: none; /* No underline */
    padding: 8px 12px; /* Padding */
    display: block; /* Full-width link */
    background-color: transparent; /* Transparent background */
    transition: background-color 0.3s, color 0.3s; /* Smooth transitions for hover effects */
  }
  
  .dropdown-link:hover {
    background-color: #ddd; /* Background color on hover */
    color: black; /* Text color on hover */
  }   
  
  .dropdown-content a {
    font-size: 16px; /* Adjust the font size as needed */
    color: black; /* Set a different color */
    font-weight: normal; /* Set the weight to normal if desired */
  }
  .nav-links .dropdown .dropdown-content a {
    font-size: 16px; /* Set the desired font size */
    color: black; /* Set the desired color */
    font-weight: normal; /* Set the desired font weight */
    text-decoration: none; /* Removes underline from links */
    padding: 8px 12px; /* Optional: Adds padding for better spacing */
  }
 
  .rd-content:hover{
   transform: scale(1.1); 
  }
  .rd-content{
    transition: transform 0.3s ease-in-out;
  }
  
.dropdown-title {
  font-size: 18px; /* Set the font size for the title */
  font-weight: bold; /* Make it bold */
  color: black; /* Set the title color */
  padding: 20px 20px; /* Set the padding for the title */
  text-align:right; /* Center the text */
  pointer-events: none; /* Disable pointer events so it can't be clicked */
  grid-column: 1 / -1; /* This will make the title span all columns */

}