/* =========================
   TIME AND TECHNOLOGY - MAIN STYLES
   ========================= */

:root {
  --bg: #071028;
  --bg-light: #0a1333;
  --accent: #4ea1ff;
  --accent-light: #6ce1ff;
  --text: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --border: rgba(78, 161, 255, 0.2);
  --transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(1.8rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.8rem); }

p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 40px;
  background: linear-gradient(135deg, rgba(7, 16, 40, 0.4), rgba(10, 19, 51, 0.5));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(78, 161, 255, 0.15);
  border-bottom: 1px solid rgba(78, 161, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  gap: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--text);
}

.navbar .logo img {
  height: 40px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
}

.navbar .cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg);
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  border: 1px solid rgba(108, 225, 255, 0.3);
  box-shadow: 0 4px 16px rgba(78, 161, 255, 0.2);
  transition: all 300ms ease;
}

.navbar .cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(78, 161, 255, 0.4);
  border-color: rgba(108, 225, 255, 0.6);
}

/* Hamburger Menu (Mobile) */
.sidebar-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
}

.sidebar-toggle .bar {
  width: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(78, 161, 255, 0.1), rgba(108, 225, 255, 0.05));
}

.hero-content {
  text-align: center;
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero-inner {
  animation: fadeInUp 1s ease-out;
}

.badge {
  display: inline-block;
  background: rgba(78, 161, 255, 0.15);
  border: 1px solid var(--border);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text), var(--accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.button {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  border: none;
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg);
}

.button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(78, 161, 255, 0.4);
}

.button.pdf {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.button.pdf:hover {
  background: rgba(78, 161, 255, 0.1);
}

/* Glass Card Effect */
.glass-card {
  background: linear-gradient(135deg, rgba(78, 161, 255, 0.08), rgba(108, 225, 255, 0.05));
  border: 1px solid rgba(78, 161, 255, 0.2);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  padding: 40px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(78, 161, 255, 0.4);
  box-shadow: 0 12px 40px rgba(78, 161, 255, 0.15);
}

/* Services Section */
.services-section {
  padding: 40px 0;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 20px;
}

.services-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-center {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-block {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(78, 161, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  transition: var(--transition);
}

.service-block:hover {
  background: rgba(78, 161, 255, 0.1);
  border-color: rgba(78, 161, 255, 0.3);
  transform: translateY(-4px);
}

.service-icon img {
  filter: brightness(1.2);
}

/* FAQ Section */
.faq-section {
  padding: 60px 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(78, 161, 255, 0.4);
  box-shadow: 0 8px 20px rgba(78, 161, 255, 0.1);
}

.faq-question {
  width: 100%;
  padding: 20px;
  background: rgba(78, 161, 255, 0.08);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(78, 161, 255, 0.15);
}

.faq-index {
  color: var(--accent);
  min-width: 30px;
}

.faq-title {
  flex: 1;
  text-align: left;
}

.faq-chevron {
  color: var(--accent);
  transition: var(--transition);
}

.faq-answer {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
}

.faq-answer p {
  color: var(--text-muted);
  margin: 0;
}

/* Review Section */
.review-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(78, 161, 255, 0.1), rgba(108, 225, 255, 0.05));
  border-radius: 16px;
  margin: 40px auto;
  max-width: 1200px;
}

.review-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.review-heading {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.review-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.review-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-form label {
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 8px;
}

.review-form input,
.review-form textarea {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.review-form input:focus,
.review-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(78, 161, 255, 0.1);
}

.star-rating {
  display: flex;
  gap: 8px;
  user-select: none;
}

.star-rating span {
  font-size: 2rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}

.star-rating span:hover,
.star-rating span[aria-checked="true"] {
  color: var(--accent);
  transform: scale(1.2);
}

.submit-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--bg);
  padding: 14px 28px;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(78, 161, 255, 0.3);
}

