@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Roboto+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #f8f9fa;
  --text: #1a1a1a;
  --accent: #3a3a3a;
  --bg2: #ffffff;
  --shadow: rgba(0, 0, 0, 0.08);
  /* Reintroduced glass for header background */
  --glass-header: rgba(255, 255, 255, 0.7); 
  /* Adjusted for Service Page Glass Effect */
  --glass: rgba(240, 240, 240, 0.8); 
  --border: rgba(0, 0, 0, 0.1);
  --transition: all 0.4s ease;
}

/* Base Styles updated for new fonts */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { 
    font-family: 'Roboto Mono', monospace; 
    background: var(--bg); 
    color: var(--text); 
    transition: background 0.4s, color 0.4s; 
    scroll-behavior: smooth; 
    line-height: 1.6; 
}
h1, h2, h3, h4, h5, h6 { 
    font-family: 'Special Elite', monospace; 
    letter-spacing: 1px; 
    margin-bottom: 0.5rem; 
}

/* === HEADER ADJUSTMENTS - Reintroducing Glass Effect === */
.fixed-top { 
  position: fixed; 
  top: 0; 
  width: 100%; 
  z-index: 1000; 
  transition: var(--transition); 
  /* Reintroduced Glass/Blur effects */
  backdrop-filter: blur(8px); 
  background: var(--glass-header); 
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0; 
}

nav { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  padding: 0 2rem; 
  flex-wrap: wrap; 
  background: transparent !important;
}

.logo { 
  font-size: 1.8rem; 
  font-weight: 600; 
  color: var(--text); 
  display: flex; 
  align-items: center; 
  background: transparent !important;
}

.nav-links { 
    display: flex; 
    gap: 2rem; 
    list-style: none; 
    font-family: 'Roboto Mono', monospace; 
}

.nav-links a { 
    color: var(--text); 
    text-decoration: none; 
    font-weight: 500; 
    transition: color 0.3s; 
    padding: 1.5rem 0; 
}
.nav-links a:hover { color: var(--accent); }
.hamburger { display: none; cursor: pointer; font-weight: 600; font-size: 1.1rem; color: var(--text); }
.hamburger.active::before { content: "Close"; }

/* === HERO SECTION RESPONSIVENESS (New/Modified) === */
.hero { display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text); }

/* Typewriter Cursor Style */
.cursor {
  display: inline-block;
  background-color: var(--text);
  margin-left: 0.1rem;
  width: 5px;
  height: 54px; 
  animation: blink 1s step-end infinite;
}
@keyframes blink {
  from, to { background-color: transparent }
  50% { background-color: var(--text); }
}

.preview-section, .content-section { padding: 6rem 2rem; background: var(--bg2); }
.container { max-width: 1200px; margin: auto; }

/* PC: Side-by-side layout */
.two-column { display: flex; gap: 3rem; align-items: center; }
.two-column > div { flex: 1; }

/* Ensure content starts below fixed header */
.content-section:first-of-type { padding-top: 10rem; } 

.image-column img { width: 100%; border-radius: 0; box-shadow: none; } 

.glass-section:nth-child(even) { background: rgba(255,255,255,0.08); } 

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.service-card { 
  position: relative; 
  height: 180px; 
  overflow: hidden; 
  border-radius: 16px; 
  cursor: pointer; 
  background: var(--glass); 
  backdrop-filter: blur(8px); 
  border: 1px solid var(--border); 
  box-shadow: 0 4px 16px var(--shadow); 
  transition: var(--transition); 
}
.service-card:hover { 
  height: auto; 
  min-height: 320px; 
  transform: translateY(-8px); 
  box-shadow: 0 8px 32px var(--shadow); 
}
.service-card .front, .service-card .back { 
  position: absolute; 
  width: 100%; 
  padding: 1rem; 
  text-align: center; 
  transition: opacity 0.3s ease; 
}
.service-card .front { 
  top: 0; 
  height: 100%; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  gap: 0.5rem; 
}
.service-card .front img { 
  width: 100%; 
  height: 120px; 
  object-fit: cover; 
  border-radius: 12px; 
}
.service-card .back { 
  position: static; 
  opacity: 0; 
  background: var(--glass); 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  gap: 1rem; 
  padding: 1.5rem; 
  min-height: 320px;
}
.service-card:hover .front { 
  opacity: 0; 
  pointer-events: none;
}
.service-card:hover .back { 
  opacity: 1; 
  position: relative;
}

