/* ==================================================
   GIPE Trainings – Master Stylesheet
   Colors: Dark Navy #00133F | Gold #B8860B
   ================================================== */

/* ---------- Global Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  text-align: center;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  text-align: left;                 /* reset inside containers */
}

.text-center .container,
.text-center {
  text-align: center;
}

.section-padding {
  padding: 80px 0;
}

.bg-light {
  background: #f4f6f9;
}

.bg-primary {
  background: #00133F;
  color: #fff;
}

.bg-accent {
  background: #B8860B;
  color: #fff;
}

.text-white {
  color: #fff;
}

a {
  color: #B8860B;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #00133F;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: #B8860B;
  color: #fff;
  border-color: #B8860B;
}

.btn-primary:hover {
  background: #9a7009;
  border-color: #9a7009;
}

.btn-secondary {
  background: #00133F;
  color: #fff;
  border-color: #00133F;
}

.btn-secondary:hover {
  background: #000a1f;
}

.btn-outline {
  background: transparent;
  color: #B8860B;
  border-color: #B8860B;
}

.btn-outline:hover {
  background: #B8860B;
  color: #fff;
}

.btn-light {
  background: #fff;
  color: #00133F;
  border-color: #fff;
}

.btn-light:hover {
  background: #e6e6e6;
}

