 *{
    margin: 0;
padding: 0;
}
 /* Background Styling */
 .snc3-section {
    background: #fdf7f1; /* Light pastel color */
    padding: 30px;
    border-radius: 10px;
}

/* Image Styling */
.snc3-img-left img {
    max-width: 70%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

/* Decorative Top Image */
.snc3-top-img {
    display: block;
    margin: 0 auto 10px auto;
    max-width: 700px;
}

/* Text Styling */
.snc3-text {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.wingsection-content {
    background-color: #735B44;
    width: 70%;
    margin: 0 auto;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin-top: 30px; /* Overlap the section by pulling it up */
    z-index: 1; /* Ensures the content is on top of the image */
    position: relative;
    color: white;
    box-shadow: 0px 2px 10px rgba(100, 100, 98, 100); /* Box shadow from all sides */

}


  /* Background Styling */
  .cap2-section {
    background: url('02 Home Pages/Cap Page Backgd.png') no-repeat center center/cover;
    padding: 50px;
    border-radius: 10px;
    position: relative;
    width: 100%;
    height: 200vh;
}

/* Left Side Image Styling */
.cap2-img-left img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Italic Text Below Image */
.cap2-italic-text {
    font-style: italic;
    color: #8b5e3c;
    font-size: 1.2rem;
    text-align: center;
    margin-top: 10px;
}

/* Right Side Content */
.cap2-content {
    color: #333;
    font-size: 1rem;
    font-weight: 700;
}

/* Bullet Points */
.cap2-content ul {
    padding-left: 20px;
}

.cap2-content ul li {
    margin-bottom: 8px;
}
.row.align-items-center {
    margin-top: 10vh;
}




/* Parent Section with Background Image */
.childmatter-section {
    background: url('02 Home Pages/CAP ECM.png') no-repeat center center/cover;
    min-height: 748px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 50px;
    border-radius: 10px;
    position: relative;
}

/* Overlay for better text visibility */
.childmatter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Right Side Content */
.childmatter-content {
    position: relative;
    padding: 30px;
    max-width: 450px;
    border-radius: 10px;
    margin-top: 20vh;
}

.childmatter-content h2 {
    font-weight: bold;
    color: #333;
}

.childmatter-content h2 span {
    color: red;
}

.childmatter-content p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Button Styling */
.childmatter-btn {
    background-color: #e89c7a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
}

.childmatter-btn:hover {
    background-color: #d07c5c;
}
@media (max-width:1024px) {
    .snc3-top-img {
        display: block;
        margin: 0 auto 10px auto;
        max-width: 364px;
    }
    .cap2-img-left img {
        max-width: 73%;
        height: auto;
        border-radius: 10px;
    }
    .cap2-content {
        color: #333;
        font-size: 13px;
        font-weight: 700;
    }
    .cap2-section{
        height: 126vh;
    }
    .childmatter-section {
        min-height: 551px;
    }
    .childmatter-content h2 {
        font-size: 18px;
    }
    .childmatter-content p {
        font-size: 15px;
    }
    .childmatter-btn {
        font-size: 15px;
        padding: 5px 20px;
    }
    
}

/* Responsive Design */
@media (max-width: 768px) {
    .childmatter-section {
        justify-content: center;
        text-align: center;
    }

    .childmatter-content {
        max-width: 59%;
        margin-left: 46vw;
    }
    .row.align-items-center {
        margin-top: unset;
    }
    .cap2-italic-text {
        font-size: 15px;
    }

    .cap2-content {
        text-align: center;
    }
    .snc3-text {
        font-size: 1.1rem;
    }
    .wingsection-content{
        margin: 10px;
        margin-left: 120px;
        margin-right: 10px;
        
    }
    .wingsection-content p{
        font-size: 12px !important;
    }
    .wingsection-content h2{
        font-size: 20px;
    }
    .cap2-content {
        color: #333;
        font-size: 11px;
        font-weight: 700;
    }
    .cap2-img-left img{
        max-width: 61%;
    }
    .childmatter-content p {
        font-size: 12px;
    }
    .childmatter-btn {
        font-size: 12px;
        padding: 5px 20px;
    }
}






@media (max-width:425px) {
    .wingsection-content {
        width: unset;
        margin: none !important;
        margin-top: -64px;
        margin-right: 10px;
        margin-left: 10px;
    }
    .snc3-img-left img {
        max-width: 36%;
        height: auto;
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
        margin-bottom: 20px;
    }
    .snc3-top-img {
        display: block;
        margin: 0 auto 10px auto;
        max-width: 219px;
    }
    .wingsection-content p {
        font-size: 10px !important;
    }
    .cap2-img-left img {
        max-width: 39%;
        margin-top: -75px;
    }
    .cap2-italic-text {
        font-size: 12px;
    }
    .cap2-content {
        color: #333;
        font-size: 9px;
        font-weight: 700;
    }
    .childmatter-content h2 {
        font-size: 12px;
    }
    .childmatter-content{
        max-width: unset;
        margin-left: unset;
        background-color: rgba(255, 255, 255, 0.507);
    }
    
}
@media (max-width:320px) {
    .wingsection-content p {
        font-size: 9px !important;
    } 
    .wingsection-content{
        margin-top: -3px;

    }  
    .snc3-text {
        font-size: 13px;
    } 
    .cap2-italic-text {
        font-size: 9px;
    }
    .cap2-content {
        color: #333;
        font-size: 8px;
        font-weight: 700;
    }
    .childmatter-content p {
        font-size: 9px;
    }
}
