.image-frame {
    position: relative;
    border: 20px solid #4F4F4F; /* Border color */
    border-radius: 50%; /* Smooth rounded corners */
    background: linear-gradient(45deg, #C0C0C0, #D3D3D3, #E8E8E8, #F5F5F5);
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.5); /* Shadow on the frame */
    padding: 15px;
}

.image-frame img {
    width: 200px;
    height: auto;
    border-radius: 50%; /* Match the frame's corners */
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.3); /* Inner shadow for the image */
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #B8B8B8, #C0C0C0, #D6D6D6, #ECECEC);
 /* Outer gradient effect */
    border-radius: 50%; /* Match the frame's corners */
    z-index: -1; /* Behind the frame */
    box-shadow: 15px 15px 30px rgba(0, 0, 0, 0.3); /* Outer shadow */
}

.image-frame::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 5px solid rgba(255, 255, 255, 0.8); /* Inner decorative border */
    border-radius: 50%; /* Match the frame's corners */
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1); /* Subtle inner shadow */
}

.card .image-frame {
    position: relative;
    overflow: hidden;
}


.card:hover .overlay-caption {
    opacity: 1;
    pointer-events: auto; /* Enable mouse interactions when visible */
}


.overlay-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background */
    color: white;
    display: none; /* Hide by default */
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    transform: translateY(-100%); /* Initially move the overlay out of view */
    transition: transform 0.3s ease-in-out;
}

.card:hover .overlay-caption {
    display: flex; /* Show the overlay on hover */
    transform: translateY(0); /* Bring the overlay into view */
}


.info-card-modern {
    width: 100%;
    text-align: left;
    text-align: justify;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border-radius: 12px;
    padding: 20px;
    max-width: 450px;
    margin: 0 auto;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
    position: relative;
    overflow: hidden;
    
}

.info-section {
    margin-bottom: 20px;
    padding: 15px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    
}

.info-title {
    font-size: 1.4em;
    color: #0d47a1;
    margin-bottom: 10px;
    border-left: 5px solid #2196f3;
    padding-left: 10px;
    font-weight: bold;
}

.info-text {
    font-size: 1.1em;
    color: #555;
    margin: 0;
}

.info-content p {
    font-size: 1em;
    margin: 5px 0;
    line-height: 1.6;
    color: #333;
}

.info-content strong {
    color: #0d47a1;
}


/* Styling the 'More' Button */
.btn-more {
    display: inline-block;
    background: linear-gradient(145deg, #6a11cb, #2575fc); /* Gradient background */
    color: white; /* White text */
    font-size: 16px; /* Font size */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
    font-weight: 600; /* Slightly bolder text */
    padding: 12px 25px; /* Padding to give space around the text */
    text-align: center; /* Center text */
    border-radius: 30px; /* Rounded corners */
    text-decoration: none; /* Remove underline */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow effect */
    transition: all 0.3s ease; /* Smooth transition for hover and focus */
    cursor: pointer; /* Pointer cursor */
    margin-bottom: 5px;
}

/* Hover Effect */
.btn-more:hover {
    background: linear-gradient(145deg, #2575fc, #6a11cb); /* Reverse the gradient on hover */
    transform: translateY(-4px); /* Slight lift on hover */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
}

/* Active State (when button is clicked) */
.btn-more:active {
    transform: translateY(2px); /* Button slightly presses down on click */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Lighter shadow on click */
}

/* Focus State (when button is focused via keyboard) */
.btn-more:focus {
    outline: none; /* Remove default outline */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4); /* Custom outline to indicate focus */
}


/* Modal Content Styling */
.modal-content {
    background-color: #f7f7f7; /* Light background color for the modal */
    border-radius: 10px; /* Rounded corners */
    border: none; /* Remove default border */
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15); /* Soft shadow effect */
}

/* Modal Header Styling */
.modal-header {
    background-color: #0288d1; /* Blue background for the header */
    color: white; /* White text */
    border-radius: 10px 10px 0 0; /* Rounded top corners */
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.75rem; /* Larger, bold title */
    font-weight: bold;
    text-transform: uppercase; /* Uppercase title */
}

.custom-close-btn {
    background-color: transparent;
    color: white;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.custom-close-btn:hover {
    color: #ff4081; /* Change color on hover */
    transform: scale(1.2); /* Slight zoom effect */
}

/* Modal Body Styling */
.modal-body {
    padding: 30px;
}

.modal-body img {
    max-width: 100%; /* Make the image responsive */
    height: auto;
    border-radius: 10px; /* Rounded corners for the image */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Soft shadow effect for the image */
}

.modal-description {
    font-size: 1.1rem;
    color: #555;
    font-weight: 300; /* Light font weight */
    margin-top: 20px; /* Space above the description */
}

/* Adjustments for Small Screens */
@media (max-width: 768px) {
    .modal-dialog {
        max-width: 90%;
    }
}


.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
  }
  

  .pearl {
    background: linear-gradient(135deg, #c39bd3, #9c27b0);
    border-radius: 25px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    margin: 5px ;
    position: relative;
    overflow: hidden;
    border: 2px solid #fff;
}

.pearl::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 0;
    width: 200%;
    height: 80%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewY(-10deg);
    animation: slide-effect 4s infinite linear
}

@keyframes slide-effect {
    0% {
        transform: translateX(-100%) skewY(-10deg);
    }
    100% {
        transform: translateX(100%) skewY(-10deg);
    }
}

