*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f9fafb;
  color: #1f2937;
}

/* Header */
.header-fpt {
  background: #0d2978;
  color: #fff;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 0 16px;
}
.header-fpt .logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-fpt .logo img {
  height: 48px;
  border-radius: 8px;
}
.header-fpt .nav {
  display: flex;
  gap: 24px;
}
.header-fpt .nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.header-fpt .nav a:hover {
  color: #60a5fa;
}
.menu-toggle {
  display: none;
}

/* Hero Section */
.hero-section {
  background: #eff6ff;
  padding: 40px 20px;
  text-align: center;
  border-bottom: 2px solid #dbeafe;
}
.hero-section h1 {
  font-size: 2rem;
  color: #1e40af;
  margin-bottom: 8px;
}
.hero-section p {
  color: #475569;
  font-size: 1rem;
}

/* Layout */
.main-grid {
  display: flex;
  justify-content: center;
  gap: 36px;
  max-width: 1200px;
  margin: 45px auto 18px;
  padding: 0 18px;
}

.wrapper {
  flex: 2;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
  padding: 30px 24px;
}

.heading {
  font-size: 28px;
  color: #1d4ed8;
  margin-bottom: 20px;
  font-weight: 700;
}
.container {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  justify-content: space-between;
}
.column {
  width: 48%;
  background: #f1f5f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  margin-bottom: 10px;
}
h2 {
  color: #111827;
  font-size: 18px;
  border-bottom: 2px solid #60a5fa;
  margin-bottom: 12px;
  padding-bottom: 6px;
}
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  padding: 6px 0;
  position: relative;
  margin-left: 18px;
}
ul li::before {
  content: "✔";
  color: #10b981;
  font-weight: bold;
  position: absolute;
  left: -18px;
}

/* Sidebar */
.sidebar {
  flex: 1;
  padding: 24px;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  border-radius: 12px;
  height: fit-content;
  max-width: 320px;
}

/* Sidebar video, download */
.sidebar video {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 18px;
  display: block;
}

.download-btn {
  display: inline-block;
  width: 100%;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
  padding: 13px 0;
  border-radius: 7px;
  text-align: center;
  font-size: 1rem;
  margin-bottom: 28px;
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.download-btn:hover {
  background: #1d4ed8;
}

.sidebar-section {
  margin-bottom: 24px;
}

.sidebar-highlight {
  background: #fff;
  border-left: 4px solid #10b981;
  margin: 10px 0;
  padding: 10px;
  border-radius: 6px;
  font-size: 0.95rem;
}

.sidebar-testimonials {
  background: #f3f4f6;
  border-radius: 8px;
  padding: 10px;
  font-style: italic;
  margin-bottom: 8px;
}

.other-courses-list {
  list-style: none;
  padding: 0;
}
.other-courses-list li {
  margin-bottom: 8px;
}
.other-courses-list a {
  color: #2563eb;
  text-decoration: none;
}
.other-courses-list a:hover {
  text-decoration: underline;
}

/* Floating icons */
.floating-icons {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.floating-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.floating-icon.gmail { background: #ea4335; }
.floating-icon.phone { background: #1e3a8a; }
/* floating-icon img svg style */
.floating-icon img,
.floating-icon svg {
  width: 32px;
  height: 32px;
  filter: invert(1);
  display: block;
}

/* Social Section and Footer */
.social-section {
  background: #0d2978;
  text-align: center;
  padding: 24px 0;
  color: white;
}
.social-section h3 {
  font-size: 1.15rem;
  margin-bottom: 0px;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}
.social-icon-link img {
  width: 24px;
  height: 24px;
  filter: invert(1);
}

.footer-fpt {
  background: #0d2978;
  color: #d1d5db;
  text-align: center;
  padding: 24px 0;
  margin-top: 0px;
}
.footer-fpt a {
  color: #60a5fa;
  margin: 0 10px;
}


/* Responsive adjustments */
@media (max-width: 1024px) {
  .main-grid {
    flex-direction: column;
    padding: 0 2vw;
    gap: 24px;
  }
  .wrapper {
    padding: 20px 8px;
    max-width: 100vw;
  }
  .column {
    width: 100%;
  }
  .sidebar {
    margin-top: 18px;
    width: 100%;
    max-width: 100vw;
    padding: 18px;
  }
  .floating-icon {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

/* Sticky Nav for mobile */
@media (max-width: 700px) {
  .header-fpt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 1200;
    padding: 0 8px;
  }
  body {
    padding-top: 72px;
  }
  .header-fpt .nav {
    display: none;
    background: #132b44;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    width: 100vw;
    padding: 24px 0 30px 0;
    z-index: 1201;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .header-fpt .nav.open {
    display: flex;
  }
  .header-fpt .nav a {
    padding: 14px 32px;
    border-bottom: 1px solid #1e3a8a;
    width: 100%;
    font-size: 1.08rem;
  }
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    margin-right: 8px;
  }
  .social-icons {
    gap: 16px;
  }
}

/* Ensure no horizontal scroll from wider children */
img, video {
  max-width: 100%;
  height: auto;
}

@media (max-width:400px) {
  .main-grid { padding: 0; }
  .sidebar { padding:10px; }
  .wrapper { padding:10px 3px; }
}
