



/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: math;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(90deg, #efd5ff 0%, #515ada 100%);
}

/* Navbar Styling */


nav {
    background-color: #ffffff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    z-index: 2;
}

.nav-links a {
    color: rgb(255, 0, 0);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

.services-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    top: 100%;
    left: 0;
    border-radius: 4px;
    margin-top: 0.5rem;
}

.dropdown-content a {
    color: rgb(255, 0, 0);
    padding: 12px 16px;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #444;
}

.show {
    display: block;
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    color: rgb(255, 0, 0);
    font-size: 2.5rem;
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 110px;
        left: 0;
        right: 0;
        background-color: #ffffff;
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        margin-top: 0.5rem;
        padding-left: 1rem;
    }
}














.article-header {
    background-color: #2b6cb0;
    color: white;
    padding: clamp(3rem, 10vw, 6rem) 1rem;
    text-align: center;
  }

  .header-content {
    max-width: min(90%, 800px);
    margin: 0 auto;
  }

  .article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
  }

  .featured-image {
    width: 100%;
    max-width: min(90%, 1000px);
    margin: -4rem auto 0;
    position: relative;
    z-index: 2;
  }

  .featured-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  }

  .article-content {
    max-width: min(90%, 800px);
    margin: 3rem auto;
    padding: 0 1rem;
  }

  h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #2d3748;
    margin: 2.5rem 0 1rem;
  }

  h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: #2d3748;
    margin: 2rem 0 1rem;
  }

  p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    color: #4a5568;
  }

  blockquote {
    border-left: 4px solid #2b6cb0;
    padding-left: 1rem;
    margin: 2rem 0;
    font-style: italic;
    color: #4a5568;
  }

  .article-image {
    margin: 2rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .article-image img {
    width: 100%;
    height: auto;
    display: block;
  }

  .image-caption {
    text-align: center;
    font-size: 0.875rem;
    color: #666;
    margin-top: 0.5rem;
  }

  .tags {
    display: flex;
    gap: 0.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
  }

  .tag {
    background-color: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    color: #4a5568;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .tag:hover {
    background-color: #cbd5e0;
  }

  @media (max-width: 768px) {
    .nav-links {
      display: none;
    }

    .article-meta {
      flex-direction: column;
      gap: 0.5rem;
      align-items: center;
    }

    .featured-image {
      margin-top: -2rem;
    }
  }

  .author-section {
    border-top: 1px solid #e2e8f0;
    margin-top: 3rem;
    padding-top: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .author-image {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
  }

  .author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .author-info h3 {
    margin: 0 0 0.5rem 0;
  }

  .author-info p {
    margin: 0;
    font-size: 0.875rem;
    color: #666;
  }



















.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 20px auto;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 400px;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    z-index: 1;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

/* Optional: Add dots for navigation */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: #333;
}






/* What we offer  */

.what-we-offer {
    padding: 4rem 2rem;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #007bff;
}

.offers-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.offer-card {
    position: relative;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.offer-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover img {
    transform: scale(1.1);
}

.offer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.1) 100%
    );
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

.offer-card:hover .offer-content {
    transform: translateY(-10px);
}

.offer-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.offer-description {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.offer-card:hover .offer-description {
    opacity: 1;
    transform: translateY(0);
}



/* portfolio section */


.portfolio-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-overlay {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 20px;
    transition: bottom 0.3s ease;
    text-align: center;
}

.portfolio-item:hover .portfolio-overlay {
    bottom: 0;
}

.portfolio-title {
    font-size: 1.5em;
    margin: 0;
    padding: 0;
}



/* Image Gallery Section */

.gallery-section {
    padding: 4rem 2rem;
    background-color: #f5f5f5;
}

.gallery-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #333;
    position: relative;
}

.gallery-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #2196f3;
}

.gallery-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 6rem;
    padding: 1rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* Lightbox styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    margin: auto;
}

.lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 5px;
    transition: transform 0.3s ease;
}

.close-btn:hover {
    transform: scale(1.1);
}

/* Navigation buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Loading spinner */
.loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2196f3;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}


/* Contact Form CSS */



.container {
    background: #9083d1;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    margin: 20px auto;
}

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #555;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    height: 120px;
    resize: vertical;
}

.error {
    color: #ff3333;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}

button {
    /* width: 100%; */
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

/* Success message styles */
.success-message {
    display: none;
    text-align: center;
    color: #28a745;
    margin-top: 20px;
}


/* footer */

.content {
  flex: 1;
}

.footer {
  background-color: #ffffff;
  color: rgb(255, 0, 0);
  padding: 2rem 0;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.logo-circle {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #4299e1, #667eea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.footer-info {
  flex: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards 0.2s;
}

.footer-links {
  display: flex;
  gap: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards 0.4s;
}

.footer-links a {
  color: rgb(255, 0, 0);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #4299e1;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}





  /* Welcome to Harsh Band */

  .content-box {
    background-color: white;
    padding: clamp(1.5rem, 5vw, 3rem);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    max-width: min(90%, 600px);
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
    margin: auto;
  }

  h2 {
    color: #2d3748;
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 1rem;
    line-height: 1.2;
  }

  p {
    color: #4a5568;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    line-height: 1.6;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .content-box {
      animation: none;
      opacity: 1;
      transform: none;
    }
  }