/* ----------------------------- */
/* Global Styles */
/* ----------------------------- */
html {
  background-color: #000000;
  /* Prevent white flash during transitions */
}

body {
  margin: 0;
  font-family: 'Futura', 'Trebuchet MS', Arial, sans-serif;
  background: linear-gradient(to bottom,
      #000000 0%,
      #00A2E8 30%,
      #3F48CC 65%);
  color: #FFFFFF;
  line-height: 1.6;
}

/* Creative Transition Overlay */
#transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #003366;
  /* Lighter Navy Blue */
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Slide Transition Logic */
  transform: translateY(100%);
  /* Default: Hidden at Bottom */
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  /* Faster 0.4s */
  pointer-events: none;
}

/* Active: slide up to cover (Center) */
#transition-overlay.active {
  transform: translateY(0);
  pointer-events: all;
}

/* Exit: slide up to reveal (Top) */
#transition-overlay.exit {
  transform: translateY(-100%);
  pointer-events: none;
}

#transition-text {
  display: none;
  /* Hide text as requested */
  font-family: 'Krona One', sans-serif;
  font-size: 8vw;
  color: #00A2E8;
  /* Brand Blue */
  text-transform: uppercase;
  letter-spacing: 5px;
  animation: textFocusIn 0.8s cubic-bezier(0.550, 0.085, 0.680, 0.530) both;
  text-align: center;
  padding: 20px;
}

@keyframes textFocusIn {
  0% {
    filter: blur(12px);
    opacity: 0;
  }

  100% {
    filter: blur(0px);
    opacity: 1;
  }
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand h1,
.service-item summary,
.faq-item summary,
.process-step .step-number {
  font-family: 'Krona One', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: 'Jost', sans-serif;
}

/* ----------------------------- */
/* Header */
/* ----------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 50px;
  position: sticky;
  top: 0;
  z-index: 3000;
  /* Ensure header stays above modal (2000) */
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

.brand-link:hover {
  opacity: 0.8;
}

.brand img {
  height: 50px;
}

.site-header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
}

nav a {
  margin-left: 25px;
  font-weight: 500;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* ----------------------------- */
/* Hero Sections */
/* ----------------------------- */
.hero,
.page-hero {
  padding: 40px 50px 0;
  /* Zero bottom padding */
  text-align: center;
}

.hero h2,
.page-hero h2 {
  font-size: 44px;
  margin-bottom: 5px;
  /* Tighten title to paragraph */
  margin-top: 0;
}

.hero p,
.page-hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

/* ----------------------------- */
/* Content Sections */
/* ----------------------------- */
.content {
  padding: 0 50px 60px;
  /* Zero top padding */
}

.home-vision {
  text-align: center;
  max-width: 800px;
  /* Improve readability when centered */
  margin: 0 auto;
}

/* General Heading */
.content h3 {
  font-size: 32px;
  margin-bottom: 25px;
}

/* ----------------------------- */
/* Services Page */
/* ----------------------------- */
/* ----------------------------- */
/* Services Page */
/* ----------------------------- */
.service-container {
  max-width: 800px;
  margin: 0 auto;
}

.service-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}



/* ----------------------------- */
/* Process Section (Timeline) */
/* ----------------------------- */
.process-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Vertical Line */
/* Vertical Line Removed */
.process-timeline::before {
  display: none;
}

