/* CMS Page Styles */

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.cms-hero {
    background-image: url('images/seedbed.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 60vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.cms-hero .hero-overlay {
    background: rgba(76, 175, 80, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cms-hero h1 {
    font-size: 2.5rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Intro Section */
.cms-intro {
    padding: 60px 20px;
    background: linear-gradient(to right, #f0f8f0, #e8f5e8);
    text-align: center;
}

.cms-intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
}

/* CMS Image Section */
.cms-image-section {
    padding: 40px 20px;
    background: #fff;
    text-align: center;
}

.cms-image {
    max-width: 800px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

/* Why CMS Section */
.why-cms {
    padding: 60px 20px;
    background: #fff;
}

.why-cms h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #2E7D32;
}

.why-cms p {
    max-width: 800px;
    margin: 0 auto 20px;
    color: #555;
}

.why-cms ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.why-cms li {
    margin-bottom: 10px;
    color: #666;
}

/* Closing Section */
.cms-closing {
    padding: 60px 20px;
    background: linear-gradient(to right, #e8f5e8, #f0f8f0);
    text-align: center;
}

.cms-closing h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2E7D32;
}

.cms-closing p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    color: #555;
}

/* Registration Form Section */
.cms-registration {
    padding: 60px 20px;
    background: #fff;
}

.cms-registration h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 20px;
    color: #2E7D32;
}

.cms-registration p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    color: #555;
}

.registration-form {
    max-width: 500px;
    margin: 0 auto;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 0 2px rgba(76, 175, 80, 0.2);
}

.registration-form .btn {
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.registration-form .btn:hover {
    background: #45a049;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .cms-hero h1 {
        font-size: 2.2rem;
    }

    .cms-intro p {
        font-size: 1.1rem;
    }

    .why-cms h2,
    .cms-registration h2,
    .cms-closing h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 992px) {
    .cms-hero {
        height: 50vh;
    }

    .cms-hero h1 {
        font-size: 2rem;
    }

    .cms-intro {
        padding: 50px 20px;
    }

    .cms-intro p {
        font-size: 1rem;
        max-width: 700px;
    }

    .why-cms,
    .cms-registration,
    .cms-closing {
        padding: 50px 20px;
    }

    .why-cms h2,
    .cms-registration h2,
    .cms-closing h2 {
        font-size: 1.7rem;
    }

    .registration-form {
        max-width: 450px;
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .cms-hero h1 {
        font-size: 1.8rem;
    }

    .cms-intro {
        padding: 40px 15px;
    }

    .cms-intro p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    .cms-image-section {
        padding: 30px 15px;
    }

    .cms-image {
        max-width: 600px;
    }

    .why-cms,
    .cms-registration,
    .cms-closing {
        padding: 40px 15px;
    }

    .why-cms h2,
    .cms-registration h2,
    .cms-closing h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .why-cms p,
    .cms-closing p {
        font-size: 1rem;
    }

    .registration-form {
        max-width: 100%;
        padding: 20px;
        margin: 0 10px;
    }

    .form-group input,
    .form-group select {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .form-group input,
    .form-group select {
        padding: 12px;
        font-size: 1rem;
    }

    .registration-form .btn {
        padding: 14px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .cms-hero {
        height: 40vh;
    }

    .cms-hero h1 {
        font-size: 1.5rem;
    }

    .cms-intro {
        padding: 30px 10px;
    }

    .cms-intro p {
        font-size: 0.9rem;
    }

    .cms-image-section {
        padding: 20px 10px;
    }

    .cms-image {
        max-width: 100%;
        border-radius: 8px;
    }

    .why-cms,
    .cms-registration,
    .cms-closing {
        padding: 30px 10px;
    }

    .why-cms h2,
    .cms-registration h2,
    .cms-closing h2 {
        font-size: 1.3rem;
    }

    .why-cms p,
    .cms-closing p {
        font-size: 0.95rem;
    }

    .registration-form {
        padding: 15px;
        border-radius: 8px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    .form-group input,
    .form-group select {
        padding: 10px;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .registration-form .btn {
        padding: 12px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .cms-hero h1 {
        font-size: 1.3rem;
    }

    .cms-intro {
        padding: 20px 10px;
    }

    .why-cms,
    .cms-registration,
    .cms-closing {
        padding: 20px 10px;
    }

    .why-cms h2,
    .cms-registration h2,
    .cms-closing h2 {
        font-size: 1.2rem;
    }

    .registration-form {
        padding: 12px;
    }

    .form-group input,
    .form-group select {
        padding: 8px;
        font-size: 0.9rem;
    }

    .registration-form .btn {
        padding: 10px;
        font-size: 0.95rem;
    }
}