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

body {
    background-color: #121212;
    color: #333;
}
/* Header layout */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
    background-color: #121212;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1000;
}
/* Logo
.logo {
    font-size: 2rem; 
    font-weight: bold;
    color: white; 
    position: relative;
    display: inline-block;
    transition: transform 0.3s ease-in-out; 
}

/* Apply the glow effect on hover */
/* .logo:hover {
    animation: glowing 10s infinite alternate; 
    cursor: pointer;
} */

/* Keyframe animation for smooth glowing effect */
/* @keyframes glowing {
    0% {
        text-shadow: 
            0 0 5px rgba(255, 0, 0, 1),
            0 0 15px rgba(255, 0, 0, 0.8),
            0 0 30px rgba(255, 0, 0, 0.6),
            0 0 45px rgba(255, 0, 0, 0.4);
    }
    25% {
        text-shadow: 
            0 0 5px rgba(255, 165, 0, 1),
            0 0 15px rgba(255, 165, 0, 0.8),
            0 0 30px rgba(255, 165, 0, 0.6),
            0 0 45px rgba(255, 165, 0, 0.4);
    }
    50% {
        text-shadow: 
            0 0 5px rgba(0, 255, 0, 1),
            0 0 15px rgba(0, 255, 0, 0.8),
            0 0 30px rgba(0, 255, 0, 0.6),
            0 0 45px rgba(0, 255, 0, 0.4);
    }
    75% {
        text-shadow: 
            0 0 5px rgba(0, 0, 255, 1),
            0 0 15px rgba(0, 0, 255, 0.8),
            0 0 30px rgba(0, 0, 255, 0.6),
            0 0 45px rgba(0, 0, 255, 0.4);
    }
    100% {
        text-shadow: 
            0 0 5px rgba(238, 130, 238, 1),
            0 0 15px rgba(238, 130, 238, 0.8),
            0 0 30px rgba(238, 130, 238, 0.6),
            0 0 45px rgba(238, 130, 238, 0.4);
    }
}  */



.logo img {
  height: 60px; /* Adjust height as needed */
  width: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .logo img {
    height: 50px;
  }
}



/* Navigation */
nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #7D5416;
}

/* Register Button (visible only on desktop) */
.register-btn {
    padding: 0.6rem 1.2rem;
    background-color: #7D5416;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.register-btn:hover {
    background-color: #04b51b;
}

/* Menu Icon */
.menu-icon {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #f5f5f5;
}

/* Mobile Menu Styles */
.mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 250px;
    background-color: #1e1e1e;
    padding: 2rem 1.5rem;
    box-shadow: -2px 0 10px rgba(255, 255, 255, 0.05);
    transition: right 0.4s ease-in-out;
    z-index: 2000;
}

.mobile-menu a {
    margin: 1rem 0;
    text-decoration: none;
    color: #e0e0e0;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #7D5416;
}

.mobile-menu .close-btn {
    font-size: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    align-self: flex-end;
    color: #f5f5f5;
}

/* Show animation */
.mobile-menu.show {
    right: 0;
}

/* Responsive layout */
@media (max-width: 768px) {
    /* Adjust header layout on mobile */
    header {
        flex-direction: row-reverse;
        justify-content: space-between;
    }

    nav,
    .register-btn {
        display: none;
    }

    .menu-icon {
        display: block;
        position: absolute;
        right: 1rem; /* Position the menu button on the right */
    }

    /* Move "Get Free Quote" inside mobile menu */
    .mobile-menu .btn.primary-btn {
        margin-top: auto;
    }

    /* Hide the "Get Free Quote" button on mobile */
    .register-btn {
        display: none;
    }
    .p-btn{
        display: none
        ;
    }
}

/* Desktop "Get Free Quote" button visible */
@media (min-width: 769px) {
    .register-btn {
        display: inline-block;
    }
}

