* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, sans-serif;
}

body {
  background: 
    url('../images/background.png') center/cover no-repeat fixed,
    radial-gradient(circle at top, #4a0e0e, #0b0b12);
  color: #fff;
  min-height: 100vh;
}

.app {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 280px;
  background: rgba(45, 8, 8, 0.8);
  backdrop-filter: blur(10px);
  padding: 30px 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  height: 100vh;
  left: 0;
  top: 0;
}

.logo {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.sidebar nav a {
  display: block;
  color: #ccc;
  text-decoration: none;
  margin-bottom: 18px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.sidebar nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(5px);
}

.sidebar nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-left: 3px solid #fff;
}

/* Main */
.main {
  flex: 1;
  padding: 60px;
  overflow-y: auto;
  margin-left: 280px;
}

/* Hero */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
  min-height: 100vh;
  position: relative;
  background: none;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 70% 50%,
    rgba(255, 120, 140, 0.18),
    rgba(0, 0, 0, 0.85) 65%
  );
  z-index: 1;
}

.hero-text {
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: -1px;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.sub {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
  font-size: 1.2rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  line-height: 1.6;
}

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
}

/* Hero Logo */
.hero-logo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  box-shadow: 
    0 0 60px rgba(255, 255, 255, 0.1),
    inset 0 0 60px rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
}

/* Hero Divider */
.hero-divider {
  height: 60px;
  background: transparent;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 40px;
  background: transparent;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.card h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
}

.card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Content Sections */
.section {
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 300;
  color: #fff;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: -1px;
}

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

/* Service Items */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.service-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.service-item h3 {
  font-size: 1.3rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 1rem;
}

.service-item p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.portfolio-image {
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-content h3 {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.8rem;
}

.portfolio-content p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  font-size: 0.9rem;
}

/* Animations & Interactions */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* News Date Styling */
.news-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

/* Enhanced Card Interactions */
.card, .service-item, .portfolio-item {
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card:hover, .service-item:hover, .portfolio-item:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
  opacity: 0.5;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* Mobile Menu Animation */
@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  
  .sidebar.active {
    transform: translateX(0);
  }
  
  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: rgba(45, 8, 8, 0.9);
    border: none;
    color: white;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
  }
}
@media (max-width: 1200px) {
  .main {
    padding: 40px;
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .hero-logo {
    width: 280px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .app {
    flex-direction: column;
  }
  
  .sidebar {
    width: 100%;
    height: auto;
    padding: 20px;
    position: relative;
  }
  
  .main {
    margin-left: 0;
  }
  
  .sidebar nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
  }
  
  .sidebar nav a {
    margin-bottom: 0;
    white-space: nowrap;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    margin-bottom: 50px;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    margin-bottom: 20px;
  }
  
  .hero-logo {
    width: 200px;
    height: 200px;
    margin-top: 30px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}