/* Updated & Enhanced CSS (style.css) */

/* Basic Reset and Box-Sizing (same as before) */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {



    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* A modern, readable font */
    line-height: 1.6;
    background-color: #f4f7f6; /* Softer light background */
    color: #333;
 
   
    }

   
    .video-bg {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: -1;
    }

/* Typography */
h1, h2, h3 {
    color: #2c3e50;
    margin-bottom: 1em;
    font-weight: 700; /* Bolder headings */
}

h1 {
    font-size: 2.8em;
    margin-bottom: 0.5em;
}

h2 {
    font-size: 2.2em;
}

h3 {
    font-size: 1.6em;
}

p {
    margin-bottom: 1.2em;
    color: #555;
}

a {
    color: #3498db;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e87c9;
    text-decoration: underline;
}

/* Layout */
header {
    background-color: #fff;
    padding: 1.5em 2em;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: #2c3e50;
}

nav ul {
    list-style: none;
    display: flex;
}

nav li {
    margin-left: 2em;
}

nav a {
    color: #555;
    font-weight: 500;
}

nav a:hover {
    color: #3498db;
}

main {
    padding: 3em 2em;
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3em;
}

footer {
    background-color: #333;
    color: #fff;
    padding: 2em;
    text-align: center;
    margin-top: 3em;
}

footer nav ul {
    justify-content: center;
    margin-top: 1em;
}

footer nav li {
    margin: 0 1.5em;
}

footer a {
    color: #eee;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Buttons (Enhanced) */
.button {
    display: inline-block;
    padding: 1em 2em;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.button.primary {
    background-color: #3498db;
    color: #fff;
    border: none;
}

.button.primary:hover {
    background-color: #2980b9;
}

.button.secondary {
    background-color: #f39c12;
    color: #fff;
    border: none;
}

.button.secondary:hover {
    background-color: #e67e22;
}

.button.tertiary {
    background-color: #e74c3c;
    color: #fff;
    border: none;
}

.button.tertiary:hover {
    background-color: #c0392b;
}

.button.small {
    padding: 0.7em 1.2em;
    font-size: 0.9em;
}

.button.large {
    font-size: 1.1em;
    padding: 1.2em 2.5em;
}

/* Hero Section (Styled) */
.hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #c8e6c9 100%); /* Light, inviting gradient */
    padding: 6em 2em;
    text-align: center;
    
    
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 0.6em;
    color: #2e7d32; /* A green tone for the hero heading */
}

.hero p {
    font-size: 1.2em;
    color: #43a047; /* A lighter green for the hero text */
    margin-bottom: 2em;
}

.hero-buttons a {
    margin: 0 0.8em;
}

/* Why Choose Us Section (Styled) */
.why-choose-us {
    padding: 4em 2em;
    background-color: #fff;
}

.why-choose-us h2 {
    text-align: center;
    margin-bottom: 2em;
    color: #3f51b5; /* A blue tone */
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2em;
}

.reason {
    background-color: #f9fbe7; /* Light yellow background */
    padding: 2em;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease-in-out;
}

.reason:hover {
    transform: translateY(-5px);
}

.reason h3 {
    color: #1976d2; /* Another blue tone */
    margin-bottom: 0.8em;
}

.reason p {
    color: #616161;
}

/* Featured Courses Section (Styled) */
.featured-courses {
    padding: 4em 2em;
    background-color: #f1f8e9; /* Light green background */
}

.featured-courses h2 {
    text-align: center;
    margin-bottom: 2em;
    color: #558b2f; /* A darker green tone */
}

.course-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 2em;
}

.course-card {
    background-color: #fff;
    padding: 2em;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease-in-out;
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card h3 {
    color: #00897b; /* A teal tone */
    margin-bottom: 0.8em;
}

.course-card p {
    color: #757575;
    margin-bottom: 1.5em;
}

/* About Us Page (Styled) */
.about-content {
    background-color: #fff;
    padding: 3em;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.about-content h3 {
    color: #4a148c; /* A purple tone */
    margin-top: 1.5em;
    margin-bottom: 0.8em;
}

.mission-vision,
.our-story {
    margin-bottom: 2.5em;
    line-height: 1.8;
}

/* Enroll Now Page (Styled) */
.enroll-form-section {
    background-color: #fff;
    padding: 3em;
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.enroll-form-section h3 {
    color: #d84315; /* An orange-red tone */
    margin-bottom: 1.5em;
    text-align: center;
}

.form-group {
    margin-bottom: 2em;
}

label {
    display: block;
    margin-bottom: 0.6em;
    font-weight: 600;
    color: #333;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

/* Contact Us Page (Styled) */
.contact-details {
    background-color: #fff;
    padding: 3em;
    border-radius: 8px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3em;
    max-width: 1000px;
    margin: 0 auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.contact-details h3 {
    color: #00acc1; /* A cyan tone */
    margin-bottom: 1.5em;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1.5em;
    color: #555;
}

.contact-info strong {
    font-weight: 600;
    color: #333;
}

/* Hidden Class */
.hidden {
    display: none;
}

/* Responsive Design (Improved) */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1em;
    }

    nav ul {
        margin-top: 1em;
        flex-direction: column;
        align-items: center;
    }

    nav li {
        margin-left: 0;
        margin-bottom: 0.8em;
    }

    .hero {
        padding: 4em 1em;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero-buttons a {
        margin: 0.5em;
        display: block;
    }

    .reasons-grid,
    .course-cards-grid,
    .contact-details {
        grid-template-columns: 1fr;
    }

    .contact-form {
        order: 2; /* Push form below info on smaller screens */
    }

    .contact-info {
        order: 1;
        margin-bottom: 2em;
        text-align: center;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 2.2em;
    }

    h2 {
        font-size: 1.8em;
    }

    .button {
        font-size: 0.9em;
        padding: 0.8em 1.5em;
    }

    @media (max-width: 768px) {
  .container {
    padding: 20px;
    font-size: 14px;
  }

  .form input {
    font-size: 14px;
  }
}

/* Extra small devices (phones) */
@media (max-width: 576px) { }

/* Small devices (phones + tablets) */
@media (max-width: 768px) { }

/* Medium devices (tablets + small laptops) */
@media (max-width: 992px) { }

/* Large devices (PCs) */
@media (min-width: 993px) { }


.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

}





#vesak-koodu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 9999;
}

.koodu {
  position: absolute;
  width: 40px;
  height: 40px;
  transform: rotate(45deg);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
  animation: floatUp 10s linear infinite;
}

.koodu::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  background: #fff3cd;
  bottom: -6px;
  left: 14px;
  border-radius: 50%;
  box-shadow: 0 0 10px #fff;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(45deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(45deg);
    opacity: 0;
  }
}
/* Terms and Conditions */
.section-fp {
    height: inherit;
    left: auto;
    font: optional;
}
.P{

  font-size: 100px; /* Change this value as needed */
}


/* SUb category */

/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown button */
.dropbtn {
  cursor: pointer;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 220px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 1000;
  list-style: none;
  padding: 0;
  margin: 0;
  top: 100%;
  left: 0;
  border-radius: 4px;
}

/* Links inside dropdown */
.dropdown-content li {
  display: block;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  transition: background-color 0.3s;
}

/* Change color on hover */
.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}


