/* Original Modal Button Styling - Kept for compatibility */
.floating-btn {
  position: fixed;
  bottom: 140px; /* Position above WhatsApp icon */
  right: 25px;
  background-color: #0053a1; /* Using your site's blue color */
  color: white;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 998;
  transition: all 0.3s ease;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
}

.floating-btn:hover {
  background-color: #003d78;
  transform: scale(1.05);
}

/* New Expandable Floating Buttons */
.icon-btn {
  position: fixed;
  right: 25px;
  background-color: #0053a1;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 998;
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Position the buttons at different heights */
.contact-btn {
  bottom: 120px;
}

.whatsapp-btn {
  bottom: 60px;
}

.icon-btn:hover {
  width: 160px;
  border-radius: 30px;
}

.btn-icon {
  font-size: 24px;
  transition: transform 0.3s ease;
}

.btn-text {
  white-space: nowrap;
  position: absolute;
  left: 50px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-weight: 600;
  font-family: 'Arial', sans-serif;
  color: white;
}

.icon-btn:hover .btn-text {
  opacity: 1;
}

.icon-btn:hover .btn-icon {
  transform: translateX(-50px);
}
.icon-btn:hover .btn-icon:nth-child(1) {
  transform: translateX(-80px);
  scale: 0.7;
}

/* WhatsApp button specific styling */
.whatsapp-btn {
  background-color: #25D366;
}

.whatsapp-btn:hover {
  background-color: #128C7E;
}

/* Contact button hover effect */
.contact-btn:hover {
  background-color: #003d78;
}

.portfolio-btn {
      position: fixed;
      display: flex;
      align-items: center;
      bottom: 300px;
      right: 50px;
      height: 50px;
      transform: translateY(-50%) rotate(-90deg);
      transform-origin: right center;
      background-color: #333;
      color: #fff;
      padding: 10px 20px;
      border-radius: 10px 10px 10px 10px;
      text-decoration: none;
      font-size: 14px;
      letter-spacing: 1px;
      transition: background 0.3s ease;
      z-index: 998;
    }

    .portfolio-btn:hover {
      background-color: #555;
    }


.brochure-btn {
      position: fixed;
      bottom: 180px;
      right: 25px;
      height: 50px;
      background-color: #0057a3;
      border-radius: 25px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      color: white;
      font-family: sans-serif;
      text-decoration: none;
      overflow: hidden;
      padding: 0;
      width: 50px;
      transition: width 0.3s ease;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
      z-index: 998;
    }

    .brochure-btn:hover {
      width: 180px;
    }

    .brochure-icon {
      width: 50px;
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .brochure-icon img {
      width: 24px;
      height: 24px;
    }

    .brochure-text {
      white-space: nowrap;
      opacity: 0;
      margin-left: 10px;
      transition: opacity 0.3s ease;
      font-size: 14px;
    }

    .brochure-btn:hover .brochure-text {
      opacity: 1;
    }

/* Original Modal Styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  z-index: 1000;
  overflow: auto;
  animation: fadeIn 0.3s;
  z-index: 10000;
  overflow: hidden;

}

.modal-content {
  position: relative;
  margin: 5% auto;
  padding: 0;
  width: 90%;
  max-width: 700px;
  max-height: 600px;
  overflow-y:scroll;
  overflow-x: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  animation: slideDown 0.4s;
}

.modal-content {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}
.modal-content::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
  /* padding-bottom: 20px; */
padding: 14px;
padding-top: 0px;
padding-bottom: 0px;
margin-bottom:10px;
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #333;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1000;
}

.close-modal:hover {
  color: #0053a1;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideDown {
  from {transform: translateY(-50px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .iframe-container {
    height: 500px;
  }
  
  .icon-btn {
    width: 45px;
    height: 45px;
  }
  
  .icon-btn:hover {
    width: 140px;
  }
  
  .btn-icon {
    font-size: 20px;
  }
}



.modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(10px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease-out;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        .modal-content {
            background: white;
            border-radius: 20px;
            padding: 40px;
            width: 90%;
            max-width: 600px;
            position: relative;
            box-shadow: 0 25px 50px rgba(8, 76, 150, 0.15);
            transform: translateY(-20px);
            animation: slideUp 0.4s ease-out;
            border: 1px solid rgba(8, 76, 150, 0.1);
        }

        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(30px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }

        .close-modal {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 28px;
            color: #084c96;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            background: rgba(8, 76, 150, 0.05);
        }

        .close-modal:hover {
            background: rgba(8, 76, 150, 0.1);
            transform: rotate(90deg);
        }

        .form-header {
            text-align: center;
            margin-bottom: 30px;
        }

        .form-header h2 {
            color: #084c96;
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 10px;
        }

        .form-header p {
            color: #64748b;
            font-size: 1.1rem;
        }

        .contact-form {
            display: grid;
            gap: 20px;
        }

        .form-group {
            position: relative;
        }

        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group label {
            display: block;
            color: #374151;
            font-weight: 500;
            margin-bottom: 8px;
            font-size: 0.95rem;
        }

        .form-group input,
        .form-group select,
        .form-group textarea {
            width: 100%;
            padding: 15px 20px;
            border: 2px solid #e5e7eb;
            border-radius: 12px;
            background: white;
            color: #374151;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #9ca3af;
        }

        .form-group input:focus,
        .form-group select:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: #084c96;
            box-shadow: 0 0 0 3px rgba(8, 76, 150, 0.1);
            transform: translateY(-2px);
        }

        .form-group select {
            cursor: pointer;
        }

        .form-group select option {
            background: white;
            color: #374151;
        }

        .budget-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }

        .submit-btn {
            background: linear-gradient(45deg, #084c96, #0a5aa8);
            color: white;
            border: none;
            padding: 18px 40px;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-top: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            box-shadow: 0 4px 15px rgba(8, 76, 150, 0.2);
        }

        .submit-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 25px rgba(8, 76, 150, 0.3);
            background: linear-gradient(45deg, #0a5aa8, #0c68b8);
        }

        .submit-btn:active {
            transform: translateY(-1px);
        }

        .form-decorations {
            position: absolute;
            top: -50px;
            right: -50px;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(8, 76, 150, 0.05), transparent);
            border-radius: 50%;
            pointer-events: none;
        }

        .form-decorations::before {
            content: '';
            position: absolute;
            top: 60px;
            left: -30px;
            width: 60px;
            height: 60px;
            background: radial-gradient(circle, rgba(8, 76, 150, 0.03), transparent);
            border-radius: 50%;
        }

        @media (max-width: 768px) {
            .modal-content {
                padding: 30px 20px;
                margin: 20px;
            }

            .form-row,
            .budget-group {
                grid-template-columns: 1fr;
            }

            .form-header h2 {
                font-size: 2rem;
            }
        }

        /* Demo button to show modal */
        .demo-btn {
            background: linear-gradient(45deg, #084c96, #0a5aa8);
            color: white;
            border: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(8, 76, 150, 0.3);
        }

        .demo-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(8, 76, 150, 0.4);
        }