﻿
:root {
    --primary: #16989A;
    --secondary: #076662;
    --accent: #16a085;
    --light: #f9f9f9;
    --success: #27ae60;
}

/* Hero section with animated gradient */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Align content to the right */
    padding: 0 5%;
    position: relative;
    overflow: hidden;
}

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.9)), /* Transparent (left) → Black (right) */
        url(/assets/images/IMAGES/Glass/bgimg2.jpg);
        background-size: cover;
        background-position: center;
        background-blend-mode: multiply; /* Darkens the image under the gradient */
        filter: brightness(70%);
    }

.hero-content {
    width: 100%;
    z-index: 2;
    position: relative; /* Required for pseudo-elements */
    display: inline-block; /* Ensures the lines wrap the text properly */
    padding: 10px 60px;
}

    .hero-content::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px; /* Thickness of the line */
        height: 100%; /* Length of the vertical part */
        background: white;
    }

.hero h1 {
    font-size: 3rem;
    font-weight: bolder;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease forwards 0.3s;
    color: white;
    position: relative; /* Required for pseudo-elements */
    display: inline-block; /* Ensures the lines wrap the text properly */
    padding: 10px 20px; /* Adds space around the text for the lines */
    max-width: 548px;
}

    /* Top-left corner line */
    .hero h1::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 20px; /* Length of the horizontal part */
        height: 3px; /* Thickness of the line */
        background: white;
    }

    /* Top-left vertical line */
    .hero h1::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 3px; /* Thickness of the line */
        height: 20px; /* Length of the vertical part */
        background: white;
    }

    /* Bottom-right corner line (requires an additional wrapper or another pseudo-element) */
    .hero h1 span::before {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 20px;
        height: 3px;
        background: white;
    }

    .hero h1 span::after {
        content: "";
        position: absolute;
        bottom: 0;
        right: 0;
        width: 3px;
        height: 20px;
        background: white;
    }

    .hero h1 span {
        color: #009999;
    }

.hero p {
    font-size: 20px;
    color: white;
    font-weight: bolder;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.6s;
    text-align: justify;
    max-width: 548px;
    font-family: 'Segoe UI';
    line-height: 1.2;
}

.glassimages {
    height: 500px;
}
/* Animation */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero {
        justify-content: center;
        text-align: center;
        height: 90vh !important;
    }

    .glassimages {
        height: 250px!important;
    }

    .hero-content {
        max-width: 90%;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
    .row {
        flex-direction: column;
    }
}

/* Section styles with scroll animations */


.section-title {
    text-align: center;
    position: relative;
}

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary);
        margin-bottom: 1rem;
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 1s ease forwards;
        color: #2c3e50;
        display: inline-block;
        background: #086d6e;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-family: 'Segoe UI';
    }

        .section-title h2::after {
            content: '';
            display: block;
            width: 100px;
            height: 4px;
            background: #086d6e;
            margin: 10px auto 0;
            border-radius: 2px;
        }

.section h3 {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.2rem;
    font-weight: bold;
}

.section-content {
    max-width: 1600px;
    margin: 0 auto;
}

/* Process Automation Section */
.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.automation-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    height: 270px;
}

    .automation-card.animated {
        animation: fadeInUp 0.8s ease forwards;
    }

    .automation-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .automation-card h3 {
        color: var(--primary);
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }

        .automation-card h3 i {
            margin-right: 10px;
            color: var(--secondary);
            font-size: 1.5rem;
        }

    .automation-card ul {
        list-style-position: inside;
        padding-left: 0.5rem;
    }

    .automation-card li {
        margin-bottom: 0.5rem;
        position: relative;
        padding-left: 1.5rem;
    }

        .automation-card li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--secondary);
        }

/* Electrical Systems Section */
.electrical-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
    margin-bottom: 15px;
}

    .feature-box.animated {
        animation: fadeInUp 0.8s ease forwards;
    }

    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.feature-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: inline-block;
}

.feature-box h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

/* Industries Section */
.industries-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.industry-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(30px);
}

    .industry-card.animated {
        animation: fadeInUp 0.8s ease forwards;
    }

    .industry-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

.industry-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}



    .industry-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    }

.industry-content {
    padding: 1.5rem;
}

    .industry-content h3 {
        color: var(--primary);
        margin-bottom: 0.5rem;
    }

    .industry-content p {
        color: #666;
        text-align: justify;
    }



/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Responsive styles */
@media (max-width: 768px) {


    .logo {
        margin-bottom: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        padding: 0.5rem 0.8rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        color: white;
    }

    .hero p {
        font-size: 1rem;
        color: white;
    }

    .section-title h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
        color: white;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .automation-grid,
    .electrical-features,
    .industries-container,
    .benefits-container {
        grid-template-columns: 1fr;
    }
}
/* Main container styles */




/* Responsive adjustments */
@media (max-width: 768px) {
    .slider-container {
        border-width: 10px;
    }

    .slider {
        height: 600px;
    }
}

.section h2 {
    font-weight: bold;
}

.slider-container {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 15px solid #f8f8f8;
    background: #f8f8f8;
    padding: 5px;
    margin-left: 30px;
}

    /* Decorative frame effect */
    .slider-container::before {
        content: "";
        position: absolute;
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border: 2px solid rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        pointer-events: none;
        z-index: 10;
    }


