* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: white;
  color: #1a1a1a;
}

.create-list-btn {
  background-color: #2f67f3; /* or your preferred red */
  color: white !important;
  padding: 6px 14px; /* smaller padding */
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500; /* medium instead of bold */
  text-decoration: none;
  display: inline-block;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: none; /* remove heavy shadow */
}

.create-list-btn:hover {
  background-color: #ffc000;
  transform: translateY(-1px);
}

.create-list-btn:active {
  transform: translateY(0);
}


.form-control {
    font-family: Arial, sans-serif; /* Specify your desired font stack */
    font-size: 14px; /* Adjust the font size as needed */
    padding: 8px; /* Add padding for better readability and spacing */
    border: 1px solid #ccc; /* Add a border for visual distinction */
    border-radius: 4px; /* Optional: Rounded corners for inputs */
    width: 100%; /* Ensures inputs and textarea take full width */
    box-sizing: border-box; /* Ensures padding and border are included in the width */
    margin-bottom: 10px; /* Optional: Adds spacing between form groups */
}

/* Example error message style */
.error {
    color: red;
    font-size: 12px;
}

/* Example error message style */
.error {
    color: red;
    font-size: 12px;
}

/* Overlay styles */
#overlay {
  z-index: 1050; 
 position: fixed;
 display: none;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background-color: rgba(0,0,0,0.5);
 cursor: none;
 vertical-align: middle;
 
}
#overlayload{
 display: none; 
 vertical-align: middle;
}

.footerWidth{
    width:60%;
}

.footer-container{
    width:85%;
}

.loader {
  z-index: 1100; 
  width: 64px;
  height: 64px;
  border: 8px solid #ffc000;
  border-top: 8px solid #3399ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 2rem auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Safari */
@-webkit-keyframes spin {
 0% { -webkit-transform: rotate(0deg); }
 100% { -webkit-transform: rotate(360deg); }
}


.container {
            width: 40%;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            text-align:left;
        h2 {
            text-align: center;
            margin-bottom: 20px;
        }
            margin-bottom: 15px;
        }
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-family: verdana;
            font-size: 14px;
        }
        .form-group input, .form-group textarea {
            width: calc(100% - 20px);
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 4px;
            font-size: 16px;
        }
        .form-group textarea {
            resize: vertical;
        }
        .form-group button {
            width: 100%;
            padding: 10px;
            background-color: #ffc000;
            border: none;
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            border-radius: 4px;
        }
        .form-group button:hover {
            background-color: #2f67f3;
            outline: none;
        }
        
        .label{
            text-align:left;
        }
        
               
.error {
    display: none;
    color: red;
    font-size: 0.9em;
}

    /* Dialog container */
.ui-dialog {
    z-index: 1150 !important;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  background-color: #ffffff; /* Pure white background */
  overflow: hidden; /* Ensures no overflow issues */
}

/* Title bar */
.ui-dialog-titlebar {
  background-color: #0078d4; /* Blue background */
  color: white; /* White text */
  font-weight: bold;
  padding: 10px;
  border: none; /* Remove borders */
}

/* Title text */
.ui-dialog-title {
  margin: 0;
  padding: 0;
  font-size: 16px;
}

/* Close button */
.ui-dialog-titlebar-close {
  display: none; /* Completely remove the close button */
}

