body {
      font-family: 'Poppins', sans-serif;
      background: #f4f7fa;
      color: #333;
      overflow-x: hidden;
      scroll-behavior: smooth;
    }

    /* Hero Section */
    header.hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/images/New_Era_Enterprises_1.jpeg');
      background-size: cover;
      background-position: top;
      color: #fff;
      padding: 120px 0;
      text-align: center;
      min-height: 50vh;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 1s ease-in;
    }
    header.hero.loaded {
      opacity: 1;
    }
    header.hero h1 {
      font-size: 3rem;
      font-weight: 700;
      animation: fadeInDown 1s ease-in-out;
    }
    header.hero p {
      font-size: 1.3rem;
      max-width: 600px;
      margin: 0 auto;
      animation: fadeInUp 1s ease-in-out 0.3s;
      animation-fill-mode: both;
    }
    .hero .btn {
      border-radius: 50px;
      padding: 12px 30px;
      font-weight: 600;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      margin: 10px;
    }
    .hero .btn:hover {
      transform: scale(1.1);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    /* Sections */
    section {
      padding: 40px 0 0 0;
      position: relative;
    }
    section h2 {
      font-size: 2.5rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 10px;
      color: #0a0a0a;
    }

    /* Services Section */
    .card {
      border: none;
      border-radius: 15px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      background: #fff;
      opacity: 0;
      transform: translateY(50px);
    }
    .card.animated {
      opacity: 1;
      transform: translateY(0);
    }
    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    .card-body i {
      font-size: 2.5rem;
      color: #00aaff;
      margin-bottom: 15px;
    }
    .card-title {
      font-size: 1.5rem;
      font-weight: 600;
      color: #0a0a0a;
    }
    .card-text {
      color: #555;
    }

    /* Contact Section */
    #contact p {
      font-size: 1.1rem;
      color: #555;
    }
    #contact .btn {
      border-radius: 50px;
      padding: 10px 25px;
      font-weight: 600;
      transition: transform 0.3s ease;
    }
    #contact .btn:hover {
      transform: translateY(-3px);
    }

    /* Footer */
    footer {
      background: #0a0a0a;
      color: #fff;
      padding: 30px 0;
      text-align: center;
      font-size: 0.9rem;
    }

    .back-to-top:hover {
      background: #0088cc;
      transform: translateY(-5px);
    }

    /* Animations */
    @keyframes fadeInDown {
      0% { opacity: 0; transform: translateY(-20px); }
      100% { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeInUp {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      header.hero h1 {
        font-size: 2rem;
      }
      header.hero p {
        font-size: 1rem;
      }
      section h2 {
        font-size: 2rem;
      }
      .card {
        margin-bottom: 20px;
      }
    }
 
    section.gallery h2 {
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
      margin-bottom: 40px;
      color: #0a0a0a;
    }
    .gallery-img {
      border-radius: 10px;
      cursor: pointer;
      transition: transform 0.3s ease;
    }
    .gallery-img:hover {
      transform: scale(1.05);
      box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

    

    /* Modal Image Styling */
    .modal-content {
      background: transparent;
      border: none;
    }
    .modal-img {
      max-width: 100%;
      max-height: 80vh;
      object-fit: contain;
      border-radius: 10px;
    }
    .modal-close {
      position: fixed;
      top: 15px;
      right: 15px;
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      border: none;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      cursor: pointer;
      z-index: 1050;
    }
    .modal-close:hover {
      background: rgba(0, 0, 0, 0.9);
    }

    .modal-nav {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-top: 10px;
    }
    .modal-nav-btn {
      background: rgba(0, 0, 0, 0.7);
      color: #fff;
      border: none;
      border-radius: 5px;
      padding: 10px 20px;
      cursor: pointer;
      font-size: 1rem;
      transition: background 0.3s ease;
    }
    .modal-nav-btn:hover {
      background: rgba(0, 0, 0, 0.9);
    }
    .modal-nav-btn:disabled {
      background: rgba(0, 0, 0, 0.3);
      cursor: not-allowed;
    }

    .back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px;
      background: #0a0a0a;
      color: #fff;
      border-radius: 50%;
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .back-to-top.show {
      opacity: 1;
    }