/* Global styles */
:root {
    --primary-blue: #0d6efd;
    --dark-blue: #01065c;
    --accent-yellow: #ffdd57;
    --footer-bg: #000;
}

body {
    padding-top: 70px;
    scroll-behavior: smooth;
    font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, var(--primary-blue), #6610f2);
    transition: all 0.3s ease;
}

.navbar.navbar-scrolled {
    background: rgba(1, 6, 92, 0.95);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-family: monospace;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff !important;
}

.nav-link {
    color: #f8f9fa !important;
    margin: 0 8px;
    position: relative;
    transition: color 0.3s ease;
    font-size: clamp(0.9rem, 2.5vw, 1rem);
}

.nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #fff;
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: #ffdd57 !important;
}

.navbar-toggler {
    border-color: #fff;
}

/* Hero Section */
.hero-section {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    min-height: 60vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    flex-direction: column;
    padding: 20px;
    position: relative; /* Needed for ::before overlay */
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Typed text */
[id^="typed-heading"] {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: clamp(2rem, 6vw, 3.4rem);
    margin-bottom: 10px;
    background: linear-gradient(90deg, #ffdd57, #0d6efd 50%, #6610f2);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 10px rgba(0,0,0,0.45);
    animation: headingFlow 6s linear infinite, glowPulse 3.5s ease-in-out infinite;
}
[id^="typed-heading"]::after {
    content: "";
    display: block;
    height: 4px;
    width: 96px;
    margin: 8px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #ffdd57, #0d6efd);
    animation: accentPulse 2.4s ease-in-out infinite alternate;
}

[id^="typed-output"] {
    font-family: 'Poppins', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
    font-size: clamp(1.05rem, 4vw, 1.7rem);
    font-weight: 600;
    background: linear-gradient(90deg, #ffdd57, #0d6efd, #6610f2);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: normal;
    word-break: break-word;
    margin-top: 10px;
}

.typed-cursor { display: none !important; }

.carousel-item {
    position: relative;
}
.carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
}
.carousel-caption {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes headingFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
@keyframes accentPulse {
    0% { width: 72px; opacity: 0.85; }
    100% { width: 120px; opacity: 1; }
}
@keyframes glowPulse {
    0% { text-shadow: 0 3px 10px rgba(0,0,0,0.4), 0 0 8px rgba(13,110,253,0.4); letter-spacing: 0.5px; }
    100% { text-shadow: 0 4px 14px rgba(0,0,0,0.55), 0 0 14px rgba(255,221,87,0.65); letter-spacing: 1.5px; }
}

/* Social icons */
.social-icons a {
    color: #fff;
    margin: 0 8px;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #ffdd57;
}

.hire-btn {
    margin-left: 10px;
    padding: 6px 12px;
    background: #0d6efd;
    border: none;
    color: #fff;
    font-weight: bold;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.hire-btn:hover {
    background: #6610f2;
}
.social-icons {
    margin-top: 20px;
}

.social-icons a {
    font-size: 1.8rem;
    margin: 0 12px;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Universal hover effect */
.social-icons a:hover {
    transform: scale(1.2);
    color: #007BFF; /* blue hover */
}

/* Individual brand colors */
.social-icons a.facebook {
    color: #1877F2;
}
.social-icons a.facebook:hover {
    color: #007BFF;
}

.social-icons a.instagram {
    background: linear-gradient(45deg, #405DE6, #E1306C, #FCAF45);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.social-icons a.instagram:hover {
    background: none;
    color: #007BFF;
    -webkit-text-fill-color: #007BFF;
}

.social-icons a.whatsapp {
    color: #25D366;
}
.social-icons a.whatsapp:hover {
    color: #007BFF;
}

.social-icons a.twitter {
    color: #1DA1F2;
}
.social-icons a.twitter:hover {
    color: #007BFF;
}

.social-icons a.linkedin {
    color: #0077B5;
}
.social-icons a.linkedin:hover {
    color: #007BFF;
}


        footer {
            background: #212529;
            color: #f8f9fa;
            padding: 20px 0;
            text-align: center;
            margin-top: 40px;
        }

        footer a {
            color: #ffdd57;
            text-decoration: none;
        }

        footer a:hover {
            text-decoration: underline;
        }

        .section-title h5 {
            display: inline-block;
            /* keep text and line together */
            position: relative;
            font-size: 40px;
            font-weight: bold;
        }

        .section-title h5::after {
            content: "";
            /* generates the line */
            display: inline-block;
            width: 150px;
            /* adjust length of line */
            height: 1px;
            background-color: rgb(68, 0, 255);
            margin-left: 10px;
            /* space between text and line */
            vertical-align: middle;
        }

        .hire-btn {
            background: none;
            /* removes background color */
            border: 2px solid rgb(1, 1, 117);
            /* adds a clear border */
            color: rgb(1, 1, 117);
            /* text color */
            padding: 10px 20px;
            /* spacing inside button */
            font-size: 16px;
            font-weight: bold;
            text-transform: uppercase;
            /* makes text stand out */
            cursor: pointer;
            /* pointer on hover */
            border-radius: 5px;
            /* rounded corners */
            transition: all 0.3s ease;
            /* smooth hover effect */
        }

        .hire-btn:hover {
            background: rgb(1, 1, 117);
            /* adds background on hover */
            color: #fff;
            /* switches text color */
            transform: scale(1.05);
            /* slight zoom effect */
        }
         /* image stying start  */

  .painthub-section {
    background-image: url(./32.png);
    background-size: cover;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
    height: 350px;
    color: white;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.4s ease;
    animation: fadeInUp 1.2s ease;
  }

  .painthub-section:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0,0,0,0.5);
  }

  .painthub-text {
    font-size: 25px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    display: block;
    animation: textGlow 2s infinite alternate;
  }
  .painthub-btn {
    margin-top: 15px;
    font-weight: bold;
    border-radius: 30px;
    padding: 10px 25px;
    transition: background-color 0.3s ease, transform 0.3s ease;
  }

  .painthub-btn:hover {
    background-color: #ffc107;
    color: #000;
    transform: translateY(-3px);
  }

  /* Keyframes */
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
  }

  @keyframes textGlow {
    from { text-shadow: 0 0 10px #fff; }
    to { text-shadow: 0 0 20px #ffcc00; }
  }

         /* image stying on home page ends  */

        /* list stying start here  */.accordion-button {
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #000;
}

        /* list styling ends here  */
 /* footer section start here  */
 .footer-custom {
    background: #000;
    color: #ccc;
}

/* Headings */
.footer-heading {
    color: #0d6efd;
}

/* Text */
.footer-text {
    color: #bbb;
    transition: 0.3s;
}

.footer-text:hover {
    color: #0d6efd;
}

/* Links */
.footer-link {
    color: #bbb;
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: #0d6efd;
    padding-left: 5px;
}

/* Social Icons */
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #0d6efd;
    border-radius: 50%;
    color: #0d6efd;
    margin: 5px;
    transition: 0.4s;
    text-decoration: none;
}

.social-btn:hover {
    background: #0d6efd;
    color: white;
    transform: scale(1.1);
}

/* Divider */
.footer-divider {
    border-color: #0d6efd;
}

/* Copyright */
.footer-copy {
    color: #0d6efd;
}

/* Back To Top Button */
.back-top-btn {
    background: #0d6efd;
    border: none;
    transition: 0.3s;
}

.back-top-btn:hover {
    background: #0a58ca;
}

/* Floating WhatsApp */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    z-index: 1050;
    text-decoration: none;
    transition: all 0.4s ease;
}

.whatsapp-float {
    width: 65px;
    height: 65px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: 0.4s;
    position: relative;
    z-index: 2;
}

.whatsapp-text {
    background: white;
    color: #333;
    padding: 10px 20px;
    border-radius: 50px 0 0 50px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #25d366;
    border-right: none;
    margin-right: -10px;
    box-shadow: -10px 5px 20px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.4s ease;
    white-space: nowrap;
    z-index: 1;
}

.whatsapp-container:hover .whatsapp-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-container:hover .whatsapp-float {
    background: #128c7e;
    transform: scale(1.1) rotate(15deg);
}
/* cursour image style start here */
  .carousel-item img {
      height: 60vh;       /* normal hero height */
      object-fit: cover;  /* crop nicely */
      width: 100%;        /* full width */
    }

    /* Animate controls */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
    .carousel-control-prev:hover .carousel-control-prev-icon {
      transform: scale(1.2);
      opacity: 0.8;
    }
    .carousel-control-next:hover .carousel-control-next-icon {
      transform: scale(1.2);
      opacity: 0.8;
    }

    /* Animate indicators */
    .carousel-indicators button {
      transition: background-color 0.3s ease, transform 0.3s ease;
    }
    .carousel-indicators button.active {
      transform: scale(1.2);
      background-color: #0d6efd;
    }
/* cursour image ends here  */
  /* document.querySelectorAll('#listAccordion .accordion-button').forEach(button => {
    button.addEventListener('click', function () {
      const target = document.querySelector(this.dataset.bsTarget);
      if (target.classList.contains('show')) {
        // If already open, close it manually
        const collapse = bootstrap.Collapse.getInstance(target);
        collapse.hide();
      }
    });
  }); */

  /* Modal Styling */
.modal-content {
    border: none;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-blue), #6610f2);
    border-radius: 25px 25px 0 0;
}

.modal-body .form-control, 
.modal-body .form-select {
    border: 2px solid #f8f9fa;
    background-color: #f8f9fa;
    padding: 12px 20px;
    border-radius: 15px;
    transition: 0.3s;
}

.modal-body .form-control:focus, 
.modal-body .form-select:focus {
    border-color: var(--primary-blue);
    background-color: #fff;
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.05);
}

.modal-body .btn-primary {
    background: linear-gradient(90deg, var(--primary-blue), #6610f2);
    border: none;
    transition: all 0.3s ease;
}

.modal-body .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* according section start here */
 
/* according section ends here   */