.btn-small {
  padding: 8px 18px;
  font-size: 0.8rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.site-header:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.site-branding .custom-logo-link img {
  max-height: 50px;
  width: auto;
}

.site-title a {
  color: #00133F;
  font-size: 1.8rem;
  font-weight: 700;
  transition: color 0.3s;
}

.site-title a:hover {
  color: #B8860B;
}

.main-navigation ul {
  list-style: none;
  display: flex;
  gap: 25px;
}

.main-navigation a {
  color: #00133F;
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
  display: inline-block;
}

.main-navigation a:hover {
  color: #B8860B;
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #00133F;
  margin: 5px 0;
  transition: all 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #00133F;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,19,63,0.85) 0%, rgba(0,19,63,0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Hero page‑specific backgrounds */
.hero-home {
  background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=1200&q=80');
}

.hero-about {
  background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1200&q=80');
}

.hero-contact {
  background-image: url('https://images.unsplash.com/photo-1423666639041-f56000c27a9a?w=1200&q=80');
}

/* Hero text styling (for split‑layout home page) */
.hero-content.flex-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-text {
  flex: 1 1 500px;
  text-align: left;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-text p {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.hero-image {
  flex: 1 1 400px;
  text-align: center;
}

.hero-image img {
  max-height: 450px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  object-fit: cover;
}

/* Hero stats (used on About page) */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero-stats .stat span {
  font-size: 2rem;
  font-weight: 700;
  color: #B8860B;
  display: block;
}

.hero-stats .stat small {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
  opacity: 0.9;
}

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

.section-header h2 {
  font-size: 2.5rem;
  color: #00133F;
  margin-bottom: 10px;
}

.section-header .subtitle {
  color: #555;
  font-size: 1.1rem;
}
/* ---------- Navigation Dropdowns (Desktop) ---------- */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}
.main-navigation ul li {
    position: relative;
}
.main-navigation ul li a {
    display: block;
    padding: 8px 0;
    white-space: nowrap;
}
/* Dropdown arrow indicator */
.main-navigation li.menu-item-has-children > a::after {
    content: "\f107";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: 6px;
    font-size: 0.8rem;
    display: inline-block;
    transition: transform 0.3s;
}
.main-navigation li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}
/* Submenu container */
.main-navigation ul ul {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-radius: 6px;
    padding: 8px 0;
    flex-direction: column;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 99;
}
.main-navigation ul ul li {
    width: 100%;
}
.main-navigation ul ul a {
    padding: 10px 20px;
    color: #00133F;
    font-weight: 400;
    transition: background 0.2s, padding-left 0.2s;
}
.main-navigation ul ul a:hover {
    background: #f4f6f9;
    padding-left: 25px;
    color: #B8860B;
}
/* Show submenu on hover */
.main-navigation li:hover > ul {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- Grids ---------- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.grid-3-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

/* All grid children centered by default */
.grid-2 > div,
.grid-3 > div,
.grid-4 > div,
.grid-3-1 > div {
  text-align: center;
}

/* ---------- Cards (Courses, Blog, Contact) ---------- */
.course-card,
.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.course-card:hover,
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.course-img img,
.blog-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.course-details,
.blog-info {
  padding: 20px;
}

.course-details h3,
.blog-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.course-details .instructor {
  color: #666;
  margin-bottom: 0.5rem;
}

.meta {
  display: flex;
  gap: 10px;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 15px;
  justify-content: center;
}

/* Contact Cards (used on contact page) */
.contact-card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s;
}

.contact-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.contact-card .feature-icon {
  margin-bottom: 15px;
}

/* ---------- Feature / Stats / Process ---------- */
.feature-item {
  text-align: center;
  padding: 30px 20px;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #B8860B;
  transition: transform 0.3s;
}

.feature-item:hover .feature-icon {
  transform: scale(1.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  color: #B8860B;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.step {
  flex: 1 1 200px;
  text-align: center;
  padding: 20px;
}

.step-number {
  width: 60px;
  height: 60px;
  background: #B8860B;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 15px;
  transition: background 0.3s;
}

.step:hover .step-number {
  background: #9a7009;
}

/* ---------- Instructor / Team ---------- */
.instructor-spotlight {
  text-align: center;
}

.instructor-spotlight img,
.team-card img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #B8860B;
  margin: 0 auto 15px;
  display: block;
  transition: transform 0.3s, border-color 0.3s;
}

.instructor-spotlight img:hover,
.team-card img:hover {
  transform: scale(1.05);
  border-color: #00133F;
}

.instructor-spotlight h3,
.team-card h3 {
  margin-bottom: 5px;
}

/* ---------- Testimonials ---------- */
.testimonial-item {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.3s;
}

.testimonial-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

blockquote {
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: 15px;
}

/* ---------- Partners ---------- */
.partner-logos {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  align-items: center;
}

.partner-item {
  text-align: center;
}

.partner-item .partner-circle {
  width: 100px;
  height: 100px;
  background: #f4f6f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  transition: background 0.3s;
}

.partner-item:hover .partner-circle {
  background: #00133F;
  color: #fff;
}

/* ---------- Forms ---------- */
.contact-form {
  text-align: left;               /* form overall left */
}

.contact-form label {
  display: block;
  text-align: left;
  font-weight: 600;
  margin-bottom: 5px;
  color: #00133F;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #B8860B;
  box-shadow: 0 0 0 3px rgba(184,134,11,0.1);
}

.alert-success {
  background: #d4edda;
  padding: 12px;
  border-radius: 4px;
  color: #155724;
  text-align: center;
  margin-bottom: 20px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #00133F;
  color: #ddd;
  padding: 60px 0 30px;
  text-align: left;
}

.footer-widgets {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 30px;
  justify-content: space-between;
}

.footer-col {
  flex: 1 1 200px;
  text-align: left;
}

.footer-col h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #ccc;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-col ul li a:hover {
  color: #B8860B;
  padding-left: 5px;
}

.footer-col .social-icons {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
  font-size: 1.5rem;
}

.footer-col .social-icons a {
  color: #ccc;
  transition: color 0.3s, transform 0.3s;
}

.footer-col .social-icons a:hover {
  color: #B8860B;
  transform: translateY(-3px);
}

.site-info {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  text-align: center;
  font-size: 0.9rem;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

.footer-menu a {
  color: #ccc;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #B8860B;
}

/* ---------- Timeline (About page) ---------- */
.timeline-horizontal {
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  padding: 40px 0;
}

.timeline-horizontal::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 10%;
  right: 10%;
  height: 4px;
  background: #B8860B;
  z-index: 0;
}

.timeline-item {
  text-align: center;
  flex: 1 1 180px;
  position: relative;
  z-index: 1;
  background: #fff;
  padding: 20px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.timeline-item:hover {
  transform: translateY(-5px);
}

.year {
  width: 80px;
  height: 80px;
  background: #00133F;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0 auto 15px;
  border: 4px solid #B8860B;
}

.timeline-item p {
  font-size: 0.9rem;
  color: #555;
}

/* ---------- Map & Misc ---------- */
.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
}

.hours-table {
  margin: 0 auto;
  max-width: 400px;
  text-align: left;
}

.hours-table tr td {
  padding: 8px 15px;
  border-bottom: 1px solid #eee;
}

.hours-table tr td:first-child {
  font-weight: 600;
}

/* ---------- Animations ---------- */
/* Fade in */
.animate-fade-in {
  animation: fadeIn 1s ease-out;
}
/* ---------- Single Course Page ---------- */
.course-section {
    margin-bottom: 50px;
}
.course-section h2 {
    font-size: 1.8rem;
    color: #00133F;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}
.course-section h2 i {
    margin-right: 10px;
}

.learn-list {
    list-style: none;
    padding: 0;
    text-align: left;
}
.learn-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}
.learn-list li i {
    color: #B8860B;
    margin-right: 10px;
}

.curriculum-item {
    background: #f9f9f9;
    border-left: 4px solid #B8860B;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 0 8px 8px 0;
    text-align: left;
}
.curriculum-item h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #00133F;
}
.curriculum-item p {
    margin: 0;
    color: #666;
}

.faq-item {
    text-align: left;
    margin-bottom: 20px;
}
.faq-item h4 {
    font-size: 1.1rem;
    color: #00133F;
    margin-bottom: 5px;
}

