/* Synexa School - Custom Styles */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

/* Root Variables */
:root {
  --primary-dark: #013220;
  --primary-light: #4CAF50;
  --secondary-green: #66BB6A;
  --accent-green: #81C784;
  --text-dark: #1A1A1A;
  --text-gray: #6B7280;
  --bg-light: #F9FAFB;
  --white: #FFFFFF;
  --shadow: 0 10px 30px rgba(1, 50, 32, 0.1);
}

/* Base Styles */
body {
  font-family: 'Inter', 'Poppins', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Synexa Brand Colors */
.bg-synexa-dark {
  background-color: var(--primary-dark);
}

.bg-synexa-light {
  background-color: var(--primary-light);
}

.text-synexa-dark {
  color: var(--primary-dark);
}

.text-synexa-light {
  color: var(--primary-light);
}

/* Gradient Backgrounds */
.synexa-gradient {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
}

.synexa-gradient-light {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-green) 100%);
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-dark);
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

/* Cards */
.feature-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(1, 50, 32, 0.08);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(1, 50, 32, 0.15);
}

/* Icons */
.icon-box {
  width: 64px;
  height: 64px;
  background-color: var(--primary-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.icon-box svg {
  width: 32px;
  height: 32px;
  color: white;
}

/* Sections */
.section-padding {
  padding: 80px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
  }
}

/* Animations */
.floating { 
  animation: floating 3s ease-in-out infinite;
} 

@keyframes floating { 
  0% { transform: translateY(0px); } 
  50% { transform: translateY(-10px); } 
  100% { transform: translateY(0px); }  
}

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

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

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #F9FAFB 0%, #E5F4E5 100%);
  position: relative;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23013220' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Feature Icons */
.feature-icon {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-green) 100%);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.3);
}

/* Stats Section */
.stats-card {
  text-align: center;
  padding: 24px;
}

.stats-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.stats-label {
  color: var(--text-gray);
  font-size: 16px;
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 64px;
  color: var(--primary-light);
  opacity: 0.2;
  font-family: Georgia, serif;
}

/* Mobile Menu */
.mobile-menu {
  background-color: white;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  transition: right 0.3s ease;
  z-index: 1000;
  padding: 24px;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

/* Footer */
.footer-gradient {
  background: linear-gradient(180deg, var(--primary-dark) 0%, #011F14 100%);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Logo Styles */
.logo-header {
  height: 48px;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-header {
    height: 56px;
  }
}

.logo-footer {
  filter: brightness(0) invert(1);
  height: 64px;
  object-fit: contain;
}

/* Loading Animation */
.logo-loading {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

/* Hero Image Styles */
.hero-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(1, 50, 32, 0.25);
}

@media (min-width: 768px) {
  .hero-image {
    max-width: 500px;
  }
}

.hero-image-container {
  position: relative;
  animation: float 6s ease-in-out infinite;
  padding: 2rem;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* PNG image without background */
.hero-image-transparent {
  filter: drop-shadow(0 25px 50px rgba(1, 50, 32, 0.15));
  max-width: 100%;
  height: auto;
  object-fit: contain;
}