* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f2f2f2;
    color: #222222;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1150px;
    margin: 0 auto;
}

/* HEADER */

.header {
    background: #ffffff;
    border-bottom: 1px solid #d6d6d6;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    min-height: 75px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-symbol {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333333;
    color: #333333;
    font-size: 23px;
    border-radius: 8px;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.brand-name small {
    display: block;
    font-size: 9px;
    letter-spacing: 2px;
    color: #555555;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

nav a {
    color: #333333;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s ease;
}

nav a:hover {
    color: #666666;
}

/* HERO */

.hero {
    min-height: 430px;
    display: flex;
    align-items: center;
    text-align: center;
    background: #e8e8e8;
    padding: 80px 0;
}

.hero h1 {
    font-size: clamp(38px, 6vw, 70px);
    line-height: 1.1;
    margin-bottom: 25px;
    color: #222222;
}

.hero h1 span {
    color: #555555;
}

.hero p {
    max-width: 760px;
    margin: 0 auto 35px;
    color: #555555;
    font-size: 18px;
}

/* BUTTONS */

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 13px 25px;
    border: 2px solid #333333;
    border-radius: 6px;
    background: #333333;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    background: #ffffff;
    color: #333333;
}

/* SECTIONS */

main {
    min-height: 70vh;
}

section.container {
    padding-top: 70px;
    padding-bottom: 70px;
}

section.container > h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 18px;
}

section.container > p {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    color: #555555;
}

/* SERVICES */

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 35px;
}

.service-card {
    background: #ffffff;
    border: 1px solid #d2d2d2;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: #777777;
}

.service-card h2,
.service-card h3 {
    color: #333333;
    margin-bottom: 15px;
}

.service-card p {
    color: #555555;
    margin-bottom: 20px;
}

.service-card .btn {
    margin-top: 5px;
}

/* FOOTER */

footer {
    background: #dddddd;
    border-top: 1px solid #c8c8c8;
    text-align: center;
    padding: 25px 0;
}

footer p {
    color: #555555;
    font-size: 14px;
}

/* MOBILE */

@media (max-width: 800px) {

    .nav {
        flex-direction: column;
        padding: 18px 0;
    }

    nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero {
        min-height: 400px;
        padding: 60px 0;
    }

    .hero p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-symbol {
        width: 38px;
        height: 38px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    nav a {
        font-size: 14px;
    }
}
/* 3D EFFECT */

.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    will-change: transform;
}

.service-card:hover {
    transform: perspective(1000px) rotateX(3deg) rotateY(-3deg) translateY(-8px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

.service-card h2,
.service-card h3,
.service-card p,
.service-card .btn {
    transform: translateZ(15px);
}

/* Mobile touch effect */
@media (max-width: 800px) {
    .service-card:active {
        transform: scale(0.98) translateY(-4px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
    }
}
.ad-container {
  width: 160px;
  min-height: 300px;
  margin: 40px auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background: transparent;
  overflow: hidden;
}
