/* 
 * Wilan Group - Sophisticated Corporate Design
 * Modern, Professional, Interactive
 */

:root {
  --primary-dark: #0a1a2e;
  --primary-navy: #16213e;
  --primary-blue: #1e3c72;
  --accent-gold: #FFD700;
  --accent-gold-light: #ffed4a;
  --text-white: #ffffff;
  --text-gray: #e0e0e0;
  --text-dark: #1a1a1a;
  --bg-light: #f8f9fa;
  --bg-dark: #0d1117;
  --gradient-navy: linear-gradient(135deg, #0a1a2e 0%, #1e3c72 100%);
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #ffed4a 100%);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 8px 30px rgba(0, 0, 0, 0.15);
  --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
}

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--text-white);
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  background: white !important;
  padding: 1rem 0;
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: white !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-dark) !important;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand img {
  height: 45px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.wilan-group {
  color: var(--primary-blue) !important;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 1rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-toggler {
  border: 2px solid var(--primary-blue);
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30,60,114,0.8)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/slypic/slydd.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--text-white);
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.3s forwards;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.6s forwards;
  color: var(--text-gray);
}

.hero-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease 0.9s forwards;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--primary-dark);
  border: none;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
  color: var(--primary-dark);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 1rem;
}

.btn-outline-gold:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

/* Scroll Down Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
}

.scroll-indicator a {
  color: var(--accent-gold);
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.scroll-indicator a:hover {
  transform: translateY(5px);
}

/* Section Styling */
section {
  padding: 5rem 0;
  position: relative;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-blue);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-gold);
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* Scroll Animation Classes */
.scroll-animate {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Cards */
.feature-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  height: 100%;
  border-top: 4px solid var(--accent-gold);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-blue);
}

.feature-card h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Service Cards */
.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.service-card-header {
  background: var(--gradient-navy);
  color: var(--text-white);
  padding: 1.5rem;
  text-align: center;
}

.service-card-header h3 {
  margin: 0;
  font-weight: 700;
}

.service-card-body {
  padding: 2rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.5rem 0;
  padding-left: 2rem;
  position: relative;
  color: #555;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: bold;
}

/* Team Section */
.team-section {
  background: var(--bg-light);
}

.team-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all 0.4s ease;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.team-photo {
  height: 250px;
  overflow: hidden;
  background: var(--gradient-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 250px;
  margin: 0 auto 1.5rem;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 50%;
}

.team-card:hover .team-photo img {
  transform: scale(1.1);
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  color: var(--primary-blue);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.team-info p {
  color: #666;
  font-style: italic;
  margin: 0;
}

/* Stats Section */
.stats-section {
  background: var(--gradient-navy);
  color: var(--text-white);
  padding: 4rem 0;
}

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

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

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

/* CTA Section */
.cta-section {
  background: var(--gradient-navy);
  color: var(--text-white);
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  color: var(--text-white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-gray);
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 3rem 0;
  margin-top: 4rem;
}

footer a {
  color: var(--accent-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Page Header */
.page-header {
  background: var(--gradient-navy);
  color: var(--text-white);
  padding: 6rem 0 4rem;
  text-align: center;
  margin-top: 60px;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: var(--text-gray);
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

/* About Page Styles */
.about-intro {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  margin-bottom: 3rem;
  border-left: 5px solid var(--accent-gold);
}

.mission-vision-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.mission-box, .vision-box {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
  text-align: center;
  border-top: 4px solid var(--accent-gold);
}

.mission-box h3, .vision-box h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: var(--shadow-card);
}

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

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

.form-control {
  width: 100%;
  /*padding: 0.8rem 1rem;*/
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .btn-outline-gold {
    margin-left: 0;
  }
  
  .navbar-brand {
    font-size: 1.2rem;
  }

  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 0.5rem 0;
    background: #fff;
    border-top: 1px solid rgba(30, 60, 114, 0.12);
  }

  .navbar-nav .nav-link {
    margin: 0;
    padding: 0.75rem 0.25rem;
  }

  .stats-section {
    padding: 2.5rem 0 1.5rem;
  }

  .stat-item {
    padding: 1rem 0.5rem;
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .stat-label {
    font-size: 0.95rem;
  }
}