.hero {
    /* background: url('images/3.jpeg') no-repeat center center/cover; */
    /* background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1600&q=80') no-repeat center center/cover; */
    
    /* background: url('https://as1.ftcdn.net/v2/jpg/03/24/30/82/1000_F_324308256_IcWx2hl0B0k3V3yYkKqHvfjmRjKKaaYj.jpg') no-repeat center center/cover; */
    /* background: url('https://media.gettyimages.com/id/1257450731/photo/driveway-paving-asphalt-pavement-resurfacing.jpg?s=612x612&w=0&k=20&c=CFTq--LJxs_VzaXf9EJTlFP_NNO0w4JvoxYqQ9HOmoQ=') no-repeat center center/cover; */
   background: url('/images/pic8.png') no-repeat center center/cover;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    position: relative;
    padding: 0 10%;
  }
  
  .hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
  }
  
  .hero-text {
    color: white;
    position: relative;
    z-index: 1;
    max-width: 600px;
    animation: fadeInUp 1.5s ease-out;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
  }
  
  .hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 1rem;
    border: none;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  .primary-btn {
    background-color: #25D366;
    color: #fff;
  }
  
  .primary-btn:hover {
    background-color: #04b51b;
  }
  
  .secondary-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
  }
  
  .secondary-btn:hover {
    background-color: #ffffff33;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .hero {
      justify-content: center;
      text-align: center;
      padding: 0 5%;
    }
  
    .hero-buttons {
      justify-content: center;
    }
  
    .hero-text h1 {
      font-size: 2.5rem;
    }
  
    .hero-text p {
      font-size: 1.1rem;
    }
  }
  
  @media (max-width: 480px) {
    .hero-text h1 {
      font-size: 2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    .btn {
      font-size: 0.95rem;
      padding: 10px 20px;
    }
  }
  
  /* Animation */
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  } :xr-overlay
  

  .services {
    padding: 4rem 2rem;
    background: #121212;
    text-align: center;
    transition: background 0.4s ease;
}

.services h2 {
    font-size: 3rem;  /* Increased font size */
    margin-bottom: 2rem;
    color: #f0f0f0;
    transition: color 0.4s ease;
}

/* Container centers the cards */
.services-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 2rem;
    padding-top: 2rem;
}

/* Service card styling */
.service-card {
    background: #333;
    border-radius: 12px;
    padding: 2rem;  /* Increased padding */
    width: 100%;
    max-width: 450px;  /* Increased card size */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
}

/* Glowing effect */
.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, #ff6ec4, #7873f5, #4ade80);
    background-size: 400% 400%;
    opacity: 0;
    transition: opacity 0.6s ease;
    filter: blur(30px);
    z-index: 0;
    animation: glowMove 6s linear infinite;
}

/* Hover styles */
.service-card:hover::before {
    opacity: 0.4;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

/* Inner content stays above glow */
.service-card * {
    position: relative;
    z-index: 1;
}

.service-card img {
    width: 100%;
    height: 240px;  /* Increased image height */
    object-fit: cover;
    border-radius: 8px;
}

.service-card h3 {
    margin-top: 1rem;
    font-size: 1.5rem;  /* Increased font size */
    color: #f9f9f9;
    transition: color 0.3s ease;
}

.service-card p {
    font-size: 1.1rem;  /* Increased font size */
    color: #ccc;
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glowMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive tweaks */
@media (max-width: 768px) {
    .service-card {
        padding: 1.5rem;  /* Slightly reduce padding */
        max-width: 90%;  /* Ensure the card stays within the screen */
    }

    .service-card img {
        height: 220px;  /* Adjust image size */
    }

    .service-card h3 {
        font-size: 1.4rem;  /* Slightly smaller text on mobile */
    }

    .service-card p {
        font-size: 1rem;  /* Slightly smaller text on mobile */
    }
}



.about {
    padding: 4rem 2rem;
    background-color: #121212;
    transition: background-color 0.4s ease;
    
}

.about-title {
    text-align: center;
    font-size: 2.5rem;
    color: #f9f9f9;
    margin-bottom: 2.5rem;
    position: relative;
    animation: fadeInDown 1s ease-in-out;
    transition: color 0.4s ease;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.about-text {
    flex: 1;
    min-width: 300px;
    font-size: 1.2rem; /* Bigger text */
    color: #f1f1f1;
    animation: slideInFromLeft 1s ease-in-out;
    transition: color 2s ease;
    line-height: 1.8;
}

.about-image {
    flex: 1;
    min-width: 300px;
    animation: slideInFromRight 1s ease-in-out;
    perspective: 1000px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    transform-style: preserve-3d;
}

.about-image:hover img {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
}


.about-image img.tilt {
    transform: rotateX(var(--rotateX)) rotateY(var(--rotateY));
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile / Tablet responsiveness */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }

    .about-text,
    .about-image {
        animation: fadeInUp 1s ease-in-out;
    }

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

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .about {
        background-color: #121212;
    }

    .about-title {
        color: #f5f5f5;
    }

    .about-text {
        color: #ccc;
    }

    .about-image img {
        box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
    }

    .about-image:hover img {
        box-shadow: 0 15px 40px rgba(255, 255, 255, 0.1);
    }
}


/* Gallery Section */
.gallery {
    padding: 60px 0; /* Remove horizontal padding */
    background-color: #121212;
    color: #e0e0e0;
    text-align: center;
    overflow: hidden;
}

/* Title Styling */
.gallery h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #f1f1f1;
    position: relative;
    animation: fadeInDown 0.8s ease-in-out;
}

/* Gallery Wrapper - now full width */
.gallery-wrapper {
    position: relative;
    width: 100vw; /* Full viewport width */
    overflow: hidden;
}

/* Container for scrollable items */
.gallery-container {
    display: flex;
    gap: 20px;
    height: 350px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 0 40px; /* Optional padding inside scroll */
    overflow-x: scroll;
    scroll-behavior: smooth;
    cursor: grab;
    display: flex;
    transition: scroll-left 0.25s ease-out;
    will-change: transform;
}

/* Hide scrollbar for Chrome, Safari */
.gallery-container::-webkit-scrollbar {
    display: none;
}

.gallery-container.active {
  cursor: grabbing;
  cursor: -webkit-grabbing;
}


/* Individual Gallery Item */
.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 100%;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    transition: transform 0.4s ease;
    margin-right: 10px;
    flex-shrink: 0;
    /* Optional: Add smooth transition for item position */
    transition: transform 0.1s ease-in-out;
}

