/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: background 0.4s cubic-bezier(0.4,0,0.2,1), color 0.4s cubic-bezier(0.4,0,0.2,1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.4s cubic-bezier(0.4,0,0.2,1);
}

.nav-links a:hover {
    color: #0EE89E;
}

.logo-green {
  color: #0EE89E;
}
.logo-white {
  color: #fff;
}

.navbar.scrolled {
  background: #0CBF7A !important;
  transition: background 0.4s cubic-bezier(0.4,0,0.2,1);
}

.navbar.scrolled .logo-green,
.navbar.scrolled .logo-white,
.navbar.scrolled .nav-links a {
  color: #fff !important;
}

.navbar.scrolled .logo-up-arrow {
  color: #fff !important;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000, #111111);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0px 0 80px;
    text-align: center;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#puzzleCanvas {
    width: 100%;
    height: 100%;
    opacity: 0.5;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fff;
    line-height: 1.2;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.hero p {
    font-size: 1.25rem;
    color: #888;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background: #0EE89E;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: 'Quicksand', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: scale(1.07);
}

/* Services Section */
.services {
    padding: 80px 0;
    background: #111;
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 2rem;
    background: #1a1a1a;
    border-radius: 10px;
    transition: transform 0.3s ease;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 320px;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #0EE89E;
}

.service-card h3 {
    margin-bottom: 1rem;
    color: #fff;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.service-card p {
    color: #888;
}

.service-price {
    color: #0EE89E;
    font-size: 1.7rem;
    font-weight: 700;
    text-align: center;
    margin-top: auto;
    letter-spacing: 1px;
    font-family: 'Space Mono', monospace;
    padding-top: 1.5rem;
}

@keyframes slideUpFadeIn {
  0% {
    opacity: 0;
    transform: translateY(60px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card[data-animate] {
  opacity: 0;
  transform: translateY(60px);
  transition: none;
}
.service-card[data-animate].animated {
  animation: slideUpFadeIn 1.1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: #000;
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #fff;
    font-family: 'Montserrat', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    color: #fff;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #0EE89E;
    box-shadow: 0 0 10px rgba(14, 232, 158, 0.3);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
}

.form-submit {
    background: #0EE89E;
    color: #111;
    border: none;
    border-radius: 6px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Quicksand', 'Inter', Arial, sans-serif;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.form-submit:hover {
    background: #0CCF8A;
    transform: translateY(-2px);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.notification-container {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid #0EE89E;
    border-radius: 10px;
    padding: 2rem;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.notification-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #fff;
}

.notification-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid rgba(14, 232, 158, 0.3);
    border-top: 3px solid #0EE89E;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.notification-message {
    font-size: 1rem;
    text-align: center;
}

.contact-info {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
}

.contact-item-title {
    color: #0EE89E;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item-content {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .form-input,
    .form-textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Footer */
footer {
    background: #111;
    color: #888;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .service-card {
        min-height: auto;
        padding: 1.5rem;
        width: 100%;
    }
    
    .progress-bar-row {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2.2rem;
    }
    .progress-label {
        margin-bottom: 0.5rem;
    }
    .progress-bar {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .progress-value {
        margin-bottom: 0.5rem;
    }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
  }
  60% {
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.text-appear {
  opacity: 0;
  animation: fadeInUp 3s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
.text-appear.delay-1 { animation-delay: 0.2s; }
.text-appear.delay-2 { animation-delay: 0.4s; }
.text-appear.delay-3 { animation-delay: 0.6s; }
.text-appear.delay-nav {
  animation-name: slideDownIn;
  animation-delay: 2.7s;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
}

/* Optionally, ensure hero-content is positioned for absolute children */
.hero-content { position: relative; z-index: 2; }

.logo-up-arrow {
  display: inline-block;
  margin-left: 10px;
  color: #0EE89E;
  cursor: pointer;
  transition: color 0.2s;
}
.logo-up-arrow:hover {
  color: #fff;
}

@keyframes slideDownIn {
  0% {
    transform: translateY(-80px);
  }
  100% {
    transform: translateY(0);
  }
}

.text-appear.delay-nav {
  animation-name: slideDownIn;
  animation-delay: 2.7s;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
}

.about-section {
  background: #f7f8fa;
  padding: 80px 0 60px 0;
}
.about-section .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-section h2 {
  color: #222;
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
}
.about-desc {
  color: #444;
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
}
.progress-bars {
  margin-top: 1.5rem;
}
.progress-bar-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.3rem;
}
.progress-label {
  min-width: 160px;
  color: #222;
  font-weight: 500;
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
}
.progress-value {
  min-width: 40px;
  color: #0EE89E;
  font-weight: 700;
  font-family: 'Montserrat', 'Inter', Arial, sans-serif;
}
.progress-bar {
  flex: 1;
  height: 10px;
  background: #e0e4ea;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #0EE89E 60%, #0CBF7A 100%);
  border-radius: 6px 0 0 6px;
  width: 0%;
  will-change: width;
}

.text-appear.delay-nav {
  animation-name: slideDownIn;
  animation-delay: 2.7s;
  animation-duration: 1.2s;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
  opacity: 1;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 38px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 10px;
}
.burger span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .burger {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100vw;
    background: #111;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 24px 0 16px 0;
    display: none;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.18);
    z-index: 1099;
    transition: all 0.3s;
  }
  .nav-links.open {
    display: flex;
    animation: fadeInMenu 0.4s;
    z-index: 1200;
  }
  .nav-links li {
    margin: 12px 0;
  }
  .about-section .about-desc {
    margin-bottom: 1.5rem;
  }
  .about-section .progress-bars {
    margin-top: 2.5rem;
  }
}

@keyframes fadeInMenu {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile circular progress */
@media (max-width: 768px) {
  .progress-bar-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .progress-label {
    min-width: auto;
    margin-bottom: 1rem;
    font-size: 1.1rem;
  }

  .progress-bar {
    display: none; /* Hide the bar on mobile */
  }

  .progress-value {
    position: relative;
    width: 80px;
    height: 80px;
    min-width: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #0EE89E;
    font-weight: 700;
    background: transparent;
    z-index: 3;
  }

  .progress-value::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #fff;
    z-index: 1;
    box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08);
  }

  .progress-value::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 6px solid #0EE89E;
    border-top-color: transparent;
    border-right-color: transparent;
    transform: rotate(45deg);
    z-index: 2;
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-sizing: border-box;
    background: transparent;
    pointer-events: none;
  }

  .progress-value.animated::after {
    transform: rotate(var(--rotation, 405deg));
  }
}

.progress-number {
  position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  text-align: center;
  font-size: 1.2rem;
  color: #0EE89E;
  font-weight: 700;
  pointer-events: none;
} 