/* Import Updated Font */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

/* Global Styles */

body {
    font-family: 'Roboto', sans-serif;
    color: #334e4c;
    /* Dark Slate Gray */
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e7f4ec, #fdf6e3);
    /* Soft light green to cream gradient */
}

h1,
h2,
h3,
.hero-heading,
.subheading,
.subheading-journey {
    color: #5a8770;
    /* Muted Green */
}

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-content {
    z-index: 2;
    position: relative;
    text-align: center;
    max-width: 800px;
    padding: 20px;
    color: #F0F8FF;
    /* Light contrast text */
}

.hero-heading {
    color: #59749d; /* Muted Blue */
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    text-align: center;
    letter-spacing: 2px;
    overflow: hidden;
    padding: 0 20px;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 4px;
    -webkit-text-stroke-color: #59749d;
    font-family: 'Merriweather', serif;
    cursor: none;
    display: inline-block; 
    width: 100%; 
    max-width: 100vw; 
    overflow: visible;
  }
  
  .letter {
    display: inline-block;

    transition: transform 0.2s ease;
    transform-origin: center center;
    position: relative;
    overflow: visible;
  }
  








.particle-container {
    position: fixed;
    /* or absolute */
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 20px;  /* Particle size */
    height: 20px;
    background-color: transparent;  /* Transparent center */
    border: 2px solid #59749d;  /* Border with the desired color */
    border-radius: 50%;  /* Make it circular */
    opacity: 1;
}

.hero-subheading {
    font-size: 1.5rem;
    color: #59749d;
    /* Light text for readability */
    margin-bottom: 40px;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    padding: 12px 30px;
    font-size: 1rem;
    background-color: #59749d;
    /* Muted Blue */
    color: #F0F8FF;
    /* Light contrast text */
    border: none;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(54, 31, 95, 0.4);
    /* Soft Coral */
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn:hover {
    background-color: #3f5a7a;
    /* Darker Blue */
    box-shadow: 0 6px 15px rgba(89, 116, 157, 0.5);
}

.cta-btn:active {
    transform: scale(0.95);
}

.parallax-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    opacity: 0.4;
    filter: brightness(0.9);
}

.subheading-journey {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #a7ccb9;
    /* Muted Green */
    background: linear-gradient(45deg, #8FBC8F, #59749d);
    /* Green to Blue */
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.subheading-journey:hover {
    color: #F0F8FF;
    /* Light text */
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.subheading-journey::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(143, 188, 143, 0.5), rgba(255, 127, 80, 0.5));
    /* Light Green to Coral */
    z-index: -1;
    border-radius: 8px;
    opacity: 0.3;
}

.mission-section {
    background: #F0F8FF;
    /* Light contrast background */
    padding: 80px 40px;
    position: relative;
    overflow: hidden;
}

.mission-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
}

.text-content {
    max-width: 600px;
    color: #334e4c;
    /* Dark Slate Gray */
}

.subheading {
    font-size: 3rem;
    font-weight: 700;
    color: #5a8770;
    /* Muted Green */
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #334e4c;
    /* Dark Slate Gray */
    font-weight: 400;
}

.mission-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.mission-image:hover {
    transform: scale(1.05);
}

.animation-section {
    background: #F0F8FF;
    /* Light contrast background */
    padding: 60px 20px;
    text-align: center;
}

.lottie-animation {
    max-width: 400px;
    margin: 0 auto 20px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.1));
    border-radius: 10px;
}

.animation-text {
    font-size: 1.5rem;
    color: #5a8770;
    /* Muted Green */
    font-weight: 500;
    margin-top: 20px;
    line-height: 1.6;
}

.timeline-section {
    background: linear-gradient(135deg, #8FBC8F 30%, #F0F8FF 100%);
    /* Green to Light Blue */
    padding: 80px 20px;
    position: relative;
}

.vertical-timeline-element {
    background: #FFF;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vertical-timeline-element:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vertical-timeline-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #5a8770;
    /* Muted Green */
    margin-bottom: 10px;
}

.vertical-timeline-element ul {
    list-style-type: square;
    padding-left: 20px;
    color: #334e4c;
    /* Dark Slate Gray */
    font-size: 1rem;
}

.vertical-timeline-element ul li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .timeline-section {
        padding: 40px 20px;
    }
    .vertical-timeline-title {
        font-size: 1.5rem;
    }
    .vertical-timeline-element {
        padding: 15px;
    }
}


/* Responsive Design Adjustments */

@media (max-width: 768px) {

    .hero-subheading {
        font-size: 1.2rem;
    }
    .cta-btn {
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    .subheading {
        font-size: 2.5rem;
    }
    .mission-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    .mission-image {
        max-width: 90%;
    }
    .subheading-journey {
        font-size: 2rem;
        padding: 10px 20px;
    }
    .timeline-section {
        padding: 40px 20px;
    }
    .vertical-timeline-title {
        font-size: 1.4rem;
    }
}


/* Smooth Transitions */

* {
    transition: all 0.3s ease-in-out;
}


/* Hover Effects */

a:hover {
    text-decoration: underline;
}


/* Button Focus */

button:focus {
    outline: 2px solid #334e4c;
    /* Coral */
    outline-offset: 4px;
}

/* Mobile devices (portrait) */
@media (max-width: 767px) {
    .hero-heading {
        font-size: 3rem;
        padding: 10 10px;
        -webkit-text-stroke-width: .5px;
    }
}

/* Tablets (portrait) */
@media (max-width: 1024px) {
    .hero-heading {
        font-size: 3rem;
       
        -webkit-text-stroke-width: 1px;
    }
}

/* Larger screens (desktops, laptops) */
@media (min-width: 1025px) {
    .hero-heading {
        font-size: 6rem;
        padding: 30 30px;
        -webkit-text-stroke-width: 2px;
    }
}

/* Extra large screens (larger desktops) */
@media (min-width: 1600px) {
    .hero-heading {
        font-size: 7rem;
        padding: 30 30px;
        -webkit-text-stroke-width: 2px;
    }
}