.services-detail-grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.service-detail { background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 4px 16px var(--shadow); }
.service-detail[open] { margin-bottom: 2rem; }
.service-detail summary { display: flex; align-items: center; gap: 1rem; padding: 1.2rem; cursor: pointer; list-style: none; border-radius: 16px; }
.service-detail summary::-webkit-details-marker { display: none; }
.service-detail summary img { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 12px var(--shadow); }
.service-detail .detail-content { padding: 1.5rem; background: var(--glass); border-radius: 0 0 16px 16px; animation: fadeIn 0.4s ease; }
.service-detail .detail-content ul { margin: 1rem 0; padding-left: 1.5rem; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.btn { display: inline-block; padding: 0.8rem 2rem; background: var(--accent); color: white; border-radius: 8px; text-decoration: none; font-weight: 600; transition: 0.3s; margin-top: 1rem; text-align: center; }
.btn:hover { background: #222; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.2); }
.center-btn { display: block; width: fit-content; margin: 2rem auto 0; }
.full-width { width: 100%; }

.contact-full { padding: 8rem 2rem; min-height: 100vh; display: flex; align-items: center; background: var(--bg2); }
.contact-full-form { max-width: 900px; margin: 0 auto; padding: 3rem; }
.form-subtitle { text-align: left; margin-bottom: 2rem; font-size: 1.1rem; color: var(--text); opacity: 0.9; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.form-grid input, .form-grid select { width: 100%; }
.contact-full-form input, .contact-full-form textarea, .contact-full-form select {
  width: 100%; padding: 1rem; margin: 0.7rem 0; border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.1); color: var(--text); backdrop-filter: blur(8px); font-family: 'Roboto Mono', monospace; transition: 0.3s;
}
.contact-full-form input:focus, .contact-full-form textarea:focus, .contact-full-form select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(58,58,58,0.2);
}
.contact-full-form button {
  width: 100%; padding: 1.2rem; font-size: 1.1rem; margin-top: 1rem;
}
.success-box { text-align: center; padding: 1.5rem; margin-top: 1.5rem; font-weight: 600; color: #28a745; }

/* FOOTER STYLES */
footer { padding: 2rem; text-align: center; background: var(--bg2); font-size: 0.9rem; color: var(--text); border-top: 1px solid var(--border); }
.footer-credit { margin-top: 0.5rem; display: block; }
.footer-credit a { text-decoration: none; color: inherit; font-weight: 600; }
.social a { color: var(--text); margin: 0 0.5rem; text-decoration: none; transition: 0.3s; }
.social a:hover { color: var(--accent); }

/* === MOBILE RESPONSIVENESS === */
@media (max-width: 768px) {
  .fixed-top { padding: 0.5rem 0; }
  nav { padding: 0 1rem; }
  .nav-links a { padding: 0.7rem 0; } 
  .hamburger { display: block; }
  .nav-links { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg2); flex-direction: column; align-items: center; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; border-top: 1px solid var(--border); z-index: 999; }
  .nav-links.active { max-height: 400px; padding: 1rem 0; }

  /* MOBILE HERO ADJUSTMENT: Hide large logo and adjust title size */
  .two-column { flex-direction: column; }
  
  /* HIDE THE IMAGE COLUMN (the large 3D logo) COMPLETELY */
  .two-column .image-column { 
    display: none; 
  }
  
  .two-column .text-column { 
    order: 1; 
    text-align: center !important; 
  }

  /* AUTO-FIT TITLE SIZE FOR MOBILE */
  .two-column .text-column h1 {
    font-size: 3rem !important; /* Smaller size for mobile screens */
  }

  /* Adjust typewriter cursor height to match new H1 size (3rem) */
  .cursor { height: 40px; } 

  .content-section:first-of-type { padding-top: 7rem; } 

  /* Standard mobile adjustments */
  .service-card { height: 160px; }
  .service-card:hover { 
    height: auto; 
    min-height: 280px; 
  }
  .form-grid { grid-template-columns: 1fr; }
  .contact-full { padding: 6rem 1rem; }
}
.social img{
  margin: 0 6px;
  vertical-align: middle;
}
.social a img{
  transition: 0.2s;
}
.social a img:hover{
  transform: scale(1.1);
}
/* ==== MULTI SELECT DROPDOWN WITH CHECKBOXES ==== */

.multi-dropdown {
  position: relative;
  width: 100%;
}

/* Box that looks like <select> */
.multi-dropdown .dropdown-box {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-family: 'Roboto Mono', monospace;
  color: var(--text);
}

/* Hover effect */
.multi-dropdown .dropdown-box:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,58,58,0.15);
}

