/* ===========================
   Color Variables from Logo
   =========================== */
:root {
  --primary-teal: #4dbfb8;
  --primary-green: #6eca6e;
  --navy-blue: #1e5a8e;
  --dark-gray: #2c3e50;
  --light-teal: #5eccc5;
  --text-gray: #6c757d;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
  --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* ===========================
   Global Styles
   =========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

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

section {
  padding: 80px 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 10px var(--shadow);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 5px 0;
  box-shadow: 0 4px 20px var(--shadow-hover);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: var(--dark-gray);
}

.logo img {
  height: 45px;
  width: auto;
}

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

.nav-link {
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-teal);
  transition: width 0.3s ease;
}

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

.nav-link:hover {
  color: var(--primary-teal);
}

.btn-contact {
  background: var(--primary-teal);
  color: var(--white) !important;
  padding: 10px 25px !important;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.btn-contact::after {
  display: none;
}

.btn-contact:hover {
  background: var(--primary-green);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-hover);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark-gray);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
  background: linear-gradient(135deg, #e0f7f6 0%, #f0f9ff 100%);
  padding: 150px 0 100px;
  margin-top: 70px;
}

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

.hero-title {
  font-size: 48px;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.highlight {
  color: var(--primary-teal);
}

.hero-subtitle {
  font-size: 20px;
  color: var(--text-gray);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-description {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 35px;
  line-height: 1.8;
}

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

.btn {
  padding: 14px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

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

.btn-secondary:hover {
  background: var(--primary-teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.hero-image {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  padding: 25px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px var(--shadow);
  text-align: center;
  animation: float 3s ease-in-out infinite;
  min-width: 140px;
}

.floating-card .card-icon {
  font-size: 48px;
  margin-bottom: 10px;
}

.floating-card p {
  font-weight: 600;
  color: var(--dark-gray);
  font-size: 16px;
  margin: 0;
}

.card-1 {
  top: 20px;
  left: 10%;
  animation-delay: 0s;
}

.card-2 {
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  animation: floatCenter 3s ease-in-out infinite;
  animation-delay: 1s;
}

.card-3 {
  bottom: 40px;
  left: 15%;
  animation-delay: 2s;
}

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

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

/* ===========================
   Section Headers
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  color: var(--dark-gray);
  margin-bottom: 15px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
}

/* ===========================
   Training Section
   =========================== */
.training {
  background: var(--white);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.course-card {
  background: var(--white);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-hover);
  border-color: var(--primary-teal);
}

.course-card.featured {
  border-color: var(--primary-green);
  background: linear-gradient(135deg, #ffffff 0%, #f0fff4 100%);
}

.badge {
  position: absolute;
  top: -15px;
  right: 20px;
  background: var(--primary-green);
  color: var(--white);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.course-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.course-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.course-card p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.course-features {
  list-style: none;
  margin-bottom: 25px;
}

.course-features li {
  color: var(--text-gray);
  margin-bottom: 10px;
  font-size: 15px;
}

.btn-course {
  width: 100%;
  background: var(--primary-teal);
  color: var(--white);
}

.btn-course:hover {
  background: var(--navy-blue);
}

/* ===========================
   Services Section
   =========================== */
.services {
  background: var(--light-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

.service-icon {
  font-size: 56px;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.service-card p {
  color: var(--text-gray);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-link {
  color: var(--primary-teal);
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--navy-blue);
  padding-left: 5px;
}

/* ===========================
   Store Section
   =========================== */
.store {
  background: var(--white);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 12px 28px;
  background: var(--white);
  border: 2px solid var(--primary-teal);
  color: var(--primary-teal);
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-teal);
  color: var(--white);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--shadow);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px var(--shadow-hover);
}

.product-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.product-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.business-preview {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.ecommerce-preview {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.portfolio-preview {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary-green);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.product-info {
  padding: 25px;
}

.product-info h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--dark-gray);
}

.product-info p {
  color: var(--text-gray);
  margin-bottom: 15px;
  font-size: 15px;
  line-height: 1.6;
}

.product-tech {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tech-tag {
  background: var(--light-bg);
  color: var(--text-gray);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-teal);
}

.btn-small {
  padding: 10px 22px;
  font-size: 14px;
}

/* ===========================
   About Section
   =========================== */
.about {
  background: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-intro {
  font-size: 20px;
  color: var(--primary-teal);
  font-weight: 600;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-gray);
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-gray);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.feature-box {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px var(--shadow);
  transition: all 0.3s ease;
}

.feature-box:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.feature-icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.feature-box h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.feature-box p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
  background: var(--white);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-box {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-teal);
}

.info-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.info-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.info-box p {
  color: var(--text-gray);
  font-size: 15px;
  line-height: 1.6;
}

.social-links h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--dark-gray);
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--navy-blue);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px var(--shadow-hover);
}

.contact-form-wrapper {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark-gray);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 3px rgba(77, 191, 184, 0.1);
}

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

.btn-block {
  width: 100%;
}

.google-form-container {
  text-align: center;
  padding: 20px;
}

.google-form-container h3 {
  color: var(--dark-gray);
}

.google-form-container .btn {
  margin: 0 auto;
}

/* ===========================
   Footer
   =========================== */
.footer {
  background: var(--dark-gray);
  color: var(--white);
  padding: 60px 0 30px;
}

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

.footer-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--light-teal);
}

.footer-section p {
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 15px;
}

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

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--light-teal);
  padding-left: 5px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #999;
}

/* ===========================
   Modals
   =========================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: var(--text-gray);
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-teal);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ===========================
   Success Message
   =========================== */
.success-message {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-green);
  color: var(--white);
  padding: 18px 35px;
  border-radius: 50px;
  box-shadow: 0 8px 25px var(--shadow-hover);
  z-index: 3000;
  transition: bottom 0.3s ease;
  font-weight: 600;
}

.success-message.show {
  bottom: 30px;
}

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

  .hero-image {
    height: 300px;
  }

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

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

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

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: var(--white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px var(--shadow);
    padding: 40px 0;
    gap: 20px;
  }

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

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }

  .hero-title {
    font-size: 38px;
  }

  .section-header h2 {
    font-size: 34px;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

@media (max-width: 640px) {
  .hero-title {
    font-size: 32px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .courses-grid,
  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .filter-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-btn {
    width: 100%;
  }

  .floating-card {
    padding: 15px;
  }

  .floating-card .card-icon {
    font-size: 32px;
  }

  .floating-card p {
    font-size: 13px;
  }
}

/* ===========================
   Utility Classes
   =========================== */
.hidden {
  display: none;
}

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

.slide-up {
  animation: slideUp 0.5s ease;
}