/* Gallery Images */
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Hover Effect */
.gallery-item:hover img {
    transform: scale(1.1);
}

/* Navigation Buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 2rem;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 50%;
}

.gallery-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.gallery-btn.left {
    left: 10px;
}

.gallery-btn.right {
    right: 10px;
}

/* Fade In Animation */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styles */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); 
    justify-content: center;
    align-items: center;
}

.modal img {
    max-width: 80%;
    max-height: 80%;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* Left and Right Scroll Buttons */
.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 2;
    border-radius: 5px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.gallery-btn:hover {
    opacity: 1;
}

.left {
    left: 10px;
}

.right {
    right: 10px;
}
/* Animation for infinite scroll */
@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Fade-in effect for the title */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Why Choose Us - Dark Mode */
.why-choose-us {
    background-color: #121212;
    color: #f5f5f5;
    padding: 5rem 2rem;
    text-align: center;
}

.section-title {
    font-size: 3.2rem;  /* Increased font size */
    margin-bottom: 3rem;
    color: #7D5416;
    text-shadow: 0 0 10px #7D5416;
}

.card-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 3rem; /* more space between cards */
}

.choose-card {
    background-color: #1f1f1f;
    padding: 3rem;  /* Increased padding */
    border-radius: 20px;
    width: 420px;  /* Increased card width */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 10px #3d290b;
    text-align: left;
}

.choose-card h3 {
    color: #7D5416;
    margin-bottom: 1.5rem;  /* Increased margin */
    font-size: 1.9rem;  /* Increased font size */
}

.choose-card p {
    color: #dcdcdc;
    font-size: 1.2rem;  /* Increased font size */
    line-height: 1.8;  /* Adjusted line-height for better readability */
}

/* Hover animation */
.choose-card:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 0 25px #7D5416, 0 0 45px #7D5416;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .choose-card {
        width: 90%;  /* Ensure card takes most of the screen on mobile */
    }
}




