* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
  background: #f8f9fa;
}

img {
  loading: lazy;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.header-cont {
  padding-inline: 5%;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: auto;
  display: flex;
  gap: 1rem;
  align-items: center;
  height: 50px;
  font-size: 2rem;
  font-weight: bold;
  color: #e5bf1d;
  font-family: "Oswald", sans-serif;
}

.logo img {
  height: 100%;
}

.contact-header a {
  background-color: #e5bf1d;
  font-weight: 600;
  padding: 0.6rem 2rem;
  font-size: 1.3rem;
  border-radius: 10px;
  border: none;
  color: #010101;
  font-family: "Oswald", sans-serif;

  text-decoration: none;
}

.contact-header a:hover {
  background: #d4ac1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 191, 29, 0.4);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("./images/cb6-building.jpg") no-repeat left 36%;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 2rem 0;
}

.hero_title {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.hero_title img {
  height: 6rem;
  padding-bottom: 1rem;
}

.hero-content {
  max-width: 900px;
  padding: 2rem 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 4rem;
  color: #e5bf1d;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: white;
  font-weight: 400;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.puzzle-logo {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.puzzle-logo img {
  width: 100%;
  height: 100%;
}

/* About Section */
.about {
  padding: 80px 0;
  background: white;
}

.container-about {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #010101;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: #e5bf1d;
}

.about-content {
  padding-block: 4rem;
}

.about-text {
  width: 100%;
  font-size: 1.1rem;
  line-height: 1.8;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.about_card {
  border: 1px solid #e7e7e7;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  border-radius: 15px;
}

.about-text h3 {
  color: #e5bf1d;
  background-color: #1b1b1b;
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
  padding: 1rem 3rem;
  border-radius: 15px 15px 0 0;
}

.about-text h3:first-child {
  margin-top: 0;
}

.card-text {
  padding: 2rem 3rem 3rem 3rem;
}

.about-image {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  transform: perspective(1000px) rotateY(-3deg);
  transition: transform 0.3s ease;
}

.about-image:hover {
  transform: perspective(1000px) rotateY(0deg);
}

.about-image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

/* Contact Section */
.contact {
  background: linear-gradient(135deg, #010101 0%, #010101 100%);
  color: white;
  padding: 100px 0;
}

.contact .section-title {
  color: white;
}

.contact .section-title::after {
  background: #e5bf1d;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #e5bf1d;
}

.contact-info p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.contact-info .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background: #e5bf1d;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #e5bf1d;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  background: white;
  box-shadow: 0 0 15px rgba(229, 191, 29, 0.5);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.submit-btn {
  background: #e5bf1d;
  color: #010101;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-btn:hover {
  background: #d4ac1a;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(229, 191, 29, 0.4);
}

/* Footer */
footer {
  background: #010101;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 465px) {

  .about,
  .contact {
    padding-top: 2.5rem;
  }

  .contact-header {
    display: none;
  }

  .about_card h3 {
    padding: 1.2rem;
  }

  .about-content {
    padding-block: 1rem;
  }

  .card-text {
    padding: 1rem 2rem 2rem 2rem;
  }

  .hero {
    height: 90vh;
    padding: 0;
  }

  .hero-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: none;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    gap: 1rem;
  }

  .about-text {
    display: flex;
    flex-direction: column;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    transform: none;
  }

  .section-title {
    font-size: 2rem;
  }
}

.contact_item_cont {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact_item_cont.address {
  align-items: start;
}

.contact_item_cont .contact_item_image_box {
  display: grid;
  place-content: center;
}

.contact_item_cont .contact_item_image_box img {
  height: 2rem;
}

.contact_item_title {
  font-weight: 600;
  color: #f8f9fa;
  text-decoration: none;
}

.contact_item_title span {
  font-weight: normal;
}

.address_text {
  display: block;
}

.cf-turnstile {
  text-align: center;
  margin-bottom: 1.5rem;
}

.response-message {
  margin: 15px 0;
  padding: 12px;
  border-radius: 4px;
  font-weight: bold;
  text-align: center;
  display: none;
}

.response-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.response-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}


/* Cookie Banner */

/* Cookie Banner Styles */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(33, 37, 41, 0.98);
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  font-family: 'Open Sans', sans-serif;
  display: none;
  backdrop-filter: blur(10px);
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-banner h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #e9ecef;
}

.cookie-banner a {
  color: #007bff;
  text-decoration: none;
}

.cookie-banner a:hover {
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Open Sans', sans-serif;
}

.cookie-btn-accept {
  background: #28a745;
  color: white;
}

.cookie-btn-accept:hover {
  background: #218838;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: #6c757d;
  color: white;
}

.cookie-btn-decline:hover {
  background: #5a6268;
  transform: translateY(-1px);
}

.cookie-btn-manage {
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.cookie-btn-manage:hover {
  background: #007bff;
  color: white;
}

/* Cookie Settings Modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  margin: 20px;
  position: relative;
}

.cookie-modal h2 {
  margin: 0 0 20px 0;
  font-size: 24px;
  color: #333;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #dee2e6;
  border-radius: 5px;
}

.cookie-category h4 {
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cookie-toggle {
  position: relative;
  width: 50px;
  height: 24px;
  background: #ccc;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.cookie-toggle.active {
  background: #28a745;
}

.cookie-toggle.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

.cookie-toggle.active::after {
  transform: translateX(26px);
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  justify-content: flex-end;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 15px;
  }

  .cookie-banner-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner-buttons {
    justify-content: center;
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    min-width: 100px;
  }
}

/* Footer cookie link */
.footer-cookie-link {
  color: #666;
  text-decoration: none;
  font-size: 12px;
  margin-left: 20px;
}

.footer-cookie-link:hover {
  color: #333;
  text-decoration: underline;
}