body {
    margin: 0;
    font-family: Arial, sans-serif;
    padding-top: 70px; /* Adjusted for the fixed header */
}

header {
    position: fixed; /* Fixes the header at the top */
    top: 0; /* Keeps it at the top */
    width: 100%; /* Full width */
    z-index: 1000; /* Ensures it's above all other elements */
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

header .logo img {
    height: 50px;
    margin-right: 10px;
}

header nav ul {
    list-style: none;
    display: flex;
    margin-right: 0;
}

header nav ul li {
    margin: 0 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

header nav ul li:hover {
    color: #e8c22a;
}

.hero {
    position: relative;
    height: 100vh;
    background: url('https://www.tamilnadutourism.tn.gov.in/img/pages/large-desktop/recipes-1657874104_0bf6e33f49922c4dff87.webp') no-repeat center center/cover;
}

.hero-overlay {
    position: absolute;
    bottom: 50px; 
    left: 200px;
    padding: 20px;
}

.hero-content h1 {
    margin: 0;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    text-transform: uppercase;
}

.cards-section {
    margin: 20px auto;
    max-width: 966px;
    padding: 20px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #555;
}

.cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 32%;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    font-size: 18px;
    margin: 15px 10px 10px;
    color: #333;
}

.card p {
    font-size: 14px;
    color: #666;
    margin: 0 10px 10px;
    flex-grow: 1;
}

.card a {
    margin: 10px;
    font-size: 14px;
    color: #e8c22a;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.card a:hover {
    text-decoration: none;
    color: #000;
}

.load-more {
    display: inline-block;
    margin: 20px 0;
    background-color: #e8c22a;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    float: right; /* Aligns the button to the right */
}

.gap-top {
    padding: 15px;
}

.heading {
    margin: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    padding:20px 20px 20px 0px;
}
  
.cuisine-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
  
.cuisine-item {
    text-align: center;
    width: 200px;
}
  
.cuisine-item img {
    width: 225px;
    height: 300px;
}
  
.cuisine-item p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: bold;
    color: #555;
}

  
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: white;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  header .logo img {
    height: 50px;
  }
  
  header nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  header nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: color 0.3s;
  }
  
  header nav ul li a:hover {
    color: #007bff;
  }
  
/* Card Section */
.card3{
    background-color: #f1f1f1;
}

.section3 {
    margin: 20px auto;
    max-width: 966px;
    padding: 20px;
    
  }

.section3 h1{
    margin: 0;
    color: #000;
    font-size: 35px;
    font-weight: bold;
    padding-top:20px;
  }
  
.image-container2 {
    position: relative;
    width: 966px; /* Set a width for the image */
    height: 325px; /* Set a height for the image */
    overflow: hidden;
    border-radius: 10px;
    transition: background-color 0.3s ease-in-out;
  }
  
  .image-container2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .image-container2:hover {
    background-color: rgba(0, 0, 0, 0.3); /* Add a slightly black transparent background on hover */
  }
  
.image-container2 .overlay {
    position: absolute;
    top: 50%;
    left: 20px; /* Align text to the left */
    transform: translateY(-50%);
    color: white;
    z-index: 2;
  }
  
  .image-container2 .overlay .read-more2 {
    text-decoration: none;
    color: white;
    
  }
  
  .image-container2 .overlay .read-more2:hover {
    color: #e8c22a;
  }

form {
    display: flex;
    flex-direction: row;
    align-items: center;
}
  
.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 966px;
    margin-bottom: 20px;
}
  
  .form-group {
    flex:1;
    padding-right: 20px;
  }
  
  label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
  }
  
  input {
    width:95%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
  }
  
  .subscribe-btn {
    padding: 10px 30px;
    background-color: #ffc107;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
  }
  
  .subscribe-btn:hover {
    background-color: #e0a800;
  }

/* General footer styling */
footer {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-info {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-rights {
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

/* Social links styling */
.social-links {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links li {
    display: inline-block;
}

.social-links li a {
    display: block;
    width: 32px;
    height: 33px;
    
}

/* Individual social media icons */
.social-links li a.facebook {
    background: url("https://www.tamilnadutourism.tn.gov.in/images/icon-sprite.png") -226px 1px no-repeat
}

.social-links li a.twitter {
    background: url("https://www.tamilnadutourism.tn.gov.in/images/icon-sprite.png") -378px 0 no-repeat
}

.social-links li a.instagram {
    background: url("https://www.tamilnadutourism.tn.gov.in/images/icon-sprite.png") -277px 0 no-repeat
}

.social-links li a.youtube {
    background: url("https://www.tamilnadutourism.tn.gov.in/images/icon-sprite.png") -430px 0 no-repeat
}

.social-links li a.linkedin {
    background: url("https://www.tamilnadutourism.tn.gov.in/images/icon-sprite.png") -328px 0 no-repeat
}

/* Hover effect for social icons */
.social-links li a:hover {
    filter: brightness(0.8); /* Darken the icon on hover */
    transition: filter 0.3s ease;
}

  