/* Contact Section */
.contact {
    padding: 60px 20px;
    background-color: #121212;
    color: #fff;
    text-align: center;
  }
  
  /* .title-wrapper {
    margin-bottom: 40px;
  } */

  .title-wrapper {
  text-align: center; /* ✅ centers the inline-block `.title` */
  margin-bottom: 40px;
}

  
  .title {
    font-size: 2.5rem;
    color: #f1f1f1;
  }
  
  .contact-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 40px;
    flex-wrap: wrap; 
  }
  
  .info-box {
    background-color: #333;
    padding: 20px;
    width: 30%;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    text-align: left;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .info-box:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 0 25px #7D5416, 0 0 45px #7D5416;
    cursor: pointer;
  }
  
  .info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #f1f1f1;
  }
  
  .info-box p {
    font-size: 1.1rem;
    color: #e0e0e0;
  }
  
  .info-box a {
    color:#7D5416;
    text-decoration: none;
  }
  
  .info-box a:hover {
    text-decoration: underline;
  }
  
  form {
    margin-top: 20px;
  }
  
  form input, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: none;
    border-radius: 5px;
    background-color: #222;
    color: #fff;
    box-sizing: border-box;
  }
  
  form textarea {
    resize: vertical;
  }
  
  form button {
    width: 100%;
    padding: 12px;
    background-color: #7D5416;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
  }
  
  form button:hover {
    background-color: #00ffcc;
  }
  
  /* Responsive Design for Smaller Screens */
  @media (max-width: 768px) {
    .title {
      font-size: 2rem;
    }
  
    .contact-info {
      flex-direction: column;
      align-items: center;
    }
  
    .info-box {
      width: 80%; 
      margin-bottom: 20px;
    }
  
    .form-container {
      width: 100%;
    }
  }
  
  @media (max-width: 480px) {
    .title {
      font-size: 1.8rem;
    }
  
    .info-box {
      width: 90%; 
    }
  
    form input, form textarea, form button {
      font-size: 1rem;
      padding: 10px;
    }
  }
  
  .blog-section {
    background: #0e0e0e;
    color: #fff;
    padding: 100px 30px;
    text-align: center;
  }
  
  .blog-title-wrapper {
    margin-bottom: 60px;
  }
  
  .blog-section-title {
    font-size: 3rem;
    color: #7D5416;
    text-shadow: 0 0 12px rgba(53, 243, 0, 0.4);
  }
  
  .blog-section-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 10px;
  }
  
  .blog-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    max-width: 1400px;
    margin: 0 auto;
  }
  
  .blog-card {
    background: #1c1c1c;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 0 16px #352409;
  }
  
  .blog-card:hover {
    transform: translateY(-12px) scale(1.06);
    box-shadow: 0 0 25px #7D5416, 0 0 45px #7D5416;
    cursor: pointer;
  }
  
  .blog-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
  }
  
  .blog-content {
    padding: 30px;
    text-align: left;
  }
  
  .blog-content h3 {
    font-size: 1.8rem;
    color: #7D5416;
    margin-bottom: 15px;
  }
  
  .blog-content p {
    font-size: 1.05rem;
    color: #ddd;
    line-height: 1.7;
    margin-bottom: 20px;
  }
  
  .read-more {
    color: #7D5416;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  .read-more:hover {
    color: #5c3e11;
  }
  


  
  .faq-section {
    background-color: #121212;
    color: #f0f0f0;
    padding: 4rem 2rem;
    max-width: 900px;
    margin: auto;
  }
  
  .faq-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2.5rem;
    color: #35f300;
    text-shadow: 0 0 8px rgba(53, 243, 0, 0.5);
  }
  
  .faq-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .faq-item {
    border-radius: 12px;
    overflow: hidden;
    background-color: #1f1f1f;
    box-shadow: 0 0 10px rgba(53, 243, 0, 0.1);
  }
  
  .faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
  }
  
  .faq-question:hover {
    background-color: #2c1e08;
  }
  
  .arrow {
    transition: transform 0.3s ease;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: #2a2a2a;
    transition: max-height 0.4s ease;
    padding: 0 1.5rem;
  }
  
  .faq-answer p {
    margin: 1rem 0;
    color: #dcdcdc;
    line-height: 1.6;
  }
  
  /* Open state */
  .faq-item.active .faq-answer {
    max-height: 300px;
  }
  
  .faq-item.active .arrow {
    transform: rotate(180deg);
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .faq-title {
      font-size: 2rem;
    }
  
    .faq-question {
      font-size: 1rem;
    }
  }
  




  footer {
    background-color: #121212;
    color: #e0e0e0;
    padding: 1rem 2rem;
    font-size: 0.95rem;
  }
  
  .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .footer-content .credit a {
    color: #7D5416;
    text-decoration: none;
    font-weight: 500;
  }
  
  .footer-content .credit a:hover {
    text-decoration: underline;
  }
  
  @media (max-width: 768px) {
    .footer-content {
      flex-direction: column;
      text-align: center;
      gap: 0.5rem;
    }
  
    .footer-content .credit {
      width: 100%;
    }
  }

