/************************* Global Styles *************************/
body, html {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f4; /* Optional: Page background color */
}

header {
    background-color: #14532d;
    color: white;
    padding: 20px 0;
    text-align: center;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

.container {
    max-width:100%;
    background-color: white; /* Main content background */
    padding: 50px 80px;
	font-family: 'Segoe UI', sans-serif;
}

.row {
  margin:0;
  padding:0;
}

.bg-grey{
	background:#f4f4f4;
}
.bg-green{
	background:#025927;
}

img{
	max-width: 100%;
	height: auto;
	animation: float 6s ease-in-out infinite;
}
h1 {
  font-size: 30px;
}

h2 {
    position: relative;
    display: inline-block;
    color: #222222;
    font-size: 28px;
    padding-bottom: 5px;
    transition: color 0.3s ease;
	text-transform: uppercase;
}

h2::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #e67e22;
    transition: width 0.3s ease;
}

h2:hover {
    color: #e67e22;
}

h2:hover::after {
    width: 100%;
}
h3 {
   color: #333333;
   font-size: 22px;
   font-weight: normal;
}
h4 {
   color: #444;
   font-size: 20px;
   font-weight: normal;
}
h5 {
   color: #444;
   font-size:18px;
   font-weight: normal;
}
h5 {
   color: #444;
   font-size:16px;
   font-weight: normal;
}
a{
    text-decoration:none;
	color:#374151;
}

ul {
    margin: 15px 0;
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
    font-size:16px;
    color: #374151;
}

.mt0{
	margin-top:0px;
}
.mt10{
	margin-top:10px;
}
.mt20{
	margin-top:20px;
}
.mt30{
	margin-top:30px;
}
.mt40{
	margin-top:40px;
}
.mt50{
	margin-top:50px;
}
.mt60{
	margin-top:60px;
}
.mb0{
	margin-bottom:0px;
}
.mb5{
	margin-bottom:5px;
}
.mb10{
	margin-bottom:10px;
}
.mb20{
	margin-bottom:20px;
}
.mb30{
	margin-bottom:30px;
}
.mb40{
	margin-bottom:40px;
}
.mb50{
	margin-bottom:50px;
}
.mb60{
	margin-bottom:60px;
}
.pb0{
	padding-bottom:0;
}
.p0{
	padding:0;
}
.p10{
	padding:10;
}
.f10{
	font-size:10px;
}
.f20{
	font-size:20px;
}
.f30{
	font-size:30px;
}
.f40{
	font-size:40px;
}
.f50{
	font-size:50px;
}
.f60{
	font-size:60px;
}
.fw500{
	font-weight:500;
}
.fw600{
	font-weight:600;
}
.fw700{
	font-weight:700;
}
.fw800{
	font-weight:800;
}
.text-uppercase{
	text-transform:uppercase;
}
p {
    margin-bottom: 15px;
    font-size:18px;
    color:#374151;
	text-align:justify;
}
.form-check-input[type="radio"] {
  border-radius: 50%;
  padding: 10px;
}
label {
  display: inline-block;
  padding: 0 10px;
  color:black;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 20px;
}

.course-card {
  background: #fff;
  border-left: 5px solid #38a169;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.course-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background-color: #ffffff;
  padding: 15px;
  animation: float 6s ease-in-out infinite;
}

.course-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.course-content h3 {
  font-size: 18px;
  color: #033d1b;
  margin:0;
  font-weight:bold;
}

.course-content h3 a {
  color: #033d1b;
 
}

.course-content p {
  font-size: 14px;
  color: #333;
  flex-grow: 1;
}

.course-meta {
  font-size: 13px;
  color: #555;
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}


.course-category-label {
    font-size: 14px;
	font-weight: 600;
	background-color: #054C2C;
	color: #fff;
	display: inline-block;
	padding: 5px 12px;
	border-radius: 20px;
	margin-bottom: 10px;
	width: 40%;
}


.submit-btn {
  background: linear-gradient(135deg, #e67e22, #f39c12);
  color: white;
  padding: 12px 40px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 18px;
  border: none;
  text-align: center;
  display: inline-block;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.submit-btn a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

.submit-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #1e7e34, #28a745);
}

.submit-btn:hover .rocket {
  animation: wiggle 0.6s infinite;
}

/* 🚀 rocket animation */
@keyframes wiggle {
  0%   { transform: translateY(0); }
  25%  { transform: translateY(-2px); }
  50%  { transform: translateY(0); }
  75%  { transform: translateY(2px); }
  100% { transform: translateY(0); }
}
img {
  transition: transform 0.4s ease, opacity 0.4s ease;
  display: inline-block;
  max-width: 100%;
  height: auto;
}

img.bounce-y {
  animation: bounceY 2s ease-in-out infinite;
}

@keyframes bounceY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}


/************************* overlay banner *************************/
.overlaybanner{background-size: cover;
  background-position: center;
  position: relative;
}
  
