@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@font-face {
    font-family: 'abnes';
    src: url('../fonts/abnes.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
::selection {
  background-color: #44ad38; /* Your green */
  color: #ffffff; /* White text */
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #000000;
}
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


body {

  margin-top:80px;/* Adjust based on combined header height */
   margin-left: 0;
   margin-right: 0;
    overflow-x: hidden;
    font-family:'Poppins', sans-serif;
    background-color:#111111 ;
    color: #ffffff;
}

h1, h2, h3, p, a {
  font-family: 'Manrope', sans-serif;
}

main {
  flex: 1;
}

a {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: all 0.3s ease;
}


h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    color:#ffffff;
}

/* === HEADER === */

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0rem 1rem;
  background-color: #000;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}
.navbar.nav-hidden {
  top: -100px; /* adjust if needed */
}

.logo-container{
  display: none;
}
.logo {
    height: 90px;
  
}
.talk-head {
    font-size: 1.8rem;
    color: #FFF9F0;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #FFF9F0;
    font-weight: 600;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    background-color: #44ad38;
    color: 
    #000000;
}



/* === HERO SECTION === */

.hero-banner {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #334155;
    z-index: 1;
    margin-bottom: 100px;
}

.hero-banner .mainimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-banner .overlay {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFF9F0;
}
.journey-heading {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(32, 32, 31, 0.897);
}

.hero-banner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}





/* === GET BOOKED === */
.get-book {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.get-book .column {
    background:#ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(11, 29, 81, 0.1);
    color: #334155;
}

.get-book .column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(11, 29, 81, 0.15);
}

.get-book i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;

}
.get-book h2{
  color: #334155;
}
.get-book .btn {
    margin-top: 0.8rem;
    background-color: #44ad38;
    color: #FFF9F0;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s;
}

.get-book .btn:hover {
    background-color: #45d235;
}

/* Cinematic background zoom effect */
.hero-banner .mainimg {
  animation: zoomIn 20s ease-in-out infinite alternate;
}

/* Text fade-in animation on scroll */
.journey-heading,
.hero-banner p,
.get-book {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.journey-heading.animate,
.hero-banner p.animate,
.get-book.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth zoom animation for background image */
@keyframes zoomIn {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.05);
  }
}


/* === INTRO & ABOUT ME === */
body.about-page {
  margin-top: 120px; /* Adjust based on combined header height */
  background-color: #111111;
}

.intro {
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 255, 128, 0.08);
  padding: 4rem 2rem;
  max-width: 1300px;
  margin: auto;
  background-color: #111111;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
  border: 1px solid rgba(68, 173, 56, 0.2); /* subtle green border */
}

.intro::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(68, 173, 56, 0.1), transparent 70%);
  z-index: 0;
  transition: opacity 0.5s ease;
}

.intro:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(68, 173, 56, 0.2);
  color: #FFF9F0;
  border-color: #1e5818;
}

.intro * {
  position: relative;
  z-index: 1;
}
.sketch-underline {
  display: inline-block;
  position: relative;
}

.sketch-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 10px;
  background: url("{{ url_for('static', filename='images/underline.svg') }}") no-repeat;
  background-size: contain;
  pointer-events: none;
}



.intro h3, .services-preview h3 {
  text-decoration: none;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;


}
.intro h2{
  color:  #44ad38;
}

.intro p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    margin-top: 1rem;
    color: #45d235;
    font-weight: 600; 
    transition: text-decoration 0.3s;
}

.learn-more:hover {
    text-decoration: underline;
}
/*under line*/
.sketch-underline {
  position: relative;
  display: inline-block;
}

.sketch-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0px; /* Adjust spacing below text */
  width: 100%;
  height: 15px; /* Adjust based on your SVG height */
  background: url("/static/images/underline.svg") no-repeat center bottom;
background-size: contain;

  background-size: contain;
  pointer-events: none;
}
/*under line nav bar*/
.nav-links a {
  position: relative;
  color: #FFF9F0;
  font-weight: 600;
  padding: 0.5rem;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.nav-links a.active-link::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #44ad38;
  border-radius: 2px;
}



  /* === SERVICES === */
body.courses-page {
  margin-top: 120px;
  background-image: url('../images/circuit-pattern.svg'); /* or a PNG texture */
  background-color: #0f172a;
  background-repeat: repeat;
  background-size: contain;
  position: relative;
  color: #ffffff;
}
body.courses-page::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  z-index: -1;
}

.services-preview{
  margin-top: 50px;
}

.card {
  background: rgba(51, 65, 85, 0.85);
  backdrop-filter: blur(8px);
}

