/*==================================================
ZIEGLER GROUPS
Corporate Manufacturing Website
Author : ChatGPT
Version : 1.0
===================================================*/

/*==========================
GOOGLE FONT
===========================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*==========================
RESET
===========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#ffffff;

    color:#333;

    line-height:1.7;

    overflow-x:hidden;

}

img{

    width:100%;

    display:block;

}

ul{

    list-style:none;

}

a{

    text-decoration:none;

}

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

.section{

    padding:100px 0;

}

/*==========================
COLORS
===========================*/

:root{

--primary:#0A3D62;

--secondary:#12385f;

--gold:#d6a545;

--dark:#081c2f;

--light:#f8f9fb;

--white:#ffffff;

--text:#555;

--shadow:0 15px 40px rgba(0,0,0,.08);

}

/*==========================
PRELOADER
===========================*/

#preloader{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:100%;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loader{

    width:60px;

    height:60px;

    border-radius:50%;

    border:5px solid #ddd;

    border-top:5px solid var(--primary);

    animation:spin 1s linear infinite;

}

@keyframes spin{

    100%{

        transform:rotate(360deg);

    }

}

/*==========================
HEADER
===========================*/

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.4s;

    padding:18px 0;

}

.header.active{

    background:#fff;

    box-shadow:var(--shadow);

}

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo img{

    height:70px;

    width:auto;

}

.navbar ul{

    display:flex;

    gap:35px;

}

.navbar a{

    color:#fff;

    font-weight:500;

    transition:.3s;

}

.header.active .navbar a{

    color:var(--dark);

}

.navbar a:hover{

    color:var(--gold);

}

.menu-btn{

    display:none;

    font-size:30px;

    cursor:pointer;

    color:#fff;

}

/*==========================
BUTTONS
===========================*/

.btn{

display:inline-block;

padding:15px 35px;

background:var(--gold);

color:#fff;

border-radius:50px;

font-weight:600;

transition:.4s;

}

.btn:hover{

background:var(--primary);

transform:translateY(-5px);

}

.btn-outline{

background:transparent;

border:2px solid #fff;

margin-left:15px;

}

.btn-outline:hover{

background:#fff;

color:var(--primary);

}

/*==========================
HERO
===========================*/

.hero{

position:relative;

height:100vh;

display:flex;

align-items:center;

overflow:hidden;

}

.hero-slider{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

z-index:1;

}

.hero-slider .slide{

position:absolute;

width:100%;

height:100%;

background-size:cover;

background-position:center;

background-repeat:no-repeat;

opacity:0;

transition:opacity 1.2s ease-in-out;

}

.hero-slider .slide.active{

opacity:1;

}

.hero-slider .slide:nth-child(1){

    background-image:url('../images/hero/hero1.jpg');
}

.hero-slider .slide:nth-child(2){
    background-image:url('../images/hero/hero2.jpg');
}

.hero-slider .slide:nth-child(3){
    background-image:url('../images/hero/hero3.jpg');
}

.hero-overlay{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(8,28,47,.65);

z-index:2;

}

.hero .container{

position:relative;

z-index:3;

}

.hero-overlay{

position:absolute;

top:0;

left:0;

width:100%;

height:100%;

background:rgba(8,28,47,.72);

}

.hero .container{

position:relative;

z-index:10;

}

.hero-content{

max-width:700px;

color:#fff;

}

.hero-content span{

display:inline-block;

letter-spacing:4px;

font-size:15px;

margin-bottom:15px;

color:var(--gold);

}

.hero-content h1{

font-size:72px;

font-weight:800;

line-height:1.1;

margin-bottom:15px;

}

.hero-content h2{

font-size:30px;

font-weight:600;

margin-bottom:25px;

}

.hero-content p{

font-size:18px;

margin-bottom:40px;

max-width:650px;

}

/*==========================
SECTION TITLE
===========================*/

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title span{

color:var(--gold);

font-weight:700;

letter-spacing:2px;

}

.section-title h2{

font-size:42px;

color:var(--primary);

margin:15px 0;

}

.section-title p{

max-width:700px;

margin:auto;

color:var(--text);

}

/*==========================
ABOUT
===========================*/

.about-grid{

display:grid;

grid-template-columns:1fr 1fr;

gap:60px;

align-items:center;

}

.about-image{

overflow:hidden;

border-radius:20px;

box-shadow:var(--shadow);

}

.about-image img{

transition:.5s;

}

.about-image:hover img{

transform:scale(1.08);

}

.about-content h2{

font-size:40px;

color:var(--primary);

margin:20px 0;

}

.about-content p{

margin-bottom:20px;

color:var(--text);

}

