/* IT Support Essentials - Modern Cyberpunk Theme */

:root {
  --primary-color: #00e5ff;
  --secondary-color: #ff00ff;
  --dark-bg: #0a0a1a;
  --card-bg: rgba(20, 20, 40, 0.7);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --text-primary: #ffffff;
  --text-secondary: #b0b0c0;
  --gradient-1: linear-gradient(135deg, #00e5ff 0%, #ff00ff 100%);
  --gradient-2: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.3);
  --shadow-glow-pink: 0 0 20px rgba(255, 0, 255, 0.3);
}

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

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

/* Futuristic Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a1a 0%, #1a0a2e 100%);
  z-index: -1;
  pointer-events: none;
}

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

h1 {
  font-size: 3.5rem;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
  z-index: 1000;
  padding: 1rem 0;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo img {
  height: 50px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu li a {
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.5rem 1rem;
  background: var(--glass-bg);
  border-radius: 50px;
  border: 1px solid rgba(0, 229, 255, 0.3);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../img/img_hero.jpg') center/cover no-repeat;
  opacity: 0.2;
  z-index: -1;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-lead {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-image {
  position: relative;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-glow);
  border: 1px solid rgba(0, 229, 255, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-1);
  color: #000;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 30px rgba(0, 229, 255, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: #000;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Glass Cards */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary-color);
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

/* Grid Layouts */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* Feature Cards */
.feature-card {
  text-align: center;
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: var(--shadow-glow);
}

.feature-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

/* Service Cards */
.service-card {
  overflow: hidden;
}

.service-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.05);
}

/* Team Cards */
.team-card {
  text-align: center;
}

.team-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1rem;
  border: 2px solid rgba(0, 229, 255, 0.3);
}

.team-card h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.team-card .role {
  color: var(--primary-color);
  font-weight: 500;
}

/* Stats Section */
.stats {
  background: var(--card-bg);
  padding: 4rem 0;
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  border-bottom: 1px solid rgba(0, 229, 255, 0.2);
}

.stat-card {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Testimonials */
.testimonial-card {
  position: relative;
  padding: 2rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid var(--primary-color);
}

.author-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-secondary);
  margin: 0;
  font-size: 0.9rem;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.blog-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.blog-card h3 a {
  color: var(--text-primary);
}

.blog-card h3 a:hover {
  color: var(--primary-color);
}

/* Article Page */
.article-hero {
  padding-top: 120px;
  padding-bottom: 4rem;
}

.article-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.article-content img {
  width: 100%;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: var(--shadow-glow);
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.article-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.article-content ul, .article-content ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.article-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Course Page */
.course-header {
  padding-top: 120px;
  padding-bottom: 4rem;
  text-align: center;
}

.course-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

.course-main {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
}

.course-sidebar {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.course-info-box {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 20px;
  padding: 2rem;
}

.course-info-box h3 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.course-info-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.course-info-item:last-child {
  border-bottom: none;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--glass-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.contact-item {
  text-align: center;
  padding: 2rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--gradient-1);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* Footer */
footer {
  background: rgba(10, 10, 26, 0.95);
  border-top: 1px solid rgba(0, 229, 255, 0.2);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-links h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
}

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

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: var(--text-secondary);
}

.footer-links ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 26, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 229, 255, 0.3);
  padding: 1.5rem;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cookie-text {
  flex: 1;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

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

/* AOS Animation Overrides */
[data-aos] {
  transition-duration: 0.8s;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 968px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    padding: 2rem;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .phone-header {
    order: -1;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .course-content {
    grid-template-columns: 1fr;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2rem;
  }

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

  .grid-3,
  .grid-4,
  .blog-grid {
    grid-template-columns: 1fr;
  }

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

  .btn-group {
    flex-direction: column;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-buttons .btn {
    width: 100%;
  }
}