.service-cards {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 3rem 2rem;
  scroll-padding: 2rem;
  max-width: 100%;
}
.courses-page .service-cards {
  display: flex;
  gap: 2rem;
  padding: 3rem 2rem;
  padding-bottom: 100px;
  max-width: 1300px;
  height: max-content;
  margin: auto;
}


.service-cards::-webkit-scrollbar {
  height: 8px;
}
.service-cards::-webkit-scrollbar-thumb {
  background: #44ad38; /* Match your green color */
  border-radius: 4px;
}

/* Each card takes 25% (4 cards visible on wide screen) */
.service-cards .card {
  flex: 0 0 calc(25% - 2rem); /* Show 4 cards initially */
  scroll-snap-align: start;
  background-color: #334155;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(11, 29, 81, 0.15);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  color: #ffffff;
}

.service-cards .card h4 {
  color: #44ad38;
  transition: color 0.3s ease;
}

.service-cards .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(11, 29, 81, 0.3);
  background-color: #44ad38;
  color: #FFF9F0;
}

.service-cards .card:hover h4 {
  color: #334155;
}

  

/* === TESTIMONIALS === */
.testimonial-section {
  background-color: #111111;
  padding: 50px 20px;
  text-align: center;
}

.testimonial-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.testimonial-card {
  background-color: #44ad38; 
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  padding: 25px 20px;
  max-width: 350px;
  text-align: left;
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  cursor: pointer;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 15px;
}

.client-name {
  font-weight: bold;
  font-size: 1rem;
  color: #334155;
}




/* === CONTACT FORM === */

body.contact-page {
  background: radial-gradient(circle at center, #0f172a, #000000 80%);
  color: #44ad38;
  min-height: 100vh;
}



.contactcontainer {
    padding: 4rem 2rem;
    max-width: 600px;
    margin: auto;
    color: #ffffff;
}

.contactcontainer h1 {
    margin-bottom: 2rem;
    text-align: center;
}

form div {
    margin-bottom: 1.5rem;
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

input, select, textarea {
    width: 100%;
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid #A78D6C;
    background-color:#334155;
    color:#ffffff;
    font-size: 1rem;
    resize: vertical;
}

textarea {
    height: 150px;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #18e815;
    box-shadow: 0 0 2px #1ef416;
}

button, .submit-btn {
    background-color: #44ad38;
    color: #FFF9F0;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
}
.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 10px;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
  margin-bottom: 15px;
  font-weight: bold;
}


button:hover, .submit-btn:hover {
    background-color: #59d94b;
    color: #334155;

}
/* === FOOTER === */
footer {
   background-color: black; /* Deep green */
  color: #44ad38;
  padding: 2rem 1rem 1rem;
  font-family: 'Poppins', sans-serif;
}

.footerr {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  padding-bottom: 1rem;
  border-bottom: 1px solid #334155;
}

.footerpara,
.footerservices,
.footercontact {
  flex: 1 1 250px;
}

.devby {
  font-size: 0.9rem;
  color: #aaaaaa;
}

.watermark {
  font-size: 1.5rem;
  font-weight: 700;
  color: #44ad38;
}

.foothead {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #44ad38;
  border-bottom: 2px solid #44ad38;
  display: inline-block;
  padding-bottom: 0.3rem;
}

footer ul {
  list-style: none;
  padding: 0;
  margin: 0.3rem 0;
  font-size: 0.95rem;
  color: #ffffff;
}

footer ul a {
  color: #FFF9F0;
  text-decoration: none;
}

footer ul a:hover {
  color: #44ad38;
}

footer p {
  text-align: center;
  font-size: 0.85rem;
  margin-top: 1rem;
  color: #aaa;
}


.devby {
  font-family: 'Michroma', sans-serif;
  font-size: 0.8rem;
  color: #ffffff;
  opacity: 0.6;
  text-align: center;
  letter-spacing: 1.5px;
  margin-top: 60px;
  margin-bottom: 4px;
}

.watermark {
  font-family: 'abnes', sans-serif;
  font-size: 1.5rem;
  color: #44ad38;
  opacity: 0.7;
  text-align: center;
  margin-top: 0;
  letter-spacing: 2.5px;
}



/* Hamburger icon default hidden */
.hamburger {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

/* Hamburger styling */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 30px;
  cursor: pointer;
  z-index: 999;
  padding: 5px;
  margin-right: 20px;
}

.hamburger span {
  height: 4px;
  width: 100%;
  background-color: #44ad38;
  border-radius: 5px;
  transition: all 0.4s ease;
}

body::after {
  content: "";
  display: block;
  height: 0;
  margin-bottom: 0;
}

/*for up and down*/
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  font-size: 1.2rem;
  background-color: #44ad38;
  color: #ffffff;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTop:hover {
  background-color: #45d235;
  transform: scale(1.1);
}