.section-tag{

display:inline-block;

padding:8px 18px;

background:#eef5fb;

color:var(--primary);

border-radius:30px;

font-size:14px;

font-weight:600;

letter-spacing:1px;

}

/*==========================
END OF PART 1

PASTE PART 2 BELOW THIS LINE

Part 2 Includes:

Products
Why Choose Us
Counter
Industries
Infrastructure
Gallery

===========================*/
/*==================================================
PART 2
Products | Why Choose Us | Counter
Industries | Infrastructure | Gallery
===================================================*/

/*==========================
PRODUCTS
===========================*/

.products{

    background:#f8f9fb;

}

.product-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));

    gap:30px;

}

.product-card{

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.4s;

    position:relative;

}

.product-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 45px rgba(0,0,0,.15);

}

.product-card img{

    height:240px;

    object-fit:cover;

    transition:.5s;

}

.product-card:hover img{

    transform:scale(1.08);

}

.product-card h3{

    color:var(--primary);

    font-size:22px;

    padding:20px 20px 10px;

}

.product-card p{

    padding:0 20px 25px;

    color:#666;

    font-size:15px;

}

/*==========================
WHY CHOOSE US
===========================*/

.why{

    background:#fff;

}

.why-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.why-card{

    padding:45px 30px;

    background:#fff;

    border-radius:18px;

    text-align:center;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    transition:.4s;

}

.why-card:hover{

    background:var(--primary);

    transform:translateY(-10px);

}

.why-card i{

    width:85px;

    height:85px;

    line-height:85px;

    background:var(--gold);

    border-radius:50%;

    color:#fff;

    font-size:34px;

    margin-bottom:20px;

}

.why-card h3{

    color:var(--primary);

    margin-bottom:15px;

    transition:.4s;

}

.why-card p{

    color:#666;

    transition:.4s;

}

.why-card:hover h3,

.why-card:hover p{

    color:#fff;

}

/*==========================
COUNTER
===========================*/

.counter-section{

    padding:90px 0;

    background:linear-gradient(rgba(10,61,98,.9),rgba(10,61,98,.9)),url("../images/counter.jpg");

    background-size:cover;

    background-position:center;

    color:#fff;

}

.counter-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.counter-box{

    text-align:center;

}

.counter-box h2{

    font-size:55px;

    color:var(--gold);

    font-weight:700;

}

.counter-box p{

    font-size:18px;

}

/*==========================
INDUSTRIES
===========================*/

.industries{

    background:#f8f9fb;

}

.industry-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

}

.industry-item{

    background:#fff;

    padding:22px;

    border-left:5px solid var(--gold);

    border-radius:12px;

    box-shadow:0 8px 25px rgba(0,0,0,.07);

    font-weight:500;

    transition:.4s;

}

.industry-item:hover{

    background:var(--primary);

    color:#fff;

    transform:translateX(8px);

}

/*==========================
INFRASTRUCTURE
===========================*/

.infrastructure{

    background:#fff;

}

.infra-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

    gap:35px;

}

.infra-card{

    overflow:hidden;

    border-radius:18px;

    background:#fff;

    box-shadow:0 12px 30px rgba(0,0,0,.08);

    transition:.4s;

}

.infra-card:hover{

    transform:translateY(-10px);

}

.infra-card img{

    height:250px;

    object-fit:cover;

    transition:.5s;

}

.infra-card:hover img{

    transform:scale(1.08);

}

.infra-card h3{

    color:var(--primary);

    padding:25px 25px 10px;

}

.infra-card p{

    padding:0 25px 30px;

    color:#666;

}

/*==========================
GALLERY
===========================*/

.gallery{

    background:#f7f8fb;

}

.gallery-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

}

