/* General Styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

header {
    background-image: url('html-css-collage-concept-with-person.jpg');
    background-size: cover;
    text-align: center;
    padding: 100px 0;
    color: white;
    padding: 20px;
    position: relative;
    height: 70vh;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 1100; /* Ensure it appears above the navbar */
}

.menu-icon {
    display: inline-block;
}

.navbar {
    display: flex;
    align-items: center;
    margin: 0;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.navbar li {
    margin: 0 10px;
}

.navbar a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* Header Main */
.header-main {
    text-align: center;
    margin-top: 60px; /* Adjust this to avoid overlap with navbar */
}

.header-main h2 {
    font-size: 2rem;
}

.header-main p {
    font-size: 1.2rem;
}

.learn-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background: #f39c12;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.learn-more-btn:hover {
    background: #e67e22;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .navbar {
        display: none;
        position: fixed;
        top: 6rem;
        right: 0;
        background: #333;
        width: 250px;
        height: 100vh;
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .navbar.show {
        display: block;
        transform: translateX(0);
    }

    .menu-toggle {
        display: block;
    }

    .navbar ul {
        flex-direction: column;
    }

    .navbar li {
        margin: 20px 0;
    }
}
.home {
    background-image: url('html-css-collage-concept-with-person.jpg');
    background-size: cover;
    text-align: center;
    padding: 100px 0;
}

.home-content h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
}

.home-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.learn-more-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
}

.learn-more-btn:hover {
    background-color: #0056b3;
}

/* Subscription Section */
.subscribe-section {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.subscribe-section form {
    display: inline-block;
}

.subscribe-section input[type="email"] {
    padding: 10px;
    width: 300px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}

.subscribe-section button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.subscribe-section button:hover {
    background-color: #0056b3;
}

/* Media Queries */
@media (max-width: 768px) {
    .navbar ul {
        flex-direction: column;
        align-items: center;
    }

    .home-content h2 {
        font-size: 2rem;
    }

    .learn-more-btn {
        padding: 8px 16px;
    }
}

/* About Section */
.about {
    padding: 50px;
    text-align: center;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-top: 30px;

}

.about-item {
    width: 45%;
    margin-bottom: 30px;
}

.about-img {
    width: 350px;
    height: 350px;
    object-fit: cover;
    margin-bottom: 15px;
}

.about-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.about-item p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .about-item {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Services Section */
.services {
    padding: 50px;
    text-align: center;
    background-color: #bbccdc;
}

.services h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.services-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    width: 90%;
    max-width: 800px;
    margin: 0 auto;
}

.service-image {
    flex: 1;
    padding: 10px;
}

.service-image img {
    width: 100%;
    height: auto;
}

.service-description {
    flex: 2;
    text-align: left;
    padding: 10px;
}

.service-description h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-description p {
    font-size: 1rem;
    line-height: 1.5;
    text-align: justify;
}

@media (max-width: 768px) {
    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .service-description {
        padding: 20px;
    }
}



/* Problem Solving Section */
.problem-solving {
    padding: 50px;
    text-align: center;
}

.problem-solving h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.problem-solving-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.problem-item {
    width: 45%;
    margin-bottom: 30px;
}

.problem-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.problem-item p {
    font-size: 1rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .problem-item {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Gallery Section */
.gallery {
    padding: 50px;
    text-align: center;
}

.gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.gallery-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.gallery-item {
    width: 30%;
    margin-bottom: 30px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .gallery-item {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .gallery-item {
        width: 100%;
    }
}

/*---------slide*/
.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}
.slides {
    display: none;
}
.slides img {
    width: 100%;
    height: auto;
}
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 1s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}
.prev:hover, .next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}
        

/* Contact Section */
.contact {
    padding: 50px;
    text-align: center;
    background-color: #bbccdc;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
}

.contact-info {
    width: 40%;
    text-align: left;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-form {
    width: 45%;
    text-align: left;
}

.contact-form label {
    display: block;
    font-size: 1rem;
    margin-bottom: 5px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.contact-form button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.contact-form button:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .contact-info,
    .contact-form {
        width: 100%;
    }
}


/*-----Blogs------*/
.container {
    width: 80%;
    margin: auto;
    padding: 20px;
}
.post {
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}
.post-title {
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
}
.post-title:hover {
    text-decoration: underline;
}
.post-meta {
    font-size: 0.9rem;
    color: #666;
}
.post-excerpt {
    margin: 10px 0;
}


/*------------footer-------*/
footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-container div {
    width: 30%;
}

.footer-container h3 {
    margin-bottom: 10px;
}

.footer-container p,
.footer-container ul {
    font-size: 0.9rem;
}

.footer-container ul {
    list-style: none;
}

.footer-container ul li {
    margin-bottom: 5px;
}

.footer-container ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-container ul li a:hover {
    text-decoration: underline;
}

.footer-subscribe form {
    display: flex;
    flex-direction: column;
}

.footer-subscribe input[type="email"] {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: none;
}

.footer-subscribe button {
    padding: 10px;
    background-color: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding: 10px;
    border-top: 1px solid #444;
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-container div {
        width: 100%;
        margin-bottom: 20px;
        text-align: center;
    }
}


#whatsapp-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  width: 300px;
  max-width: 90%;
  z-index: 1000;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#whatsapp-header {
  background: #25D366;
  color: white;
  padding: 12px;
  font-weight: bold;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
}

#whatsapp-form {
  padding: 16px;
}

#whatsapp-form input,
#whatsapp-form textarea {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

#whatsapp-form button {
  background-color: #25D366;
  color: white;
  padding: 10px;
  width: 100%;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

.minimize-btn,
.close-btn {
  background: transparent;
  border: none;
  color: white;
  font-size: 18px;
  margin-left: 8px;
  cursor: pointer;
}

#whatsapp-reopen {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  padding: 10px 14px;
  display: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 999;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ✅ Media Query for Small Devices */
@media (max-width: 480px) {
  #whatsapp-widget {
    width: 90%;
    right: 5%;
    bottom: 10px;
    font-size: 14px;
  }

  #whatsapp-header {
    font-size: 14px;
    padding: 10px;
  }

  .minimize-btn,
  .close-btn {
    font-size: 16px;
  }

  #whatsapp-form button {
    font-size: 14px;
  }
}
