/*html {
  scroll-behavior: smooth;
}
#navbar ul li a.active {
  color: orange;
  border-bottom: 2px solid orange;
}


.box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
#menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
}
@media (max-width: 768px) {
  #navbar ul {
    display: none;
    flex-direction: column;
    background-color: #333;
  }
  #navbar ul.show {
    display: flex;
  }
  #menu-icon {
    display: block;
  }
}
#topBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  border: none;
  background-color: #333;
  color: white;
  padding: 10px;
  font-size: 18px;
  cursor: pointer;
  border-radius: 5px;
}
#topBtn:hover {
  background-color: #555;
}









#menu-icon {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  padding: 10px;
}

@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  #navbar ul {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50px;
    z-index: 999;
  }

  #navbar ul.show {
    display: flex;
  }

  #navbar ul li {
    text-align: center;
    padding: 10px 0;
  }

  #district-container #services {
    grid-template-columns: repeat(1, 1fr);
  }
}
.box img {
  transition: transform 0.3s ease;
}

.box img:hover {
  transform: scale(1.05);
}

.box a p:hover {
  color: #ff6600;
  text-decoration: underline;
}
#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #333;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

#topBtn:hover {
  background-color: #ff6600;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}
.box {
  background: white;
  padding: 15px;
  margin: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}









#navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 10;
}

#navbar ul {
    display: flex;
    list-style: none;
    padding: 0;
}

#navbar ul li {
    margin: 0 10px;
}

#navbar ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    transition: background-color 0.3s;
}

#navbar ul li a:hover {
    background-color: #555;
}

#home {
    height: 100vh;
    background: url(../images/jk.jpg) no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

#overlay {
    background-color: rgba(0, 0, 0, 0.5);
    padding: 20px;
    text-align: center;
    color: white;
}

.h-primary {
    font-size: 2.5rem;
    margin: 10px 0;
}

#images {
    display: flex;
    justify-content: space-around;
    padding: 20px;
}

.png img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

#About {
    padding: 20px;
    text-align: center;
}

.about {
    font-size: 2rem;
    margin-bottom: 20px;
}

#Lieutenant-governor {
    padding: 20px;
    text-align: center;
}

#Lieutenant-governor img {
    width: 200px;
    height: auto;
}

#governor {
    font-size: 1.5rem;
    margin-top: 10px;
}

#map {
    text-align: center;
    padding: 20px;
}

#map img {
    width: 50%;
    height: auto;
}

#district-container {
    padding: 20px;
    text-align: center;
}

.h-primary.center {
    font-size: 2rem;
    margin-bottom: 20px;
}

#services {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.box {
    background-color: #f4f4f4;
    margin: 10px;
    padding: 20px;
    border: 1px solid #ddd;
    width: 300px;
    text-align: center;
    transition: transform 0.3s;
}

.box:hover {
    transform: scale(1.05);
}

.box img {
    width: 100%;
    height: auto;
}

.b {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

#client-section {
    padding: 20px;
    text-align: center;
}

#clients {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.client-item {
    margin: 10px;
}

.client-item img {
    width: 150px;
    height: auto;
}
footer {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}
#contact{
    position: relative;
}
#contact::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.7;
    background: url('../contact.jpg') no-repeat center center/cover;

}
#contact-box{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 34px;
}
#contact-box input, 
#contact-box textarea{
    width: 100%;
    padding: 0.5rem;
    border-radius: 9px;
    font-size: 1.1rem;
} 

#contact-box form{
    width: 40%;
}

#contact-box label{
   font-size: 1.3rem;
   font-family: 'Bree Serif', serif;

}
.btn{
    padding: 6px 20px;
    border: 2px solid white;
    background-color: brown;
    color: white;
    margin: 17px;
    font-size: 1 rem;
    border-radius: 10px;
    cursor:pointer;
}
.center{
    text-align: center;
}




#home {
  height: 100vh;
  background: url(../images/jk.jpg) no-repeat center center/cover;
}
#overlay {
  background-color: rgba(0, 0, 0, 0.5);
}
#overlay {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 40px 20px;
  text-align: center;
  color: white;
}

.h-primary {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .h-primary {
    font-size: 2rem;
  }
}
.box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}
#contact-box input, 
#contact-box textarea {
  border: 1px solid #ccc;
  transition: border 0.3s;
}

#contact-box input:focus,
#contact-box textarea:focus {
  border-color: #ff6600;
  outline: none;
}
#services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}



*/
/* Base Styling */
html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* Navbar */
#navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #333;
  position: sticky;
  top: 0;
  z-index: 10;
}
#navbar ul {
  display: flex;
  list-style: none;
  padding: 0;
}
#navbar ul li {
  margin: 0 10px;
}
#navbar ul li a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  transition: background-color 0.3s;
}
#navbar ul li a:hover {
  background-color: #555;
}
#navbar ul li a.active {
  color: orange;
  border-bottom: 2px solid orange;
}