.pearl-header {
    text-align: center;
    padding: 80px 30px;
    background: linear-gradient(135deg, #ffffff, #8e44ad);
    border-radius: 25px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
    margin: 50px auto;
    max-width: 800px;
    position: relative;
    overflow: hidden;
}

.pearl-header::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-50%) rotate(45deg);
    animation: shimmer 4s infinite linear;
}

@keyframes shimmer {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(360deg);
    }
}

.pearl-header h1 {
    font-family: 'Arial', sans-serif;
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
    position: relative;
    line-height: 1.3;
}

.pearl-header h1:hover {
    color: #f39c12;
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
    transition: all 0.3s ease-in-out;
}

/* Global Reset */
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
    scroll-behavior: smooth;
  }

.parallax-container {
position: relative;
overflow: hidden;
display: flex;
align-items: flex-end;
}

.parallax-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 110%;
background-image: url('new_enhanced.jpg'); /* Replace with actual path */
background-attachment: fixed; /* Creates the parallax effect */
background-size: cover;
background-position: center bottom;
z-index: -1; /* Send the image to the back */
animation: float 6s infinite ease-in-out; /* Floating animation */
}

/* Keyframes for Floating Movement */
@keyframes float {
0% {
  transform: translateY(0) ; /* Original position */
}
25% {
  transform: translateY(-10px) ; /* Slight upward and clockwise tilt */
}
50% {
  transform: translateY(-15px) ; /* Peak upward movement with counterclockwise tilt */
}
75% {
  transform: translateY(-10px) ; /* Back down slightly with clockwise tilt */
}
100% {
  transform: translateY(0) ; /* Return to original position */
}
}

.parallax-content {
width: 100%;
height: 100%;
padding: 20rem;
color: #fff;
text-align: center;
animation: fadeIn 1s ease-in-out; /* Add a fade-in effect for the content */
}

@keyframes fadeIn {
from {
  opacity: 0;
  transform: translateY(20px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

/* Breadcrumbs Custom Title */
.breadcrumbs-custom-title {
font-size: 3rem; /* Large and prominent */
font-weight: 700; /* Bold text for emphasis */
margin-bottom: 1rem; /* Space below the title */
text-transform: uppercase; /* Make the title all caps */
color: #ffffff; /* White text for contrast */
text-align: center; /* Center align the title */
letter-spacing: 2px; /* Space between letters for elegance */
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Add a subtle shadow for depth */
animation: fadeInDown 1s ease-out; /* Smooth entrance animation */
}

/* Breadcrumbs Path */
.breadcrumbs-custom-path {
list-style: none; /* Remove bullet points */
padding: 0;
margin: 0 auto;
display: inline-flex; /* Align items in a horizontal line */
gap: 0.5rem; /* Space between items */
font-size: 1rem; /* Medium font size for readability */
color: #f0f0f0; /* Light color for contrast */
justify-content: center; /* Center align the breadcrumbs */
}

.breadcrumbs-custom-path li {
display: flex;
align-items: center; /* Align items vertically */
}

.breadcrumbs-custom-path a {
color: #aaa; /* Muted color for links */
text-decoration: none; /* Remove underline */
font-weight: 600; /* Slightly bold */
transition: color 0.3s ease, transform 0.3s ease; /* Smooth hover transition */
}

.breadcrumbs-custom-path a:hover {
color: #fff; /* Brighten the link on hover */
transform: scale(1.1); /* Slight scaling effect */
text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.7); /* Add a glowing effect */
}

.breadcrumbs-custom-path .active {
color: #fff; /* White color for the active page */
font-weight: bold; /* Emphasize the active page */
text-decoration: underline; /* Add an underline to highlight */
}

/* Animation for the Title */
@keyframes fadeInDown {
from {
  opacity: 0;
  transform: translateY(-20px); /* Start above */
}
to {
  opacity: 1;
  transform: translateY(0); /* End at normal position */
}
}

@keyframes slide-effect {
0% {
    transform: translateX(-100%) skewY(-10deg);
}
100% {
    transform: translateX(100%) skewY(-10deg);
}
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .parallax-content {
      padding: 25rem 1rem; /* Adjust padding for smaller screens */
    }
    .im{
      width: 100%;
    }
    
    .parallax-container::before {
      background-attachment: scroll; /* Fix parallax issue on mobile */
      background-position: top center; /* Adjust background positioning */
    }
    
    .pearl-header h1{
        font-size: x-large;
      }
      .modal-header h5{
        font-size: 1rem !important;
      }
    
  
    .breadcrumbs-custom-title {
      font-size: 2rem; /* Slightly smaller title */
      margin-bottom: 0.5rem; /* Reduce margin on mobile */
    }
  
    .breadcrumbs-custom-path {
      font-size: 0.875rem; /* Smaller font size */
      flex-direction: column; /* Stack breadcrumbs vertically */
    }
  
    .breadcrumbs-custom-path li {
      align-items: flex-start; /* Align breadcrumb items to the left */
    }
  
    .breadcrumbs-custom-path a {
      font-size: 0.875rem; /* Adjust link font size */
    }
  
    /* Mobile-specific animation adjustments */
    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-10px); /* Less dramatic movement */
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
  }
  
  /* Further optimization for very small screens (mobile-first) */
  @media (max-width: 480px) {
    .parallax-content {
      padding: 15rem 1rem; /* Further adjust padding */
    }
  
    .breadcrumbs-custom-title {
      font-size: 1.5rem; /* Further reduce the font size */
    }
  
    .breadcrumbs-custom-path {
      font-size: 0.75rem; /* Even smaller breadcrumb font */
    }
  
    .breadcrumbs-custom-path li {
      margin-bottom: 0.25rem; /* Add some spacing between breadcrumbs */
    }
  }
  