.sidebar-card ul li {
    margin-bottom: 12px;
    font-size: 0.95rem;
}
.sidebar-card ul li i {
    margin-right: 8px;
}
.sidebar-card .btn {
    margin-top: 5px;
}

.course-hero-meta div {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}
.course-hero-meta i {
    color: #B8860B;
}
/* Override centering for single course main content */
.grid-3-1 .course-main-content {
    text-align: left;
}
/* ---------- Blog Layout ---------- */
.blog-layout {
    align-items: flex-start;
}

.blog-sidebar .sidebar-inner > * {
    margin-bottom: 40px;
}

.sidebar-widget {
    text-align: left;
}

.sidebar-widget h3 {
    color: #00133F;
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
}

.sidebar-widget ul li {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 8px;
}

.sidebar-widget ul li a {
    color: #333;
    transition: color 0.3s, padding-left 0.3s;
}

.sidebar-widget ul li a:hover {
    color: #B8860B;
    padding-left: 5px;
}

/* Search form */
/* ---------- Sidebar Search Form ---------- */
.sidebar-widget .search-form {
    display: flex;
    gap: 0;
}

.sidebar-widget .search-form input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-right: none;
    border-radius: 4px 0 0 4px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s;
}

.sidebar-widget .search-form input[type="search"]:focus {
    border-color: #B8860B;
}

.sidebar-widget .search-form button,
.sidebar-widget .search-form .search-submit {
    background: #B8860B;
    color: #fff;
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}

.sidebar-widget .search-form button:hover,
.sidebar-widget .search-form .search-submit:hover {
    background: #9a7009;
}

/* Blog card extra */
.blog-card .read-more {
    font-weight: 600;
    display: inline-block;
    margin-top: 10px;
}
/* ---------- Blog Single ---------- */
.blog-post-content h2,
.blog-post-content h3,
.blog-post-content h4 {
    color: #00133F;
    margin: 30px 0 15px;
}
.blog-post-content p {
    margin-bottom: 20px;
}
.blog-post-content img {
    border-radius: 8px;
    margin: 20px 0;
}
.post-tags .tag-links a {
    display: inline-block;
    background: #f0f0f0;
    padding: 5px 12px;
    border-radius: 4px;
    margin-right: 5px;
    font-size: 0.85rem;
    color: #333;
    transition: background 0.3s;
}
.post-tags .tag-links a:hover {
    background: #B8860B;
    color: #fff;
}
.social-share a {
    font-size: 1.2rem;
    transition: color 0.3s;
}
.social-share a:hover {
    color: #B8860B !important;
}
.comments-section {
    margin-top: 40px;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll reveal (move up) */
.animate-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Zoom in reveal */
.animate-zoom {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-zoom.visible {
  opacity: 1;
  transform: scale(1);
}

/* Slide from left */
.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Slide from right */
.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Hover float */
.hover-float {
  transition: transform 0.3s;
}

.hover-float:hover {
  transform: translateY(-5px);
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 30px;
  }
}

@media (max-width: 992px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-2,
  .grid-3-1 {
    grid-template-columns: 1fr;
  }
  .hero-content.flex-hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-image img {
    max-height: 300px;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .section-padding {
    padding: 60px 0;
  }
	    .course-hero-meta {
        gap: 20px;
    }
    .grid-3-1 {
        grid-template-columns: 1fr;
    }
    .sidebar-card {
        position: static !important;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .main-navigation ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 99;
  }
  .main-navigation.toggled ul {
    display: flex;
  }
  .main-navigation a {
    color: #00133F;
  }
  .hero {
    min-height: 50vh;
  }
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-stats {
    gap: 20px;
  }
  .timeline-horizontal::before {
    display: none; /* hide line on mobile */
  }
  .timeline-item {
    flex: 1 1 100%;
  }
  .footer-widgets {
    flex-direction: column;
  }
  .footer-col {
    text-align: center;
  }
  .footer-col .social-icons {
    justify-content: center;
  }
	    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }
    .main-navigation li {
        width: 100%;
        border-bottom: 1px solid #eee;
    }
    .main-navigation a {
        padding: 12px 20px;
    }
    .main-navigation ul ul {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        padding-left: 15px;
        border-radius: 0;
        background: #f9f9f9;
    }
    .main-navigation ul ul a {
        padding-left: 35px;
    }
    .main-navigation li.menu-item-has-children > a::after {
        float: right;
    }
    /* Show submenu when toggled by JS */
    .main-navigation li.submenu-open > ul {
        display: block;
    }
	    .blog-layout {
        flex-direction: column;
    }
    .blog-sidebar {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
  .grid-3,
  .grid-4,
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero-text h1 {
    font-size: 1.8rem;
  }
  .section-padding {
    padding: 50px 0;
  }
  .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .partner-logos {
    gap: 30px;
  }
	    .course-section h2 {
        font-size: 1.5rem;
    }
    .instructor-bio {
        flex-direction: column;
        text-align: center;
    }
}