.gallery-grid img{

    width:100%;

    height:250px;

    object-fit:cover;

    border-radius:15px;

    cursor:pointer;

    transition:.45s;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.gallery-grid img:hover{

    transform:scale(1.05);

    box-shadow:0 20px 45px rgba(0,0,0,.18);

}

/*==========================
SMALL ANIMATION
===========================*/

.product-card,
.why-card,
.industry-item,
.infra-card,
.gallery-grid img{

    animation:fadeUp .8s ease both;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================

END OF PART 2

Paste PART 3 Below This Line

PART 3 Includes

✔ Contact Section
✔ Contact Form
✔ Google Map
✔ Footer
✔ Back To Top Button
✔ Scrollbar
✔ Mobile Menu
✔ Responsive Helpers
✔ Utility Classes
✔ Final Finishing

==================================================*/

/*==================================================
PART 3
Contact | Footer | Responsive | Utility
===================================================*/

/*==========================
CONTACT
===========================*/

.contact{
    background:#ffffff;
}

.contact-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.contact-info h2{
    font-size:42px;
    color:var(--primary);
    margin:20px 0;
}

.contact-info p{
    color:#666;
    margin-bottom:25px;
}

.info-box{
    display:flex;
    align-items:flex-start;
    gap:18px;
    margin-bottom:30px;
}

.info-box i{
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--gold);
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:22px;
}

.info-box h4{
    color:var(--primary);
    margin-bottom:5px;
}

.contact-form{
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:var(--shadow);
}

.contact-form input,
.contact-form textarea{

    width:100%;
    padding:16px 18px;
    border:1px solid #ddd;
    border-radius:10px;
    margin-bottom:20px;
    font-family:'Poppins',sans-serif;
    outline:none;
    transition:.3s;

}

.contact-form input:focus,
.contact-form textarea:focus{

    border-color:var(--primary);

}

.contact-form button{

    border:none;
    cursor:pointer;

}

/*==========================
GOOGLE MAP
===========================*/

.map iframe{

    width:100%;
    height:450px;
    border:0;

}

/*==========================
FOOTER
===========================*/

footer{

    background:var(--dark);
    color:#ddd;
    padding-top:80px;

}

.footer-grid{

    display:grid;
    grid-template-columns:2fr 1fr 1fr 1.2fr;
    gap:45px;

}

.footer-logo{

    width:170px;
    margin-bottom:20px;

}

footer h3{

    color:#fff;
    margin-bottom:25px;

}

footer ul li{

    margin-bottom:12px;

}

footer ul li a{

    color:#ddd;
    transition:.3s;

}

footer ul li a:hover{

    color:var(--gold);
    padding-left:6px;

}

footer p{

    line-height:1.9;

}

.copyright{

    margin-top:60px;
    text-align:center;
    padding:22px;
    border-top:1px solid rgba(255,255,255,.08);

}

/*==========================
BACK TO TOP
===========================*/

#topBtn{

    position:fixed;
    right:25px;
    bottom:25px;

    width:55px;
    height:55px;

    border:none;

    border-radius:50%;

    background:var(--gold);

    color:#fff;

    font-size:18px;

    cursor:pointer;

    display:none;

    transition:.3s;

    z-index:999;

}

#topBtn:hover{

    background:var(--primary);

}

/*==========================
SCROLLBAR
===========================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f1f1f1;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

}

::-webkit-scrollbar-thumb:hover{

    background:#06253d;

}

/*==========================
UTILITY
===========================*/

.text-center{

    text-align:center;

}

.mt-30{

    margin-top:30px;

}

.mb-30{

    margin-bottom:30px;

}

.shadow{

    box-shadow:var(--shadow);

}

.radius{

    border-radius:20px;

}

/*==========================
RESPONSIVE
===========================*/

@media(max-width:1100px){

.footer-grid{

grid-template-columns:1fr 1fr;

}

.contact-grid{

grid-template-columns:1fr;

}

.about-grid{

grid-template-columns:1fr;

}

}

@media(max-width:991px){

.hero-content h1{

font-size:58px;

}

.hero-content h2{

font-size:26px;

}

.counter-grid{

grid-template-columns:repeat(2,1fr);

}

.menu-btn{

display:block;

}

.navbar{

position:fixed;

top:90px;

left:-100%;

width:300px;

height:100vh;

background:#fff;

padding:40px;

transition:.4s;

box-shadow:0 20px 40px rgba(0,0,0,.15);

}

.navbar.active{

left:0;

}

.navbar ul{

flex-direction:column;

gap:25px;

}

.navbar a{

color:var(--dark);

}

}

@media(max-width:768px){

.section{

padding:70px 0;

}

.hero{

height:auto;

padding:170px 0 100px;

}

.hero-content{

text-align:center;

margin:auto;

}

.hero-content h1{

font-size:42px;

}

.hero-content h2{

font-size:22px;

}

.hero-content p{

font-size:16px;

}

.hero-buttons{

display:flex;

flex-direction:column;

gap:15px;

}

.btn-outline{

margin-left:0;

}

.section-title h2{

font-size:34px;

}

.counter-grid{

grid-template-columns:1fr;

}

.footer-grid{

grid-template-columns:1fr;

text-align:center;

}

.footer-logo{

margin:auto auto 20px;

}

.contact-form{

padding:25px;

}

}

@media(max-width:500px){

.container{

width:92%;

}

.logo img{

height:55px;

}

.hero-content h1{

font-size:34px;

}

.hero-content h2{

font-size:20px;

}

.section-title h2{

font-size:28px;

}

.contact-info h2{

font-size:30px;

}

.info-box{

flex-direction:column;

}

}

/*==========================
END OF FILE
===========================*/