@media screen and (max-width: 599px){
    body{
        height: 100%;
    }
    
    .statbtn{
      display: none;
    }
  .logo-container {
    display: inline;
  }

  /* Navbar adjustments */
  #datetime{
    display: none;
  }
  .navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 64px; /* ← set actual navbar height */
  background-color: #000000;
  z-index: 1000;
  padding: 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: top 0.3s ease-in-out;
}


  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    text-align: center;
    padding: 10px;
    margin: 10px 0;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width:50%;
    height: auto;
    flex-direction: column;
    background-color: #000000;
    padding: 1rem 2rem;
    z-index: 998;
    gap: 1.2rem;
    text-align: left;
    transition: all 0.3s ease;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    color: #44ad38;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.4rem 0;
    border-bottom: 1px solid #334155;
  }

  .nav-links li a:hover {
    color: #ffffff;
  }


/* Hamburger Animation (Optional) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



  .logo {
    width: 55px;
    height: auto;
  }
.talk-head {
    font-size: 20px;
  }

  /* Top contact bar */
  .top-head {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 12px;
    align-items: flex-start;
    padding:5px;
  }

  .num, .mail {
    font-size: 12px;
  }

  /* Hero banner */
  .hero-banner {
    margin: 0;
    width: auto;
    height: 300px;
    text-align: center;
    padding: 10px;
  }

  .hero-banner h2 {
    font-size: 20px;
  }

  .hero-banner p {
    font-size: 14px;
  }
  .mainimg{
    height: 100vh;
    object-fit: cover;
  }

  .get-book {
    gap: 17px;
  }

 .get-book .column{
    width:150px;
    padding: 5px;
  }

  .column h2 {
    font-size: 18px;
  }
 .btn.gta{
    margin: 0;
    font-size: 10px;
    padding: 10px;
 }
  /* About section */
    .intro {
    padding: 1rem 1rem;
    margin: 1rem 0.8rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(11, 29, 81, 0.25);
  }

  .sketch-underline::after {
    height: 6px;
  }


  .intro h3{
    font-size: 24px;
    text-decoration:wavy;
  }
  .intro h2{
    font-size: 18px;
    margin-bottom: 4px;
  }
  .intro p{
    font-size: 16px;
  }
  .learn-more{
    font-size: 14px;
  }
  .aboutvinu {
    flex-direction: column;
    align-items: center;
    padding: 10px;
    margin:10px;
  }


  /* Services section */
  
  .services-preview h3{
    padding-top: 30px;
    font-size: 24px;
    text-decoration: none;
  }
  .service-cards {
    flex-wrap: wrap;
    margin-left: 20px;
  
  }

  .card {
    width: 200px;
    padding: 10px;
  }
    .service-cards .card {
    flex: 0 0 85%; /* Show 2 cards at a time */
  }
   .service-cards h4{
    font-size: 18px;
   }


 /* contact section */
.contactcontainer h1 {
    margin-bottom: 2rem;
    font-size: 22px;
    text-align: center;
}
label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 14px;
}
input{
    width: 200px;
    height: 20px;
}
select{
     width: 230px;
    height: 40px;
}
textarea{
    width: 220px;
}
.contactbutton{
     width: 200px;
}
/* Reduce overall font size */
.flatpickr-calendar {
  font-size: 12px; /* Adjust as needed */
  transform: scale(0.85); /* Optional: scales the whole calendar */
  transform-origin: top center;
}

/* Reduce padding inside day cells */
.flatpickr-day {
  padding: 5px;
  max-width: 30px;
  line-height: 28px;
  font-size: 12px;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  color: white !important;
  font-weight: bold !important;
  border-radius: 50% !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3) !important;
}

/* Smaller navigation arrows */
.flatpickr-prev-button,
.flatpickr-next-button {
  font-size: 14px;
  padding: 0 4px;
}

/* Smaller month & year text */
.flatpickr-current-month {
  font-size: 14px;
} 


/* Footer */

  .footerr {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .foothead{
    text-align: left;
    padding: 0;
    padding-top: 5px;
    margin-left:10px ;

  }
  .footerpara p,
  .footerservices ul,
  .footercontact ul {
    margin-left:10px ;
    font-size: 14px;
    text-align: left;
    padding: 0;
  }

  footer p {
    text-align: center;
    font-size: 12px;
  }
}