.overlaybanner .overlay {
  background-color: rgba(1, 88, 38, 0.80);
  padding: 20px 20px;
  color: #fff;
}

.overlaycontainer{
    width: 100%;
    margin: auto;
}
.overlaycontainer p{
    color:white;
}

/************************* Top Bar *************************/
.top-bar {
  background-color: #f4f4f4;
  color: #000;
  font-size: 14px;
  padding: 14px 0;
}

.top-bar .container-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0px 2%;
  padding: 0;
  flex-wrap: wrap;
}

.top-bar-left span {
  margin-right: 20px;
}

.top-bar i {
  margin-right: 5px;
  color: #212529;
}

.top-bar-left a {
  color: #212529;
  font-size: 14px;
}

.top-bar-btn{
  background-color:#212529;
  color: white;
  padding: 5px 30px;
  border-radius: 6px;
  font-weight: normal;
  transition: background-color 0.3s ease;
  text-decoration: none;
  margin: 10px 0;
  text-align: center;
  width: 100%;
  font-size: 14px;
}
.top-bar-btn a{
	color:#fff;
}
.top-bar-btn:hover {
  background-color: #1e7e34;
}




/*************************  Header *************************/
.main-header {
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.logo-area .logo {
  height: 62px;
}

.main-nav a {
  color: #1e293b;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: #10b981;
  transition: 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.header-action {
  display: flex;
  align-items: center;
}


/************************ Register Button and register form ************************/
.register-btn {
  background-color: #e67e22;
  color: white;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
  text-decoration:none;
}

.register-btn:hover {
  background-color: #1e7e34;
}

.container-register-now {
  max-width: 700px;
  margin: 50px auto;
  background-color: white;
  padding: 40px 60px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(5, 76, 44, 0.5);
}

.container-register-now h2 {
  background: #054c2c;
  color: white;
  padding: 10px;
  text-align: center;
  font-size: 26px;
}

.btn-register {
    background-color: #054c2c;
    color: white;
    font-weight: bold;
}

.btn-register:hover {
    background-color: #1e7e34;
            color: white;
}


/************************ Hero banner ************************/
.hero-banner {
   display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 600px;
  position: relative;
  background: white;
}


.hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff0;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.text-box {
    flex: 0 0 70%;  /* Fixed to 60% width */
    padding-right: 30px;
}

.text-box h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: #212529;
    font-weight: bold;
}

.text-box p {
    margin-bottom: 15px;
    font-size:18px;
    color:#000;
    text-align: justify;
}

.text-box ul li {
    font-size:18px;
    color:#000;
    text-align: justify;
}

.btn-explore {
    display: inline-block;
    background-color: #014421;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.btn-explore:hover {
    background-color: #056437;
}

.image-box {
    flex: 0 0 30%;  /* Fixed to 40% width */
    display: flex;
    justify-content: center;
}

.image-box img {
    max-width: 100%;
    height: auto;
}




/************************ Vision Mission  ************************/
.vision-mission-section {
  background: linear-gradient(135deg, #eafff1, #f6fff6);
  padding: 60px 20px;
  font-family: 'Segoe UI', sans-serif;
}

.vm-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}

@media (min-width: 768px) {
  .vm-container {
    flex-direction: row;
  }
}

.vm-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  flex: 1;
  transition: transform 0.3s ease;
}

.vm-box:hover {
  transform: translateY(-5px);
}

.vm-box h2 {
  color: #064420;
  margin-bottom: 15px;
  font-size: 24px;
  border-bottom: 2px solid #00b86b;
  padding-bottom: 5px;
}

.vm-box p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
}



/************************Popular Courses************************/

.popular-courses {
  padding: 40px 20px;
  max-width: 100%;
  margin: auto;
  background: #ffffff;
}

.popular-courses h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom:none;
}

.tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 20px;
  background: #ffffff;
  color: #004d26;
  border: 2px solid transparent;
  font-weight: normal;
  cursor: pointer;
  border-radius: 8px;
  transition: 0.3s;
}

.tab-btn.active {
  background-color: #004d26;
  color: #fff;
  border-color: #004d26;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}




/*Why webicle*/
.why-webicle {
  background-color: #ffffff;
  text-align: center;
  padding: 60px 20px;
}

.why-webicle h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
  border-bottom:none;
}

.why-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 40px 0 20px 0; 
}

.why-item {
  max-width: 220px;
  text-align: center;
}

.why-item i {
  font-size: 40px;
  color: #005c47;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.why-item:hover i {
  transform: scale(1.1);
}



/*our courses*/
.section-padding {
  padding: 60px 20px;
}

.section-title h2 {
  font-size: 32px;
  color: #006838;
}

.section-title p {
  font-size: 16px;
  color: #555;
  margin-top: 10px;
}




/************************ upcoming courses ************************/
.badge-hurry {
  background-color: yellow;
  color: black;
  font-size: 20px;
  padding: 3px 10px;
  border-radius: 15px;
  margin-left: 10px;
  animation: pulse 1.2s infinite;
}



