/* Reset and body */
body {
    margin: 0;
    background: white;
    font-family: Arial, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Header */
.header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    gap: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-align: center;
    overflow: hidden; /* clip hearts */
}

.header-text h1 {
    margin: 0;
    font-size: 1.8em;
    color: #004080;
}

.radiant-logo {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.header .slogan {
    font-size: 1em;
    font-style: italic;
    color: #407db6;
}

/* Backdrop */
.backdrop-01 {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 40px;
    text-align: left;
    box-sizing: border-box;
}

.backdrop-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.backdrop-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    z-index: -1;
}

.backdrop-01 h2 {
    color: #fafcff;
    font-size: 3.2em;
    margin: 0;
    margin-right: 60px; 
    flex: none;
}

.backdrop-01 .content {
    font-family: 'Open Sans', Arial, sans-serif;
    position: relative;
    max-width: 600px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 1;
}

/* About Us Section */
.about-us {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px 20px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden; /* clip hearts */
}

.about-us h2 {
    font-size: 2.5em;
    color: #004080;
    margin-bottom: 20px;
}

.about-us p {
    font-size: 1.2em;
    line-height: 1.8;
    color: #333;
    margin-bottom: 15px;
}

/* Contact Info */
.contact-info {
    position: relative;
    width: 100%;
    min-height: 200px;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden; /* clip hearts */
}

.contact-info .p1 {
    font-family: 'Open Sans', Arial, sans-serif;
    padding: 0 100px;
}

.contact-text {
    line-height: 1.6;
    margin: 15px 20px;
    font-size: 1.2em;
    color:#004080;
}

h3 {
    text-align: center;
    font-size: 3.2em;
}

/* Responsive */
@media (max-width: 1200px) {
    .backdrop-01 {
        flex-direction: column; 
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .backdrop-01 h2 {
        margin: 0 0 20px 0; 
        font-size: 2em;
    }

    .backdrop-01 .content {
        max-width: 90%;
        padding: 20px;
        margin: 0; 
    }

    .contact-info .p1 {
        padding: 0 20px;
    }
}

/* Sections ready for hearts */
.header, .backdrop-01, .about-us, .contact-info {
    position: relative;
    overflow: hidden; /* clip hearts */
}

/* Hearts container */
.hearts-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;        /* behind content */
}

/* Heart shape */
.heart {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff4d6d;
    transform: rotate(45deg);
    bottom: -20px; /* start just below container */
    animation: float 12s ease-in-out infinite; /* your working speed */
}

/* Heart pseudo elements for shape */
.heart::before,
.heart::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #ff4d6d;
    border-radius: 50%;
}

.heart::before { top: -10px; left: 0; }
.heart::after { left: -10px; top: 0; }

/* Your working float animation */
@keyframes float {
    0% {
        transform: translateY(0) rotate(45deg);
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-120vh) rotate(45deg);
        opacity: 0;
    }
}

/* Ensure content stays above hearts */
.header .header-text,
.backdrop-01 h2,
.backdrop-01 .content,
.about-us h2,
.about-us p,
.contact-info h3,
.contact-info p {
    position: relative;
    z-index: 1;
}