/* Checkbox panel */
.multi-dropdown .checkbox-list {
  position: absolute;
  left: 0;
  right: 0;
  margin-top: 6px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  padding: 12px 14px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 1000;
}

/* Hide by default */
.multi-dropdown .checkbox-list.hidden {
  display: none;
}

/* Scrollbar nice-looking */
.multi-dropdown .checkbox-list::-webkit-scrollbar {
  width: 6px;
}
.multi-dropdown .checkbox-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 20px;
}

/* Each checkbox row */
.multi-dropdown .checkbox-list label {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 6px 4px;
  cursor: pointer;
  border-radius: 8px;
}

/* Hover highlight */
.multi-dropdown .checkbox-list label:hover {
  background: rgba(0,0,0,0.06);
}

/* Checkbox size */
.multi-dropdown input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* Mobile optimization */
@media(max-width:768px){
  .multi-dropdown .checkbox-list{
    max-height: 180px;
  }
}

.contact-text {
  max-width: 700px;
  margin: auto;
  text-align: center;
  padding: 3rem;
}

.contact-email a {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000000;
  text-decoration: underline;
}



.response-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  opacity: 0.85;
}
/* Scoped only for 404 page */
.error-page {
  position: relative;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.error-page .bg-404-container {
  position: absolute;
  top:0; left:0;
  width:100%; height:100%;
  display:flex;
  flex-direction: column;
  justify-content: space-evenly;
  z-index:0; /* ensure background behind text */
  opacity:0;
  transition: opacity 1s ease-in;
  pointer-events:none;
}

.error-page .bg-404-line-wrapper { overflow:hidden; width:100%; }
.error-page .bg-404-line {
  display:inline-flex;
  white-space:nowrap;
  animation: scroll linear infinite;
}
.error-page .bg-404-line span {
  color:#eee;
  font-size:5vw;
  margin-right:2vw;
}

@keyframes scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.error-page h1 {
  font-size: 10vw;
  white-space: nowrap;
  border-right: 4px solid #333;
  z-index:1; 
  position:relative;
}

.error-page p {
  font-size: 1.5rem;
  margin: 1rem 0 2rem 0;
  z-index:1;
  position:relative;
}

.error-page .btn-home {
  padding: 0.75rem 2rem;
  background: #000;
  color:#fff;
  text-decoration:none;
  border-radius:5px;
  font-weight:600;
  z-index:1;
  position:relative;
}
.error-page .btn-home:hover { background:#333; }

@media(max-width:600px){
  .error-page h1 { font-size: 20vw; border-right:3px solid #333; }
  .error-page .bg-404-line span { font-size:10vw; margin-right:4vw; }
  .error-page p { font-size:1.2rem; }
}
