/* ========================================
   CLEAN BOOK/CONTACT PAGE STYLES
   ======================================== */


/* Banner Section */
.banner {
    height: 100vh;
    max-height: 420px;
    min-height: 350px;
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url(../source/book-background.webp);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    border-bottom: 4px solid rgba(235,89,95,0.8);
}

.content {
    width: 100%;
    position: absolute;
    top: 55%;
    transform: translateY(-50%);
    text-align: center;
    color: white;
}

.content h1 {
    font-size: 70px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

/* Common Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 100px;
}

.section-header h1 {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.section-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
    position: relative;
}

.contact-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
    min-height: 100vh;
}

/* Form Container */
.contact-form-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #f0f0f0;
    position: sticky;
    top: 100px;
    height: fit-content;
    transition: all 0.3s ease;
}

.form-wrapper {
    padding: 45px 40px;
    position: relative;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 20px 20px 0 0;
}

.form-wrapper h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
}

/* Modern Form Styles */
.modern-form {
    max-width: 100%;
}

.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    padding: 15px 0 10px 0;
    font-size: 1.1rem;
    color: #2c3e50;
    border: none;
    border-bottom: 2px solid #e0e0e0;
    outline: none;
    background: transparent;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-input:valid {
    border-bottom-color: #eb595f;
}

.form-label {
    position: absolute;
    top: 15px;
    left: 0;
    font-size: 1.1rem;
    color: #7f8c8d;
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-input:focus + .form-label .label-text,
.form-input:valid + .form-label .label-text {
    transform: translateY(-25px);
    font-size: 0.9rem;
    color: #eb595f;
    font-weight: 600;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(235, 89, 95, 0.3);
    background: linear-gradient(135deg, #d63d44, #eb595f);
}

.submit-btn i {
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(5px);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px;
    background: #fef2f2;
    border-radius: 15px;
    margin-top: 20px;
}

.success-message.show {
    display: block;
}

.success-message i {
    font-size: 3rem;
    color: #eb595f;
    margin-bottom: 15px;
}

.success-message h3 {
    color: #eb595f;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.success-message p {
    color: #6c757d;
    font-size: 1rem;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-card {
    background: white;
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #eb595f;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(235, 89, 95, 0.2);
}

.info-icon i {
    font-size: 1.6rem;
    color: white;
}

.info-card h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.info-card p {
    font-size: 1.1rem;
    color: #eb595f;
    font-weight: 600;
    margin-bottom: 5px;
}

.info-card span {
    font-size: 0.9rem;
    color: #7f8c8d;
}

/* Special Info Cards */
.special-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.special-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
}

.special-card:hover {
    background: linear-gradient(135deg, #fff 0%, #fef7f7 100%);
    border-color: #eb595f;
    transform: translateY(-8px);
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0;
    background: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(235, 89, 95, 0.9), rgba(214, 61, 68, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.portfolio-icon i {
    font-size: 1.5rem;
    color: white;
}

.portfolio-overlay span {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.portfolio-info {
    padding: 25px;
}

.portfolio-info h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 5px;
}

.portfolio-info p {
    color: #7f8c8d;
    font-size: 1rem;
}

/* Safety Section */
.safety-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.safety-info h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.safety-info p {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 30px;
}

.safety-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #eb595f;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.safety-link:hover {
    transform: translateX(5px);
    color: #d63d44;
}

.safety-link i {
    transition: transform 0.3s ease;
}

.safety-link:hover i {
    transform: translateX(5px);
}

.safety-image {
    position: relative;
}

.safety-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.safety-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #eb595f, #d63d44);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(235, 89, 95, 0.3);
}

.safety-badge i {
    font-size: 1.1rem;
}

/* CTA Section */
.cta-section {
    position: relative;
    background-image: url('../source/bk.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
}

.cta-content {
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.cta-content h1 {
    font-size: 35px;
    color: black;
    margin-bottom: 30px;
    font-weight: 600;
}

.cta-button {
    font-size: 25px;
    width: 200px;
    padding: 4px 0;
    text-align: center;
    margin: 20px 10px;
    border-radius: 25px;
    font-weight: bold;
    border: 2px solid #eb595f;
    background: transparent;
    color: black;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: #eb595f;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(235, 89, 95, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 968px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }
    
    .contact-form-container {
        position: static;
        top: auto;
    }
    
    .safety-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .banner {
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .content h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .section-header h1 {
        font-size: 28px;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 18px;
    }
    
    .contact-section,
    .portfolio-section,
    .safety-section {
        padding: 60px 0;
    }
    
    .form-wrapper {
        padding: 30px 20px;
    }
      .contact-info {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .info-card {
        flex: 1;
        min-width: 160px;
        padding: 25px 20px;
    }
    
    .info-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }
    
    .info-icon i {
        font-size: 1.3rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .safety-info h1 {
        font-size: 28px;
    }
    
    .cta-content h1 {
        font-size: 28px;
    }
    
    .cta-button {
        font-size: 18px;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
    
    .form-wrapper h2 {
        font-size: 22px;
    }
    
    .submit-btn {
        font-size: 16px;
        padding: 15px 25px;
    }
    
    .safety-info h1 {
        font-size: 24px;
    }
    
    .portfolio-info {
        padding: 20px;
    }
    
    .portfolio-image {
        height: 200px;
    }
}




.d5{
    position: relative;
    background-image: url('../source/bk.jpg');
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
}
.d5 div{
    width: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}
.d5 div h1{
    font-size: 35px;
}
.d5 div button{
    font-size: 25px;
    color: black;
    padding: 15px 10px;
    margin: 20px 10px;
    border-radius: 25px;
    border: 2px solid #eb595f;
    font-size: 25px;
    font-weight: bold;
    transition: .5s;
}
.d5 div button:hover{
    background-color: #eb595f;
    color: white;
}

/* ========================================
   RESPONSIVE DESIGN - BOOK/CONTACT PAGE
   ======================================== */

/* Mobile Styles (320px - 768px) */
@media screen and (max-width: 768px) {
    .banner {
        min-height: 300px;
    }
    
    .m1 {
        padding: 20px 15px;
    }
    
    .t1 h1 {
        font-size: 28px;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .t1 p {
        font-size: 16px;
        line-height: 1.5;
    }
    
    .d1 {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .d1 div {
        width: 100%;
        max-width: 350px;
        margin: 10px 0;
        text-align: center;
    }
}

/* Enhanced sticky form shadow on scroll */
.contact-form-container.scrolled {
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    transform: scale(1.01);
}