/* ===== General Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f5f5f5;
  color: #333;
}

.btn {
  display: inline-block;
  background-color: #030114;
  color: #fff;
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

.btn:hover {
  background-color: #2f2a55;
}

/* ===== Hero Slider ===== */
.hero-slider-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
}

.hero-slide .hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background: rgba(0,0,0,0.4);
}

.hero-slide-content {
  position: absolute;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
  text-align:center;
  color:#fcf9f9ef;
}

.hero-slide-content h1,
.hero-slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.hero-slide-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  top: 50%; /* vertically center */
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-controls button {
  background: rgb(24, 22, 22);
  color: #f34906;
  border: none;
  font-size: 2.5rem;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 50%;
  transition: 0.3s;
}

.slider-controls button:hover {
  background: rgba(58, 54, 106, 0.8); /* darker on hover */
}

/* ===== Popup Forms ===== */
.popup-form {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.popup-content h3 {
  margin-bottom: 20px;
}

.popup-content input,
.popup-content select,
.popup-content textarea {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.popup-close {
  position: absolute;
  top:10px; right:15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Project Gallery Popup ===== */
.project-popup-overlay {
  position: fixed;
  top:0; left:0;
  width:100%; height:100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.project-popup-content {
  position: relative;
  max-width: 80%;
  max-height: 80%;
}

.project-popup-content img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.popup-controls {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.popup-controls button {
  background: rgba(255,255,255,0.6);
  border: none;
  font-size: 2rem;
  padding: 5px 15px;
  cursor: pointer;
}

.popup-controls button:hover {
  background: rgba(255,255,255,0.9);
}

/* ===== Features Section ===== */
.aplpg-feature-section {
  padding: 80px 20px;
  background: #fff;
}

.feature-card {
  background: #f8f8f8;
  padding: 20px;
  margin: 15px;
  border-radius: 10px;
  text-align: center;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2rem;
  color: #3a366a;
  margin-bottom: 10px;
}

/* ===== Cookie & Privacy Policy Floating ===== */

.policy-container {
  position: fixed;
  bottom: -200px; /* initially hidden */
  right: 20px;
  max-width: 350px;
  background: rgba(58, 54, 106, 0.8); /* semi-transparent */
  color: #fff;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  z-index: 1000;
  opacity: 0;
  transition: all 0.5s ease-in-out;
  cursor: move; /* indicate draggable */
}

.policy-container.show {
  bottom: 20px;
  opacity: 1;
}

.policy-container p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.policy-container p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #bea5a5; /* set to white for better contrast */
}
.policy-container a {
  color: #ff5e00; /* bright link color */
  text-decoration: underline;
}

.policy-container .btn {
  margin: 3px;
  font-size: 0.85rem;
  background: rgba(61, 60, 60, 0.2);
  color: #fff;
  border: 1px solid #fff;
  transition: 0.3s;
}

.policy-container .btn:hover {
  background: rgba(255,255,255,0.4);
}