
/* General Styling */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f8fbff 0%, #e8f4f8 100%);
    color: #2c3e50;
    line-height: 1.7;
    font-weight: 400;
}

/* Scroll offset for sticky navigation */
section {
    scroll-margin-top: 80px;
}

#home {
    scroll-margin-top: 80px;
}

/* Header */
header {
    background: linear-gradient(to right, #CDEEE2, #3A6351);
    color: #F5FFFA;
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

header * {
    position: relative;
    z-index: 1;
}

/* Navigation Bar */
.navbar {
    background-color: #3A6351;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(58, 99, 81, 0.3);
    border-bottom: 3px solid #2E7D62;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo a {
    color: #F5FFFA;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 2rem;
}

.nav-link {
    color: #F5FFFA;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: #CDEEE2;
    text-decoration: none;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #F5FFFA;
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Menu Animation */
.nav-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #3A6351;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(58, 99, 81, 0.3);
        padding: 2rem 0;
        border-top: 3px solid #2E7D62;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .nav-toggle {
        display: flex;
    }
}
header img {
    height: 80px;
    margin-bottom: 15px;
}
header h1 {
    margin: 10px 0;
    font-size: 2.8em;
    letter-spacing: 1px;
}
header p {
    margin: 0;
    font-size: 1.2em;
}

/* Banner */
.banner-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #F5FFFA 0%, #ffffff 100%);
    padding: 50px 60px;
    gap: 40px;
    min-height: 300px;
    border-bottom: 4px solid #CDEEE2;
    position: relative;
}

.banner-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #2E7D62 50%, transparent 100%);
}



.banner-text {
    flex: 1;
    padding-right: 20px;
}

.banner-text h1 {
    color: #3A6351;
    font-size: 2.2em;
    line-height: 1.3;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(58, 99, 81, 0.1);
}

.banner-image {
    flex: 1;
    text-align: right;
}

.banner-image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(58, 99, 81, 0.2);
    border: 3px solid #CDEEE2;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .banner-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .banner-image {
        text-align: center;
    }
    .banner-image img {
        max-width: 90%;
    }
    .banner-text h1 {
        font-size: 1.5em;
    }
}


/* Section Styling */
section {
    padding: 70px 40px;
    max-width: 1200px;
    margin: 50px auto;
    background: linear-gradient(135deg, #F5FFFA 0%, #ffffff 100%);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(58, 99, 81, 0.1);
    border: 1px solid #CDEEE2;
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3A6351 0%, #2E7D62 50%, #1B5E20 100%);
}

section:nth-child(even) {
    background: linear-gradient(135deg, #E8F5E8 0%, #F0FFF0 100%);
}

h2 {
    color: #3A6351;
    margin-bottom: 30px;
    font-size: 2.4em;
    font-weight: 700;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2E7D62 0%, #1B5E20 100%);
    border-radius: 2px;
}

h3 {
    color: #3A6351;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.4em;
    font-weight: 600;
}

p {
    font-size: 1.1em;
    color: #2c3e50;
    line-height: 1.8;
    text-align: justify;
}


.about-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  margin-top: 30px;
}

.about-columns .column {
  flex: 1 1 45%;
  min-width: 300px;
}

.about-columns h2 {
  color: #2E7D62;
  margin-bottom: 10px;
}

.about-columns p {
  line-height: 1.6;
  color: #333;
}


/* Services */
/* Grid container for new service layout */
.services .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Each service item box */
.services .service-item {
    background: linear-gradient(135deg, #E8F5E8 0%, #F0FFF0 100%);
    padding: 20px;
    border-radius: 12px;
    /* border-left: 4px solid #2E7D62; */
    box-shadow: 0 4px 12px rgba(58, 99, 81, 0.08);
    color: #3A6351;
    font-weight: 600;
    text-align: center;
    position: relative;
}

/* Optional check icon for the new box style (if needed) */
.services .service-item::before {
    content: '✓';
    position: absolute;
    left: -12px;
    top: 16px;
    background: #2E7D62;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Image inside each item */
.services .service-item img {
    margin-bottom: 10px;
}

/* Title */
.services .service-item h4 {
    margin: 10px 0 8px;
    font-size: 16px;
    font-weight: 700;
}

/* Sub-list inside item */
.services .service-item ul {
    padding-left: 20px;
    margin: 0;
    text-align: left;
    list-style: disc;
    font-weight: 500;
    color: #2c3e50;
}


/* How to Avail Section */
#how-to-avail {
    max-width: 1200px;
    margin: 50px auto;
    padding: 70px 40px;
    background: linear-gradient(135deg, #F5FFFA 0%, #ffffff 100%);
}

/* Step container styling */
.step {
    background: linear-gradient(135deg, #F5FFFA 0%, #E8F5E8 100%);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(58, 99, 81, 0.12);
    padding: 40px 30px;
    margin-bottom: 50px;
    text-align: center;
    border: 1px solid #CDEEE2;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3A6351 0%, #2E7D62 50%, #1B5E20 100%);
}

/* Image styling */
.step img {
    width: 65%;
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(58, 99, 81, 0.15);
    border: 2px solid #CDEEE2;
    margin-bottom: 25px;
}

/* Step text styling */
.step h3 {
    color: #3A6351;
    margin-bottom: 20px;
    font-size: 1.6em;
    font-weight: 700;
}

.step-description {
    max-width: 700px;
    margin: 0 auto;
    color: #2c3e50;
    font-size: 1.1em;
    line-height: 1.7;
}

.step-description p {
    text-align: center;
    margin: 0;
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .step img {
        width: 90%; /* ✅ Expand slightly on smaller screens for better view */
    }
}


/* Contact Section */
#contact {
    background: linear-gradient(135deg, #3A6351 0%, #2E7D62 100%);
    color: white;
    text-align: center;
}

#contact h2 {
    color: white;
}

#contact h2::after {
    background: linear-gradient(90deg, #CDEEE2 0%, #ffffff 100%);
}

#contact p {
    color: #F5FFFA;
    font-size: 1.2em;
    margin: 20px 0;
}

#contact a {
    color: #CDEEE2;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 6px;
}

#contact a:hover {
    color: white;
    background-color: rgba(205, 238, 226, 0.2);
    text-decoration: none;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1B5E20 0%, #2E7D62 100%);
    color: #F5FFFA;
    text-align: center;
    padding: 40px 20px;
    border-top: 3px solid #CDEEE2;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #CDEEE2 50%, transparent 100%);
}

footer p {
    margin: 0;
    font-size: 1.1em;
    color: #E8F5E8;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