.content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    color: white; /* Choose contrasting text color */
}




.our-vision {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    overflow: hidden;
    text-align: center;
    margin-top: 60px;
}


.vision-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

    .vision-content p {
        color: #707070;
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 0.7rem;
        opacity: 0.9;
        position: relative;
        text-align: justify;
        font-size: 1.2rem;
    }



.equipment {
    border-left-color: #16989A;
    text-align: left;
    width: 500px;
}


.benefits-section {
    background: linear-gradient(135deg, var(--dark), #1a252f);
    color: white;
    padding: 20px 20px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

    .benefits-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('/assets/images/IMAGES/Fabrication/bgimg1.jpg') center/cover;
        opacity: 0.1;
        z-index: 0;
    }

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1; /* Ensure content is above pseudo-element */
}

.benefit-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s;
    width: 100%;
}

    .benefit-card:hover {
        transform: translateY(-10px);
        background: rgba(255,255,255,0.2);
    }

    .benefit-card i {
        font-size: 2rem;
        color: var(--accent);
        margin-bottom: 15px;
    }

    .benefit-card h3 {
        margin-bottom: 10px;
        font-size: 1.5rem;
    }

    .benefit-card p {
        font-size: 1.2rem;
    }

p {
    color: white;
    font-size: 15px;
    line-height: 21px;
}
/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    /* Hero Section */
    .hero {
        height: auto;
        min-height: 80vh;
        padding: 100px 20px 50px;
    }

    .hero-content {
        padding: 20px !important;
    }

    .hero h1 {
        font-size: 2rem;
        max-width: 100% !important;
    }

    .hero p {
        font-size: 1rem;
        max-width: 100% !important;
    }
    /* What is Glass Bead Blasting Section */
    .our-vision#vision {
        margin-left: 0 !important;
    }

    .our-vision .row {
        flex-direction: column !important;
    }

    .col-lg-6, .col-lg-2, .col-2 {
        width: 100% !important;
        padding: 0 15px !important;
        margin-left: 0 !important;
    }

    .vision-content p {
        font-size: 1rem !important;
    }

    .our-vision img {
        width: 100% !important;
        height: auto !important;
        margin: 15px 0 !important;
    }
    /* Applications Section */
    .relative.pb-5 .row {
        flex-direction: column !important;
    }



    .col-lg-3 {
        margin: 30px auto 0 !important;
        width: 100% !important;
        max-width: 500px;
    }

    .equipment {
        width: 100% !important;
    }
    /* Benefits Section */
    .benefits-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Further adjustments */
    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title h2 {
        font-size: 1.8rem !important;
    }

    .benefit-card {
        padding: 20px !important;
    }


}

@media (max-width: 576px) {
    /* Small screen refinements */
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero-content::after {
        display: none;
    }

    .section-title h2 {
        font-size: 1.5rem !important;
    }

    .vision-content p {
        font-size: 0.95rem !important;
    }



    .equipment p {
        font-size: 1rem !important;
    }

    .equipment b {
        font-size: 1.2rem !important;
    }
}

.image-slider {
    position: relative;
    width: 70%;
    height: 60vh;
    overflow: hidden;
    perspective: 1000px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
    z-index: 20;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 20px;
    box-sizing: border-box;
}

    .slider-dots .dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s;
        flex-shrink: 0;
        background:grey;
    }

        .slider-dots .dot.active {
            background-color: #16989A;
            transform: scale(1.2);
        }

.slider-images {
    position: relative;
    width: 100%;
    height: 100%;
}

    .slider-images img {
        position: absolute;
        width: 80%;
        height: 80%;
        object-fit: cover;
        border-radius: 10px;
        box-shadow: 0 15px 35px rgba(0,0,0,0.3);
        transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        transform-origin: center center;
        cursor: pointer;
    }

/* Navigation arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s;
}

    .slider-arrow:hover {
        background: rgba(0,0,0,0.8);
        transform: translateY(-50%) scale(1.1);
    }

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Active image */
.slider-images img.active {
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    top: 50%;
    left: 50%;
    z-index: 10;
    opacity: 1;
    filter: brightness(1);
}

/* Next image */
.slider-images img.next {
    transform: translate(10%, -50%) scale(0.9) translateZ(-50px) rotateY(-15deg);
    top: 50%;
    left: 50%;
    z-index: 5;
    opacity: 0.8;
    filter: brightness(0.8) blur(1px);
}

/* Previous image */
.slider-images img.prev {
    transform: translate(-110%, -50%) scale(0.9) translateZ(-50px) rotateY(15deg);
    top: 50%;
    left: 50%;
    z-index: 5;
    opacity: 0.8;
    filter: brightness(0.8) blur(1px);
}

/* Hidden images */
.slider-images img:not(.active):not(.next):not(.prev) {
    transform: translate(-50%, -50%) scale(0.8) translateZ(-100px);
    opacity: 0;
    z-index: 1;
}

@media (max-width: 768px) {
    .slider-images img {
        width: 90%;
        height: 70%;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .prev-arrow {
        left: 10px;
    }

    .next-arrow {
        right: 10px;
    }
}