/* Content Section */
 /* Introduction section: centered header + paragraph — matches the provided screenshot */
    #about-intro { padding: 4.5rem 0; background: #f7f8f9; }
    #about-intro .inner { max-width: 1100px; margin: 0 auto; padding: 0 1rem; display: block; text-align: center; }

    /* Headline styling */
    #about-intro h1 { margin: 0 auto 1.25rem; font-size: clamp(2rem, 3.6vw, 3.25rem); font-weight: 600; color: #0f1724; line-height: 1.05; letter-spacing: 0.2px; }

    /* Main paragraph (narrower for better readability) */
    #about-intro p.lead { margin: 0 auto; max-width: 980px; color: #2f3a44; font-size: 1.05rem; line-height: 1.75; }

    /* Subtle spacing for smaller screens */
    @media (max-width: 540px) {
        #about-intro { padding: 3.2rem 0; }
        #about-intro h1 { font-size: 1.6rem; }
        #about-intro p.lead { font-size: 0.98rem; padding: 0 0.65rem; }
    }
/*End of content section*/

/* Container background gradient */
.container-fluid.machine-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    margin-top: 0;
    margin-bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0), #FCD299);
}

/* Text column */
.machine-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.machine-section p {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Image column */
.machine-section img {
    width: 100%;
    border-radius: 25px;
    object-fit: cover;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .machine-section h1 {
        text-align: center;
    }

    .machine-section p {
        text-align: center;
        padding: 0 1rem;
    }

    .machine-section img {
        margin-top: 2rem;
    }
}
/*End of container background gradient*/

/*Start of Contact US section*/
.animated-btn {
transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.animated-btn:hover {
transform: scale(1.05);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}


.custom-btn {
background: linear-gradient(90deg, #ff8800, #d33d10);
border: none;
border-radius: 50px;
color: #fff;
padding: 12px 30px;
}


.contact-hero {
height: 600px;
position: relative;
overflow: hidden;
}


.contact-hero-bg {
    /* background-image removed — set by HTML to make image source explicit in markup */
    background: none;
    background-color: #0b1220; /* dark fallback while image loads */
    background-position: center center;
    background-size: cover;
    filter: blur(5px);
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transform: scale(1.05);
/* prevents edges from appearing after blur */
}


.contact-hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}


.contact-hero-content {
position: relative;
z-index: 2;
}
/*End of contact us section*/

/* Hero Video Section */
.hero-video-section {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.hero-video-caption {
    position: absolute;
    bottom: 30%;
    left: 15%;
    max-width: 700px;
    padding: 30px;
    padding-left: 50px;
    border-left: 5px solid #ffffff;
    animation: fadeInUp 1s ease;
}

@media (max-width: 768px) {
    .hero-video-caption {
        top: 50%;
        bottom: auto;
        left: 5%;
        right: 5%;
        transform: translateY(-50%);
        max-width: 90%;
        padding: 15px;
        padding-left: 20px;
        border-left-width: 3px;
    }
}

@media (max-width: 576px) {
    .hero-video-caption {
        left: 3%;
        right: 3%;
        max-width: 94%;
        padding: 12px;
        padding-left: 15px;
        border-left-width: 2px;
    }
}

/* Hero Carousel - Video Section */
.hero-carousel {
    height: 80vh;
    overflow: hidden;
    position: relative;
}

/* Hero Video - reuses carousel styling */
.hero-carousel .hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    /* Smooth rendering for slowed video */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.hero-carousel .carousel-caption {
    position: absolute;
    bottom: 30%;
    background: transparent;
    border-radius: 15px;
    padding: 30px;
    padding-left: 50px;
    max-width: 700px;
    margin: 0;
    left: 15%;
    right: auto;
    backdrop-filter: none;
    animation: fadeInUp 1s ease;
    border-left: 5px solid #ffffff;
}

.hero-carousel .hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.hero-carousel .hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #ffffff;
}

@media (max-width: 1536px) {
    .hero-carousel .hero-title {
        font-size: 2.4rem;
    }
    .hero-carousel .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 1366px) {
    .hero-carousel .carousel-caption {
        bottom: 25%;
        left: 12%;
        max-width: 650px;
        padding: 25px;
        padding-left: 40px;
    }
    .hero-carousel .hero-title {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }
    .hero-carousel .hero-subtitle {
        font-size: 1.15rem;
        margin-bottom: 25px;
    }
}

@media (max-width: 992px) {
    .hero-carousel .carousel-caption {
        bottom: 20%;
        left: 10%;
        max-width: 80%;
        padding: 20px;
        padding-left: 30px;
        border-left-width: 4px;
    }
    .hero-carousel .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    .hero-carousel .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-caption {
        top: 50%;
        bottom: auto;
        left: 5%;
        right: 5%;
        transform: translateY(-50%);
        max-width: 90%;
        padding: 15px;
        padding-left: 20px;
        border-left-width: 3px;
        animation: none;
    }
    .hero-carousel .hero-title {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    .hero-carousel .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .hero-carousel .carousel-caption {
        left: 3%;
        right: 3%;
        max-width: 94%;
        padding: 12px;
        padding-left: 15px;
        border-left-width: 2px;
    }
    .hero-carousel .hero-title {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    .hero-carousel .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
}

/* Certificates Section */
.certificates-section {
    background: #e8eef3;
    padding: 80px 0;
    position: relative;
}

.certificates-section .section-title {
    text-align: left;
    margin-bottom: 40px;
}

.certificates-section .section-title h2 {
    font-size: 2.5rem;
    font-weight: 400;
    color: #1a3a5c;
    margin-bottom: 0;
}

.certificates-section .section-title p {
    display: none;
}

/* Certificate Card */
.certificate-card {
    background: linear-gradient(135deg, #ffffff 0%, #e8eef3 100%);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
    gap: 30px;
}

.certificate-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

/* Certificate Preview */
.certificate-preview {
    position: relative;
    width: 180px;
    min-width: 180px;
    height: auto;
    background: transparent;
    overflow: visible;
    flex-shrink: 0;
}

.certificate-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Certificate Content */
.certificate-content {
    padding: 10px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.certificate-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a3a5c;
    margin-bottom: 0;
    text-decoration: underline;
}

.certificate-size {
    color: #5a6a7a;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Certificate Actions */
.certificate-actions {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.certificate-actions .btn {
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-download {
    background: transparent;
    color: #1a3a5c;
    border: 2px solid #1a3a5c;
}

.btn-download:hover {
    background: #1a3a5c;
    color: #ffffff;
}

.btn-download i {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .certificates-section {
        padding: 60px 0;
    }

    .certificates-section .section-title h2 {
        font-size: 2rem;
    }

    .certificate-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 20px;
    }

    .certificate-preview {
        width: 140px;
        min-width: 140px;
    }

    .certificate-title {
        font-size: 1.1rem;
    }

    .certificate-actions .btn {
        padding: 8px 24px;
    }
}

@media (max-width: 576px) {
    .certificate-content {
        padding: 0;
    }

    .certificate-preview {
        width: 120px;
        min-width: 120px;
    }
}