.process-step {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: flex-start;
  /* Align top */
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Stagger animations */
.process-step:nth-child(1) {
  animation-delay: 0.1s;
}

.process-step:nth-child(2) {
  animation-delay: 0.3s;
}

.process-step:nth-child(3) {
  animation-delay: 0.5s;
}

.process-step:nth-child(4) {
  animation-delay: 0.7s;
}

/* The Marker (Minimalist Number) */
.step-marker {
  width: 60px;
  /* Keep fixed width for alignment */
  height: 60px;
  background: transparent;
  /* No background */
  border: none;
  /* No circle border */
  border-radius: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Krona One', sans-serif;
  font-size: 36px;
  /* Larger font */
  color: #00A2E8;
  z-index: 2;
  flex-shrink: 0;
  margin-right: 40px;
  box-shadow: none;
  /* No shadow box */
  text-shadow: 0 0 15px rgba(0, 162, 232, 0.3);
  /* Text glow */
  transition: transform 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
}

/* Add a background to hide the line behind the number if needed, 
   or accept the line running through (but line is z-index 1, text is 2).
   Since background is gradient, hard to match. 
   Let's keep the line. It will run 'behind' the number. 
*/

.process-step:hover .step-marker {
  transform: scale(1.1);
  box-shadow: none;
  border-color: transparent;
  color: #40E0D0;
  text-shadow: 0 0 25px rgba(64, 224, 208, 0.6);
}

/* The Content Card (Minimalist) */
.step-content {
  flex: 1;
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0 10px 30px;
  /* Reduced vertical padding, added left padding */
  border-radius: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.process-step:hover .step-content {
  transform: translateX(10px);
  background: transparent;
  border-color: #40E0D0;
  /* Turquoise accent */
}

.step-content h3 {
  margin-top: 0;
  color: #FFFFFF;
  font-size: 24px;
  margin-bottom: 15px;
}

.step-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .process-timeline::before {
    left: 30px;
  }

  .step-marker {
    width: 60px;
    height: 60px;
    margin-right: 20px;
  }

  .process-step {
    gap: 0;
  }
}

/* ----------------------------- */
/* Philosophy Section (Editorial) */
/* ----------------------------- */
.philosophy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.philosophy-section {
  /* Minimalist Editorial Style */
  background: transparent;
  padding: 10px 0 10px 30px;
  /* Indent text */
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  /* Subtle accent line */
  margin-bottom: 50px;

  /* Animation */
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.philosophy-section:hover {
  border-left-color: #40E0D0;
  /* Turquoise on hover */
  transform: translateX(15px);
  /* Slide right */
  background: linear-gradient(to right, rgba(64, 224, 208, 0.05), transparent);
  /* Subtle trail */
  box-shadow: -1px 0 15px rgba(64, 224, 208, 0.2);
  /* Glowing edge */
}

.philosophy-section:hover h3 {
  color: #40E0D0;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Stagger Animations */
.philosophy-section:nth-child(1) {
  animation-delay: 0.1s;
}

.philosophy-section:nth-child(2) {
  animation-delay: 0.2s;
}

.philosophy-section:nth-child(3) {
  animation-delay: 0.3s;
}

.philosophy-section:nth-child(4) {
  animation-delay: 0.4s;
}

.philosophy-section h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 28px;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 15px;
}

.philosophy-section p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  max-width: 700px;
}

/* ----------------------------- */
/* FAQ Section */
/* ----------------------------- */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.faq-item summary {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  /* Hide default triangle */
  position: relative;
  padding-right: 40px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
  top: 18px;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  padding: 0 20px 20px 20px;
  margin: 0;
  opacity: 0.9;
  font-size: 16px;
}

/* ----------------------------- */
/* Projects Page */
/* ----------------------------- */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.project-card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
}

.project-card h4 {
  font-size: 22px;
  margin-top: 0;
}

.project-card p {
  font-size: 16px;
  line-height: 1.5;
}

/* ----------------------------- */
/* Contact Form */
/* ----------------------------- */
.contact-form {
  max-width: 500px;
  margin: 0 auto;
}

.contact-form label {
  display: block;
  margin-bottom: 20px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  font-family: inherit;
  font-size: 16px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #FFFFFF;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form button {
  background: #3F48CC;
  color: #FFFFFF;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
  transition: opacity 0.3s;
}

.contact-form button:hover {
  opacity: 0.8;
}

/* ----------------------------- */
/* Social Connect */
/* ----------------------------- */
.social-connect {
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-connect h3 {
  font-size: 24px;
  margin-bottom: 30px;
}

.social-links {
  display: flex;
  flex-direction: row;
  /* Changed back to row */
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.social-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  /* No gap needed for icon-only */
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s;
  padding: 12px;
  /* Square padding */
  border-radius: 50%;
  /* Circle shape */
  background: rgba(255, 255, 255, 0.05);
  width: 44px;
  /* Fixed width/height for perfect circles */
  height: 44px;
}

.social-item:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  /* Changed to Y for hop effect */
}

