:root {
  --bg: #0a0a0f;
  --text: #e0e0e8;
  --muted: #888899;
  --cyan: #00d4ff;
  --magenta: #ff0080;
  --accent: #8000ff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.header {
  display: flex;
  align-items: center; 
  justify-content: space-between; 
  padding: 30px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 1000;
  transition: padding 0.3s ease, box-shadow 0.3s ease;
} 

/* Optional: Header appearance when scrolled */
.header.scrolled {
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0, 212, 255, 0.2);
  border-bottom: 1px solid rgba(0, 212, 255, 0.3);
}

.brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.brand img {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 0 10px rgba(0,212,255,0.3));
}

.brand h1 {
  font-size: 1.5rem;
  font-weight: 700;
}

.g { color: var(--cyan); }
.three { color: var(--magenta); }
.design { color: var(--text); }

/* Hide checkbox and hamburger icon by default */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.8rem;
  color: var(--cyan);
  cursor: pointer;
  transition: color 0.3s;
}

.menu-icon:hover {
  color: var(--magenta);
}

.nav {
  display: flex;
  gap: 30px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s;
  font-weight: 500;
}

.nav a:hover {
  color: var(--cyan);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding: 80px 0;
  align-items: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.lead {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: white;
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0,212,255,0.3);
}

.hero-right {
  text-align: center;
}

.hero-tagline {
  color: var(--muted);
}

.hero-logo {
  max-width: 260px;
  margin-top: 10px;
  filter: drop-shadow(0 10px 30px rgba(0, 212, 255, 0.12));
}

.section {
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.section h3 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 30px;
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--cyan);
}

.card h4 {
  color: var(--cyan);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.price {
  color: var(--magenta);
  font-weight: 600;
  margin-top: 15px;
  font-size: 1.1rem;
}

/* Portfolio Section Styles */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.portfolio-item {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0,212,255,0.1), rgba(255,0,128,0.1));
    border: 1px solid rgba(255,255,255,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,212,255,0.3);
    border-color: #00d4ff;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10,10,15,0.8) 100%);
    z-index: 1;
}

.portfolio-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
}

.portfolio-item:hover .portfolio-bg {
    transform: scale(1.05);
}

.portfolio-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.portfolio-tag {
    display: inline-block;
    background: rgba(0,212,255,0.2);
    color: #00d4ff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-bottom: 10px;
    font-weight: 600;
    border: 1px solid rgba(0,212,255,0.3);
}

.portfolio-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1px;
    color: #fff;
}

.portfolio-desc {
    color: #888899;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tech-badge {
    background: rgba(255,255,255,0.05);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #888899;
    border: 1px solid rgba(255,255,255,0.1);
}

.portfolio-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #ff0080);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,212,255,0.3);
}

.btn-secondary {
    background: rgba(255,255,255,0.05);
    color: #00d4ff;
    border: 1px solid rgba(0,212,255,0.3);
}

.btn-secondary:hover {
    background: rgba(0,212,255,0.1);
    border-color: #00d4ff;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-item.featured {
        grid-column: span 1;
        height: 400px;
    }
    
    .portfolio-item.featured .portfolio-title {
        font-size: 1.5rem;
    }
}

.testimonials {
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.quote {
  background: rgba(255,255,255,0.03);
  padding: 30px;
  border-left: 4px solid var(--cyan);
  border-radius: 8px;
  font-style: italic;
}

.accordion {
  margin-top: 40px;
}

.accordion-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 15px;
}

.q {
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.q:hover {
  color: var(--cyan);
}

.q::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.q.active::after {
  transform: rotate(45deg);
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: var(--muted);
}

.answer.show {
  max-height: 200px;
  padding: 0 20px 20px 20px;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.show {
  display: flex;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.scroll-to-top:active {
  transform: translateY(-2px);
}

.form {
  margin-top: 40px;
  max-width: 600px;
}

.hidden {
  display: none !important;
}

.form-message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 8px;
  display: none;
  text-align: center;
  font-weight: 500;
  animation: fadeIn 0.5s ease-in;
}

.form-message.success {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  display: block;
}

.form-message.error {
  background: rgba(255, 0, 128, 0.1);
  border: 1px solid var(--magenta);
  color: var(--magenta);
  display: block;
}

.input {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.input:focus {
  outline: none;
  border-color: var(--cyan);
}

.input::placeholder {
  color: var(--muted);
}

.btn {
  display: inline-block;
  background: var(--cyan);
  color: var(--bg);
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,212,255,0.3);
}

.btn-whatsapp {
  background: var(--magenta);
  margin-left: 10px;
}

.footer {
  background: rgba(0,0,0,0.3);
  padding: 40px 0;
  text-align: center;
  margin-top: 80px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
}

.contact-info {
  margin-top: 20px;
  color: var(--muted);
}

.contact-email {
  color: var(--cyan);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 20px;
}

.social-links a {
  color: #00d4ff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #ff3b9a;
  text-shadow: 0 0 10px #ff3b9a, 0 0 20px #00d4ff;
  transform: scale(1.2);
}

.phone-contact {
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 10px;
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--cyan);
}

.phone-contact i {
  color: var(--cyan);
  font-size: 1.2rem;
}

.phone-link {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.phone-link:hover {
  color: var(--light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .header {
    flex-wrap: wrap;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg);
  }
  
  /* Show hamburger icon on mobile */
  .menu-icon {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* Hide navigation by default on mobile */
  .nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 15px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    order: 3;
  }
  
  /* Show navigation when checkbox is checked */
  #menu-toggle:checked ~ .nav {
    max-height: 300px;
    padding-top: 20px;
  }
  
  /* Style nav links for mobile */
  .nav a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
}

/* CENTER ALL CONTENT ON MOBILE */
.section {
  text-align: center;
}

.hero-left {
  text-align: center;
}

.hero-right {
  text-align: center;
}

.card {
  text-align: left; /* Card content stays left-aligned */
}

.form {
  margin-left: auto;
  margin-right: auto;
}

.testimonials {
  text-align: left; /* Testimonials stay left-aligned for readability */
}

.accordion {
  text-align: left; /* FAQ stays left-aligned */
}

.fade {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}