/* Menu Icon (Mobile) */
#menu-icon {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  padding: 10px;
}

/* Section: Home */
#home {
  height: 100vh;
  background: url(../images/jk.jpg) no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
}
#overlay {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  padding: 40px 20px;
  text-align: center;
  color: white;
}

/* Headings */
.h-primary {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.h-primary.center {
  text-align: center;
  font-size: 2rem;
}

/* District Cards */
#services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  padding: 40px 20px;
}
.box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 320px; /* Controls the maximum size of the card */
  margin: auto;
  min-height: 420px; /* Ensures all cards have the same height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}
.box img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.box img:hover {
  transform: scale(1.05);
}
.box a p:hover {
  color: #ff6600;
  text-decoration: underline;
}
.box h1.b {
  font-size: 1.4rem;
  color: #0033cc;
  text-decoration: underline;
  margin-bottom: 12px;
}

.box a p {
  margin-top: 10px;
  font-size: 1.05rem;
  font-weight: 500;
  color: #222;
}


.box a p {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #222;
}

.box:hover img {
  transform: scale(1.08);
}



/* Contact Section */
#contact {
  position: relative;
}
#contact::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
  background: url('../contact.jpg') no-repeat center center/cover;
}
#contact-box {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 34px;
}
#contact-box form {
  width: 40%;
}
#contact-box input, 
#contact-box textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1.1rem;
  border-radius: 9px;
  border: 1px solid #ccc;
  transition: border 0.3s;
}
#contact-box input:focus,
#contact-box textarea:focus {
  border-color: #ff6600;
  outline: none;
}

/* Button */
.btn {
  padding: 6px 20px;
  border: 2px solid white;
  background-color: brown;
  color: white;
  margin: 17px;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
}

/* Top Button */
#topBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #333;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}
#topBtn:hover {
  background-color: #ff6600;
}

/* Clients Section */
#clients {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}
.client-item img {
  width: 150px;
  height: auto;
}

/* Footer */
footer {
  background-color: #333;
  color: white;
  padding: 10px;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }
  #navbar ul {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50px;
    z-index: 999;
  }
  #navbar ul.show {
    display: flex;
  }
  #navbar ul li {
    text-align: center;
    padding: 10px 0;
  }
  .h-primary {
    font-size: 2rem;
  }
}
/* Horizontal gallery layout */
.gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* Style individual images */
.gallery img {
  height: 250px;
  width: auto;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Hover effect */
.gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .gallery {
    flex-direction: column;
    gap: 30px;
    align-items: stretch;
  }

  .gallery img {
    width: 100%;
    height: auto;
  }
}
.info-section {
  text-align: center;
  padding: 50px 20px;
  background-color: #f5f5f5;
  margin-top: 30px;
}

.info-section h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #333;
}

.info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-box img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.info-box p {
  font-size: 1.2rem;
  color: #444;
  font-weight: 500;
}

/* About Jammu and Kashmir Stylish Card */
.about-card {
  background: linear-gradient(to right, #f2f3f7, #e1e1e1); /* grey gradient */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  max-width: 900px;
  margin: 70px auto 50px;
  padding: 40px 30px;
  color: #333;
  font-family: 'Segoe UI', sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card h2 {
  font-size: 2.4rem;
  text-align: center;
  color: #222;
  margin-bottom: 25px;
  font-weight: bold;
}

.about-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin: 18px 0;
  text-align: center;
  color: #444;
}

/* Hover effect for animation */
.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

/* Responsive for small screens */
@media (max-width: 768px) {
  .about-card {
    padding: 30px 20px;
    margin: 50px 20px;
  }

  .about-card h2 {
    font-size: 2rem;
  }

  .about-card p {
    font-size: 1rem;
  }
}
/* Modern form styling */
.styled-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 600px;
  animation: slideUp 0.6s ease-out;
}
.styled-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #444;
}
.styled-form i {
  margin-right: 8px;
  color: #ff6600;
}
.styled-form input,
.styled-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.styled-form input:focus,
.styled-form textarea:focus {
  border-color: #ff6600;
  box-shadow: 0 0 8px rgba(255, 102, 0, 0.2);
  outline: none;
}
.styled-form .btn {
  background-color: #ff6600;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}
.styled-form .btn:hover {
  background-color: #cc5200;
}

/* Simple animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.feedback-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 30px;
  padding: 10px;
  background: #fff7f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  text-align: center;
}

.feedback-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