.social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Optimize Contact Page Extra Styles */
.faq-prompt {
  text-align: center;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
}

.faq-prompt a {
  color: #40E0D0;
  /* Bright turquoise for better visibility */
  text-decoration: none;
  font-weight: 600;
}

.faq-prompt a:hover {
  text-decoration: underline;
}

.direct-email {
  text-align: center;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.direct-email a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}

.direct-email a:hover {
  opacity: 0.8;
}

/* Success Message (Hidden by default) */
.success-message {
  display: none;
  background: rgba(0, 255, 128, 0.1);
  border: 1px solid rgba(0, 255, 128, 0.3);
  color: #00ff80;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 30px;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* About Page Optimization */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 800px;
  margin: 60px auto;
}

.about-section {
  /* Minimalist Editorial Style */
  background: transparent;
  padding: 10px 40px;
  border-radius: 0;
  border: none;
  /* Accent Line */
  border-left: 4px solid #00A2E8;

  opacity: 0;
  animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.about-section:hover {
  transform: translateY(-5px) scale(1.01);
  border-left-color: #40E0D0;
  background: linear-gradient(to right, rgba(64, 224, 208, 0.08), transparent);
  box-shadow: 0 10px 30px -10px rgba(64, 224, 208, 0.4);
}

.about-section:hover h3 {
  color: #40E0D0;
  text-shadow: 0 0 10px rgba(64, 224, 208, 0.3);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.about-section:nth-child(1) {
  animation-delay: 0.1s;
}

.about-section:nth-child(2) {
  animation-delay: 0.2s;
}

.about-section:nth-child(3) {
  animation-delay: 0.3s;
}

.about-section:nth-child(4) {
  animation-delay: 0.4s;
}

.about-section h3 {
  font-family: 'Krona One', sans-serif;
  font-size: 32px;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 0;
  border-bottom: none;
}

.about-section p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* ----------------------------- */
/* FAQ & Services Optimization */
/* ----------------------------- */
.faq-container,
.service-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item,
.service-item {
  /* New Minimalist Style */
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
  /* Allow hover scaling without clipping */
  transition: opacity 0.3s;

  /* Entrance Animation */
  opacity: 0;
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Stagger animations for nice effect */
.faq-item:nth-child(1),
.service-item:nth-child(1) {
  animation-delay: 0.1s;
}

.faq-item:nth-child(2),
.service-item:nth-child(2) {
  animation-delay: 0.2s;
}

.faq-item:nth-child(3),
.service-item:nth-child(3) {
  animation-delay: 0.3s;
}

.faq-item:nth-child(4),
.service-item:nth-child(4) {
  animation-delay: 0.4s;
}

.faq-item:nth-child(5),
.service-item:nth-child(5) {
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Minimalist Hover: Just opacity */
.faq-item:hover,
.service-item:hover {
  transform: none;
  background: transparent;
  box-shadow: none;
}

.accordion-header:hover {
  color: #40E0D0;
  text-shadow: 0 0 12px rgba(64, 224, 208, 0.4);
  transform: translateX(10px);
}

.accordion-header {
  padding: 25px 0;
  margin: 0;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  /* white-space: nowrap; Removed for cleaner wrap */
  font-weight: 500;
  font-size: 22px;
  /* Larger font */
  line-height: 1.3;
  color: #FFFFFF;
  position: relative;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Custom Icon */
/* Custom Icon */
.accordion-header::after {
  content: '+';
  font-family: 'Krona One', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: #40E0D0;
  transition: transform 0.3s ease;
  /* position: absolute; Removed for Flexbox */
}

.accordion-item.active .accordion-header::after {
  transform: rotate(45deg);
}

/* Content Animation - CSS Grid */
.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
  grid-template-rows: 1fr;
}

.accordion-content>div,
.accordion-content>p {
  overflow: hidden;
}

.faq-item p,
.service-item p {
  padding: 0 0 25px 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

.accordion-item.active p {
  opacity: 1;
  transform: translateY(0);
}

.accordion-content ul {
  padding-left: 20px;
  margin: 15px 0;
  list-style-type: none;
  /* Custom markers via pseudo-elements */
}

.accordion-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.accordion-content li::before {
  content: '•';
  color: #40E0D0;
  /* Turquoise Bullet */
  position: absolute;
  left: 0;
  top: 0;
}

.info-section {
  max-width: 800px;
  margin: 80px auto;
  text-align: center;
  padding: 0 20px;
}

.info-section h3 {
  font-size: 32px;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.info-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ----------------------------- */
/* Services Grid Layout (Redesign) */
/* ----------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    /* Keep single column for list view */
    gap: 30px;
    padding: 0 40px;
    max-width: 1000px;
    /* Constrain width for elegance */
  }
}

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr;
    /* Strict single column */
    gap: 40px;
    max-width: 1000px;
    padding: 0 50px;
  }
}

/* Default Mobile/Tablet State (Stacked) */
.service-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 50px 30px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-align: center;
  /* Min height to ensure uniformity */
  min-height: 200px;
}

.service-card h3 {
  font-size: 26px;
  color: #40E0D0;
  margin-bottom: 25px;
  font-family: 'Krona One', sans-serif;
  letter-spacing: 1px;
}

/* Desktop Optimization */
@media (min-width: 1024px) {
  .service-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    padding: 40px 50px;
    align-items: center;
    /* Reset min-height if needed, or keep for consistency */
    min-height: auto;
    height: 160px;
    /* Fixed elegant height */
  }

  .service-card h3 {
    margin-bottom: 0;
    margin-right: 20px;
    font-size: 28px;
    max-width: 60%;
  }

  .view-more {
    white-space: nowrap;
  }
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(64, 224, 208, 0.5);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.view-more {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Jost', sans-serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
}

.service-card:hover .view-more {
  color: #FFFFFF;
  letter-spacing: 4px;
}

/* Hide full details in card view */
.service-details-full {
  display: none;
}

.service-card ul {
  display: none;
}

.service-card li {
  display: none;
}

.service-card:hover li::before {
  transform: translateX(3px);
  /* Subtle arrow nudge */
}

/* ----------------------------- */
/* Service Modal */
/* ----------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  /* Navy Blue | Visible but blurred background */
  background: rgba(0, 51, 102, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  padding: 0;
  /* Full screen */
  padding-top: 80px;
  /* offset for header if needed, but flex centering handles it */
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: transparent;
  /* No background */
  border: none;
  /* No border */
  box-shadow: none;
  /* No shadow */
  width: 100%;
  height: 100%;
  max-width: 1200px;
  /* Wider for full screen feel */
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center vertically */
  align-items: center;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 40px;
  right: 60px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 50px;
  /* Large, like a menu close */
  font-family: 'Krona One', sans-serif;
  line-height: 1;
  cursor: pointer;
  z-index: 2001;
  opacity: 0.7;
  transition: opacity 0.3s, transform 0.3s;
}

.modal-close:hover {
  opacity: 1;
  color: #40E0D0;
  background: transparent;
  transform: rotate(90deg);
}

.modal-content {
  padding: 60px 40px;
  color: #FFFFFF;
  text-align: left;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.modal-content p,
.modal-content ul {
  /* Remove center constraint to allow left align flow, or keep it if we want centered column */
  /* Let's go with full width container but centered content block */
  align-self: center;
  max-width: 700px;
  width: 100%;
}

.modal-content h3 {
  font-size: 48px;
  color: #40E0D0;
  margin-top: 0;
  margin-bottom: 50px;
  font-family: 'Krona One', sans-serif;
  text-align: center;
  align-self: center;
  width: 100%;
}

.modal-content h4 {
  font-size: 20px;
  color: #FFFFFF;
  font-family: 'Krona One', sans-serif;
  margin-top: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  align-self: center;
  max-width: 700px;
  width: 100%;
}

.modal-content p {
  font-size: 19px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  max-width: 100%;
}

.modal-content .service-details-full p strong {
  /* Deprecated: using h4 generally, but keeping for legacy cards not updated yet */
  display: block;
  font-size: 22px;
  margin-bottom: 15px;
  color: #FFFFFF;
  font-family: 'Krona One', sans-serif;
  margin-top: 20px;
}

.modal-content ul {
  background: transparent;
  padding: 0;
  margin-top: 10px;
  margin-bottom: 40px;
  text-align: left;
  display: block;
  /* Reset */
  max-width: 100%;
}

.modal-content li {
  margin-bottom: 15px;
  font-size: 18px;
  padding-left: 30px;
  position: relative;
  color: #DDDDDD;
}

.modal-content li::before {
  content: '◇';
  /* Premium diamond bullet */
  color: #40E0D0;
  position: absolute;
  left: 0;
  font-size: 14px;
  top: 4px;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 30px 20px;
    /* Tighter padding on mobile */
  }

  .modal-close {
    top: 20px;
    right: 20px;
    font-size: 32px;
    /* Smaller close button */
  }

  .modal-content h3 {
    font-size: 28px;
    /* Smaller title */
    margin-bottom: 30px;
  }

  .modal-content h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 15px;
  }

  .modal-content p {
    font-size: 16px;
    /* Readable body size */
    margin-bottom: 15px;
  }

  .modal-content li {
    font-size: 16px;
    margin-bottom: 10px;
  }

  /* Reset centered column to full width for mobile */
  .modal-content p,
  .modal-content ul,
  .modal-content h4 {
    align-self: flex-start;
    /* Left align strictly */
    width: 100%;
  }

  .modal-content ul {
    margin-bottom: 30px;
  }
}