/* Dialog content */
.ui-dialog-content {
  padding: 20px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

/* Buttons pane */
.ui-dialog-buttonpane {
  background-color: #f9f9f9;
  padding: 15px 20px; /* Consistent padding */
  border-top: 1px solid #ccc; /* Separate buttons visually */
  text-align: center; /* Center-align buttons */
}

/* Individual buttons */
.ui-dialog-buttonpane button {
  background-color: #ffc000;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  margin: 0 5px; /* Space between buttons */
}

.ui-dialog-buttonpane button:hover {
  background-color: #2f67f3; 
}

        .dialog-confirm{
            display:none;
        }
        
        
    
        .select{
                width: 100%;
                padding: 10px;
                border: 1px solid #505050;
                border-radius: 5px;
                box-sizing: border-box;
                font-size: 14px;
                font-family: Arial, sans-serif;
                margin-bottom: 10px; /* Adds spacing between fields */
                text-align: left; /* Align text inside input fields and textareas to the left */
        }
        
        .centered {
    text-align: center;
}
/* Modal overlay */
.modal {
  position: fixed;
  display: none;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease-in-out;
}

/* Modal content box */
.modal-content {
  background-color: #fff;
  font-family: "Calibri Light", "Calibri", "Segoe UI", sans-serif;
  margin: auto;
  padding: 40px;
  border-radius: 20px;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;             /* ✅ Limit height to viewport */
  overflow-y: auto;             /* ✅ Scroll inside if too tall */
  line-height: 1.6;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  animation: fadeInUp 0.4s ease;
  
}

.link{
    color: #2f67f3;
}


/* Close button */
.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

.about-text p {
  margin-bottom: 1em;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.iconDisplay {
  width: 80px;
  height: 80px;
  background-color: #ffc000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.iconDisplay img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

h3 {
  color: grey;
}

h1 {
  font-size: 50px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(70%);
}

.footer {
  width: 90%;
}

.hero-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
  padding: 1rem 2rem;
}

.navbar {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center; /* Align logo and nav at the center */
  padding: 1rem;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 220px;
  height: 100px;
  margin-right: 0.5rem;
  object-fit: contain;
}

.nav-links {
  display: flex;
  flex-direction: row;
  align-items: right;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  padding: 10px;
}

/* Button Styling */
.new-list-btn {
  background-color: #2f80ed;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.main-content {
  text-align: center;
  padding: 3rem 2rem;
  width:80%;
}

.subtitle {
  margin-top: 0.5rem;
  color: #555;
}

.features {
  display: grid; /* Use grid layout */
  grid-template-columns: repeat(4, 1fr); /* Create 4 equal-width columns */
  gap: 1.5rem; /* Space between cards */
  margin: 2rem 0;
}

.feature-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  max-width: 300px;
  text-align: left;
}

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.blue {
  background-color: #e0f0ff;
  color: #2f80ed;
}

.orange {
  background-color: #fff4e0;
  color: #f2994a;
}

.green {
  background-color: #e5fff1;
  color: #27ae60;
}

.call-to-action {
  background-color: #2f80ed;
  color: white;
  padding: 3rem 1rem;
  margin-top: 2rem;
  border-radius: 10px;
}

.call-to-action h2 {
  margin-bottom: 1rem;
}

.spacer{
    padding:60px;
}

/* General Navbar Styles */
a {
  color: white; /* Adjust link color as needed */
}

.header {
  background-color: #fff;
  box-shadow: 1px 1px 4px 0 rgba(0,0,0,.1);
  position: fixed;
  width: 100%;
  z-index: 3;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  background-color: #fff; /* White background for menu */
}

.header li a {
  display: block;
  padding: 20px 20px;
  border-right: 1px solid #f4f4f4; /* Adjust border styles as needed */
  text-decoration: none;
  font-family: Verdana;
  color: #505050; /* Adjust text color as needed */
  font-size: 14px;
}

.header li a:hover,
.header .menu-btn:hover {
  color: #3399ff; /* Adjust hover color as needed */
}

.header .logo {
  display: block;
  float: left;
  font-size: 2em;
  padding: 10px 20px;
  text-decoration: none;
}

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height 0.2s ease-out;
  background-color: #fff; /* White background for menu */
}

.header .menu-icon {
  cursor: pointer;
  display: inline-block;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
}

.header .menu-icon .navicon {
  background: #333; /* Adjust background color as needed */
  display: block;
  height: 2px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333; /* Adjust background color as needed */
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all 0.2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

.header .menu-btn {
  display: none; /* Hide the checkbox by default */
}

.header .menu-btn:checked ~ .menu {
  max-height: 600px; /* Show the menu when checkbox is checked */
}

.header .menu-btn:checked ~ .menu-icon .navicon {
  background: transparent; /* Hide the default burger menu icon */
}

.header .menu-btn:checked ~ .menu-icon .navicon:before {
  transform: rotate(-45deg); /* Animate the burger icon into a close icon */
}

.header .menu-btn:checked ~ .menu-icon .navicon:after {
  transform: rotate(45deg); /* Animate the burger icon into a close icon */
}

.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked ~ .menu-icon:not(.steps) .navicon:after {
  top: 0; /* Adjust position of middle line for close icon */
}

@media (min-width: 1330px) {
    
  .header li {
    float: left;
  }
  .header li a {
    padding: 20px 30px;
  }
  .header .menu {
    clear: none;
    float: right;
    max-height: none; /* Ensure menu is visible on larger screens */
  }
  .header .menu-icon {
    display: none; /* Hide burger menu icon on larger screens */
  }
}

@media (max-width: 1330px) {
  .header {
    background-color: #ffffff; /* Adjust background color for header */
  }
  .header ul {
    background-color: #ffffff; /* White background for the menu on smaller screens */
  }
  .header li {
    background-color: #ffffff; /* White background for menu items on smaller screens */
  }
}


@media screen and (max-width: 768px) {
  .ui-dialog {
    width: 90% !important; /* Use most of the screen width */
    margin: 0 auto; /* Center on smaller screens */
  }

  .ui-dialog-titlebar {
    font-size: 16px; /* Adjust font size for title */
  }

  .dialog-confirm {
    font-size: 13px; /* Adjust content font size */
    padding: 15px; /* Adjust padding for smaller screens */
  }
  .features {
    grid-template-columns: 1fr; /* Stack cards in one column */
    width:100%;
  }
  
  .main-content {
  width:100%;
}
  
  .modal-content {

  width: 95%;
}
.feature-card {
  width: 100%;
}
}