.upcoming-courses {
  padding: 80px 20px;
  background: #f4f4f4;
  font-family: 'Segoe UI', sans-serif;
  text-align: center;
}

.section-header h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 20px;
  text-transform: uppercase;
   border-bottom:none;
}

.section-header p {
  color: #444;
  font-size: 16px;
  margin-bottom: 40px;
}

.course-schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: auto;
}



.enroll-btn {
  display: inline-block;
  margin-top: 12px;
  background-color: #0f2f1e;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.enroll-btn:hover {
  background-color: #38a169;
}


/*course detail*/
.course-detail-container {
  max-width:100%;
    background-color: white; /* Main content background */
    padding: 40px 80px;
}




/*Services*/
.services-banner {
  background-size: cover;
  background-position: center;
  position: relative;
}

.services-banner .overlay {
  background-color: rgba(1, 88, 38, 0.80);
  padding: 20px 20px;
  color: #fff;
}

.services-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
}

.service-card {
  background: #ffffff;
  border: 1px solid #d4d4d4;
  border-radius: 12px;
  padding: 30px 25px;
  width: 300px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.05);
  transition: 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 8px 16px rgba(0,128,0,0.2);
  transform: translateY(-5px);
}

.service-card img {
  width: 60px;
  margin-bottom: 20px;
}

.service-card h3 {
  color: #007f4e;
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: #444;
  font-size: 15px;
}


/*FAQ*/
.faq-section {
  background: #f8fcf9; /* soft greenish tint */
}

.accordion-button {
  font-weight: 500;
  font-size: 16px;
}

.accordion-button:not(.collapsed) {
  background-color: #e9f6ee;
  color: #004d26;
}

.accordion-body ul {
  list-style-type: disc;
  padding-left: 20px;
}





/*contact section*/
.contact-section {
  padding: 60px 20px;
  background: #f1f5f9;
}


.header {
  text-align: center;
  margin-bottom: 50px;
}

.header h2 {
  font-size: 2.5rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.header p {
  font-size: 1rem;
  color: #64748b;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

/* Contact Info Styling */
.contact-info {
  max-width: 400px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  gap: 15px;
}

.info-block i {
  font-size: 24px;
  color: #025927;
  min-width: 30px;
}

.contact-info h3 {
  margin-bottom: 20px;
  color: #1e293b;
}

.info-block {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.info-block img {
  width: 30px;
  margin-right: 15px;
  margin-top: 2px;
}

/* Contact Form Styling */
.contact-form {
  flex: 1;
  min-width: 300px;
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.contact-form h3 {
  margin-bottom: 20px;
  color: #1e293b;
}

.contact-form form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

input,
select,
textarea {
  padding: 12px 14px;
  margin-bottom: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  background-color: #f9fafb;
  transition: border-color 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #3b82f6;
  outline: none;
}

textarea {
  resize: vertical;
  height: 100px;
}

button {
  background-color: #025927;
  color: white;
  padding: 12px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #cfe6bd;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .form-row {
    flex-direction: column;
  }
}


/*register-now*/
 .register-section {
      max-width: 600px;
      margin: 50px auto;
      padding: 40px;
      background: #ffffff;
      border-radius: 15px;
      box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
    }
    .register-section h2 {
      color: #044c2c;
      font-weight: 700;
      margin-bottom: 30px;
    }
    .btn-register {
      background-color: #044c2c;
      color: white;
      font-weight: bold;
    }
    .btn-register:hover {
      background-color: #033c20;
    }


/*privacy policy*/
.privacypolicycontainer {
    background: #ffffff;
    padding:40px 20px;
    width:100%;
}

.privacypolicy {
    background: #ffffff;
    padding: 20px 40px;
    width:100%;
}

.privacypolicy h2{
  font-size: 20px;
  font-weight: 600;
  color: #055727;
}

.privacypolicy a{
  color: #055727;
}

/*Testimonial*/
.testimonial-card {
  transition: transform 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-10px);
}
.testimonial-text {
  font-style: italic;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}
.testimonial-name {
  font-weight: 600;
  color: #333;
  margin: 0;
}



/*footer*/

.footer-logo{
	width:200px;
	height:auto;
}
.footer p{
  color: #374151;
  line-height: 20px;
  margin: 10px 0;
  font-size: 16px;
  text-align: left;
}
.footer ul {
  list-style: none;
  padding-left: 0;
}
.footer ul li a {
	color:#374151;
}
.social-icons a i {
  padding: 0 4px;
  transition: color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 16px; 
}
.social-icons span{ 
 font-size: 16px; 
}

.social-icons i:hover {
  color: #004d2a;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}



.container-footer-bottom{
  background-color: #004d2a; 
  padding:10px;
}
.container-footer-bottom p{
  color: #ffffff;
  text-align: center;
  font-size: 16px;
  margin:0;
  
}
.container-footer-bottom strong {
  color: #8ef5aa; /* Light green for highlighting brand name */
}



