*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:#0b1120;
    color:white;
    overflow-x:hidden;
}
        table {
            width: 60%;
            border-collapse: collapse;
            margin-bottom: 25px;
            background: white;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        th, td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: left;
			color: #333;
        }
        th {
            background-color: #333;
            color: white;
        }
        tr:nth-child(even) {
            background-color: #f2f2f2;
        }
/* HERO */

header{
    height:100vh;
    background:
    linear-gradient(rgba(0,0,0,.7),rgba(0,0,0,.7)),
    url('images/мини-багери.webp');
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:20px;
}

.header{
    animation:fadeIn 2s ease;
}

header a {
	color:#facc15;
}
p {
	margin: 10px 0
}

.top {
	text-align: center;
	font-size: 20px;
	margin-bottom: 30px;
}

.header h1{
    font-size:70px;
    color:#facc15;
    margin-bottom:20px;
    font-weight:800;
}

.header p{
    font-size:24px;
    max-width:800px;
    line-height:1.6;
}

a {
	color: #eee;
}
.btn{
    display:inline-block;
    margin-top:35px;
    padding:16px 40px;
    border-radius:60px;
    background:#facc15;
    color:#111827;
    text-decoration:none;
    font-weight:700;
    transition:.4s;
}

.btn:hover{
    transform:translateY(-5px) scale(1.05);
}

/* SECTION */

section{
    padding:90px 20px;
}

.container{
    max-width:1300px;
    margin:auto;
}

.section-title{
    text-align:center;
    font-size:50px;
    margin-bottom:70px;
    color:#facc15;
}

/* CARDS */

.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:35px;
}

.card{
    background:rgba(255,255,255,.05);
    border:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(10px);
    border-radius:24px;
    overflow:hidden;
    transition:.5s;
    box-shadow:0 10px 40px rgba(0,0,0,.5);
}

.card:hover{
    transform:translateY(-12px);
}

.card img{
    width:100%;
    height:240px;
    object-fit:cover;
}

.card-content{
    padding:30px;
}

.card h3{
    font-size:30px;
    margin-bottom:15px;
    color:#facc15;
}

.card p{
    line-height:1.7;
    color:#d1d5db;
}

/* OFFICE */

.office{
    background:#111827;
    border-left:5px solid #facc15;
    margin-bottom:25px;
    padding:25px;
    border-radius:18px;
    transition:.4s;
}

.office:hover{
    transform:translateX(10px);
    background:#172033;
}

.office h3{
    color:#facc15;
    margin-bottom:10px;
}

/* FOOTER */

footer{
    background:#020617;
    text-align:center;
    padding:40px;
    color:#94a3b8;
}

/* ANIMATION */

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(40px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* MOBILE */

@media(max-width:768px){

    .hero h1{
        font-size:42px;
    }

    .hero p{
        font-size:18px;
    }

    .section-title{
        font-size:34px;
    }

    .card h3{
        font-size:24px;
    }
	header, body .header h1 {
		display: block;
		text-align: center;
		
	}
	.header h1 {
		font-size: 30px;
	}
}