/* ==========================================================================
   1. Global Styles & Fluid Typography
   ========================================================================== */
* {
  box-sizing: border-box;
}

body,
html {
  margin: 0;
  padding: 0;
  width: 100%;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.03);
}

p {
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 400;
  line-height: 1.5;
  font-size: clamp(0.95rem, 1.2vw, 1rem);
}

h1 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
  margin-bottom: 15px;
}

h2 {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  color: #000;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-top: 15px;
  margin-bottom: 10px;
}

h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: #b91c1c;
  font-family: Georgia, "Times New Roman", Times, serif;
  margin-top: 15px;
  margin-bottom: 10px;
}

/* ==========================================================================
   2. Navigation Header & Hero Section
   ========================================================================== */
header.hero-header {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(images/worldwidenet.jpg);
  background-position: bottom;
  background-size: cover;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  padding: 15px 20px;
  justify-content: space-between;
  align-items: center;
  color: whitesmoke;
  z-index: 1000;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: translateY(-1px);
}

.logo-icon {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: #38bdf8;
}

.logo-text {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo-accent {
  color: #38bdf8;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin: 0 10px;
}

.menu-toggle,
.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  height: 3px;
  width: 100%;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hero-content {
  width: 100%;
  max-width: 900px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 30px;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(0.75rem, 1.5vw, 0.875rem);
  font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(5px);
}

.hero-title {
  font-size: clamp(1.85rem, 6vw, 3.75rem);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 20px 0;
  word-wrap: break-word;
}

.hero-title span {
  color: #38bdf8;
  background: linear-gradient(to right, #38bdf8, #818cf8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  color: #fff;
  font-family: sans-serif;
  line-height: 1.6;
  max-width: 750px;
  margin: 0 auto;
}

/* ==========================================================================
   3. Main Layout Components
   ========================================================================== */
.container {
  width: 100%;
  margin: 0 auto;
}

.flex-container {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: #484872;
  width: 100%;
}

.flex-column {
  flex: 1;
  background-color: #e2e8f0;
  padding: 15px;
  border-radius: 30px;
  min-width: 0;
}

.imageframe {
  padding: 10px;
  margin: 10px auto;
  display: block;
}

.button {
  padding: 8px 15px;
  background: #d80058;
  border-radius: 30px;
  color: whitesmoke;
  cursor: pointer;
  display: inline-block;
  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.button:hover {
  background: whitesmoke;
  color: #d80058;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.34);
}

.center {
  color: #000;
  text-align: center;
  margin: 10px auto;
  padding: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.active {
  color: #d80058;
  text-decoration: underline;
  font-weight: bold;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

.white {
  color: #ffffff;
  text-decoration: underline;
}

.white:hover {
  color: #007bff;
}

.responsive {
  text-align: center;
}

.maintenance {
  margin-top: 10px;
  margin-bottom: 10px;
}

.maintenance ul {
  list-style: disc;
}

/* Contact Form */
.contact-container {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  margin: 20px auto;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  color: #666666;
  font-size: 14px;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 4px;
  font-size: 14px;
  color: #333333;
  outline: none;
  transition: border-color 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #007bff;
}

.submit-btn {
  width: 100%;
  padding: 12px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn:hover {
  background-color: #0056b3;
}

/* Contact Form Status Notifications */
.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto 20px auto;
  padding: 12px 16px;
  border-radius: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.3s ease;
}

.status-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.status-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.status-warning {
  background-color: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.status-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: bold;
  color: inherit;
  cursor: pointer;
  padding: 0 0 0 12px;
  line-height: 1;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer {
  width: 100%;
  padding: 20px 20px;
  background: #484872;
  text-align: center;
}

.footer p {
  color: whitesmoke;
  font-family: "Times New Roman", Times, serif;
  font-weight: 400;
}

/* ==========================================================================
   4. Testimonials Section Component
   ========================================================================== */
.testimonials-section {
  padding: 20px 10px;
  background-color: #0f172a;
  font-family: "Montserrat", sans-serif;
  color: #f8fafc;
  text-align: center;
  border-radius: 20px;
  margin: 20px 0;
}

.testimonials-title {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.testimonials-title span {
  color: #38bdf8;
  background: linear-gradient(to right, #38bdf8, #818cf8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.slider-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  position: relative;
}

.slider-wrapper {
  overflow: hidden;
  width: 100%;
  border-radius: 16px;
  background-color: #1e293b;
  border: 1px solid #334155;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.testimonial-slide {
  min-width: 100%;
  padding: 25px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 16px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: clamp(0.875rem, 2vw, 0.9375rem);
  line-height: 1.6;
  color: #cbd5e1;
  font-weight: 400;
  font-style: italic;
  margin: 0;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.author-info {
  text-align: center;
}

.author-name {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.author-title {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

.slider-btn {
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background-color 0.3s,
    border-color 0.3s,
    color 0.3s,
    transform 0.2s;
  z-index: 10;
  flex-shrink: 0;
}

.slider-btn:hover {
  background-color: #38bdf8;
  border-color: #38bdf8;
  color: #0f172a;
  transform: scale(1.05);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #334155;
  cursor: pointer;
  transition:
    background-color 0.3s,
    transform 0.2s;
}

.dot.active {
  background-color: #38bdf8;
  transform: scale(1.2);
}

.centre {
  text-align: center;
}

div.scroll-container {
  background-color: #ffffff;
  overflow: auto;
  white-space: nowrap;
  padding: 10px;
}

div.scroll-container img {
  padding: 10px;
  width: 800px;
  max-width: none;
  height: auto;
}

/* ==========================================================================
   5. Responsive Media Queries
   ========================================================================== */

/* Container Constraints for Wide Screens */
@media (min-width: 1025px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1536px;
  }
}

/* Mobile & Tablet Viewports (<= 1024px) */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #1e293b;
    border-top: 1px solid #444;
    padding: 20px 0;
    z-index: 1000;
  }

  .nav-links li {
    margin: 15px 0;
    text-align: center;
  }

  .menu-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero-header:has(.menu-toggle:checked) .hero-content {
    display: none;
  }

  .flex-container {
    flex-direction: column;
  }
}

/* Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  .flex-column {
    width: 100%;
  }

  .testimonials-section,
  .testimonial-slide {
    padding: 20px 10px;
  }

  .slider-btn {
    display: none;
  }
}