/* ----------------------------- */
/* Why Choose Us Section */
/* ----------------------------- */
.why-choose-us {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 80px 50px;
  text-align: center;
}

.why-choose-us h3 {
  font-size: 32px;
  margin-bottom: 40px;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s;
}

.benefit-card:hover {
  transform: translateY(-5px);
}

.benefit-card h4 {
  font-size: 22px;
  color: #00A2E8;
  margin-top: 0;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
}

/* ----------------------------- */
/* Call to Action (CTA) */
/* ----------------------------- */
.cta-section {
  padding: 100px 50px;
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 162, 232, 0.2), rgba(63, 72, 204, 0.2));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  background-color: #00A2E8;
  color: #FFFFFF;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Jost', sans-serif;
  border-radius: 50px;
  transition: transform 0.2s, background-color 0.2s;
}

.cta-button:hover {
  background-color: #3F48CC;
  transform: translateY(-2px);
}

/* ----------------------------- */
/* Footer */
/* ----------------------------- */
footer {
  text-align: center;
  padding: 30px 50px;
  font-size: 14px;
  color: #FFFFFF;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #00A2E8;
}

/* ----------------------------- */
/* Responsive adjustments */
/* ----------------------------- */
@media (max-width: 768px) {
  .site-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 20px 25px;
    /* Reduced mobile padding */
  }

  .menu-toggle {
    display: block;
    position: static;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
  }

  nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;

    /* Animation initial state */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
  }

  nav.active {
    opacity: 1;
    visibility: visible;
  }

  nav a {
    margin: 20px 0;
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    padding: 10px;
    display: block;
    width: auto;
    transition: transform 0.3s;
  }

  nav a:hover {
    transform: scale(1.1);
    color: #00A2E8;
    background: none;
    text-shadow: 0 0 20px rgba(0, 162, 232, 0.5);
  }



  .hero,
  .hero,
  .page-hero,
  .content,
  .why-choose-us,
  .cta-section,
  footer {
    padding-left: 25px;
    padding-right: 25px;
    /* Standardize mobile side padding */
  }

  .hero,
  .page-hero {
    padding-top: 40px;
    padding-bottom: 0px;
  }

  .content {
    padding-bottom: 40px;
  }

  .hero h2,
  .page-hero h2 {
    font-size: 30px;
    /* Scaled down heading */
    line-height: 1.3;
  }

  .content h3,
  .why-choose-us h3,
  .section-title {
    font-size: 24px;
  }

  .philosophy-grid,
  .project-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
    /* Stack cards on mobile */
    gap: 30px;
  }

  /* Form Mobile Optimization */
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    /* Prevent iOS zoom */
  }

  .contact-form button {
    width: 100%;
    /* Full width button */
    padding: 16px;
    /* Easy tap */
  }
}