.submit-btn.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Footer */
footer {
  background: linear-gradient(135deg, rgba(7, 16, 40, 0.95), rgba(10, 19, 51, 1));
  border-top: 1px solid var(--border);
  padding: 60px 20px 20px;
  margin-top: 60px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 2fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-left .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-left p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer-left a {
  color: var(--accent);
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer-links h4 {
  color: var(--accent);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Technology Showcase Section */
.tech-showcase-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, rgba(7,16,40,0.3), rgba(10,19,51,0.2));
  overflow: hidden;
  position: relative;
}

.tech-showcase-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(78,161,255,0.15), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.tech-showcase-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(108,225,255,0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.tech-showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.tech-showcase-header {
  text-align: center;
  margin-bottom: 60px;
}

.tech-showcase-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin: 0 0 16px 0;
  background: linear-gradient(135deg, #ffffff, #6ce1ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1px;
}

.tech-showcase-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Carousel Container */
.tech-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(78,161,255,0.2);
  padding: 40px 0;
}

/* Gradient overlays for smooth edges */
.tech-carousel::before,
.tech-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}

.tech-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(7,16,40,1), rgba(7,16,40,0));
}

.tech-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(7,16,40,1), rgba(7,16,40,0));
}

/* Carousel Track */
.tech-carousel-track {
  display: flex;
  gap: 48px;
  animation: techScroll 40s linear infinite;
  padding: 0 60px;
  width: fit-content;
}

.tech-carousel-track:hover {
  animation-play-state: paused;
}

/* Tech Items */
.tech-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 80px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(78,161,255,0.08), rgba(108,225,255,0.05));
  border: 1px solid rgba(78,161,255,0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.tech-item:hover {
  background: linear-gradient(135deg, rgba(78,161,255,0.2), rgba(108,225,255,0.15));
  border-color: rgba(108,225,255,0.5);
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(78,161,255,0.2);
}

.tech-item img {
  height: 50px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  transition: filter 0.3s ease;
}

.tech-item:hover img {
  filter: drop-shadow(0 4px 12px rgba(108,225,255,0.4));
}

/* Scroll Animation */
@keyframes techScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 24px));
  }
}

/* Responsive Design */
@media (max-width: 1100px) {
  .tech-showcase-title {
    font-size: 2.2rem;
  }

  .tech-carousel-track {
    gap: 36px;
    padding: 0 40px;
  }

  .tech-carousel {
    padding: 32px 0;
  }
}

@media (max-width: 900px) {
  .tech-showcase-section {
    padding: 60px 16px;
  }

  .tech-showcase-title {
    font-size: 1.8rem;
  }

  .tech-showcase-subtitle {
    font-size: 0.95rem;
  }

  .tech-carousel-track {
    gap: 24px;
    padding: 0 30px;
  }

  .tech-item {
    min-width: 80px;
    height: 70px;
  }

  .tech-item img {
    height: 40px;
  }
}

@media (max-width: 520px) {
  .tech-showcase-section {
    padding: 48px 12px;
  }

  .tech-showcase-header {
    margin-bottom: 40px;
  }

  .tech-showcase-title {
    font-size: 1.4rem;
  }

  .tech-showcase-subtitle {
    font-size: 0.85rem;
  }

  .tech-carousel::before,
  .tech-carousel::after {
    width: 80px;
  }

  .tech-carousel-track {
    gap: 16px;
    padding: 0 20px;
  }

  .tech-item {
    min-width: 70px;
    height: 60px;
    padding: 0 12px;
  }

  .tech-item img {
    height: 35px;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .navbar {
    padding: 16px 20px;
  }

  .nav-links {
    gap: 20px;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sidebar-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

  .navbar .cta {
    display: none;
  }

  .hero {
    padding: 60px 20px;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 12px 16px;
  }

  .hero {
    padding: 40px 16px;
    min-height: 300px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .glass-card {
    padding: 20px;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .footer-container {
    gap: 20px;
  }
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.max-w-1200 {
  max-width: 1200px;
}

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

/* Neon Background */
.neon-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 50%, rgba(78, 161, 255, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 80% 80%, rgba(108, 225, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Modal/Overlay */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 99;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
