/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.5;
  color: #2c3e50;
  background-color: #f8f9fa;
}

/* Preloader */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #2c3e50;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid #0066ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  animation: pulse 1.5s ease-in-out infinite;
}

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

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

/* Header */
.header {
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-image {
  height: 120px;
  width: auto;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 3px;
}

.logo-text .tagline {
  font-size: 0.85rem;
  opacity: 0.9;
  color: #f1c40f;
}

.contact-info {
  text-align: right;
  font-size: 0.85rem;
}

.contact-info p {
  margin: 2px 0;
}

/* Hero Section */
.hero {
  background-color: #f8f9fa;
  padding: 80px 0;
  min-height: 500px;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  padding-right: 20px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 25px;
  color: #2c3e50;
  font-weight: 700;
}

.highlight-text {
  position: relative;
  color: #2c3e50;
}

.highlight-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 8px;
  width: 100%;
  height: 12px;
  background-color: #0066ff;
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 35px;
  color: #555;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-primary {
  background-color: #0066ff;
  color: white;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #0052cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.btn-secondary {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #2c3e50;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  color: #0066ff;
  border-bottom-color: #0066ff;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive Design for Hero */
@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .hero-content {
    padding-right: 0;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-image {
    order: -1;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 50px 0;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary, .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* About Section */
.about {
  padding: 40px 0;
  background-color: #ffffff;
}

.about h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #2c3e50;
}

.company-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #f39c12;
  margin-bottom: 30px;
  text-align: center;
}

.company-info p {
  font-size: 1rem;
  margin: 8px 0;
  color: #555;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.feature {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #34495e;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-left-color: #f39c12;
}

.feature h4 {
  color: #2c3e50;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature p {
  color: #666;
  font-size: 0.95rem;
}

.workshop-details {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #f39c12;
  margin-bottom: 30px;
}

.workshop-details h3 {
  text-align: left;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.workshop-details ul {
  list-style: none;
  padding: 0;
}

.workshop-details li {
  padding: 6px 0;
  font-size: 0.98rem;
  color: #555;
}

.specialities {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #34495e;
}

.specialities ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.specialities li {
  padding: 8px;
  color: #555;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.specialities li i {
  color: #f39c12;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Trainer Section */
.trainer-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0 40px 0;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  align-items: center;
}

.trainer-image {
  position: relative;
}

.trainer-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
  border: 4px solid #f39c12;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.trainer-info {
  color: white;
}

.trainer-info h4 {
  color: white;
  font-size: 2rem;
  margin: 0 0 5px 0;
  font-weight: 800;
}

.company-details {
  background: rgba(241, 196, 15, 0.1);
  border-left: 3px solid #f39c12;
  padding: 12px 15px;
  margin: 15px 0;
  border-radius: 6px;
}

.company-details p {
  color: #ecf0f1;
  font-size: 0.9rem;
  margin: 5px 0;
}

.company-details p strong {
  color: #f1c40f;
  font-weight: 600;
}

.trainer-title {
  color: #f1c40f;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 15px 0;
}

.trainer-description {
  color: #ecf0f1;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.trainer-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.highlight-item {
  text-align: center;
  padding: 15px;
  background: rgba(241, 196, 15, 0.1);
  border: 2px solid rgba(241, 196, 15, 0.3);
  border-radius: 8px;
}

.highlight-item strong {
  display: block;
  color: #f1c40f;
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 5px;
}

.highlight-item span {
  display: block;
  color: #ecf0f1;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Course Pricing */
.course-pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.course-card {
  background: white;
  border-radius: 12px;
  padding: 30px 25px;
  border: 1px solid #e8e8e8;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  border-color: #f39c12;
}

.course-card.featured {
  border: 2px solid #f39c12;
  background: linear-gradient(135deg, #fffbf0 0%, #ffffff 100%);
  box-shadow: 0 4px 20px rgba(243, 156, 18, 0.15);
}

.course-card.featured:hover {
  box-shadow: 0 16px 48px rgba(243, 156, 18, 0.25);
}

.course-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  color: white;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.course-header h4 {
  color: #2c3e50;
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.course-price {
  font-size: 2.2rem;
  font-weight: 700;
  color: #f39c12;
  margin: 15px 0;
  letter-spacing: -1px;
}

.course-details {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.course-details p {
  margin: 10px 0;
  color: #666;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-details p strong {
  color: #2c3e50;
  min-width: 80px;
}

.course-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  margin-top: 15px;
  background: #f39c12;
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.course-btn:hover {
  background: #e67e22;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.course-btn-featured {
  background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.course-btn-featured:hover {
  box-shadow: 0 6px 16px rgba(243, 156, 18, 0.5);
}

/* Specialized Courses */
.specialized-courses {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.spec-course {
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.spec-course:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  border-color: #f39c12;
}

.spec-course h4 {
  color: #2c3e50;
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.spec-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #f39c12;
  margin: 12px 0;
  letter-spacing: -0.5px;
}

.spec-course p {
  font-size: 0.88rem;
  color: #777;
  margin: 10px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.spec-course ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}

.spec-course ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.92rem;
  color: #555;
}

.spec-course ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f39c12;
  font-weight: bold;
  font-size: 1rem;
}

/* Upcoming Course */
.upcoming-course {
  background: #2c3e50;
  border: 3px solid #f39c12;
  border-radius: 8px;
  margin-bottom: 40px;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.upcoming-course h3 {
  color: #f1c40f;
  text-align: center;
  margin: 0 0 15px 0;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.upcoming-details {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 15px;
  align-items: center;
}

.upcoming-price {
  font-size: 2rem;
  font-weight: 900;
  color: #2c3e50;
  text-align: center;
  padding: 15px 10px;
  background: #f1c40f;
  border-radius: 6px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.upcoming-info {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 0.8rem;
  line-height: 1.3;
  padding: 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  border: 1px solid rgba(241, 196, 15, 0.2);
}

.upcoming-info p {
  margin: 0;
}

.upcoming-info p strong {
  color: #f1c40f;
  font-size: 1rem;
  font-weight: 800;
}

.upcoming-topics {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.theory-practical {
  display: contents;
}

.theory-section,
.practical-section {
  background: rgba(255,255,255,0.08);
  padding: 10px 12px;
  border-radius: 6px;
}

.upcoming-topics h4 {
  color: #f1c40f;
  margin: 0 0 6px 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.topic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.topic-tags span {
  display: inline-block;
  padding: 4px 10px;
  background: rgba(241, 196, 15, 0.2);
  border: 1px solid rgba(241, 196, 15, 0.4);
  border-radius: 4px;
  font-size: 0.75rem;
  color: #f1c40f;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.upcoming-note {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 10px;
  padding: 10px 15px;
  background: rgba(241, 196, 15, 0.15);
  border: 1px solid rgba(241, 196, 15, 0.4);
  border-radius: 6px;
  font-size: 0.8rem;
  color: #ecf0f1;
  line-height: 1.4;
}

.upcoming-note strong {
  color: #f1c40f;
  font-weight: 700;
}

.upcoming-enroll-btn {
  grid-column: 1 / -1;
  display: block;
  padding: 14px 30px;
  margin-top: 15px;
  background: #f1c40f;
  color: #2c3e50;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 15px rgba(241, 196, 15, 0.4);
}

.upcoming-enroll-btn:hover {
  background: #f39c12;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(241, 196, 15, 0.6);
}

/* Workshop Gallery */
.workshop-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.workshop-gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #e8e8e8;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.workshop-gallery img:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  border-color: #f39c12;
}

/* Workshop Benefits */
.workshop-benefits {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.workshop-benefits h3 {
  text-align: center;
  margin-bottom: 25px;
  font-size: 1.6rem;
  color: #2c3e50;
  font-weight: 600;
}

.workshop-benefits ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.workshop-benefits ul li {
  padding: 12px 15px;
  font-size: 0.98rem;
  color: #555;
  background: white;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.workshop-benefits ul li i {
  color: #f39c12;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.workshop-benefits ul li:hover {
  transform: translateX(5px);
  border-color: #f39c12;
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.1);
}

/* Contact Section */
.contact {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.contact h3 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #2c3e50;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
  padding: 15px;
  background: white;
  border-radius: 6px;
  border-top: 3px solid #f39c12;
}

.contact-item strong {
  display: block;
  color: #2c3e50;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.contact-item p {
  color: #666;
  font-size: 0.95rem;
  margin: 3px 0;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: white;
  text-align: center;
  padding: 15px 0;
  font-size: 0.9rem;
}

.developer-link {
  background: #ff9966;
  color: white;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.developer-link:hover {
  background: #ff8855;
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .header {
    padding: 12px 0;
  }
  
  .header .container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .logo-image {
    height: 90px;
  }
  
  .logo-text h1 {
    font-size: 1.5rem;
  }
  
  .contact-info {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
  }
  
  .hero {
    padding: 35px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .hero h3 {
    font-size: 1.4rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .about {
    padding: 30px 0;
  }
  
  .about h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .features {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .trainer-section {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  
  .trainer-image img {
    height: 280px;
  }
  
  .trainer-info h4 {
    font-size: 1.6rem;
    text-align: center;
  }
  
  .company-details {
    padding: 10px 12px;
  }
  
  .company-details p {
    font-size: 0.85rem;
  }
  
  .trainer-title {
    text-align: center;
    font-size: 1rem;
  }
  
  .trainer-description {
    font-size: 0.9rem;
  }
  
  .trainer-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .highlight-item strong {
    font-size: 1.5rem;
  }
  
  .contact {
    padding: 30px 0;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .specialities ul {
    grid-template-columns: 1fr;
  }
  
  .course-pricing {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .course-card {
    padding: 25px 20px;
  }
  
  .specialized-courses {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .upcoming-course {
    padding: 15px;
  }
  
  .upcoming-course h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }
  
  .upcoming-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .upcoming-price {
    font-size: 1.8rem;
    padding: 12px 10px;
  }
  
  .upcoming-topics {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .theory-section,
  .practical-section {
    padding: 10px;
  }
  
  .workshop-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .workshop-gallery img {
    height: 200px;
  }
  
  .workshop-benefits {
    padding: 25px 20px;
  }
  
  .workshop-benefits ul {
    grid-template-columns: 1fr;
  }
}