/* Hide toggle on desktop */
@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }
}

/* ----------------------------- */
/* SPA Logic */
/* ----------------------------- */
.page-section {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.page-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ----------------------------- */
/* Intro Overlay */
/* ----------------------------- */
#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  background: linear-gradient(to bottom, #000000 0%, #00A2E8 30%, #3F48CC 65%);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 1s ease, visibility 1s ease;
}

#intro-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.intro-content {
  text-align: center;
  animation: pulseLogo 2s infinite ease-in-out;
}

.intro-content img {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
}

.intro-content h1 {
  font-size: 32px;
  margin: 0;
  color: #FFFFFF;
}

@keyframes pulseLogo {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ----------------------------- */
/* Desktop Optimization (>1024px) */
/* ----------------------------- */
@media (min-width: 1024px) {
  html {
    scroll-behavior: smooth;
  }

  body {
    font-size: 18px;
  }

  /* Typography Scaling */
  h1 {
    font-size: 42px;
  }

  h2,
  .hero h2,
  .page-hero h2 {
    font-size: 56px;
  }

  .hero p,
  .page-hero p {
    font-size: 22px;
    max-width: 900px;
  }

  h3,
  .content h3 {
    font-size: 38px;
  }

  /* Layout Containers */
  .content,
  .hero,
  .page-hero {
    padding: 120px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }

  .home-vision {
    max-width: 900px;
  }

  /* Navigation */
  nav a {
    margin-left: 40px;
    font-size: 18px;
  }

  .site-header {
    padding: 30px 60px;
  }

  .brand h1 {
    font-size: 32px;
  }

  /* Grid Layouts */
  .philosophy-grid,
  .benefit-grid,
  .project-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
  }

  /* About Page Optimization */
  .about-content {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
  }

  .about-section {
    width: 30%;
  }

  /* Enhanced Hover Effects */
  .cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }

  .philosophy-card:hover,
  .benefit-card:hover {
    transform: translateY(-15px);
  }

  /* Contact Page Desktop Layout */
  .contact-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }

  .contact-form {
    width: 100%;
    margin: 0;
    max-width: none;
  }

  .social-connect {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 60px;
  }
}

/* ----------------------------- */
/* Mobile FAQ Optimization (<768px) */
/* ----------------------------- */
@media (max-width: 768px) {
  .accordion-header {
    font-size: 18px;
    /* Smaller text on mobile */
    padding: 20px 0;
    /* Slightly reduced padding */
  }

  .faq-container,
  .service-container {
    gap: 0;
    /* Tighter list on mobile */
  }
}

/* ----------------------------- */
/* Cookie Consent Banner */
/* ----------------------------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 20px;
  z-index: 10000;
  /* Topmost */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  justify-content: center;
}

#cookie-banner.visible {
  transform: translateY(0);
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  gap: 30px;
  flex-wrap: wrap;
}

#cookie-banner p {
  margin: 0;
  color: #FFFFFF;
  font-family: 'Futura', sans-serif;
  font-size: 16px;
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 15px;
}

.cookie-btn {
  padding: 10px 25px;
  border-radius: 4px;
  border: none;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.3s, transform 0.2s;
}

.cookie-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.cookie-btn.accept {
  background: #40E0D0;
  /* Brand Turquoise */
  color: #000;
}

.cookie-btn.decline {
  background: rgba(255, 255, 255, 0.1);
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}