@media (max-width: 768px) {
    .about {
        flex-direction: column;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
    }

    nav {
        margin-top: 10px;
    }
    
}



  .container {
    max-width: 1100px;
    margin: auto;
    padding: 2rem;
  }
  
  .single-blog {
    background-color: #1c1c1c;
    border-radius: 10px;
    box-shadow: 0 0 10px #3b280b;
    padding: 2rem;
    margin-bottom: 2rem;
  }

  .single-blog .featured-image img {
    width: 70%; /* Adjusted width for smaller image */
    max-width: 700px; /* Optional: Set a max width */
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0 auto; /* Center the image */
    border-bottom: 5px solid #7D5416;
  }
  
  
  .blog-title {
    font-size: 2.6rem;
    color: #7D5416;
    margin-top: 2rem;
    text-shadow: 0 0 10px #4c330e;
  }
  
  .blog-meta {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 2rem;
  }
  
  .blog-content .content h2 {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: #7D5416;
  }
  
  .blog-content .content p {
    margin-top: 1rem;
    font-size: 1.1rem;
    color: #ddd;
  }
  
  /* Tags with Animation */
  .blog-tags {
    margin-top: 3rem;
    border-top: 2px solid #222;
    padding-top: 2rem;
    animation: fadeInGlow 1.2s ease-in-out;
  }
  
  .blog-tags h4 {
    font-weight: 700;
    color: #7D5416;
    margin-bottom: 1rem;
  }
  
  .tag-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    animation: tagsDrop 1.2s ease forwards;
  }
  
  .tag {
    background: #1f1f1f;
    border: 1px solid #7D5416;
    color: #7D5416;
    padding: 10px 18px;
    font-size: 0.95rem;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px #4f350e;
  }
  
  .tag:hover {
    background: #7D5416;
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 0 20px rgba(53, 243, 0, 0.5);
  }
  
  /* Animations */
  @keyframes fadeInGlow {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes tagsDrop {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
  }


.title-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    
}

.title {
    font-size: 2.5rem;
    background: linear-gradient(90deg, #ff00cc, #3333ff, #00ffcc);
    background-size: 300% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerGradient 6s linear infinite, bounceInFade 1s ease-in-out forwards;
    position: relative;
    display: inline-block;
    padding-bottom: 6px;
    opacity: 1;
}



/* Underline with animated gradient */
.title::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 3px;
    left: 0;
    bottom: 0;
    background: linear-gradient(90deg, #ff00cc, #3333ff, #00ffcc);
    background-size: 300% 100%;
    animation: shimmerGradient 6s linear infinite; /* Infinite continuous animation */
    transition: width 0.6s ease;
}

.title:hover::after {
    width: 100%;
}

/* Continuous gradient cycling animation */
@keyframes shimmerGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes bounceInFade {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(5px);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}
/* Responsive Design */
/* === Calculator Module Styles === */

.calculator {
  max-width: 900px;
  margin: 2rem auto;
  background: #fff;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', sans-serif;
}

.calculator .title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.2rem;
  color: #002f6c;
}

.subtitle {
  text-align: center;
  color: #555;
  margin-bottom: 1.5rem;
}

.dimension-inputs {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.dimension-inputs input {
  width: 100px;
  padding: 0.6rem;
  font-size: 1rem;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.section {
  margin-top: 2.5rem;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.95rem;
}

.pricing-table th,
.pricing-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.pricing-table th {
  background: #004b91;
  color: white;
}

.result {
  margin-top: 2.5rem;
  text-align: center;
  padding: 2rem;
  background: #e8f5e9;
  border-radius: 10px;
}

.result h2 {
  color: #2e7d32;
  font-size: 2rem;
}

/* === Mobile Responsiveness === */

@media (max-width: 768px) {
  .calculator {
    padding: 1.5rem;
    margin: 1rem;
  }

  .calculator .title {
    font-size: 1.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .dimension-inputs {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .dimension-inputs input {
    width: 100%;
  }

  .pricing-table thead {
    font-size: 0.9rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.5rem;
    font-size: 0.9rem;
    word-break: break-word;
  }

  .result {
    padding: 1rem;
  }

  .result h2 {
    font-size: 1.5rem;
  }
}

/* === End Calculator Styles === */
